{"slug":"codebase-memory","title":"codebase-memory","summary":"Use the codebase knowledge graph for structural code queries, trace call paths and dependencies, inspect architecture, assess change impact, or activate the bundled Claude Code discovery hooks.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-08-23T09:00:48.386963Z","repo":{"url":"https://github.com/ConnorGriffin/skills","stars":20,"forks":5,"license":null,"updatedAt":"2026-09-10T22:26:51Z"},"bodyHtml":"<hr>\n<h2>name: codebase-memory\ndescription: Use the codebase knowledge graph for structural code queries, trace call paths and dependencies, inspect architecture, assess change impact, or activate the bundled Claude Code discovery hooks.</h2>\n<h1>Codebase Memory</h1>\n<p>Follow <a href=\"reminder.md\">reminder.md</a> for the standing discovery policy; it is the one\nauthored policy shared by this skill, the profile pointer, and the installed\nSessionStart hook.</p>\n<h2>Activate discovery guidance in Claude Code</h2>\n<p>After the standard skills installer copies this directory, run:</p>\n<pre><code>python3 ~/.claude/skills/codebase-memory/scripts/install.py\n</code></pre>\n<p>For a non-default Claude home:</p>\n<pre><code>python3 &lt;installed-skill&gt;/scripts/install.py --claude-home PATH\n</code></pre>\n<p>The installer owns three files under the selected Claude home's <code>hooks/</code>\ndirectory and merges the skill's registrations into <code>settings.json</code>. It preserves\nunrelated settings and hook registrations. Malformed settings, conflicting\nregistrations, symlinks, and unowned managed-path files are no-write failures.\nIts scope is the bundled files and registrations.</p>\n<h2>Graph-query vocabulary</h2>\n<ul>\n<li><code>list_projects</code> and <code>index_status</code> report indexed-project inventory and health.</li>\n<li><code>get_architecture</code> summarizes repository structure and architectural relationships.</li>\n<li><code>search_graph</code> locates symbols by name, label, or qualified-name pattern.</li>\n<li><code>trace_path</code> follows callers, callees, data flow, and cross-service paths.</li>\n<li><code>get_code_snippet</code> returns exact source for a resolved symbol.</li>\n<li><code>query_graph</code> handles complex multi-hop graph questions.</li>\n<li><code>search_code</code> searches literal source text.</li>\n<li><code>detect_changes</code> maps a Git diff to its structural impact.</li>\n<li><code>index_repository</code> creates or refreshes a repository graph.</li>\n</ul>\n","files":[{"path":"agents/openai.yaml","sizeBytes":209,"isText":true},{"path":"config/claude-settings.json","sizeBytes":1087,"isText":true},{"path":"hooks/cbm-code-discovery-gate","sizeBytes":523,"isText":false},{"path":"hooks/cbm-session-reminder","sizeBytes":196,"isText":false},{"path":"reminder.md","sizeBytes":1783,"isText":true},{"path":"scripts/install.py","sizeBytes":10850,"isText":true},{"path":"SKILL.md","sizeBytes":3692,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-09-09T11:56:48.185499Z","sha256":"96E0CBDF6E807DA4D325EEACC205C513234084FE9CCC1218963BFD97406E9227","sizeBytes":7268},"review":null,"source":{"repositoryUrl":"https://github.com/ConnorGriffin/skills","path":"skills/tools/codebase-memory","license":null,"commit":"8d04c3f565cca22079a1e054cd8baa15530360d9","subtreeSha":"FFFE7DF8BAD301181BF950D0A1814C5DEC85C0FE425F03AB6856DF2BD68AD187","lastSyncedAt":"2026-09-18T12:20:26.907649Z"},"reviewedAt":"2026-09-09T11:57:22.79738Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/ConnorGriffin/skills/tree/main/skills/tools/codebase-memory"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install connorgriffin-skills@llmmart"},{"target":"git","command":"git clone https://github.com/ConnorGriffin/skills.git"}]}