Code Understand — Architecture Focus Map
Builds a ranked focus map of the load-bearing files, symbols and callers of an unfamiliar codebase, each with a file:line citation, before you change anything.
Dev & CodingIntermediate★ 3,684⑂ 372AI score 8/10Last updated: Nov 4, 2026
What it does
- Runs
obsidian-wiki code-understandto scan a project and rank the symbols and files the architecture hangs on. - Every entry carries a
file:linecitation plus an evidence type (defines,imports,changed-file,rg-reference) so structural facts are kept separate from mere text matches. - Backend auto-selection: CodeGraph when installed → an existing Graphify graph → a dependency-free builtin regex/
rgextractor. - Seed from a diff (
--changed) or a git range (--since HEAD~5) to estimate the blast radius of a pending change. - Includes a guard rule: if the command is missing or errors, fall back to normal grep/read exploration instead of blocking.
Who it's for
- Developers dropped into an unfamiliar repository who must fix or extend it.
- Anyone planning a large refactor who wants "what would break?" answered first.
- Engineers who want PR descriptions and commit messages backed by real code pointers.
- Existing users of the
obsidian-wikiCLI toolchain.
Examples
- "Who calls this function?" →
code-understand --project . --max-symbols 30, then open only the cited locations. - Pre-review impact check →
code-understand --since HEAD~5 --pretty. - New-repo orientation → default full scan, read only the top-ranked files to form an architecture picture.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/Ar9av/obsidian-wiki/HEAD/.skills/code-understand/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the .skills/code-understand folder from the GitHub repo Ar9av/obsidian-wiki into my ~/.claude/skills/code-understand/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/Ar9av/obsidian-wiki.git /tmp/obsidian-wiki && mkdir -p ~/.claude/skills && cp -r /tmp/obsidian-wiki/.skills/code-understand ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/Ar9av/obsidian-wiki.git /tmp/obsidian-wiki - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r /tmp/obsidian-wiki/.skills/code-understand ~/.claude/skills/ - Key prerequisite: the skill needs the
obsidian-wikiCLI to work properly — install it following the repository README. - (Optional) For richer cross-file call-graph evidence, ask the user first, then run
npm install -g @colbymchenry/codegraph. - Verify availability with
obsidian-wiki doctor --project <dir>and check thecode-understanding.*capability lines. - Restart Claude Code and try: "map the architecture of this repo before I refactor it."
View source on GitHub ↗License: MIT