Find which sessions edited a file and get conversation context
Find which past Claude Code sessions edited a file or discussed a topic. Use this to understand existing code context and avoid duplicating work.
/plugin marketplace add gentritbiba/history-context/plugin install history-context@history-context-devFind past Claude Code sessions that worked on specific files.
Provide a file path or feature name to search for:
/file-history src/components/AuthForm.tsx
/file-history authentication
/file-history useAnalysis hook
I'll dispatch the history-context agent to:
You can also use the tool directly:
# Find sessions for a file
~/.claude/commands/claude-history.py file "AuthForm.tsx"
# Search conversations
~/.claude/commands/claude-history.py search "authentication"
# Read a specific session
~/.claude/commands/claude-history.py session <id> --read