learn-history
БесплатноБез исполняемых скриптовНе проверенAnalyze all past sessions for this project and extract knowledge worth persisting to AGENTS.md, .claude/agents/, or memory. Deep analysis of full session…
от openshift★ 252 звезды на GitHubОб этом скилле
Analyze the full session history for this project to extract knowledge worth persisting.
Session logs location
Session logs are JSONL files at the project config path. Find them with:
ls -lhS ~/.claude/projects/$(echo "$PWD" | tr '/' '-')/*.jsonl
Each line is a JSON object with a type field (user for user messages, others for assistant responses). User messages have .message.content with the prompt text.
Process
- Read the current state of AGENTS.md, .claude/agents/*.md, and the memory index for this project at
~/.claude/projects/$(echo "$PWD" | tr '/' '-')/memory/MEMORY.md(skip if absent) - List all session files, sorted by size (larger sessions have more content worth mining)
- For each session, extract user messages and assistant text responses (skip tool results — they're too large). Focus on:
- User corrections and redirections
- Patterns that were discovered after expensive exploration
- Knowledge that was needed repeatedly across sessions
- Cross-reference findings against what's already documented to avoid duplicates
- Group findings by destination:
- AGENTS.md — brief conventions/rules (1-2 lines each)
- .claude/agents/*.md — agent-specific knowledge
- Memory — user preferences, project context, feedback
- Nowhere — already documented or too specific to recur
- Present a summary of all proposed changes for approval. Do NOT write anything until approved.
Guidelines
- Prioritize findings that recur across multiple sessions — those have the highest ROI
- Keep AGENTS.md entries concise. If something needs more than 2 lines, it probably doesn't belong there.
Установить learn-history в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл learn-history?
Analyze all past sessions for this project and extract knowledge worth persisting to AGENTS.md, .claude/agents/, or memory. Deep analysis of full session history.
Как установить скилл learn-history?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл learn-history запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic