branch-thinking
Organize and manage complex thoughts and tasks using branching commands. Create, navigate, and analyze branches, extract tasks, link related ideas, and generate insights through semantic search and visualization.
Instructions
Branch-Thinking Tool
Purpose: Use branching commands to create, navigate, and analyze thought branches and tasks.
Usage: Provide a JSON payload with 'type' and relevant parameters in 'args' object. The tool returns an array of items in the format { type: string, text: string }.
Supported Commands:
- create-branch: { type: 'create-branch', branchId }
- focus: { type: 'focus', branchId }
- add-thought: { type: 'add-thought', branchId, content }
- semantic-search: { type: 'semantic-search', query, topN? }
- extract-tasks: { type: 'extract-tasks', branchId? }
- visualize: { type: 'visualize', branchId?, options? }
- list-branches: { type: 'list-branches' }
- history: { type: 'history', branchId }
- insights: { type: 'insights', branchId }
- crossrefs: { type: 'crossrefs', branchId }
- hub-thoughts: { type: 'hub-thoughts', branchId }
- link-thoughts: { type: 'link-thoughts', fromThoughtId, toThoughtId, linkType, reason? }
- add-snippet: { type: 'add-snippet', content, tags, author? }
- snippet-search: { type: 'snippet-search', query, topN? }
- summarize-branch: { type: 'summarize-branch', branchId? }
- doc-thought: { type: 'doc-thought', thoughtId }
- review-branch: { type: 'review-branch', branchId? }
- ask: { type: 'ask', question }
- summarize-tasks: { type: 'summarize-tasks', branchId? }
- advance-task: { type: 'advance-task', taskId, status }
- assign-task: { type: 'assign-task', taskId, assignee }
- reset-session: { type: 'reset-session' }
- clear-cache: { type: 'clear-cache' }
- get-cache-stats: { type: 'get-cache-stats' }
Visualization Options:
- clustering: { type: 'clustering', algorithm? }
- centrality: { type: 'centrality', metric? }
- overlays: { type: 'overlays', features? }
- analytics: { type: 'analytics', metrics? }
Example Calls and Expected Responses:
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branchId | No | Branch ID to associate with the thought(s). If omitted, a new branch may be created or the active branch used. | |
command | No | Optional: Navigation or workflow command. Used for agentic/AI interactions. | |
confidence | No | Optional: Confidence score (0-1) for the thought, for ranking or filtering. | |
content | No | Thought content (string) or batch of thoughts (array of objects). | |
crossRefs | No | Optional: Array of cross-references to other branches, with type, reason, and strength. | |
keyPoints | No | Optional: Key points or highlights extracted from the thought. | |
parentBranchId | No | Optional: ID of the parent branch for hierarchical organization. | |
relatedInsights | No | Optional: IDs of related insights, for semantic linking. | |
type | No | Thought type: e.g., 'analysis', 'hypothesis', 'observation', 'task', etc. Used for filtering and scoring. |