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.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/instructions/kubony/claude-knowledge-graph/claude-md)<a href="https://agentmods.dev/instructions/kubony/claude-knowledge-graph/claude-md"><img src="https://agentmods.dev/badge/instructions/kubony/claude-knowledge-graph/claude-md/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/instructions/kubony/claude-knowledge-graph/claude-md"><img src="https://agentmods.dev/badge/instructions/kubony/claude-knowledge-graph/claude-md.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.01402 | $0.01402 |
| Opus 5.5 | $0.00561 | $0.00561 |
| Sonnet 5.5 | $0.00280 | $0.00280 |
| Haiku 4.5 | $0.00140 | $0.00140 |
Grade A, and why
claude-knowledge-graph CLAUDE.md 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 — 280 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Claude Code 가이드 - 지식 그래프 자동화
개요
마크다운 노트를 RDF/TTL 지식 그래프로 변환하고 SPARQL로 질의하는 시스템.
에이전트
knowledge-graph-manager
메인 에이전트. 지식 그래프 생성 및 질의 워크플로우를 관리합니다.
트리거:
- "지식 그래프 빌드해줘"
- "그래프 동기화해줘"
- "[이름]에 대해 알려줘"
- "활성 프로젝트 보여줘"
워크플로우:
- TTL 파일 존재 확인
- 없으면 vault → TTL 변환
- SPARQL 질의 실행
- 결과 정리하여 응답
스킬
ontology-engine
마크다운 → TTL 변환.
source .venv/bin/activate && \
python .claude/skills/ontology-engine/scripts/vault_to_ttl.py ./vault --output ./knowledge.ttl
옵션:
--persons-dir contacts # 인물 폴더 (기본: persons)
--projects-dir work # 프로젝트 폴더 (기본: projects)
--archives-dir old # 아카이브 폴더 (기본: archives)
ontology-query
SPARQL 질의 실행.
source .venv/bin/activate && \
python .claude/skills/ontology-query/scripts/query_knowledge.py ./knowledge.ttl \
--preset <preset_name> --param "<value>"
대화형 모드:
python .claude/skills/ontology-query/scripts/query_knowledge.py ./knowledge.ttl --interactive
ontology-sync
간편 동기화 래퍼.
source .venv/bin/activate && \
python .claude/skills/ontology-sync/scripts/sync_vault.py
Python 환경
항상 venv 활성화 후 실행:
source .venv/bin/activate
의존성:
- rdflib
- pyyaml
- python-dotenv
마크다운 형식
인물 파일
위치: vault/persons/
파일명: Name_Organization.md
---
title: John Doe
date: 2024-01-15
tags:
- developer
- AI
summary: Senior developer at Acme
contact:
email: [email protected]
linkedin: https://linkedin.com/in/john
last_contact: 2024-03-10
---
# John Doe
## Basic Info
소개 내용...
## Meeting Records
### 2024.03.10 Lunch
미팅 내용...
프로젝트 폴더
위치: vault/projects/YYMM ProjectName/
vault/projects/
├── 2401 AI Platform/
│ └── README.md
└── 2403 Mobile App/
└── specs.md
프리셋 쿼리
인물
# 모든 인물
--preset all_persons
# 특정 인물 미팅
--preset person_meetings --param "John"
# 논의 주제
--preset person_topics --param "John"
# 참여 프로젝트
--preset person_projects --param "John"
# 아는 사람들
--preset person_network --param "John"
# 조직 소속
--preset org_members --param "Acme"
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 · 280 lines · 1,402 tokens per session scan A 83723da0fefe
claude-knowledge-graph CLAUDE.md is an instructions file published in the GitHub repository kubony/claude-knowledge-graph (48 stars, last pushed 10mo ago), licensed MIT. It adds 1,402 tokens to every session, about $0.0056 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.
claude-knowledge-graph CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| claude-knowledge-graph CLAUDE.mdkubony/claude-knowledge-graph | Instructions file | 48 | 10mo ago | MIT | A | 1,402 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |