retrospectivelisted
Install: claude install-skill Szotasz/marveen
# Retrospective -- Session Analysis & Improvement
## When to use
- After a complex session (5+ tool calls, error recovery, multi-step workflow)
- When the user corrected your approach ("no, do it this way")
- After a failed attempt that required a different strategy
- Before context window exhaustion on a productive session
- Explicitly via `/retrospective` command
## Arguments
| Argument | Required | Description |
|----------|----------|-------------|
| `scope` | no | What to analyze: `session` (default), `last-task`, `last-hour` |
| `focus` | no | Narrow analysis: `skills`, `memory`, `workflow`, or `all` (default) |
Examples:
- `/retrospective` -- full session analysis
- `/retrospective scope=last-task focus=skills` -- only skill improvements for the last task
- `/retrospective focus=memory` -- only memory tier/content suggestions
## Procedure
### 1. Gather session data
Collect from the current conversation context:
- What tasks were attempted
- Which approaches succeeded vs failed
- User corrections and their reasoning
- Tools/skills used and their effectiveness
- Errors encountered and how they were resolved
- Time spent on dead ends vs productive work
Also pull external state:
```bash
AGENT_ID="$(echo $BOT_NAME | tr '[:upper:]' '[:lower:]')"
# Recent memories written this session
curl -s -H "Authorization: Bearer $(cat store/.dashboard-token)" \
"http://localhost:3420/api/memories?agent=$AGENT_ID&category=hot&limit=20"
# Today's daily log entries
DATE=$(dat