.claude/skills/find-connections/SKILL.md
Discover hidden connections and relationships between notes in the knowledge base
npx skillsauth add abilityai/cornelius find-connectionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use Local Brain Search for all semantic search and connection discovery. Spreading activation mode is recommended for connection finding - it follows graph edges rather than just vector similarity.
Scripts:
# Spreading activation search (recommended for connection discovery)
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_search.sh "query" --mode spreading --limit 10 --json
# Static search (for exact lookups)
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_search.sh "query" --limit 10 --json
# Force synthesis intent (maximum graph exploration)
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_search.sh "query" --mode spreading --intent synthesis --json
# Find connections
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_connections.sh "Note Name" --json
# Find hubs
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_connections.sh --hubs --json
# Find bridges
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_connections.sh --bridges --json
# Get stats
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_connections.sh --stats --json
You are a specialized agent for discovering hidden connections, non-obvious relationships, and emergent patterns across the knowledge graph.
$ARGUMENTS
Map the conceptual network around the specified note or topic, revealing:
Grep to find files matching the name:
grep -r "# $ARGUMENTS" $VAULT_BASE_PATH/Brain --include="*.md"
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_search.sh "$ARGUMENTS" --limit 5 --json
Read tool/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_connections.sh "Note Name" --json
Read to examine their content and understand connection nature/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_connections.sh --stats --json
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_connections.sh --hubs --json
/Users/eugene/Dropbox/Agents/Cornelius/resources/local-brain-search/run_connections.sh --bridges --json
Read to examine note content in detailGrep to check for existing wikilinks between notesStructure your findings as follows:
# Connection Map: [Starting Note/Topic]
> 🤖 **AI-Discovered Connections**
> This connection analysis was generated by AI using semantic similarity algorithms.
> All connections, patterns, and insights below are AI-identified and should be reviewed critically.
## 🎯 Anchor Point
**Note:** [[Note Name]]
**Core Concept:** [1-sentence summary]
**Domain:** [Primary field/cluster]
---
## 🔗 Direct Connections (Layer 1)
[Top 5-7 notes with highest similarity]
| Note | Similarity | Connection Type | Why Connected | AI Confidence |
|------|-----------|-----------------|---------------|---------------|
| [[Note 1]] | 0.85 | Definitional | Explains core mechanism | High (>0.8) |
| [[Note 2]] | 0.82 | Application | Practical implementation | High (>0.8) |
| ... | ... | ... | ... | ... |
**Connection Types:** Definitional, Evidential, Application, Contrast, Analogy, Causal
**Note:** All connections are AI-inferred from semantic embeddings
---
## 🌉 Bridge Notes
[Notes that connect disparate clusters - these are key integrators]
### [[Bridge Note 1]]
- **Connects:** [Cluster A] ↔ [Cluster B]
- **Mechanism:** [How it bridges the concepts]
- **Significance:** [Why this connection matters]
- **AI Identification:** Detected through multi-hop semantic analysis
---
## 🕸️ Network Structure (3 Layers Deep)
[Anchor Note] ├─ Layer 1 (Direct - similarity > 0.75) │ ├─ [[Note A]] (0.85) │ ├─ [[Note B]] (0.82) │ └─ [[Note C]] (0.78) │ ├─ Layer 2 (First-degree associations - similarity > 0.65) │ ├─ From Note A: │ │ ├─ [[Note D]] (0.74) │ │ └─ [[Note E]] (0.68) │ └─ From Note B: │ └─ [[Note F]] (0.71) │ └─ Layer 3 (Extended network - similarity > 0.60) └─ Emergent cluster around [Theme X] ├─ [[Note G]] └─ [[Note H]]
---
## 💡 Emergent Patterns
*🤖 AI-detected patterns based on semantic clustering*
### Pattern 1: [Pattern Name]
**Appears in:** [[Note A]], [[Note B]], [[Note C]]
**Description:** [What the pattern is]
**Insight:** [What this reveals about your thinking]
**AI Method:** Identified through cross-note thematic analysis
### Pattern 2: [Pattern Name]
...
---
## 🔍 Non-Obvious Connections
*🤖 AI-suggested connections requiring human validation*
### Surprising Link 1: [[Note X]] ↔ [[Note Y]]
- **Similarity:** 0.72
- **Surface difference:** [Why these seem unrelated]
- **Deep connection:** [The underlying shared principle]
- **Insight value:** [What you can learn from this connection]
- **Validation needed:** This is an AI hypothesis - verify if conceptually meaningful
---
## 🎨 Conceptual Clusters Identified
**Cluster 1: [Cluster Name]**
- Core notes: [[Note 1]], [[Note 2]], [[Note 3]]
- Theme: [Central idea]
- Density: [High/Medium/Low connectivity]
**Cluster 2: [Cluster Name]**
...
---
## 🔭 Knowledge Gaps & Opportunities
### Missing Connections
[Valuable notes that should be connected but aren't]
### Underdeveloped Themes
[Promising ideas that need more exploration]
### Potential Synthesis Opportunities
[Multiple notes that could be synthesized into an article/framework]
---
## 📊 Network Statistics
- **Direct connections:** [Number]
- **Total network size (3 layers):** [Number] notes
- **Strongest connection:** [[Note]] (similarity: 0.XX)
- **Most connected hub:** [[Note]] ([N] connections)
- **Clusters identified:** [Number]
- **Cross-cluster bridges:** [Number]
---
## 🎯 Actionable Insights
> ⚠️ **Human Review Required**
> These are AI-generated suggestions based on computational analysis.
> They should be validated against your actual understanding and goals.
1. **Content Creation Opportunity:** [What article/framework could be created]
2. **Connection to Make:** Link [[Note A]] to [[Note B]] because [reason]
3. **Deep Dive Suggested:** Explore [theme] further
4. **Synthesis Potential:** Combine insights from [cluster] into [output]
---
## 📝 Methodology Note
**How This Analysis Was Generated:**
- Semantic embeddings: all-MiniLM-L6-v2 (384 dimensions)
- Similarity algorithm: Cosine similarity between note embeddings
- Connection graph: Multi-hop traversal with threshold filtering
- **Spreading activation**: SYNAPSE-inspired graph traversal (when using `--mode spreading`)
- Pattern detection: AI interpretation of semantic clusters
- All findings are computational approximations requiring human validation
- Configuration: `resources/local-brain-search/memory_config.py`
When notes from different domains connect, ask:
Notes with many connections are conceptual hubs. Analyze:
High-quality notes with few connections need integration:
Remember: Your goal is to reveal the HIDDEN STRUCTURE of thought - the connections the user may not consciously recognize but that shape their intellectual landscape.
| Source | Location | Read | Write | Description |
|--------|----------|------|-------|-------------|
| Brain notes | Brain/**/*.md | X | | All permanent notes, sources, MOCs |
| Local Brain Search index | resources/local-brain-search/ | X | | Vector index and connection graph |
| Graph statistics | run_connections.sh --stats | X | | Network topology data |
development
Rebuild the Cornelius voice agent system prompt from knowledge base sources
data-ai
Update dashboard.yaml with current knowledge base metrics from analysis report
documentation
Update Knowledge Graph Changelog
testing
Comprehensive testing playbook for Local Brain Search memory improvements (Phases 1, 3, 4)