Building an Idea Graph
NeuralRepo is not just a list of ideas — it is a graph. By connecting ideas with typed relations, you build a navigable network that reveals how your thinking fits together.
Relation Types
Section titled “Relation Types”NeuralRepo supports five relation types, each with a distinct semantic meaning:
| Relation | Direction | When to Use |
|---|---|---|
parent | Source is parent of target | Break a large idea into sub-ideas. The parent is the umbrella concept; children are components or tasks. |
related | Bidirectional | Two ideas share a theme or domain but neither depends on the other. |
blocks | Source blocks target | Target cannot proceed until source is resolved. Use for dependencies. |
inspires | Source inspires target | One idea led to another. Use for variants, evolutions, or spin-offs. |
supersedes | Source replaces target | The source idea is a newer, better version. The target can be shelved. |
Creating Relations
Section titled “Creating Relations”From the CLI
Section titled “From the CLI”# Link two ideas as relatednrepo link 42 38 --type related --note "Both involve browser APIs"
# Create a parent-child relationnrepo link 42 55 --type parent
# Mark a dependencynrepo link 60 42 --type blocks --note "Need auth system before building extension"From Claude via MCP
Section titled “From Claude via MCP”You: Link idea 42 and 38 as related. Also make 55 a child of 42.
Claude: (calls
link_ideastwice) Done. Linked #42 and #38 as related, and set #55 as a child of #42.
From the API
Section titled “From the API”curl -X POST https://neuralrepo.com/api/v1/ideas/42/links \ -H "X-API-Key: nrp_your_key_here" \ -H "Content-Type: application/json" \ -d '{ "target_idea_id": 38, "relation_type": "related", "note": "Both involve browser APIs" }'Viewing the Graph
Section titled “Viewing the Graph”Terminal: nrepo graph
Section titled “Terminal: nrepo graph”The nrepo graph command renders an idea’s neighborhood as an ASCII tree:
nrepo graph 42#42 Browser extension for idea capture (building)├── [parent] #55 Content script for text selection (exploring)├── [parent] #56 Popup UI for saving highlighted text (captured)├── [parent] #57 Background service worker (captured)├── [related] #38 Chrome plugin for code snippets (exploring)└── [blocks] #60 Authentication system (building) └── [parent] #61 OAuth flow implementation (building)Add --depth 3 to explore further into the graph.
Web App: Mind Map
Section titled “Web App: Mind Map”The web dashboard includes an interactive mind map visualization at Organize > Mind Map. It renders your entire idea graph as a force-directed layout where you can:
- Click any node to view the idea
- Drag nodes to rearrange the layout
- Filter by tag, status, or relation type
- Zoom and pan to explore large graphs
Building Connected Networks
Section titled “Building Connected Networks”Pattern 1: Project Breakdown
Section titled “Pattern 1: Project Breakdown”Start with a high-level idea and decompose it into children:
#42 Browser extension├── #55 Content script├── #56 Popup UI├── #57 Service worker└── #58 Options pageEach child can be worked on independently and tracked with its own status.
Pattern 2: Inspiration Chain
Section titled “Pattern 2: Inspiration Chain”Track how ideas evolve over time:
#10 "Simple bookmarking tool" └── [inspires] #25 "Smart bookmarks with AI tags" └── [inspires] #42 "Browser extension for idea capture"Pattern 3: Dependency Graph
Section titled “Pattern 3: Dependency Graph”Map out what blocks what:
#60 Auth system ──[blocks]──► #42 Browser extension#62 API rate limiter ──[blocks]──► #42 Browser extensionThis tells you that #42 cannot ship until #60 and #62 are complete.
Pattern 4: Supersession
Section titled “Pattern 4: Supersession”When an idea evolves so much that it replaces an older one:
nrepo link 42 10 --type supersedes --note "Extension approach replaces the simple bookmarking idea"nrepo move 10 shelvedPractical Example: Building an Ecosystem
Section titled “Practical Example: Building an Ecosystem”Imagine you are building a suite of developer tools. Here is how the graph might look:
#1 Developer Tools Suite (exploring)├── [parent] #10 CLI Framework (building)│ ├── [parent] #11 Plugin system│ └── [parent] #12 Config file parser├── [parent] #20 VS Code Extension (captured)│ └── [related] #10 CLI Framework├── [parent] #30 GitHub Bot (exploring)│ ├── [blocks] #10 CLI Framework│ └── [related] #35 Webhook handler library└── [inspires] #40 SaaS Dashboard (captured)This graph tells you:
- The CLI Framework (#10) is the foundation — it blocks the GitHub Bot and relates to the VS Code Extension.
- The SaaS Dashboard was inspired by the suite idea but is a separate effort.
- You should focus on #10 first since other ideas depend on it.
Removing Relations
Section titled “Removing Relations”# Find the relation IDnrepo show 42 --relations
# Remove itnrepo unlink <relation_id>Via MCP, ask Claude: “Unlink the relation between idea 42 and 38.”