ワンクリックで
codebase-memory
Use codebase graph for symbols, callers, deps, routes, impact, dead code, Cypher, search_graph, trace_path.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use codebase graph for symbols, callers, deps, routes, impact, dead code, Cypher, search_graph, trace_path.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use for /he:plan; stage 1 readiness with Treehouse, Grill Me, owner, proof path, PASS/FAIL.
Use for UI components, design systems, atomic design, tokens, themes, hardcoded visuals, or missing design SSOT.
Use for module boundaries, public APIs, ownership, abstractions, wrappers, test seams, or architecture review.
Use for visual PDFs: create, polish, export, verify decks, reports, proposals, one-pagers, or HTML-to-PDF.
Use for hard bugs, failing behavior, flaky tests, exceptions, regressions, or unexplained slowness before fixing.
Use for real UI E2E smoke/regression proof across web, Flutter, browser, Chrome, or device flows, with artifacts.
| name | codebase-memory |
| description | Use codebase graph for symbols, callers, deps, routes, impact, dead code, Cypher, search_graph, trace_path. |
Graph tools return precise structural results in ~500 tokens vs ~80K for grep.
MCP bridge names these tools as mcp__codebase_memory_mcp__<tool>.
Use the prefixed tool names when available; use mcp_call only as fallback.
| Question | MCP tool call |
|---|---|
| Who calls X? | mcp__codebase_memory_mcp__trace_path(direction="inbound") |
| What does X call? | mcp__codebase_memory_mcp__trace_path(direction="outbound") |
| Full call context | mcp__codebase_memory_mcp__trace_path(direction="both") |
| Find by name pattern | mcp__codebase_memory_mcp__search_graph(name_pattern="...") |
| Dead code | mcp__codebase_memory_mcp__search_graph(max_degree=0, exclude_entry_points=true) |
| Cross-service edges | mcp__codebase_memory_mcp__query_graph with Cypher |
| Impact of local changes | mcp__codebase_memory_mcp__detect_changes() |
| Risk-classified trace | mcp__codebase_memory_mcp__trace_path(risk_labels=true) |
| Text search | mcp__codebase_memory_mcp__search_code or Grep |
mcp__codebase_memory_mcp__list_projects — check if project is indexedmcp__codebase_memory_mcp__get_graph_schema — understand node/edge typesmcp__codebase_memory_mcp__search_graph(label="Function", name_pattern=".*Pattern.*") — find codemcp__codebase_memory_mcp__get_code_snippet(qualified_name="project.path.FuncName") — read sourcemcp__codebase_memory_mcp__search_graph(name_pattern=".*FuncName.*") — discover exact namemcp__codebase_memory_mcp__trace_path(function_name="FuncName", direction="both", depth=3) — tracemcp__codebase_memory_mcp__detect_changes() — map git diff to affected symbolsmcp__codebase_memory_mcp__search_graph(max_degree=0, exclude_entry_points=true)mcp__codebase_memory_mcp__search_graph(min_degree=10, relationship="CALLS", direction="outbound")mcp__codebase_memory_mcp__search_graph(min_degree=10, relationship="CALLS", direction="inbound")index_repository, index_status, list_projects, delete_project,
search_graph, search_code, trace_path, detect_changes,
query_graph, get_graph_schema, get_code_snippet, get_architecture,
manage_adr, ingest_traces
CALLS, HTTP_CALLS, ASYNC_CALLS, IMPORTS, DEFINES, DEFINES_METHOD, HANDLES, IMPLEMENTS, OVERRIDE, USAGE, FILE_CHANGES_WITH, CONTAINS_FILE, CONTAINS_FOLDER, CONTAINS_PACKAGE
MATCH (a)-[r:HTTP_CALLS]->(b) RETURN a.name, b.name, r.url_path, r.confidence LIMIT 20
MATCH (f:Function) WHERE f.name =~ '.*Handler.*' RETURN f.name, f.file_path
MATCH (a)-[r:CALLS]->(b) WHERE a.name = 'main' RETURN b.name
search_graph(relationship="HTTP_CALLS") filters nodes by degree — use query_graph with Cypher to see actual edges.query_graph has a 200-row cap — use search_graph with degree filters for counting.trace_path needs exact names — use search_graph(name_pattern=...) first.direction="outbound" misses cross-service callers — use direction="both".has_more and use offset.