Code has git. Thinking has nothing.
AI makes it worse — you produce 5x more insights per session, but still save zero. The best ideas vanish when the conversation ends. thinking-tree is a Claude Code plugin that catches them before they do.
Fragments accumulate as you work:
Crystallize into structured thoughts over time:
In your Claude Code terminal:
# 1. Add the marketplace (one-time)
/plugin marketplace add github:CoralLips/thinking-tree
# 2. Install the plugin
/plugin install thinking-tree
# 3. Enable recording
/thinkThat's it. Work normally — thinking-tree evaluates each conversation turn and saves insights worth keeping.
- You work normally — code, discuss, debug
- AI evaluates cumulatively — not just this turn, but the full conversation so far. Multi-turn insights get caught too
- Worth recording → saved as a fragment or question in
~/.thinking-tree/ - Next session — recent context injected, and AI checks your existing thought files when discussing related topics
- Review anytime — web viewer at
http://localhost:3456
Every turn ends with a status line:
📝 Title— fragment or question recorded🌳— checked, nothing to record
~/.thinking-tree/
├── *.md Thoughts — crystallized understanding with a throughline
├── fragments.md Fragments — standalone insights, not yet organized
├── questions.md Questions — specific unknowns with direction
└── todos.md Todos — actionable items derived from thinking
Fragments accumulate → organize into thought files → questions emerge → answers flow back.
| Command | What it does |
|---|---|
/think |
Toggle on/off — fully silent when off, zero token cost |
/reduce |
Interactive cleanup — deduplicate, classify, remove stale fragments |
/distill |
Synthesize related fragments into a structured thought file |
/catch |
Manually capture missed insights — accepts a hint about what to look for |
/pref |
Adjust recording preferences via natural language |
Auto-starts at localhost:3456 when you begin a session.
- Browse thoughts, fragments, questions, todos
- Click to edit, Ctrl+S to save
- Real-time sync — edits in Claude or the viewer appear instantly
- Dark/light theme, export as markdown
Plugin updates require two steps (this is a Claude Code limitation):
# 1. Refresh the marketplace catalog
/plugin marketplace update CoralLips
# 2. Update the plugin
/plugin update thinking-treeTurn off recording first, then remove the plugin:
# 1. Turn off recording (cleans up rule files)
/think
# 2. Remove the plugin
/plugin uninstall thinking-treeYour data in ~/.thinking-tree/ is preserved. Delete it manually if you no longer need it.
All data lives in ~/.thinking-tree/. The plugin never touches your project files. Uninstalling the plugin leaves your data intact.
MIT

