Skip to content
Back to skills

Second Brain Graph

ASecurity

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.

  • 809 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agents

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add undefined-ui/second-brain-os --skill second-brain-graph --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Second Brain Graph?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Second Brain Graph
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/undefined-ui-second-brain-graph/badge)](https://www.skillsdirectory.com/skills/undefined-ui-second-brain-graph)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: second-brain-graph
description: >-
  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.
---

# Analyse the graph

The graph is the search space every answer is drawn from. Its shape decides
whether retrieval reaches the relevant material in a few hops or reaches nothing.

## Core rule

Report shape and what it means, never fix anything. This skill is read-only.

## Workflow

1. **Run the scripts** rather than reading files: `scripts/vault_stats.py` for
   counts and degree, `scripts/link_check.py` for orphans and breaks,
   `scripts/graph_export.py` when deeper analysis is wanted.
2. **Compute the four metrics:** orphan rate, average degree, component count,
   stale-page rate.
3. **Identify hubs** (pages that have swallowed the graph) and **bridges**
   (pages connecting otherwise separate clusters).
4. **Name the clusters.** These are what the vault is actually about, which is
   reliably different from what the user would say it is about.
5. **Say what each number means** for answering questions, not just the value.

## Output format

```
Pages <n> | links <n> | avg degree <n>
Orphan rate <n>%      (healthy under 5)
Components <n>        (main holds <n>%)
Stale concepts <n>%   (untouched 90+ days)

Hubs: <pages with outsized degree, and whether to split them>
Bridges: <pages connecting clusters, and what breaks if they are wrong>
Clusters: <what the vault is actually about>

What this means: <two or three sentences>
```

## Calibration

Never report page count or word count as a health signal. Both rise whether the
vault is improving or not.

A single reading says little. If the user has recorded previous numbers, compare
against them; if not, suggest recording these.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.