Best for
- Use when you want Codex to review its own recent history (last N days or specific period) and improve its behavior.
majiayu000/spellbook/skills/codex-retrospective/SKILL.md
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.
Decision brief
A structured self-improvement loop for Codex.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Declared | Source record | Install path and trigger |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/majiayu000/spellbook --skill "skills/codex-retrospective"Inspect the Agent Skill "codex-retrospective" from https://github.com/majiayu000/spellbook/blob/01c5d88b0139a80ac38bfe7206ea99f28b0fc999/skills/codex-retrospective/SKILL.md at commit 01c5d88b0139a80ac38bfe7206ea99f28b0fc999. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
You specify the time window or focus area: - "Last 14 days" - "The three big auth + payments threads from last month" - "All sessions involving the new Go service"
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.
Minimal effective change, grounded in evidence from actual history.
After a painful or repetitive session ("Codex should have known better by now")
You specify the time window or focus area: - "Last 14 days" - "The three big auth + payments threads from last month" - "All sessions involving the new Go service"
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 84/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 249 | Source | Repository attention, not individual Skill quality |
| Compatibility | 1 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
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.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.
Alternatives
wanshuiyin/Auto-claude-code-research-in-sleep
Two-thread adversarial review: a fresh reviewer constructs the strongest 200-word rejection memo, then a second fresh reviewer defends the paper point-by-point and surfaces still-unresolved critical issues. Use when user says "kill argument", "adversarial review", "hostile review", "rebuttal preparation", "reviewer-2 simulation", or before submitting a theory paper that has already passed standard review rounds.
wanshuiyin/Auto-claude-code-research-in-sleep
Two-thread adversarial review: a fresh reviewer constructs the strongest 200-word rejection memo, then a second fresh reviewer defends the paper point-by-point and surfaces still-unresolved critical issues. Use when user says "kill argument", "adversarial review", "hostile review", "rebuttal preparation", "reviewer-2 simulation", or before submitting a theory paper that has already passed standard review rounds.
PramodDutta/qaskills
Generate optimized test combinations using pairwise (all-pairs) testing algorithms to achieve maximum coverage with minimum test cases across multiple input parameters
PramodDutta/qaskills
Gate RAG pipelines in CI with versioned golden eval sets, per-metric thresholds, baseline drift detection, and a build that fails when retrieval or answer quality regresses.