Second Brain Graph Analyser
Measures your note vault's link graph and reports orphan rate, average degree, components, hubs, bridges and clusters — plus what each number means for retrieval.
Data & AnalyticsIntermediate★ 288⑂ 50AI score 7/10Last updated: Sep 23, 2026
What it does
- Runs the repo's scripts to compute your vault's link graph shape and returns a fixed-format report.
- Four core metrics: orphan rate (healthy under 5%), average degree, component count (how fragmented the vault is), and stale-page rate (untouched 90+ days).
- Flags hubs (pages that swallowed the graph, with split advice), bridges (pages holding clusters together), and names the clusters your vault is actually about.
- Explains the meaning of each figure for question answering, not just the raw value.
- Strictly read-only — it never fixes what it finds (that's second-brain-lint's job).
Who it's for
- Obsidian / Logseq / markdown Zettelkasten and Second Brain users.
- Anyone whose vault has grown to hundreds or thousands of notes and now feels hard to search.
- People who want real structural signals instead of vanity metrics like page or word count.
Example uses
- "Check the health of my vault graph" → pages, links, orphan rate, component distribution.
- "Which pages are most connected and which are isolated?" → hub candidates with split suggestions plus the orphan list.
- "Is my vault fragmented?" → component count, main-component share, and bridge-page analysis.
· · · 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/undefined-ui/second-brain-os/HEAD/skills/second-brain-graph/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 Claude Skill Mart. Copy the skills/second-brain-graph folder from the GitHub repo undefined-ui/second-brain-os into my ~/.claude/skills/second-brain-graph/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/undefined-ui/second-brain-os.git && mkdir -p ~/.claude/skills && cp -r second-brain-os/skills/second-brain-graph ~/.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/undefined-ui/second-brain-os.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r second-brain-os/skills/second-brain-graph ~/.claude/skills/ - It depends on the repo's
scripts/vault_stats.py,link_check.pyandgraph_export.py, so keep the cloned repo next to your vault or copy the scripts folder too. - Verify Python 3 is available:
python3 --version - Start Claude Code inside your vault directory and ask: "analyse my vault graph health".
View source on GitHub ↗License: MIT