一键导入
codebeacon
Navigate code with Codebeacon MCP — live index, LSP precision, dependency graph, and Z3 security. Use instead of grep/Read for exploration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Navigate code with Codebeacon MCP — live index, LSP precision, dependency graph, and Z3 security. Use instead of grep/Read for exploration.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | codebeacon |
| description | Navigate code with Codebeacon MCP — live index, LSP precision, dependency graph, and Z3 security. Use instead of grep/Read for exploration. |
Codebeacon is a live hierarchical code index with LSP-backed precision — not a batch knowledge graph like Graphify.
Call get_context before grep, Read, or Glob. It returns a relevance-sorted L0 index (~500 tokens) that always fits in context.
If no index exists, call init_workspace first.
| Tool | When |
|---|---|
drill_package | Need files + symbols in a package |
find_definition | Jump to where a symbol is defined (LSP when available) |
find_references | Find all usages (LSP when available) |
Call get_dependents on a file to see what breaks if you change it. CLI: codebeacon dependents <file>.
For multi-step edit loops: loop_begin → edit → loop_record → loop_tick → repeat → loop_end.
CLI: codebeacon loop begin "goal" --file src/foo.rs. See references/loop.md or LOOP.md.
When multiple agents edit the same workspace, claim paths before shared edits:
claim_path with path + block_key (your agent/task id) + optional intentawait_path then retry claimrelease_path with a short summarysession_done (block_key, ok, summary)If lock tools are missing or MCP errors "not found": skip locks — do not explore MCP catalogs.
CLI: codebeacon run-plan ./plans "prompt". See LOCKS.md.
| Tool | CLI equivalent | Purpose |
|---|---|---|
query_context | codebeacon query "…" | Search packages/symbols/files |
shortest_path | codebeacon path A B | Dependency chain between files |
hotspots | (in report) | God nodes — most depended-on files |
Pseudo-resources (via tools): get_report, get_index_summary, get_hotspots.
Pass the repo argument to scope any tool to one repo. Use repo/package notation in drill_package.
When security is enabled (codebeacon serve --security):
verify_security before suspicious allocation/size editscodebeacon verify --content "…" --path file.rs.codeindex/ updates on save (100ms debounce)find_definition / find_referencesSee references/mcp-tools.md for full MCP tool list.