# connection-agent

Scans an Obsidian vault for notes that belong together, flags notes with no links, and writes up link suggestions for you to review.

- subagent · `type=agent` · Claude Code · 1072 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/agents/obsidian-ops-team/connection-agent.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/agents/connection-agent

## What it does

This subagent hunts for relationships between notes. It groups entries that name the same people, projects or tools, spots overlapping terminology, and lists notes that nothing points to and that point nowhere. The output is a set of suggested links ranked by confidence and by how many entities two notes share.

Most of the work runs through `link_suggester.py`, kept in `System_Files/Scripts/`. The agent calls it, then reads the reports it leaves behind: `Link_Suggestions_Report.md`, `Orphaned_Content_Connection_Report.md` and `Orphaned_Nodes_Connection_Summary.md`. Directory proximity and tags count as hints too.

The script path and report locations in the agent definition point at one specific vault, `/Users/cam/VAULT01/`. Use it on another machine and those paths have to be edited first, or the run goes nowhere. Nothing gets linked automatically either — you get a review file and apply the good suggestions yourself.

## Requirements
- Works with: Obsidian

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --agent obsidian-ops-team/connection-agent
```

2. **Manually: put the files in place**
- File: `.claude/agents/connection-agent.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/connection-agent.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/connection-agent.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/agents/obsidian-ops-team/connection-agent.md

## When to use it
- find scattered notes about the same person or project
- surface notes with no incoming or outgoing links
- get a ranked list of candidate links
- map clusters of related notes and the gaps between them
- produce a report you can work through by hand

## Example prompts
- Run `link_suggester.py` and list the notes worth linking together
- Find unlinked notes in the vault and suggest where each one belongs
- Group connections by shared technology and sort them by confidence

## Similar
- [cross-linker](https://affpapa.org/en/nevibecode/skills/cross-linker.md) — skill · 3300 installs
- [save](https://affpapa.org/en/nevibecode/skills/save.md) — skill · 511 installs
- [wiki-query](https://affpapa.org/en/nevibecode/skills/wiki-query.md) — skill · 3600 installs
- [obsidian-canvas-creator](https://affpapa.org/en/nevibecode/skills/obsidian-canvas-creator.md) — skill · 2000 installs
- [my-brain-is-full-crew](https://affpapa.org/en/nevibecode/skills/my-brain-is-full-crew.md) — skill · 1100 installs
- [obsidian-markdown](https://affpapa.org/en/nevibecode/skills/agricidaniel-obsidian-markdown.md) — skill · 545 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 361 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
