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 commands/leeyudok/agents-scaffold/knowledge-graphgit clone --depth 1 https://github.com/LeeYudok/agents-scaffoldWhat 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.00000 | $0.00312 |
| Opus 5 | $0.00000 | $0.00156 |
| Sonnet 5 | $0.00000 | $0.00062 |
| Haiku 4.5 | $0.00000 | $0.00031 |
Grade A, and why
knowledge-graph 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 3d 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.
What it actually says
/knowledge-graph — .claude 지식 그래프 재생성·열람
AGENTS.md 생태계(rules·memory·agents·skills·commands·workflows)의 연결 구조를 1장의 대시보드로 뽑는다. 온보딩·문서 정합성 점검용.
절차
-
생성:
python3 .claude/scripts/knowledge_graph.pydocs/knowledge-graph.html갱신 (노드·간선·깨진 링크 수를 stdout 으로 보고). -
열람 — 로컬 정적 서빙:
python3 -m http.server -d docs 8899→ http://localhost:8899/knowledge-graph.html (팬/줌/드래그, 노드 클릭 = 참조/피참조 상세)
-
링크 정합성만 빠르게 (깨진 링크 있으면 exit 1 — CI 게이트로 사용 가능):
python3 .claude/scripts/knowledge_graph.py --check
주의
- HTML 은 생성 시점 스냅샷 — 문서 구조를 바꿨으면 재생성 후 함께 커밋.
- 갱신 커밋은 이슈 없이도 가능하나 main 직접 커밋 금지(브랜치+PR/MR).
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.
- 3d ago First seen · 29 lines · 0 tokens per session scan A ac7218f33f69
knowledge-graph is a command published in the GitHub repository LeeYudok/agents-scaffold (25 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 312 tokens. 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 commands, from other repositories
monitor
Monitor repository health, track issues, and identify maintenance tasks.
refactor
Safely refactor code with test verification.
detailed-review
Structured code review with checklist and severity ratings.
docs
Generate or update documentation for code.
fix-bugs
Detect and fix common bugs, anti-patterns, and code issues.
security-check
Scan for security vulnerabilities in code and dependencies.