Skills for Real Engineers. Straight from my .agents directory.
second-brain-graph
Agent skill fromundefined-ui/second-brain-os
Analyse the vault's link graph and report on its shape: orphan rate, average degree, components, hubs, bridges and clusters, with what each number means for retrieval. Use this skill when the user asks about the health or structure of their graph, wants metrics, asks which pages are most connected or most isolated, or asks whether the vault is fragmented. Do NOT use for fixing what it finds, which is second-brain-lint, or for answering a content question.
How to install second-brain-graph
npx skills add undefined-ui/second-brain-os# or add only this skill to Claude Code: copy the folder
skills/second-brain-graph/
# into
~/.claude/skills/second-brain-graph/ (all projects)
.claude/skills/second-brain-graph/ (one project)
1# Analyse the graph23The graph is the search space every answer is drawn from. Its shape decides4whether retrieval reaches the relevant material in a few hops or reaches nothing.56## Core rule78Report shape and what it means, never fix anything. This skill is read-only.910## Workflow11121. **Run the scripts** rather than reading files: `scripts/vault_stats.py` for13 counts and degree, `scripts/link_check.py` for orphans and breaks,14 `scripts/graph_export.py` when deeper analysis is wanted.152. **Compute the four metrics:** orphan rate, average degree, component count,16 stale-page rate.173. **Identify hubs** (pages that have swallowed the graph) and **bridges**18 (pages connecting otherwise separate clusters).194. **Name the clusters.** These are what the vault is actually about, which is20 reliably different from what the user would say it is about.215. **Say what each number means** for answering questions, not just the value.2223## Output format2425```26Pages <n> | links <n> | avg degree <n>27Orphan rate <n>% (healthy under 5)28Components <n> (main holds <n>%)29Stale concepts <n>% (untouched 90+ days)3031Hubs: <pages with outsized degree, and whether to split them>32Bridges: <pages connecting clusters, and what breaks if they are wrong>33Clusters: <what the vault is actually about>3435What this means: <two or three sentences>36```3738## Calibration3940Never report page count or word count as a health signal. Both rise whether the41vault is improving or not.42…
Excerpt shown under the repository's MIT license.
More skills in second-brain-os
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
