/nonoise:codebase-memoryfrom nonoise
Query and build the project's code knowledge graph through the codebase-memory-mcp server — architecture overview, symbol search, call chains, change impact, cross-service links. Use for "how does X work", "who calls X", "what breaks if I change X", "where is X defined", "index this repository", "indicizza il grafo", "rebuild the graph", and before any broad grep or multi-file read of an unfamiliar codebase. Works in Claude Code, Codex, Copilot, Cursor and Gemini CLI; falls back to the codebase-memory-mcp CLI when the MCP tools are not connected.
Ships in nonoise. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
codebase-memory-mcp indexes the repository into a local knowledge graph:
functions, classes, modules, call chains, HTTP routes, infrastructure files and
documentation sections, linked to each other. Indexing is deterministic (tree-sitter,
no LLM, no API key) and the index lives in ~/.cache/codebase-memory-mcp/, outside
the repository. One graph query usually replaces a dozen grep-and-read rounds.
NONoise installs the binary (the latest release, never pinned: npm install -g codebase-memory-mcp@latest updates it at any time) and registers the MCP server
codebase-memory-mcp in the project (.mcp.json, .codex/config.toml,
.vscode/mcp.json, .cursor/mcp.json, .gemini/settings.json, according to the
selected tools).
If the tools list_projects / search_graph are available, the server is
connected. Call list_projects. Most tools take a project argument: it is
the name list_projects prints for this repository (derived from its path).
If this repository is not listed, call index_repository with repo_path
set to the absolute project root. For a very large repository start with
mode: "fast". Index once: the server then watches the project and stays in
sync while a session is open. Do not re-index after every edit.
If the MCP tools are not available (host without MCP, server not yet approved, session not restarted), use the CLI. It runs the same tools:
codebase-memory-mcp cli index_repository --repo-path .
codebase-memory-mcp cli list_projects
codebase-memory-mcp cli search_graph --project <name> --name-pattern '.*Handler.*' --label Function
codebase-memory-mcp cli trace_path --project <name> --function-name <fn> --direction both
codebase-memory-mcp cli <tool> --help # flags of any tool
If the codebase-memory-mcp command does not exist, stop and print:
create-nonoise --code-graph-only .
create-nonoise doctor .
Then ask the user to restart the AI tool and approve the project MCP server. Do not fall back to pretending the graph was consulted.
| Question | Tool | Notes |
|---|---|---|
| "Give me the lay of the land" | get_architecture | Languages, packages, routes, hotspots, clusters. Ask for specific aspects when you need depth. |
| "Where is X?" / "find things like X" | search_graph | name_pattern (regex) and label for structure; query for keyword ranking; semantic_query for meaning. |
| "Who calls X?" / "what does X reach?" | trace_path | function_name, direction (inbound / outbound / both), depth. mode: "cross_service" follows HTTP/gRPC/queue edges. |
| "What does my diff affect?" | detect_changes | Maps the git diff to symbols and risk. scope: "tests" lists the tests to run. |
| "Show me the code" | get_code_snippet, get_file_outline | Use the qualified name the graph returned. |
| "Find this string / pattern" | search_code | Text search ranked by graph context. Prefer it over raw grep. |
| Anything structural not covered above | query_graph | Read-only openCypher. Call get_graph_schema first to learn labels and edge types. |
| "Is that area indexed at all?" | check_index_coverage, index_status | Run before concluding that something does not exist. |
| "What changed between two snapshots?" | compare_graphs | |
| Decision records kept next to the graph | manage_adr | NONoise's canonical architectural decisions live in the PRDs and .haft/; use this only when the user asks for it. |
get_architecture or search_graph;
open files only for the symbols the graph named.check_index_coverage
before saying "there is no such thing".~/.cache content. The
shared artifact .codebase-memory/graph.db.zst is written only when the user
asks for index_repository with persistence: true; committing it is a team
decision..cbmignore (gitignore syntax, extra
exclusions) and .codebase-memory.json (extra file extensions).repos/ on its own
(repo_path = that repository), then use trace_path with
mode: "cross_service" or index_repository with
mode: "cross-repo-intelligence" to link them.reverse-engineering, which queries this graph and writes
docs/support/reverse/<slug>/.create-nonoise --code-graph-only ..codebase-memory-mcp install: that command edits
user-global agent configuration and hooks, which NONoise never does on the
user's behalf.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub russosalv/nonoise --plugin nonoise27 skills in this plugin
/arch-brainstormDialogic architectural brainstorming skill. Helps an architect study how to implement something starting from just an area name, exploring the existing codebase, reading the project's source of truth at `docs/architecture/` plus `docs/requirements/` and `docs/calls/`, and producing a narrative PRD (story of the decision, inline Mermaid diagrams, explicit anti-scope) under `docs/prd/<area>/`. USE AS STEP 1 of the end-to-end architectural workflow — brainstorm → arch-decision (Haft FPF validation via `quint-fpf`) → sprint-manifest (promotion to sprint). Triggers — "I want to study how to implement X", "how should we handle Y", "brainstorm on area Z", "open a PRD for W", "arch-brainstorm area <slug>". Also triggers without explicit mention when the user is defining a new architectural work area from scratch and wants to think it through together./arch-decisionValidate an existing draft PRD through Haft ProblemCard, solution variants and parity comparison, then route the operator's explicit Phase 5.5 choice through h-decide and project the result into PRD frontmatter. Use for architectural PRD validation when the FPF gate fires; otherwise records a lightweight decision in the PRD with no Haft run. Creates no duplicate FPF audit register.