last9-dashboards

last9-dashboards is a skill for Claude Code, Codex from last9/last9-mcp-server. It costs 23 tokens per session (1,636 once invoked), scanned A, original, Apache-2.0.

A workflow for designing, checking, creating, and editing Last9 dashboards. A dashboard is a page of charts and other panels that display selected system data.

In plain words
What is it for?
Use it to create dashboards, read existing dashboard definitions, select data sources, discover metrics and labels, and validate dashboard panels.
Why use it?
It requires discovering available data and validating queries before claiming a dashboard is correct or saved. This reduces errors caused by invented metrics or unsupported panels.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create dashboards, read existing dashboard definitions, select data sources, discover metrics and labels, and validate dashboard panels.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/last9/last9-mcp-server/last9-dashboards
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add last9/last9-mcp-server --skill last9-dashboards
Clone the repo
git clone --depth 1 https://github.com/last9/last9-mcp-server

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for last9-dashboards

README.md
[![agentmods](https://agentmods.dev/badge/skills/last9/last9-mcp-server/last9-dashboards/github.svg)](https://agentmods.dev/skills/last9/last9-mcp-server/last9-dashboards)
Your own site
<a href="https://agentmods.dev/skills/last9/last9-mcp-server/last9-dashboards"><img src="https://agentmods.dev/badge/skills/last9/last9-mcp-server/last9-dashboards/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for last9-dashboards

Your own site · 80×15
<a href="https://agentmods.dev/skills/last9/last9-mcp-server/last9-dashboards"><img src="https://agentmods.dev/badge/skills/last9/last9-mcp-server/last9-dashboards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,636 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.01636
Opus 5.5 $0.00009 $0.00654
Sonnet 5.5 $0.00005 $0.00327
Haiku 4.5 $0.00002 $0.00164

Measured today against content hash cae62b79258a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

last9-dashboards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/amp/last9/references/skills/last9-dashboards/SKILL.md · 29 lines

How it starts

The opening of the file, as written. The whole thing — 29 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create a dashboard

Use this workflow for a net-new dashboard or to plan a targeted edit. It takes no prompt arguments; use the user's requested scope, purpose and time window. Only call tools available in this session; the full workflow needs the dashboards and investigate toolsets (--toolsets=dashboards,investigate; investigate serves the metric, log and trace tools plus list_datasources). If discovery, validation or writes are unavailable, explain what remains unverified or unsaved; do not claim completion. A name-only request creates an empty dashboard with panels: [], without inventing queries.

  1. Discover the data. For an existing dashboard id, read the current definition and panel ids with get_dashboard before planning edits. Use list_datasources to select the intended metric datasource, prometheus_label_values with label: "__name__" to find metrics, and prometheus_labels plus prometheus_label_values to discover their labels and values. Keep discovery scoped to the panels requested; use a supplied service name as given. Confirm metric type and unit from instrumentation documentation or the user; names and suffixes alone are not proof of counter semantics, and the current discovery tools do not supply authoritative metric types. For log and trace fields use get_log_attributes_for_pipeline and get_trace_attributes_for_pipeline with the scoped filter pipeline. Never invent tenant metrics, label names or field paths.

  2. Lay out query and CSV panels on a 12-column grid using layout: {x, y, w, h} in grid units, with nonnegative coordinates and positive sizes, x + w <= 12, and no overlap. Use three w=4 summary panels (h=4), two w=6 trends (h=8), and full-width w=12 tables or logs (h=8) as starting sizes, adjusting to content. Advance y by the tallest panel in the row. Use a versionless visualization: {type: "section"} panel for each heading; omit layout and queries from section and markdown panels, including after get_dashboard. Put overview before endpoint/service breakdowns and supporting logs/traces.

  3. Choose panel types by question: stat for one value per series, timeseries for a trend, bar for category comparisons, table for ranked rows, logs for raw log entries, and markdown for context. Use visualization.type, never panel-level type or gridPos. Non-section panels use version: 1. In a multi-query table, each value-column header is the query name; legend and query order do not control column order. Set the complete rendered order with visualization.table_config.columnConfig: [{"id", "visible", "order"}], using query names for value columns and label keys for identity columns. Every id must render or the saved order is ignored. Set row order with visualization.table_config.sorting: [{"id": "<query name>", "desc": true}]. A logs panel requires visualization.logs_config.columns (e.g. timestamp, severity, body), exactly one logs query of type log_ql or log_raw, and explicit version 1. Aggregate log charts use log_json; trace queries use trace_json or trace_ql in a suitable table or chart.

  4. Build queries from discovered data. For edits, prepare the patch ops and apply them to the read definition in memory to assemble the complete candidate; carry forward unchanged fields. Each query has name, type (instant or range), query_type, telemetry, string expr, and legend: {type: "auto", value: ""} unless a custom legend is needed. Use promql with metrics, log query types with logs, and trace query types with traces. Choose counter, gauge, histogram or precomputed-quantile semantics explicitly; distinguish rollup window from evaluation step. Use variables for reusable scope and dependent label matches, resolving them before test queries. Use query_guide for query semantics and dashboard_examples for worked payloads; both are MCP prompts and reference resources. Read last9://reference/logjson and last9://reference/tracejson for pipeline syntax.

Read the full file on GitHub · 29 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed cae62b79258a
  2. yesterday First seen · 29 lines · 23 tokens per session scan A 2a321b61b3f7

Subscribe to this mod's changes

last9-dashboards is a skill published in the GitHub repository last9/last9-mcp-server (62 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 1,636 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-05.

Related

last9-dashboards compared with skills from other repositories

last9-dashboards next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
last9-dashboardslast9/last9-mcp-serverSkill62todayApache-2.0A23Claude Code, Codex
ddtoolsetsdatadog-labs/cursor-pluginSkill122mo agoApache-2.0A43Cursor
Observability ChecklistNotysoty/openagentskillsSkill93mo agoMITA28Claude Code, Codex
ddconfigdatadog-labs/cursor-pluginSkill122mo agoApache-2.0A46Cursor
ddsetupdatadog-labs/cursor-pluginSkill122mo agoApache-2.0A139Cursor
datadog-appdatadog-labs/cursor-pluginSkill122mo agoApache-2.0A127Cursor
langsmith-observabilitysynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A45Claude Code, Codex