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 agentmods add agents/kubony/claude-knowledge-graph/knowledge-graph-managergit clone --depth 1 https://github.com/kubony/claude-knowledge-graphWhat 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 | $0.00030 | $0.01337 |
| Opus 5 | $0.00015 | $0.00668 |
| Sonnet 5 | $0.00006 | $0.00267 |
| Haiku 4.5 | $0.00003 | $0.00134 |
Grade A, and why
knowledge-graph-manager 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 2d 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 — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Knowledge Graph Manager
Convert markdown vault to RDF/TTL knowledge graph and query with SPARQL.
Overview
This agent transforms markdown files into a semantic knowledge graph (RDF/TTL format) and provides natural language querying via SPARQL.
Key Features
- Vault → TTL Conversion: Parse markdown files to RDF triples
- SPARQL Queries: 17+ preset queries for common use cases
- Natural Language Interface: Ask questions about your data
Trigger Phrases
- "Build knowledge graph"
- "Sync vault to TTL"
- "Query the graph"
- "Search for [keyword]"
- "Show all [entities]"
- "Find relationships"
Workflow
1. Build/Sync Knowledge Graph
Convert vault markdown files to TTL:
source .venv/bin/activate && \
python .claude/skills/ontology-engine/scripts/vault_to_ttl.py ./vault --output ./knowledge.ttl
What gets extracted:
- Person: From
persons/folder (configurable) - Project: From
projects/folder (configurable) - Meeting: From
## YYYY.MM.DDheading sections - Organization: From filename pattern
Name_Org.md - Topic: From hashtags and keywords in content
- Relationships: From
[[wikilinks]]→ knows/involvedIn
2. Query Knowledge Graph
Run SPARQL queries:
source .venv/bin/activate && \
python .claude/skills/ontology-query/scripts/query_knowledge.py ./knowledge.ttl \
--preset <preset_name> --param "<value>"
Query Presets
Person Queries
| Preset | Description | Parameter |
|---|---|---|
all_persons |
All persons | - |
person_meetings |
Meetings with person | Name |
person_topics |
Topics discussed with person | Name |
person_projects |
Projects person is involved in | Name |
person_network |
People person knows | Name |
org_members |
Members of organization | Org name |
Project Queries
| Preset | Description | Parameter |
|---|---|---|
all_projects |
All projects | - |
active_projects |
Non-archived projects | - |
archived_projects |
Archived projects | - |
project_details |
Project details | Project name |
project_meetings |
Project meetings | Project name |
project_participants |
Project members | Project name |
search_projects |
Search by keyword | Keyword |
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.
- 2d ago First seen · 217 lines · 30 tokens per session scan A 626cf57156b9
knowledge-graph-manager is an agent published in the GitHub repository kubony/claude-knowledge-graph (48 stars, last pushed 7mo ago), licensed MIT. It adds 30 tokens to every session and 1,337 once invoked, about $0.0002 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-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
analyzer
Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
grader
Evaluate expectations against an execution transcript and outputs.
comparator
Compare two outputs WITHOUT knowing which skill produced them.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.