Who it is forA developer or tech lead who needs to explain why a design, pricing rule, or standard was chosen months earlier, possibly in a different project.
The problemThe rationale sits in thousands of past instructions across sessions, and the current project directory cannot see the history from other directories.
The outcomeThe matching instructions you gave earlier, and a month-by-month view of how the decision changed.
What you need first
- Claude Code with session transcripts in ~/.claude/projects/
- Python 3.10+ with FTS5 in the bundled sqlite3 (on macOS, install from python.org or run brew install python)
- git and bash to clone and run install.sh
- Terminal access to run the CLI and restart Claude Code
Steps
git clone https://github.com/nameforjt-afk/session-knowledge.gitcd session-knowledgethenbash install.sh- Restart Claude Code.
python3 -m sessionmcp.cli search "pricing" --kind user_instructionpython3 -m sessionmcp.cli evolution "auth design"
Prompt for your agent
Using the session-knowledge repo, call search_sessions with the query <topic words> and then track_evolution on the same topic. Expect your own past instructions on that topic plus a monthly view of changes. Verify the dates on the returned instructions match the expected period before quoting them.
Caveat. Search is AND, so more words return fewer hits; use the two or three words you would have typed back then rather than a full sentence.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for nameforjt-afk/session-knowledge and "Recover the reasoning behind a past decision"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer