with one click
codex-skill-retrospective
// Reviews recent Codex sessions for repeated agent failures and skill improvements. Use for daily/weekly retrospectives, skill audits, agent-pattern analysis, or cleanup recommendations.
// Reviews recent Codex sessions for repeated agent failures and skill improvements. Use for daily/weekly retrospectives, skill audits, agent-pattern analysis, or cleanup recommendations.
Creates or revises one portable agent skill with concise routing, progressive disclosure, and clear safety boundaries. Use when the user wants to write, clean up, or restructure a skill.
Finds Codex session coordinates by id, title, repo path, rollout path, or topic. Use when a user or another skill needs thread metadata and rollout paths for its own review.
Clarifies fuzzy direction into durable memory and issue-shaping handoff. Use when the user wants to turn an idea, conversation, ADR, PRD, or prior session into clear agent-ready work.
Gathers internal or external evidence for one decision and returns sourced patterns. Use when design, planning, retrospectives, or architecture depends on research before deciding.
Skips obvious branches inside grilling sessions by stating the assumed answer and moving on. Use when the user says fast-forward, skip, obvious, same as me, or next unclear area.
Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates agent-owned documentation under `.agents/` inline as decisions crystallise. Use when the real task is defining purpose, scope, structure, canonical terms, capture/refinement criteria, or other durable decisions for the project.
| name | codex-skill-retrospective |
| description | Reviews recent Codex sessions for repeated agent failures and skill improvements. Use for daily/weekly retrospectives, skill audits, agent-pattern analysis, or cleanup recommendations. |
Analyze recent Codex work to improve the skill ecosystem.
Default scope: the last 24 hours of Codex sessions. If the user gives a thread id, repo path, date range, branch, PR, issue, or topic, use that as the scope.
Default posture: exhaustive read-only analysis and suggestions. Do not edit skills, create issues, comment on GitHub, or push changes from this skill.
Primary evidence is Codex session history. GitHub is supporting evidence when Codex sessions mention or imply GitHub activity.
codex-session-finder for specific thread ids, titles, repo paths, rollout paths, or topics.vps-connection for safe remote discovery.$CODEX_HOME, jq, or remote sqlite3 exists. Fall back to ~/.codex, Python JSON/SQLite extraction, and the VPS Python SQLite recipe when needed.gh or GitHub plugin capabilities to inspect related PRs, issues, commits, reviews, comments, and checks.$skill mention, SKILL.md read, or explicit skill-use trace in recent Codex sessions.$TMPDIR/codex-skill-retrospective/<date-or-topic>/scope.mdevidence-ledger.mdgithub-evidence.mdskill-hygiene.mdrecommendations.mdInvestigations.codex-session-finder for targeted session retrieval.pr-refiner when the retrospective identifies a live PR that still needs refinement.simplify when a repeated failure is overbroad scope or accidental complexity.strict-code-review when repeated failures come from weak maintainability review.grill-with-docs when the fix requires better project language or ADR-backed decisions.validate-direction before turning a retrospective finding into a durable skill direction.handoff when the retrospective is too large to finish in the current session.Retrospective scope:
- ...
Evidence reviewed:
- Codex sessions: ...
- Remote coverage: complete | partial | blocked, with reason
- GitHub activity: ...
- Temporary artifacts: ...
- Skill hygiene: budget pressure, duplicates, unused candidates, description candidates
Patterns:
1. <pattern>. Evidence: <session/thread/PR references>. Impact: <why it matters>.
Skill improvements:
1. `<skill>`: <specific edit or routing change>. Why: <pattern it addresses>.
New skill candidates:
1. `<name>`: <job>. Trigger: <when to use>. Why existing skills do not cover it.
Investigations:
1. <question to investigate>. Evidence: <why it is suggestive but not decisive>.
Keep:
- ...
Open questions:
- ... <!-- only when answers would change the recommendation -->
Apply only if asked:
- ...