session-retro
Skill0 starsChanged 22 days agoMITView on GitHub
Session retrospective that analyzes the current conversation to propose improvements to AGENTS.md, agents, skills, and memory. Use when the user invokes /session-retro, asks for a retrospective, or wants to improve the agentic setup based on what happened in this session. Do NOT use for mid-session status checks or task progress questions.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- phntm7/skillstheir own version, first seen Nov 1, 2026
- momentmaker/kaijutsutheir own version, first seen Nov 1, 2026
- adeonir/agent-skillstheir own version, first seen Nov 1, 2026
- davisbuilds/dojotheir own version, first seen Nov 1, 2026
- TheAxeC/ordotheir own version, first seen Nov 1, 2026
- bbeny123/pragmatheir own version, first seen Nov 1, 2026
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- werf/werf★ 4.7ksame name
- Arman-Kudaibergenov/1c-ai-development-kit★ 163same name
- adeonir/agent-skills★ 8same name
- renzrollon/shippable-skills★ 7same name
- Zejnilovic/agd★ 5same name
- momentmaker/kaijutsu★ 3same name
- bbeny123/pragma★ 2same name
- Kwangseok-Seo/skills★ 2same name
- nhhthong/skills★ 1same name
- phntm7/skills★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- agentic-auditSkill
- analyze-buildSkill
- claude-code-assessorSkill
- ios-docc-writerSkill
- maestro-flow-writerSkill
- mindful-acceptanceSkill
- pr-diff-mermaidSkill
- pr-html-reportSkill
- pr-to-automation-planSkill
- wwdc-adoption-advisorSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Consider offering it after a major task (multi-file feature, significant refactor, full plan-to-PR cycle) — never run it unasked
- Distinctive: line 26
Before running any analysis, verify the session meets ALL of these criteria:
- Distinctive: line 35
If the gate check fails, respond with: "Session too short for retrospective — no improvements identified." and stop.
- Distinctive: line 109
Only propose changes backed by concrete evidence from the session — no speculative improvements
- Distinctive: line 111
Every proposal must include the exact file path and exact content to change — no vague suggestions like "consider adding a rule about X"
- Distinctive: line 113
Do NOT apply any changes — present proposals and wait for explicit approval
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Session Retrospective
Analyze the current session and produce concrete, ready-to-apply proposals for improving the agentic setup.
When to Use
- Consider offering it after a major task (multi-file feature, significant refactor, full plan-to-PR cycle) — never run it unasked
- Manually via
/session-retro
When NOT to Use
- Mid-session status checks or task progress questions
- Sessions with fewer than 5 meaningful interactions
Gate Check — MUST Pass Before Analysis
Before running any analysis, verify the session meets ALL of these criteria:
- Minimum interaction depth: The session has 5+ meaningful user messages (not counting simple "yes"/"approved"/"go ahead" confirmations)
- Substantive work occurred: At least ONE of the following happened:
- Code was written or modified across 2+ files
- A multi-step task plan was executed
- A full plan-to-PR workflow was completed
- A non-trivial bug investigation was performed
If the gate check fails, respond with: "Session too short for retrospective — no improvements identified." and stop. Do NOT proceed with the analysis framework.
Analysis Framework
Copy this checklist and track progress:
Session Retro Progress:
- [ ] Gate check passed
- [ ] 1. Repeated Corrections analyzed
- [ ] 2. New Patterns Discovered analyzed
- [ ] 3. Agent Gaps analyzed
- [ ] 4. Skill Opportunities analyzed
- [ ] 5. Guardrail Near-Misses analyzed
- [ ] 6. Rule Effectiveness Audit analyzed
- [ ] 7. Memory Updates analyzed
- [ ] Proposals formatted and presentedReview the full session and evaluate each category:
1. Repeated Corrections
Signal: The user corrected you 2+ times on the same type of issue. Action: Propose a new rule in the project's instruction files (CLAUDE.md / AGENTS.md, a coding-standards doc, or the relevant agent) to prevent recurrence. If the project keeps a lessons/learnings file for agents, also propose an entry there (trigger, root cause, prevention rule, validation status).
2. New Patterns Discovered
Signal: You encountered a codebase convention, architectural pattern, or workflow not documented anywhere in the project's instruction files (CLAUDE.md / AGENTS.md, project docs, coding standards) or agent definitions. Action: Propose adding it to the appropriate file.
3. Agent Gaps
Signal: A task was handled in the main conversation that should have been delegated to an agent, or an existing agent lacked a capability it needed. Action: Propose a new agent or an improvement to an existing one.
4. Skill Opportunities
Signal: A multi-step workflow was performed that could be reused in future sessions (e.g., a specific migration pattern, a review checklist, a deployment flow).
Action: Propose a new skill at .claude/skills/<name>/SKILL.md (or wherever the project keeps its skills) with the workflow captured, and register it in any skill-routing/index doc the project maintains.
5. Guardrail Near-Misses
Signal: You almost performed an action the user had to stop, or a guardrail was too loose/too strict. Action: Propose tightening or adjusting the guardrail in the relevant agent or CLAUDE.md / AGENTS.md.
6. Rule Effectiveness Audit
Signal: An existing rule in CLAUDE.md / AGENTS.md or an agent was unhelpful, redundant, or actively got in the way during this session. Action: Propose pruning, clarifying, or rewording the rule.
7. Memory Updates
Signal: A user preference, environment detail, or recurring decision was revealed that should persist across sessions. Action: Propose an update to the memory directory.
Output Format
Present findings as a numbered list of concrete proposals. For each:
### Proposal N: [Short title]
**Category**: [Repeated Correction | New Pattern | Agent Gap | Skill Opportunity | Guardrail | Rule Audit | Memory Update]
**What happened**: [1-2 sentences describing the session event that triggered this]
**Proposed change**:
- **File**: [exact file path]
- **Action**: [Add / Edit / Remove]
- **Content**: [the exact text to add, edit, or remove]
**Impact**: [What this prevents or improves in future sessions]Rules
- Only propose changes backed by concrete evidence from the session — no speculative improvements
- The gate check (above) is the primary filter — if it passed, proceed with analysis. Only produce "No improvements identified" if analysis genuinely finds nothing actionable
- Every proposal must include the exact file path and exact content to change — no vague suggestions like "consider adding a rule about X"
- Group proposals by file to minimize number of edits
- Do NOT apply any changes — present proposals and wait for explicit approval
- Limit to 5 most impactful proposals — don't overwhelm with minor tweaks
- Prioritize proposals that prevent repeated mistakes over nice-to-haves
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

