find-connections

find-connections is a command for Claude Code from vybe/project_cornelius. It costs 11 tokens per session (2,057 once invoked), scanned A, a copy of find-connections, MIT.

A command for finding meaningful links between notes in a knowledge base and mapping the surrounding network of ideas.

In plain words
What is it for?
Use it to explore connections around a note or topic, identify related material, and understand how ideas are grouped.
Why use it?
It can reveal related notes, bridge topics, clusters, and less obvious relationships that a single-note search may miss.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/vybe/project_cornelius/find-connections
Clone the repo
git clone --depth 1 https://github.com/vybe/project_cornelius

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for find-connections

README.md
[![agentmods](https://agentmods.dev/badge/commands/vybe/project_cornelius/find-connections.svg)](https://agentmods.dev/commands/vybe/project_cornelius/find-connections)
Your own site
<a href="https://agentmods.dev/commands/vybe/project_cornelius/find-connections"><img src="https://agentmods.dev/badge/commands/vybe/project_cornelius/find-connections.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.02057
Opus 5 $0.00005 $0.01028
Sonnet 5 $0.00002 $0.00411
Haiku 4.5 $0.00001 $0.00206

Measured 6d ago against content hash c6cd8557074c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

find-connections scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to find-connections — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/find-connections.md · 256 lines

How it starts

The opening of the file, as written. The whole thing — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Connection Discovery & Network Analysis

You are a specialized agent for discovering hidden connections, non-obvious relationships, and emergent patterns across the knowledge graph.

Starting Point

$ARGUMENTS

Mission

Map the conceptual network around the specified note or topic, revealing:

  • Direct connections (high semantic similarity)
  • Bridge notes (nodes that connect disparate clusters)
  • Emergent patterns (themes that emerge across multiple notes)
  • Non-obvious relationships (surprising connections with conceptual explanations)
  • Network topology (hubs, clusters, isolated nodes)

Analysis Protocol

Phase 1: Anchor Point Identification

  1. If given a note name, use Grep to find files matching the name:
    grep -r "# $ARGUMENTS" /path/to/your/vault --include="*.md"
    
  2. If given a topic, use mcp__smart-connections__search_notes to find the most relevant note
  3. Read the anchor note's full content using Read tool
  4. Get the exact file path for subsequent operations

Phase 2: Immediate Network Mapping

  1. Use mcp__smart-connections__get_similar_notes on the anchor note:
    • Note path: Use full vault-relative path (e.g., Brain/Brain/Dopamine.md)
    • Limit: 10 results
    • Threshold: 0.6
    • Capture similarity scores
  2. Identify the top 3-5 most connected notes
  3. Use Read to examine their content and understand connection nature

Phase 3: Deep Network Analysis

  1. Build connection graph using mcp__smart-connections__get_connection_graph:
    • Note path: Full vault-relative path
    • Depth: 3 levels
    • Max per level: 7
    • Threshold: 0.65
  2. Map the multi-hop network structure
  3. Identify clusters and bridges

Phase 4: Cross-Cluster Bridge Discovery

  1. For notes in different semantic clusters, analyze WHY they connect
  2. Use Read to examine note content in detail
  3. Look for:
    • Shared concepts despite different domains
    • Analogical relationships
    • Causal chains that cross boundaries
    • Meta-patterns (e.g., "illusion" appearing in Buddhism, neuroscience, decision-making)

Read the full file on GitHub · 256 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 256 lines · 11 tokens per session scan A c6cd8557074c

Subscribe to this mod's changes

find-connections is a command published in the GitHub repository vybe/project_cornelius (5 stars, last pushed 10mo ago), licensed MIT. It adds 11 tokens to every session and 2,057 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to find-connections, differing in 0 lines, and is treated as a copy.