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.
npx skills add last9/last9-mcp-server --skill last9-query-languagesgit clone --depth 1 https://github.com/last9/last9-mcp-serverWrote 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.
[](https://agentmods.dev/skills/last9/last9-mcp-server/last9-query-languages)<a href="https://agentmods.dev/skills/last9/last9-mcp-server/last9-query-languages"><img src="https://agentmods.dev/badge/skills/last9/last9-mcp-server/last9-query-languages/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.
<a href="https://agentmods.dev/skills/last9/last9-mcp-server/last9-query-languages"><img src="https://agentmods.dev/badge/skills/last9/last9-mcp-server/last9-query-languages.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00027 | $0.01658 |
| Opus 5.5 | $0.00011 | $0.00663 |
| Sonnet 5.5 | $0.00005 | $0.00332 |
| Haiku 4.5 | $0.00003 | $0.00166 |
Grade A, and why
last9-query-languages 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.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dashboard query guide
This prompt takes no arguments. Use it with create_dashboard_guide and dashboard_examples; it is also available at last9://reference/query_guide. Examples are patterns, not a catalog of metrics available in a tenant. Discover the datasource, metrics, labels, values, units and metric semantics before substituting them. Discovery and test queries need the dashboards and investigate toolsets (--toolsets=dashboards,investigate); if a tool is not available in this session, report the missing validation rather than inventing a result.
PromQL and metric types
- A counter is cumulative and may reset. Use
rate(counter[5m])for per-second throughput, orincrease(counter[$__range])for a window total; rate each series before summing so resets remain visible. Multiply a per-second rate by 60 only when the panel is labelled per minute. Confirm type from instrumentation documentation;_totaland_countare hints, not proof. - A gauge is a current value. Plot it directly or use
avg_over_time,max_over_timeormin_over_timefor the question's window. Do not apply rate to CPU utilization, memory bytes or an already computed rate. Preserve units; a seconds value is not milliseconds until multiplied by 1000. - For a classic histogram,
histogram_quantile(0.95, sum by (le, service) (rate(request_duration_seconds_bucket[5m])))yields seconds. Keepleand the desired population labels, and use compatible bucket boundaries. Add endpoint to the grouping for endpoint latency. Do not treat a metric with a quantile label as histogram buckets. - Precomputed percentiles are not composable: never sum or average percentile series to produce a combined percentile. Keep each source population and recorded window distinct. Use actual histogram buckets or
get_traces/get_logsover raw values to calculate a percentile for a wider population or window.
Last9 derived trace_* metrics
Derived trace_* metrics are not interchangeable with ordinary scraped counters. Discover the exact series and labels first. For interval-count series such as trace_endpoint_count and trace_client_count, a window total uses sum by (...) (sum_over_time(metric{...}[$__range])); divide the count by the window's seconds for requests/second, or minutes for requests/minute. Do not assume increase or generic counter-reset logic applies to these interval counts. Only use a rate expression when that specific derived metric's documented semantics support it.
What ships with it
4 files 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.
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.
- today Changed 6f065d4b1da4
- yesterday First seen · 46 lines · 27 tokens per session scan A 74e058e2cf04
last9-query-languages is a skill published in the GitHub repository last9/last9-mcp-server (62 stars, last pushed today), licensed Apache-2.0. It adds 27 tokens to every session and 1,658 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.
last9-query-languages compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| last9-query-languageslast9/last9-mcp-server | Skill | 62 | today | Apache-2.0 | A | 27 | Claude Code, Codex |
| observability-phoenixdavila7/claude-code-templates | Skill | 35k | today | MIT | A | 47 | Claude Code, Codex |
| langsmith-observabilitysynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| detecting-process-injection-techniquesadriannoes/awesome-agentic-ai | Skill | 111 | 8d ago | MIT | A | 78 | Claude Code, Codex |
| systematic-debuggingmonoscope-tech/monoscope | Skill | 2.2k | today | AGPL-3.0 | A | 21 | Claude Code, Codex |
| investigating-ransomware-attack-artifactsadriannoes/awesome-agentic-ai | Skill | 111 | 8d ago | MIT | B | 36 | Claude Code, Codex |
| signoz-investigating-alertsSigNoz/agent-skills | Skill | 22 | 9d ago | MIT | A | 138 | Claude Code |