connection-finder

connection-finder is an agent for Claude Code from Abilityai/cornelius. It costs 31 tokens per session (5,727 once invoked), scanned A, original, MIT.

A specialist agent that searches a personal knowledge graph for less obvious links between notes. A knowledge graph is a connected collection of notes and their relationships.

In plain words
What is it for?
Use it to search permanent notes, extracted insights, documents, source material, maps, and articles, then record discovered connections and session changes.
Why use it?
It helps find relationships and patterns that are easy to miss when reading notes one at a time.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it to search permanent notes, extracted insights, documents, source material, maps, and articles, then record discovered connections and session changes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/abilityai/cornelius/connection-finder
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.

Clone the repo
git clone --depth 1 https://github.com/Abilityai/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 connection-finder

README.md
[![agentmods](https://agentmods.dev/badge/agents/abilityai/cornelius/connection-finder/github.svg)](https://agentmods.dev/agents/abilityai/cornelius/connection-finder)
Your own site
<a href="https://agentmods.dev/agents/abilityai/cornelius/connection-finder"><img src="https://agentmods.dev/badge/agents/abilityai/cornelius/connection-finder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for connection-finder

Your own site · 80×15
<a href="https://agentmods.dev/agents/abilityai/cornelius/connection-finder"><img src="https://agentmods.dev/badge/agents/abilityai/cornelius/connection-finder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,727 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00031 $0.05727
Opus 5.5 $0.00012 $0.02291
Sonnet 5.5 $0.00006 $0.01145
Haiku 4.5 $0.00003 $0.00573

Measured 5d ago against content hash 99824ee3ac90, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

connection-finder 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 5d 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.

.claude/agents/connection-finder.md · 689 lines

How it starts

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

State Dependencies

Source Location Read Write Description
Permanent Notes Brain/02-Permanent/ ✓ Primary connection hunting ground
AI Extracted Notes Brain/AI Extracted Notes/ ✓ AI-harvested insights
Document Insights Brain/Document Insights/ ✓ External document insights
Source Materials Brain/01-Sources/ ✓ Trace influence
MOCs Brain/03-MOCs/ ✓ Existing navigation maps
Articles Brain/04-Output/Articles/ ✓ Existing synthesis
Local Brain Search resources/local-brain-search/ ✓ Semantic search and connections
Session Changelogs Brain/05-Meta/Changelogs/ ✓ Dated session changelog
Master Changelog Brain/CHANGELOG.md ✓ ✓ Brief summary entry

Use Local Brain Search for all semantic search and connection discovery.

Location: resources/local-brain-search/

Wrapper Scripts:

# Semantic search
BRAIN_READ_SCOPE=@lookup resources/local-brain-search/run_search.sh "query" --limit 10 --json

# Find connections for a note
BRAIN_READ_SCOPE=@lookup resources/local-brain-search/run_connections.sh "Note Name" --json

# Get hub notes
resources/local-brain-search/run_connections.sh --hubs --json

# Get graph statistics
resources/local-brain-search/run_connections.sh --stats --json

# Find bridge notes
resources/local-brain-search/run_connections.sh --bridges --json

READ SCOPE (contract: .claude/skills/scope-mount/SKILL.md): never run a bare command - with scope enforcement on it silently reads only the core fingerprint (02-Permanent, 03-MOCs, AI Extracted Notes, 01-Sources). When you are called in the lookup role (/find-connections, /recall) the mount is the reasoning mount @lookup (the prefix shown in the listing above); label a Books/ or Document Insights/ neighbour as encountered material. --hubs / --bridges / --stats are the fingerprint and stay core. When your task is to connect newly-created non-core notes into the graph - e.g. spawned by deep-research to map connections for fresh Document Insights/ notes, or by ingest-source for fresh Books/<slug>/ notes - those targets live outside core, so a bare command can neither resolve nor reach them. In that case prefix every search/connection command with the scopes your task spans, e.g.:

Read the full file on GitHub · 689 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. 5d ago Changed 99824ee3ac90
  2. 1mo ago Changed · +12 lines e64736def9ed
  3. 3mo ago First seen · 677 lines · 31 tokens per session scan A 02a4d99ffe20

Subscribe to this mod's changes

connection-finder is an agent published in the GitHub repository Abilityai/cornelius (123 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 5,727 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

connection-finder compared with agents from other repositories

connection-finder next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
connection-finderAbilityai/corneliusAgent1232d agoMITA31Claude Code
context-finderfuturegerald/futuregerald-claude-pluginAgent8todaynoneA107Claude Code
wiki-ingestkarlorz/llm-wikiAgent5yesterdaynoneA64Claude Code
memory-curatorwbind-core/termpipe-mcpAgent022d agononeA45Claude Code
data scientistkhalilbenaz/MDANAgent01mo agoMITA8Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code