Claude-emporium claude-historian
Automatic history search — checks past sessions before web research, planning, and debugging, siblings deepen coverage
install
source · Clone the upstream repo
git clone https://github.com/Vvkmnn/claude-emporium
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Vvkmnn/claude-emporium "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/claude-historian/skills/claude-historian" ~/.claude/skills/vvkmnn-claude-emporium-claude-historian && rm -rf "$T"
manifest:
plugins/claude-historian/skills/claude-historian/SKILL.mdsource content
Historian Plugin
Session memory. Checks past sessions before redundant research, planning, or debugging.
Hooks
| Hook | When | Action |
|---|---|---|
| PreToolUse(WebSearch/WebFetch) | Before web research | Checks first |
| PreToolUse(EnterPlanMode) | Before planning | Searches for past approaches |
| PreToolUse(Task) | Before agents | Checks for workflows |
| PostToolUse(Bash) | After errors | Suggests |
Commands
| Command | Description |
|---|---|
| Search past sessions for solutions, decisions, context |
Workflows
Search (standalone)
— full-text across all sessionssearch_conversations("query")- If error-related:
get_error_solutions("error pattern") - If file-related:
find_file_context("filename") - Summarize relevant findings
Search (with siblings)
— historian's own searchsearch_conversations("query")- If praetorian active:
for compacted context (denser than raw history)praetorian_restore("query") - If oracle active:
when error patterns suggest a missing toolsearch("query") - Combine: historian provides breadth (all sessions), praetorian provides depth (curated insights)
Error Resolution (standalone)
— how was this fixed before?get_error_solutions("error pattern")- If found: apply the previous solution
- If not: proceed with normal debugging
Error Resolution (with siblings)
— historian checks past fixesget_error_solutions("error pattern")- If oracle active:
for tools that address this error classsearch("error tool") - If gladiator active: check if this error was already observed as a pattern
- Present combined findings: past fix + available tools + pattern context
Sibling Synergy
| 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 |
MCP Tools Reference
| Tool | Purpose |
|---|---|
| General history search |
| Find related past questions |
| Find how errors were fixed |
| Track file changes |
| Discover successful workflows |
| Browse recent work |
| Find past implementation plans |
Requires
claude mcp add historian -- npx claude-historian-mcp