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 thkt/dotclaude --skill use-cli-codegraphgit clone --depth 1 https://github.com/thkt/dotclaudeWrote 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/thkt/dotclaude/use-cli-codegraph)<a href="https://agentmods.dev/skills/thkt/dotclaude/use-cli-codegraph"><img src="https://agentmods.dev/badge/skills/thkt/dotclaude/use-cli-codegraph/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/thkt/dotclaude/use-cli-codegraph"><img src="https://agentmods.dev/badge/skills/thkt/dotclaude/use-cli-codegraph.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.00059 | $0.00812 |
| Opus 5.5 | $0.00024 | $0.00325 |
| Sonnet 5.5 | $0.00012 | $0.00162 |
| Haiku 4.5 | $0.00006 | $0.00081 |
Grade A, and why
use-cli-codegraph 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 1mo 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 — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.
use-cli-codegraph
使いどころ
構造の問い合わせに限る。誰が X を呼ぶか、何が壊れるかといったシンボル単位の構造の問いを codegraph へ回し、自由記述の内容検索は Grep と Explore に残す。
| 問い | ツール |
|---|---|
| X を変えると何が壊れるか / 誰が X を呼ぶか | codegraph。Grep は構造をたどれない |
| シンボルの定義元と呼び出し元 / 先の経路 | codegraph node / explore |
| 変更したファイルが影響するテスト | codegraph affected |
| 自由記述や文字列の内容検索 | Grep / Explore。codegraph はシンボル単位 |
.codegraph index を持たないリポジトリ |
Grep / Explore。または init を促す |
コマンド
| 目的 | コマンド |
|---|---|
| 変更の波及範囲 (何が壊れるか) | codegraph impact <symbol> |
| 呼び出し元 | codegraph callers <symbol> |
| 呼び出し先 | codegraph callees <symbol> |
| シンボルの定義元と呼び出しの経路 | codegraph node <name> |
| 領域の探索 (定義元と呼び出しの経路) | codegraph explore <query...> |
| シンボル検索 | codegraph query <search> |
| 変更が影響するテスト | codegraph affected [files...] |
| index の状態 | codegraph status |
前提
| 項目 | 詳細 |
|---|---|
| index | .codegraph/ が要る。リポジトリごとに codegraph init を 1 回実行する。無い場合は init するか尋ねて止まる。黙って作らない |
| 鮮度 | codegraph status が up to date を示す。大きな変更の後は codegraph sync を実行する。watcher daemon が動いていれば最新に保たれる |
| バイナリ | bun global で導入する。インストールや更新で EPERM が出たら npm_config_cache=$TMPDIR/cg を前置して回避する |
正典は help 出力
オプション、出力形式、終了コードは codegraph --help と codegraph <subcommand> --help にある。help と記憶が食い違えば help が正しい。
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.
- 1mo ago First seen · 47 lines · 59 tokens per session scan A b89d47f71248
use-cli-codegraph is a skill published in the GitHub repository thkt/dotclaude (12 stars, last pushed 17d ago), licensed MIT. It adds 59 tokens to every session and 812 once invoked, about $0.0002 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.
Other skills, from other repositories
team-management-receiving-feedback
How to receive code review as technical evaluation rather than social performance — verify claims against the codebase before implementing, push back with evidence, and drop the performative agreement. Use when responding to a human reviewer, a PR comment, or another AI reviewer, and when deciding whether a suggestion…
review
Adversarial design review of a System Design Doc. Interrogates the staff questions, finds the cost-explosion and failure risks, returns a verdict. Sensors and evals gate.
council
Five independent critic subagents in parallel on an idea, plan, design, R&R strategy, grant, or SKILL.md, then a synthesis pass that ranks findings by how much of the argument rests on them, never by vote count. A markdown work plan gets the plan roster (assumptions, pre-mortem, what to delete, alternatives per piece…
pr-reviewer
Review pull requests with full context. Fetches linked Jira tickets, Figma designs, and Notion docs via MCP, spawns parallel subagents for systematic code review (correctness, security, tests, SOLID, clean code), then drafts friendly, humanized GitHub-ready comments. Use when reviewing PRs, examining code changes, or…
implementation-review
Pre-commit quality gate. Invoke before every git commit, after /flagrare:staleness-audit. Seven checks, plan gaps, use-case coverage gaps, missing test scenarios, test philosophy violations (Kent Dodds Testing Trophy), SOLID violations, Clean Code violations, and security vulnerabilities. Each check is delegated to a…
security-audit
Focused security review of a change. Finds HIGH-CONFIDENCE, concretely exploitable vulnerabilities in the staged diff (injection, broken authn/authz, secrets and data exposure, unsafe deserialization, crypto misuse, SSRF) and audits dependencies when a lockfile moved, using the repo's own package manager. Runs as…