← ClaudeAtlas

chat-historylearnlisted

Pick a prior chat-history session and mine it for project-improving learnings — runs learning-to-rule-or-skill on the picked session, drafts proposal(s) under agents/proposals/
event4u-app/agent-config · ★ 7 · AI & Automation · score 84
Install: claude install-skill event4u-app/agent-config
<!-- cloud_safe: noop --> # /chat-history learn User-driven **learning extraction** from a prior session. Surfaces prior sessions logged in `agents/runtime/.agent-chat-history` as numbered options, the user picks **one**, the agent reads that session's entries and runs the [`learning-to-rule-or-skill`](../../skills/learning-to-rule-or-skill/SKILL.md) workflow on the content — surfacing repeated mistakes, successful patterns, or constraints worth codifying as a rule, skill, or guideline proposal. This is the **project-improvement** counterpart to [`/chat-history import`](import.md): `import` renders a session verbatim into the current chat for the user to act on; `learn` mines a session for proposals that improve the agent or the project itself. ## When NOT to use - Pull a prior session into the current chat verbatim — use [`/chat-history import`](import.md). - Capture a learning that originated **in the current** session — invoke the [`learning-to-rule-or-skill`](../../skills/learning-to-rule-or-skill/SKILL.md) skill directly. `learn` is for prior-session mining only. - Bulk-mine all sessions — out of scope for v1. One session per invocation; multi-pick is v2. ## Steps ### 1. Check if enabled Read `chat_history.enabled` from `.agent-settings.yml`. If `false` or the section is missing, say so and stop: ``` > 📒 chat-history is disabled (chat_history.enabled = false). > Set it to true in .agent-settings.yml to start logging. ``` ### 2. List sessions Run `scri