claude-historian — скилл для Claude Code: поиск по истории сессий
Скилл claude-historian автоматически ищет решения в прошлых сессиях перед тем, как запускать веб-поиск, планирование или отладку. Экономит время на повторную работу и связывает знания между проектами.
MIT ★ 78 обновлён 2026-03-05
/plugin marketplace add Vvkmnn/claude-emporium
/plugin install claude-historian@claude-emporiumЧто делает claude-historian
claude-historian перехватывает инструменты (веб-поиск, планирование, вызовы агентов, обработку ошибок) и сначала смотрит, было ли это раньше. Если вы ищете данные — скилл проверит, не находили ли вы их месяц назад. Если отладка — посмотрит, как вы это уже чинили.
Внутри шесть функций: поиск по всем сессиям (search_conversations), похожие вопросы (find_similar_queries), решения ошибок (get_error_solutions), контекст файлов, рабочие процессы и недавние сессии. Четыре хука перехватывают момент перед веб-исследованием, планированием и ошибками.
Есть синергия с соседними скиллами: Praetorian уплотняет историю после поиска, Oracle помогает найти инструменты для класса ошибок, Gladiator обогащает наблюдения исторической информацией. Требует MCP-сервер claude-historian-mcp.
Какие задачи решает
- найти старое решение ошибки, чтобы не отлаживать заново
- вспомнить, какой API вы уже интегрировали два месяца назад
- избежать повторного веб-поиска по одному и тому же вопросу
- проследить, как вы решали похожую задачу в другом проекте
- связать прошлый контекст с текущей отладкой
Примеры запросов агенту
- Ищу, как я раньше парсил CSV
- /search-historian почему nginx вешался на memory leak
- Покажи ошибки такого типа из истории
Как установить claude-historian
1Через маркетплейс плагинов
/plugin marketplace add Vvkmnn/claude-emporium/plugin install claude-historian@claude-emporiumКоманда ставит плагин claude-historian целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add Vvkmnn/claude-emporium --skill claude-historian -a claude-code3Вручную: положить файлы
~/.claude/skills/claude-historian/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/claude-historian/
1Через Skills CLI (Vercel)
npx skills add Vvkmnn/claude-emporium --skill claude-historian -a codex2Вручную: положить файлы
.agents/skills/claude-historian/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Vvkmnn/claude-emporium --skill claude-historian -a cursor2Вручную: положить файлы
.cursor/skills/claude-historian/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Vvkmnn/claude-emporium plugins/claude-historian/skills/claude-historian2Вручную: положить файлы
.github/skills/claude-historian/SKILL.md1Через Skills CLI (Vercel)
npx skills add Vvkmnn/claude-emporium --skill claude-historian -a gemini-cli2Командой платформы
gemini skills install https://github.com/Vvkmnn/claude-emporium --path plugins/claude-historian/skills/claude-historianВручную: положить файлы
.devin/skills/claude-historian/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о claude-historian
Как установить claude-historian в Claude Code?
Выполни три команды в порядке: /plugin marketplace add Vvkmnn/claude-emporium, затем /plugin install claude-historian@claude-emporium, затем npx skills add Vvkmnn/claude-emporium --skill claude-historian -a claude-code. Конфиг сохранится в ~/.claude/skills/claude-historian/SKILL.md.
Что делает claude-historian?
Автоматически проверяет прошлые сессии, прежде чем вы начнёте веб-поиск, планирование или отладку. Если похожая задача уже решена, покажет старое решение. Если ошибка — найдёт, как её чинили раньше.
Можно ли использовать claude-historian вместе с другими скиллами?
Да. Лучше всего работает с Praetorian (уплотняет историю в контекст), Oracle (находит инструменты для ошибок) и Gladiator (обогащает паттерны наблюдений). Каждый из них усиливает покрытие историка.
Исходный текст
SKILL.md · MIT
---
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)
1. `search_conversations("query")` — full-text across all sessions
2. If error-related: `get_error_solutions("error pattern")`
3. If file-related: `find_file_context("filename")`
4. Summarize relevant findings
### Search (with siblings)
1. `search_conversations("query")` — historian's own search
2. If **praetorian** active: `praetorian_restore("query")` for compacted context (denser than raw history)
3. If **oracle** active: `search("query")` when error patterns suggest a missing tool
4. Combine: historian provides breadth (all sessions), praetorian provides depth (curated insights)
### Error Resolution (standalone)
1. `get_error_solutions("error pattern")` — how was this fixed before?
2. If found: apply the previous solution
3. If not: proceed with normal debugging
### Error Resolution (with siblings)
1. `get_error_solutions("error pattern")` — historian checks past fixes
2. If **oracle** active: `search("error tool")` for tools that address this error class
3. If **gladiator** active: check if this error was already observed as a pattern
4. 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 |
|------|---------|
| `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 |
## Requires
```
claude mcp add historian -- npx claude-historian-mcp
```
© vvkmnn · MIT · Vvkmnn/claude-emporium