Searches past sessions before web research, planning, debugging, and bash errors to reuse prior solutions, plans, workflows. Manual /search-historian queries; synergizes with siblings.
From claude-historiannpx claudepluginhub vvkmnn/claude-emporium --plugin claude-historianThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
Session memory. Checks past sessions before redundant research, planning, or debugging.
| 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() |
| Command | Description |
|---|---|
/search-historian <query> | Search past sessions for solutions, decisions, context |
search_conversations("query") — full-text across all sessionsget_error_solutions("error pattern")find_file_context("filename")search_conversations("query") — historian's own searchpraetorian_restore("query") for compacted context (denser than raw history)search("query") when error patterns suggest a missing toolget_error_solutions("error pattern") — how was this fixed before?get_error_solutions("error pattern") — historian checks past fixessearch("error tool") for tools that address this error class| Sibling | Value | How |
|---|---|---|
| Praetorian | Research will be compacted after | Praetorian prompts saving after web searches historian triggers |
| Oracle | Tools found for error patterns | Oracle searches for tools when historian finds recurring errors |
| Gladiator | Observations correlate with history | Past solutions enrich gladiator reflection |
| Vigil | Checkpoints complement history | File state preserved alongside session history |
| Tool | Purpose |
|---|---|
search_conversations | General history search |
find_similar_queries | Find related past questions |
get_error_solutions | Find how errors were fixed |
find_file_context | Track file changes |
find_tool_patterns | Discover successful workflows |
list_recent_sessions | Browse recent work |
search_plans | Find past implementation plans |
claude mcp add historian -- npx claude-historian-mcp