Borrowing it
Nothing to install: this file belongs to eclipse-rdf4j/rdf4j. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/eclipse-rdf4j/rdf4j/main/.agent/skills/query-plan-snapshot-cli/SKILL.mdgit clone --depth 1 https://github.com/eclipse-rdf4j/rdf4jWrote 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/eclipse-rdf4j/rdf4j/query-plan-snapshot-cli)<a href="https://agentmods.dev/skills/eclipse-rdf4j/rdf4j/query-plan-snapshot-cli"><img src="https://agentmods.dev/badge/skills/eclipse-rdf4j/rdf4j/query-plan-snapshot-cli/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/eclipse-rdf4j/rdf4j/query-plan-snapshot-cli"><img src="https://agentmods.dev/badge/skills/eclipse-rdf4j/rdf4j/query-plan-snapshot-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00065 | $0.01418 |
| Opus 5 | $0.00032 | $0.00709 |
| Sonnet 5 | $0.00013 | $0.00284 |
| Haiku 4.5 | $0.00006 | $0.00142 |
Grade A, and why
query-plan-snapshot-cli 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 7d ago.
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 — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
query-plan-snapshot-cli
Use this skill to run reproducible query-plan captures, triage historical theme-query benchmark results, and classify likely regression/improvement signals.
Fast workflow
- Capture raw benchmark output into a normalized result file when needed.
- Analyze the newest dated run against historical results.
- Drill into the fastest known runs for a specific theme/query.
- If needed, capture baseline/candidate plan snapshots and diff them semantically.
History triage
Result files live in:
core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/benchmark/theme-query-benchmark-results
Normalize raw JMH output into a new result file:
pbpaste | scripts/theme-query-benchmark-results.sh capturescripts/theme-query-benchmark-results.sh capture raw-jmh.txt
Analyze only the queries that are more than 20% slower than history:
core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/benchmark/theme-query-benchmark-results/analyze-theme-query-history.sh
Sort regressions from biggest to smallest:
core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/benchmark/theme-query-benchmark-results/analyze-theme-query-history.sh --sort-regressions
Only print the top N regressions:
core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/benchmark/theme-query-benchmark-results/analyze-theme-query-history.sh --top 10
Analyze every latest query, including current-run wins over previous best:
core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/benchmark/theme-query-benchmark-results/analyze-theme-query-history.sh --all
Drill into the three fastest known runs for one theme/query and print optimized plan/query when present:
core/sail/lmdb/src/test/java/org/eclipse/rdf4j/sail/lmdb/benchmark/theme-query-benchmark-results/analyze-theme-query-history.sh --theme PHARMA --query-index 10
Interpretation:
- Default mode: newest dated file only for the “latest” baseline; compares against all other
results-*.md, includingresults-develop.mdandresults-main-branch.md, but prints only queries where latest is more than 20% slower than historical best. --sort-regressions: flat regression list, biggest slowdown first.--top N: top N regressions only; implies regression sorting.--all: prints every latest query; if latest is a new best it prints how much faster it is than the previous best.- Query detail mode: top three runs sorted by score ascending; ties prefer richer files with plan/query content.
plan no | query yes: optimized query rendered, no physical plan block in that result file.plan no | query no: summary-only run or no per-query capture in that file.
What ships with it
3 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.
- 7d ago First seen · 111 lines · 65 tokens per session scan A 3b78e2e6e803
query-plan-snapshot-cli is a skill published in the GitHub repository eclipse-rdf4j/rdf4j (412 stars, last pushed yesterday), licensed BSD-3-Clause. It adds 65 tokens to every session and 1,418 once invoked, about $0.0003 per session on Opus 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-09-03.
Other skills, from other repositories
mcp-sparql
Exposes SPARQL query capabilities to LLMs via the Model Context Protocol. Supports SELECT, ASK, CONSTRUCT, and DESCRIBE queries against any SPARQL endpoint.
open-ontologies
AI-native ontology engineering using 50+ MCP tools backed by an in-memory Oxigraph triple store. Build, validate, query, and govern RDF/OWL ontologies with a generate-validate-iterate loop. Use when building ontologies, knowledge graphs, RDF data, SPARQL queries, BORO/4D modeling, SHACL validation, clinical…
kg-modality-sparql
Query and update the engine's RDF/OWL store over the W3C SPARQL 1.1 Protocol — the engine IS the triplestore (epistemic-graph owns the /sparql wire). Use when you need SELECT/ASK/ CONSTRUCT/DESCRIBE/UPDATE over triples/quads, named graphs, property paths, or when an existing rdflib/Jena/Stardog client should point at…
knowledge-graph-sparql
Knowledge graph construction, SPARQL querying, and entity linking for library and research data management using RDF and Wikidata.
tika-eval-h2-query
Query the tika-eval H2 database directly for counts and joins the canned reports do not compute — connection gotchas, key tables, example queries. Use when the xlsx/summary.md reports are not enough.
azure-data-tables-java
Build table storage applications with Azure Tables SDK for Java. Use when working with Azure Table Storage or Cosmos DB Table API for NoSQL key-value data, schemaless storage, or structured data at scale.