Automatic history search — checks past sessions before web research, planning, and debugging, siblings deepen coverage
インストール
name: claude-historian
description: Automatic history search — checks past sessions before web research, planning, and debugging, siblings deepen coverage
triggers: [PreToolUse, PostToolUse]
Historian Plugin
Session memory. Checks past sessions before redundant research, planning, or debugging.
Hooks
Hook
When
Action
PreToolUse(WebSearch/WebFetch)
Before web research
Checks find_similar_queries() first
PreToolUse(EnterPlanMode)
Before planning
Searches search_plans() for past approaches
PreToolUse(Task)
Before agents
Checks find_tool_patterns() for workflows
PostToolUse(Bash)
After errors
Suggests get_error_solutions()
Commands
Command
Description
/search-historian <query>
Search past sessions for solutions, decisions, context
Workflows
Search (standalone)
search_conversations("query") — full-text across all sessions
If error-related: get_error_solutions("error pattern")
If file-related: find_file_context("filename")
Summarize relevant findings
Search (with siblings)
search_conversations("query") — historian's own search
If praetorian active: praetorian_restore("query") for compacted context (denser than raw history)
If oracle active: search("query") when error patterns suggest a missing tool