Tab · Insights

Relationship stats

See which brain files actually shape decisions — and which ones nobody reads. Sortable table: influence score, inbound/outbound links, prompt mentions, tokens influenced.

See it in motion

Where to find it

  • Localhost: /relationship-stats.html?repo=<id>
  • API: GET /api/brain-graph/stats?repo=<id>
  • Keyboard: K then stats
  • Sidebar: Insights → Relationship stats

What it does for you

Influence score ranks the files that matter.Influence = inbound link count × prompt-mention rate × tokens of context the file actually rode along with. The top of the table is your real CLAUDE.md.
Inbound + outbound at a glance.Sortable columns let you find the central hub (high inbound) and the orphan file (zero of both). Orphans are pruning candidates; hubs are stewardship candidates.
Prompt mentions show on-the-ground use.A file with zero prompt mentions is a file nobody actually pastes — possibly redundant, possibly invisible. Both worth investigating.

Configure

Nothing — the stats are computed from the brain markdown plus Claude Code prompt telemetry. Cap: 2,000 files per repo.

Use it well

Quarterly: open the table, sort by influence descending. Read the top three; bump them if they've drifted. Sort by influence ascending; the zero-row tail is your delete-or-fold list.

Read more