Call Recall When
- You start a task
- The problem shifts materially
- The same approach has failed twice
- You are about to make an evidence-bearing decision
ShellBrain
ShellBrain is a repo-scoped long-term memory system. It stores problems, solutions, failed tactics, facts, preferences, and changes - all backed by session evidence. You retrieve it with recall.
shellbrain recall --json '{
"query": "<what you want to know>",
"current_problem": {
"goal": "<what you are trying to do>",
"surface": "<where you are working>",
"obstacle": "<what is blocking you>",
"hypothesis": "<your current theory>"
}
}'
shellbrain teach "<statement>"
The statement is stored and retrievable immediately.
Only call teach when the human explicitly asks. Normal memory extraction happens automatically when the session closes.
shellbrain readshellbrain eventsshellbrain memory addshellbrain memory updateshellbrain concept addshellbrain concept updateshellbrain adminshellbrain initshellbrain upgradeFor normal task context, use shellbrain recall. For repair only, follow the human's instruction or the installed skill guidance.
curl -L ShellBrain.ai/install | bash
Installs the CLI and injects ShellBrain skills into Claude Code, Codex, and Cursor.
shellbrain admin doctor
If doctor flags issues, run shellbrain init. Do not run init every session.