# Second Brain Graph

> >-

- **Type:** Skill
- **Install:** `agentstack add skill-undefined-ui-second-brain-os-second-brain-graph`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [undefined-ui](https://agentstack.voostack.com/s/undefined-ui)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [undefined-ui](https://github.com/undefined-ui)
- **Source:** https://github.com/undefined-ui/second-brain-os/tree/main/skills/second-brain-graph
- **Website:** https://x.com/undefinedKi/status/2068306794116501544

## Install

```sh
agentstack add skill-undefined-ui-second-brain-os-second-brain-graph
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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  | links  | avg degree 
Orphan rate %      (healthy under 5)
Components         (main holds %)
Stale concepts %   (untouched 90+ days)

Hubs: 
Bridges: 
Clusters: 

What this means: 
```

## 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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [undefined-ui](https://github.com/undefined-ui)
- **Source:** [undefined-ui/second-brain-os](https://github.com/undefined-ui/second-brain-os)
- **License:** MIT
- **Homepage:** https://x.com/undefinedKi/status/2068306794116501544

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-undefined-ui-second-brain-os-second-brain-graph
- Seller: https://agentstack.voostack.com/s/undefined-ui
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
