Skip to content

CoralLips/thinking-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 中文

thinking-tree

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:

Pool view — fragments captured across sessions

Crystallize into structured thoughts over time:

Thoughts view — organized thinking with diagrams and structure

Install

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
/think

That's it. Work normally — thinking-tree evaluates each conversation turn and saves insights worth keeping.

How it works

  1. You work normally — code, discuss, debug
  2. AI evaluates cumulatively — not just this turn, but the full conversation so far. Multi-turn insights get caught too
  3. Worth recording → saved as a fragment or question in ~/.thinking-tree/
  4. Next session — recent context injected, and AI checks your existing thought files when discussing related topics
  5. Review anytime — web viewer at http://localhost:3456

Every turn ends with a status line:

  • 📝 Title — fragment or question recorded
  • 🌳 — checked, nothing to record

Spaces

~/.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.

Commands

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

Web Viewer

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

Update

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-tree

Uninstall

Turn off recording first, then remove the plugin:

# 1. Turn off recording (cleans up rule files)
/think

# 2. Remove the plugin
/plugin uninstall thinking-tree

Your data in ~/.thinking-tree/ is preserved. Delete it manually if you no longer need it.

Data

All data lives in ~/.thinking-tree/. The plugin never touches your project files. Uninstalling the plugin leaves your data intact.

License

MIT

Releases

No releases published

Packages

 
 
 

Contributors