Use when you want Codex to review its own recent history (last N days or specific period) and improve its behavior. Produces minimal, high-signal updates to AGENTS.md and tiny reusable skills. The goal is long-term fluency — Codex gradually becomes better at your specific style, constraints, and workflows.
npx skills add https://github.com/majiayu000/spellbook --skill codex-retrospective
A structured self-improvement loop for Codex.
This skill turns Codex from a one-off collaborator into a system that gets meaningfully better at working with you over time by systematically eating its own usage history.
Most people improve their agent usage by manually maintaining AGENTS.md or skills when they notice problems. This skill makes that process deliberate, regular, and high-leverage.
It is directly inspired by strong practices from heavy users (especially Greg Brockman's emphasis on updating the "constitution" from real failures and friction), but executed as a repeatable arsenal-style workflow.
Minimal effective change, grounded in evidence from actual history.
Every output must be:
codex-fluent reports that Codex is constantly re-asking for the same context or preferencesYou specify the time window or focus area:
Before proposing any AGENTS.md update or tiny skill, Codex must build a small
evidence inventory:
Every proposed update must map back to at least one concrete evidence handle.
Codex is instructed to look for:
The skill forces Codex to produce output in this order:
You review. The skill then helps you apply the minimal changes cleanly (never blindly overwriting large sections of AGENTS.md).
These two skills are designed to be used together:
codex-retrospective finds behavioral and knowledge improvements (better defaults, new rules, extracted skills).codex-fluent finds state and context hygiene improvements (session bloat, missing handoffs, archive opportunities).A good monthly ritual for serious users:
codex-retrospective on the last 30 days.codex-fluent diagnosis.unusually high impact. Prefer "no change" over a weak constitution update.
date range, file, PR, or repeated correction pattern that can be checked.
paragraphs, it probably belongs in a tiny skill or a project doc instead.
but it must not silently rewrite AGENTS.md or existing skills.
references/retrospective-prompt.md — The core prompt template used to drive Codex's self-analysisreferences/agents-md-update-rules.md — Strict rules for what kind of changes are acceptablereferences/minimal-skill-criteria.md — What qualifies as a "tiny useful skill" worth extractingreferences/examples/ — Real (sanitized) retrospective outputs and the resulting AGENTS.md diffsAfter 4–8 weeks of regular use:
Start with a focused 7- or 14-day retrospective on a project where you've felt the most friction recently. The pattern will become natural quickly.
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Replace with description of the skill and when Claude should use it.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Take majiayu000/spellbook-codex-retrospective from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.