Borrowing it
Nothing to install: this file belongs to kubony/claude-knowledge-graph. 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/kubony/claude-knowledge-graph/main/.claude/agents/knowledge-graph-manager.mdgit clone --depth 1 https://github.com/kubony/claude-knowledge-graphWrote 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/agents/kubony/claude-knowledge-graph/knowledge-graph-manager)<a href="https://agentmods.dev/agents/kubony/claude-knowledge-graph/knowledge-graph-manager"><img src="https://agentmods.dev/badge/agents/kubony/claude-knowledge-graph/knowledge-graph-manager/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/agents/kubony/claude-knowledge-graph/knowledge-graph-manager"><img src="https://agentmods.dev/badge/agents/kubony/claude-knowledge-graph/knowledge-graph-manager.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.00030 | $0.01337 |
| Opus 5.5 | $0.00012 | $0.00535 |
| Sonnet 5.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 2mo 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.
- 2mo 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 10mo ago), licensed MIT. It adds 30 tokens to every session and 1,337 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-08-30.
knowledge-graph-manager compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| knowledge-graph-managerkubony/claude-knowledge-graph | Agent | 48 | 10mo ago | MIT | A | 30 | Claude Code |
| context-finderfuturegerald/futuregerald-claude-plugin | Agent | 7 | 2d ago | none | A | 107 | Claude Code |
| wiki-ingestkarlorz/llm-wiki | Agent | 5 | yesterday | none | A | 64 | Claude Code |
| memory-curatorwbind-core/termpipe-mcp | Agent | 0 | 4d ago | none | A | 45 | Claude Code |
| data scientistkhalilbenaz/MDAN | Agent | 0 | 23d ago | MIT | A | 8 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 99k | yesterday | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 79k | 4d ago | MIT | A | 33 | Claude Code |