Skip to content
Back to skills

Ontoplato Dashboard

ASecurity

Headless CLI skill for reading, linking, creating, adding cards to, and updating saved OntoPlato dashboards in unattended or background runs without a live page.

  • 13 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsnodeapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ontomato-ai/OntoPlato --skill ontoplato-dashboard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ontoplato Dashboard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ontoplato Dashboard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ontomato-ai-ontoplato-dashboard/badge)](https://www.skillsdirectory.com/skills/ontomato-ai-ontoplato-dashboard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ontoplato-dashboard
description: Headless CLI skill for reading, linking, creating, adding cards to, and updating saved OntoPlato dashboards in unattended or background runs without a live page.
compatibility: Requires Node.js 24+. API commands accept platform environment variables (ONTOMATO_WORKBENCH_URL with ONTOMATO_TK, ONTOMATO_API_KEY, or ONTOMATO_EXECUTION_CALLBACK) or application.yml in the working directory or skill directory.
---

# Dashboard

This skill is for **headless or background runs without a live dashboard page** (for example, scheduled tasks, delegated runs, or external CLIs where `present` / `fill_form` / `page_action` are unavailable). When a live `/dashboards` page is open beside a conversation, use the current page context and `ontoplato-page-operator` instead.

Run `node <this-skill>/scripts/dashboard-pages.mjs <command> [options]` from the workspace root (where `<this-skill>` is the directory containing this `SKILL.md`). API commands adapt authentication through the shared connection layer: platform-injected `ONTOMATO_WORKBENCH_URL` (workbench root before `/api` or background callback base) with `ONTOMATO_EXECUTION_CALLBACK` + `ONTOMATO_RUN_ID`, `ONTOMATO_API_KEY`, or `ONTOMATO_TK`; outside the platform when env vars are unset, it falls back to `application.yml` in the working directory or skill directory (`envUrl`/`workbenchUrl` with `apiKey`, `tk`, or `user` + `password` + `domainId` via SSO).

| Command | Result |
| --- | --- |
| `link --dashboard-id ID [--card-id ID]` | Print a relative Markdown link to a saved dashboard or card (chart, metric, or table card). |
| `list` | List the current user's dashboards. |
| `read --dashboard-id ID` | Read the dashboard, groups, and saved card IDs. |
| `card --dashboard-id ID --card-id ID` | Read the saved query, chart drawing, current columns and rows, MetricView description, and truncation metadata. |
| `parameters --dashboard-id ID --card-id ID` | Read parameter fields, current values, readonly keys, and revision. |
| `create --name NAME` | Create an empty dashboard (`groups: []`) and print `data.id` and `data.name`. |
| `add-chart-file (--form work/card.json \| --artifact-id UUID [--session-id UUID] [--run-id UUID] (--dashboard-id ID --group-id ID \| --name NAME) [--title TEXT])` | Add a platform-persisted `.chart.json` artifact to an existing dashboard group, or create a new dashboard with that first chart card. |
| `add-dataset (--form work/card.json \| --dataset-artifact-id UUID --dashboard-id ID --group-id ID [--session-id UUID] [--name TEXT])` | Settle a formal `.dataset.json` artifact from a platform conversation into a table card in an existing group. |
| `create-from-dataset (--form work/card.json \| --dataset-artifact-id UUID [--session-id UUID] [--name TEXT])` | Create a new dashboard and its first table card directly from a formal `.dataset.json` artifact in a platform conversation. |
| `save --operation OP --form work/form.json` | Validate and send dashboard layout, group, rename, or parameter updates directly to the save API. |

## Adding cards and platform-in vs. external boundaries

`save --operation dashboard.layout` can only arrange existing saved groups and cards—it cannot insert a brand-new chart or query card into an empty dashboard. To add the first or additional cards:

- **Create a dashboard with its first card in one step (recommended)**:
  - Chart card: `add-chart-file --artifact-id <uuid> [--session-id <uuid> --run-id <uuid>] --name "Dashboard Name" [--title "Card Title"]` (creates a group and card automatically);
  - Table card: `create-from-dataset --dataset-artifact-id <uuid> [--session-id <uuid>] [--name "Dashboard Name"]`.
- **Add a card to an existing empty dashboard**: a dashboard created with `create --name "..."` starts with `groups: []`. First create at least one empty group with `save --operation dashboard.layout` (`{id, groups:[{id:"<uuid>", title:"Group", charts:[], metrics:[]}]}`), then pass that `groupId` to `add-chart-file` or `add-dataset`.
- **Platform-in vs. external boundaries**:
  - **`add-chart-file`** (`POST /api/dashboards/add-chart-file`): usable both inside and outside the platform. Inside a platform run, omitting `--session-id` / `--run-id` defaults to `ONTOMATO_SESSION_ID` / `ONTOMATO_RUN_ID`. **When called externally, you must supply `{sessionId, runId, artifactId}` of an existing `.chart.json` artifact persisted in a platform conversation owned by the caller**; the API validates artifact ownership and chart schema and does **not** upload a standalone local `.chart.json` file.
  - **`add-dataset` and `create-from-dataset`** (`POST /api/dashboards/add-dataset`, `POST /api/dashboards/create-from-dataset`): **depend on a formal settleable `.dataset.json` artifact (`sessionId` + `datasetArtifactId`) from a platform conversation, so they are primarily for platform-managed conversations**; external callers cannot upload standalone local dataset files and can only reference an existing conversation artifact owned by the same user.

External workbench API contracts depended on by this skill (`<workbenchUrl>/api/dashboards`):

| Command | Dependent API |
| --- | --- |
| `list` / `read` | `GET /api/dashboards`, `GET /api/dashboards/:id` |
| `card` / `parameters` | `POST /api/dashboards/query-card`, `POST /api/dashboards/card-parameter-form` |
| `create` | `POST /api/dashboards/create` |
| `add-chart-file` | `POST /api/dashboards/add-chart-file` |
| `add-dataset` / `create-from-dataset` | `POST /api/dashboards/add-dataset`, `POST /api/dashboards/create-from-dataset` |
| `save` | `POST /api/dashboards/modifyLayout`, `/modify`, `/modifyResultSetName`, `/modifyMetricName`, `/modifyDimensionName`, `/save-card-parameters` |

## Dashboard links in replies

Use `list` to find the target dashboard and `read` to obtain card IDs when targeting a card, then call `link` with the saved IDs (never guess IDs from labels). `link` emits a relative hash fragment (`[...](#/dashboards?...)`) for in-platform Markdown rendering—paste it directly into platform replies with its target intact (you may translate the link label), never build a dashboard address from `ONTOMATO_*_URL`, and never place the link inside a code block. When opening the link in an external browser outside the platform, prepend `<envUrl>/` before the `#/dashboards?...` fragment.

## Explain a saved card result

Read both `card` and `parameters`, and interpret the result from the returned columns, actual rows, and explicit value formats, preserving nulls and real zeros; an unavailable result is not zero. Distinguish display sorting/limits from MetricView truncation when explaining the visible chart, and describe only the returned scope when truncation is present. Totals, shares, units, and business calculations belong to the MetricView rather than a guessed chart calculation.

The `file.name` returned by `card` refers to the drawing stored inside the saved card, outside this conversation's workspace; never embed, reference, or link to it (including by prefixing `outputs/`). To show a chart, link to the saved card or use `ontoplato-chart` to generate a conversation artifact in the current workspace and reference the path it prints.

## Update a dashboard in headless runs

Write the request body to `work/form.json` and call `save --operation <OP> --form work/form.json`:

| Operation (`OP`) | Save body |
| --- | --- |
| `dashboard.layout` | `{id,groups}`. Keep every desired group and card ID and omit `query`/`source` from all card patches; chart card patches contain `id` and optional `name`/`layout`/`chartFile`. |
| `dashboard.rename` | `{id,name}` |
| `dashboard.chart.rename` | `{id,chartId,resultSetName}` |
| `dashboard.metric.rename` | `{id,metricId,metricName}` |
| `dashboard.group.rename` | `{id,groupId,dimensionName}` |
| `dashboard.card.parameters` | `{dashboardId,cardId,revision,values}`. Pass the parameter form's current `revision` and only edited text values; preserve readonly fields. |

Here `chartId` and `metricId` are saved chart/metric card IDs returned by `read` (not `query.metricId`), and `groupId` is the saved group ID.

## Chart drawing updates

For a drawing change, read the dashboard and the card's current data, then use `ontoplato-chart` to produce the chart file. Before writing the copy into `chartFile: {name,content}` for a headless `dashboard.layout` update, make it storage-ready by clearing metric data rows and removing `ontomato.metric` and `ontomato.dataset`, while keeping all other cards and the existing query. Changes to business meaning or data source belong in the MetricView.

Files in this skill

  • SKILL.md8.4 KB
  • licenses/zod-LICENSE.txt1 KB
  • scripts/dashboard-pages.mjs85 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.