codegraph
Prefer CodeGraph for codebase discovery, architecture questions, caller/callee tracing, and impact analysis before broad file reads or grep.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prefer CodeGraph for codebase discovery, architecture questions, caller/callee tracing, and impact analysis before broad file reads or grep.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Session behavior pack for automatic token-saving decisions. Use when handling large tool output, structured data for another model, repeated handoff/status context, long logs, or when the user asks to save tokens/context. Prefer this unified pack over remembering separate TOON or context commands.
Codex `$offduty` / handoff closeout entry. 下班、换机、fresh session 前,把当前会话自动折叠到 repo-local continuity;不要要求用户填写 task-id/scope/type。
Codex `$onduty` / fresh-session resume entry. 开工、换机、fresh session 时,从 repo-local continuity 恢复可执行上下文。
Create and maintain compact, durable handoff docs for Claude/Codex/Hive/cheap-model collaboration; supports bare offduty/onduty fresh-session continuity, execution handoff identity, current-owner safety, progress files, packet refs, and multi-session write rules.
Use when the user asks for xmem, cross-project memory, project truth index, prior similar work, domain/service/deploy/COS/copy-domain routing, preserving feature invariants, historical bug patterns, or compact agent context; first verify that an `xmem` CLI or source registry is available.
Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
基于 SOC 职业分类
| name | codegraph |
| description | Prefer CodeGraph for codebase discovery, architecture questions, caller/callee tracing, and impact analysis before broad file reads or grep. |
Use CodeGraph as the first stop for codebase discovery. It reduces context by querying the indexed symbol graph before reading files.
rg, grep, or open many files only to orient.codegraph_context for architecture, feature, or bug-context work.codegraph_files for project structure instead of filesystem scans.codegraph_search for known symbol/file names.codegraph_explore once when several related symbols need source together.codegraph_impact before changing a shared symbol.Read, rg, or file edits; use them after graph
discovery when exact source or patches are needed..codegraph/ local unless the
repo explicitly tracks it.token-saver / mms-context instead of dumping
logs into chat. CodeGraph handles code structure; token-saver handles noisy
output.