/retro¶
Captures what you learned during a session. Saves insights to .agents/learnings/ so they survive context clears.
Usage¶
Text Only
/retro
/retro "specific topic"
When to Use¶
- End of a productive session
- After solving a tricky problem
- When you discover something worth remembering
Steps¶
- Claude reviews the session
- Identifies key learnings and patterns
- Writes to
.agents/learnings/YYYY-MM-DD-topic.md - Summary shown in conversation
Output¶
Text Only
.agents/learnings/2025-01-15-auth-debugging.md
Example¶
Text Only
You: /retro
Claude: Reviewing this session...
**Session learnings saved to:** .agents/learnings/2025-01-15-session.md
Key insights:
- JWT tokens must be refreshed before 401, not after
- The middleware order in Express matters for auth
- Redis connection pooling prevents timeouts
What Gets Captured¶
- Problems solved and how
- Patterns discovered
- Mistakes to avoid
- Useful commands or techniques
Next¶
- Start fresh session, load learnings with "read .agents/learnings/..."
/researchfor your next exploration