find-connections
Skill109 starsChanged 5 months agoMITView on GitHub
Discover hidden connections and relationships between notes in the knowledge base
In this repository57 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adviseSkill
- ai-crystallizeSkill
- analyze-kbSkill
- auto-discoverySkill
- benchmark-memorySkill
- brain-mergeSkill
- changelog-protocolSkill
- coherence-sweepSkill
- compute-lifecycleSkill
- create-articleSkill
- create-explanatory-imageSkill
- deep-researchSkill
- detect-tensionsSkill
- dialecticSkill
- domain-watchSkill
- elicitation-techniquesSkill
- epistemic-classificationSkill
- epub-chapter-extractorSkill
- extract-document-insightsSkill
- extract-insightsSkill
- get-perspective-onSkill
- get-youtube-transcriptSkill
- git-commit-pushSkill
- graduate-insightsSkill
- incubation-loopSkill
- ingest-sourceSkill
- insight-capture-formatSkill
- insight-interviewSkill
- integrate-recent-notesSkill
- learn-new-thingsSkill
- manage-reference-dataSkill
- manage-thinking-topicsSkill
- manage-watching-domainsSkill
- multi-format-book-extractorSkill
- nano-banana-image-generatorSkill
- propagate-changeSkill
- quick-searchSkill
- recallSkill
- ref-auditSkill
- ref-bridgeSkill
- ref-ingestSkill
- ref-querySkill
- ref-reconcileSkill
- ref-refreshSkill
- refresh-indexSkill
- ref-supersedeSkill
- scheduled-runSkill
- search-vaultSkill
- self-diagnosticSkill
- start-hereSkill
- synthesize-insightsSkill
- talkSkill
- test-memory-systemSkill
- think-about-itSkill
- update-changelogSkill
- update-dashboardSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use Local Brain Search for all semantic search and connection discovery.
- Very specific: line 57
If given a note name, use Grep to find files matching the name:
- Distinctive: line 61
If given a topic, search using Local Brain Search:
- Very specific: line 65
Read the anchor note's full content using Read tool
- Distinctive: line 69
Use Local Brain Search to get connections:
- Very specific: line 74
Use Read to examine their content and understand connection nature
- Very specific: line 88
Use Read to examine note content in detail
- Very specific: line 100
Use Grep to check for existing wikilinks between notes
- Distinctive: line 260
When available, enrich connection analysis with Brain Dependency Graph data:
- Distinctive: line 288
When notes from different domains connect, ask:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Local Brain Search
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)
resources/local-brain-search/run_search.sh "query" --mode spreading --limit 10 --json
# Static search (for exact lookups)
resources/local-brain-search/run_search.sh "query" --limit 10 --json
# Force synthesis intent (maximum graph exploration)
resources/local-brain-search/run_search.sh "query" --mode spreading --intent synthesis --json
# Find connections
resources/local-brain-search/run_connections.sh "Note Name" --json
# Find hubs
resources/local-brain-search/run_connections.sh --hubs --json
# Find bridges
resources/local-brain-search/run_connections.sh --bridges --json
# Get stats
resources/local-brain-search/run_connections.sh --stats --jsonConnection 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
- If given a note name, use
Grepto find files matching the name:grep -r "# $ARGUMENTS" $VAULT_BASE_PATH/Brain --include="*.md" - If given a topic, search using Local Brain Search:
resources/local-brain-search/run_search.sh "$ARGUMENTS" --limit 5 --json - Read the anchor note's full content using
Readtool - Get the exact file path for subsequent operations
Phase 2: Immediate Network Mapping
- Use Local Brain Search to get connections:
resources/local-brain-search/run_connections.sh "Note Name" --json - Identify the top 3-5 most connected notes (both explicit and semantic)
- Use
Readto examine their content and understand connection nature
Phase 3: Deep Network Analysis
- Get graph statistics and hub notes:
resources/local-brain-search/run_connections.sh --stats --json resources/local-brain-search/run_connections.sh --hubs --json resources/local-brain-search/run_connections.sh --bridges --json - Map the multi-hop network structure
- Identify clusters and bridges
Phase 4: Cross-Cluster Bridge Discovery
- For notes in different semantic clusters, analyze WHY they connect
- Use
Readto examine note content in detail - 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)
Phase 5: Pattern Recognition
- Identify recurring themes across the network
- Detect hub nodes (highly connected)
- Find isolated valuable insights that should be connected
- Spot conceptual gaps or missing links
- Use
Grepto check for existing wikilinks between notes
Output Format
Structure 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`)
- **Brain Dependency Graph**: Typed edges (derives-from, instantiates, references, associates, tension) via `resources/brain-graph/run_brain_graph.sh inspect "Note" --json`
- Pattern detection: AI interpretation of semantic clusters
- All findings are computational approximations requiring human validation
- Configuration: `resources/local-brain-search/memory_config.py`
BDG Integration (Optional Enrichment)
When available, enrich connection analysis with Brain Dependency Graph data:
# Get typed edges and lifecycle phase for the anchor note
resources/brain-graph/run_brain_graph.sh inspect "$ARGUMENTS" --jsonThis reveals:
- Edge types: derives-from vs references vs tension (not just "related")
- Authority direction: which note is authoritative in each relationship
- Lifecycle phase: reflective, crystallizing, or generative
- Staleness: whether upstream changes have made this note potentially stale
Quality Standards
- Explain WHY notes connect, not just that they do
- Identify non-obvious relationships - surface-level links are less valuable
- Look for meta-patterns - themes that recur across domains
- Be specific - provide concrete evidence from note content
- Think like a network scientist - focus on topology, hubs, bridges, clusters
- Highlight surprising connections - these are often the most valuable
- Suggest concrete actions - make the analysis actionable
- ALWAYS label AI-generated insights - maintain transparency about computational vs. human-verified connections
- Encourage critical review - emphasize that similarity scores ≠ conceptual validity
Advanced Techniques
Cross-Cluster Analysis
When notes from different domains connect, ask:
- What shared abstraction unites them?
- Is this an analogy, a causal relationship, or a shared mechanism?
- What does this reveal about fundamental principles?
Hub Identification
Notes with many connections are conceptual hubs. Analyze:
- What makes them central?
- Are they definitions, frameworks, or applications?
- Could they be MOC (Map of Content) candidates?
Isolated Insights
High-quality notes with few connections need integration:
- What prevents them from connecting?
- What domain or cluster should they join?
- What new connections would increase their value?
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.
State Dependencies
| 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 |
Completion Checklist
- Anchor point identified and read
- Immediate network mapped (top 3-5 connections)
- Deep network analysis completed (hubs, bridges, stats)
- Cross-cluster bridges discovered and explained
- Emergent patterns identified
- Non-obvious connections highlighted with validation notes
- Actionable insights provided
- Methodology transparency included
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

