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 sparq-org/sparq --skill genai-retrievalgit clone --depth 1 https://github.com/sparq-org/sparqWrote 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/sparq-org/sparq/genai-retrieval)<a href="https://agentmods.dev/skills/sparq-org/sparq/genai-retrieval"><img src="https://agentmods.dev/badge/skills/sparq-org/sparq/genai-retrieval/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/sparq-org/sparq/genai-retrieval"><img src="https://agentmods.dev/badge/skills/sparq-org/sparq/genai-retrieval.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 659 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00167 | $0.14685 |
| Opus 5 | $0.00084 | $0.07343 |
| Sonnet 5 | $0.00033 | $0.02937 |
| Haiku 4.5 | $0.00017 | $0.01469 |
Grade A, and why
genai-retrieval 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 11d 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 — 735 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sparq genai-retrieval
The AI/agent surface of the sparq RDF+SPARQL engine, in two opt-in, network-free crates that compose:
sparq-introspect— mines the effective schema a graph actually uses (classes, per-class predicate usage, observed domain/range, characteristic sets, cross-class join hints, namespaces) by sorted scans over the store indexes — and renders it as a token-budgeted text "schema card", VoID (N-Triples), SHACL node shapes (characteristic sets →sh:NodeShape), or full JSON for LLM grounding / agent retrieval context.sparq-nlq— a deliberately lean NL→SPARQL loop: ground (with the introspect summary) → generate (anLlmbehind a trait) → validate (spargebraparse) → execute (sparq-engineunder aQueryBudget) → repair (≤ N rounds). The LLM sits behind a record/replay seam so CI is fully offline; a live Anthropic client is behind an opt-inlivefeature.
Both crates are read-only over sparq-core's public API. Nothing in the workspace
depends on them; the default engine build compiles neither and carries zero GenAI
code.
Quickstart
Cargo.toml:
[dependencies]
sparq-core = "0.1"
sparq-introspect = "0.1"
sparq-nlq = "0.1" # add features = ["live"] for the Anthropic backend
Add features = ["schema-diff"] to sparq-introspect when comparing two mined
schemas. The feature is off by default.
Grounding context from a graph (no LLM, no network):
use sparq_core::Graph;
use sparq_introspect::Introspection;
let graph = Graph::load_str(turtle_or_ntriples, "turtle")?; // or "ntriples"
let ix = Introspection::build(&graph);
let card = ix.to_text_summary(2500); // prompt-ready schema card, ≤ 2500 chars
let json = ix.to_json(); // full machine surface for an agent
let void = ix.to_void("http://ex.org/dataset");// W3C VoID, as N-Triples
let shacl = ix.to_shacl(); // characteristic sets → SHACL node shapes (N-Triples)
# Ok::<(), String>(())
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.
- 11d ago First seen · 735 lines · 167 tokens per session scan A bd28f2fa1560
genai-retrieval is a skill published in the GitHub repository sparq-org/sparq (12 stars, last pushed today), licensed MIT. It adds 167 tokens to every session and 14,685 once invoked, about $0.0008 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-08-31.
Other skills, from other repositories
qdrant
Vector search engine for production RAG systems.
chroma
Embedding database for RAG and semantic search.
pinecone
Managed vector DB for production RAG and search.
embeddings
Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.
similarity-search-patterns
Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.
pgvector-semantic-search
Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…