بنقرة واحدة
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.
// 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.
Review the current session and extract knowledge worth persisting to AGENTS.md, .claude/agents/, or memory. Use at the end of a session to capture what was learned.
Apply Go best practices, idioms, and conventions from golang.org/doc/effective_go. Use when writing, reviewing, or refactoring Go code to ensure idiomatic, clean, and efficient implementations.
| name | learn-history |
| description | 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. |
Analyze the full session history for this project to extract knowledge worth persisting.
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.
~/.claude/projects/$(echo "$PWD" | tr '/' '-')/memory/MEMORY.md (skip if absent)