Retrospective Codify
mizchi/skills
Pair "what failed first" with "what finally worked" and codify the should-have-known-it insight as an ast-grep rule, a skill, or a CLAUDE.md rule.
A skill your agent uses when you want Codex to review its own recent history (last N days or specific period) and improve its behavior.
$ npx skills add majiayu000/spellbook --skill codex-retrospective -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install majiayu000/spellbook codex-retrospective --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex-retrospective .claude/skills/codex-retrospective && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "codex-retrospective" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/codex-retrospective into .claude/skills/codex-retrospective/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-retrospective", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/majiayu000/spellbook/tree/main/skills/codex-retrospectiveType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add majiayu000/spellbook --skill codex-retrospective -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install majiayu000/spellbook codex-retrospective --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/codex-retrospective .agents/skills/codex-retrospective && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codex-retrospective" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/codex-retrospective into .agents/skills/codex-retrospective/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-retrospective", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/spellbook --skill codex-retrospective -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install majiayu000/spellbook codex-retrospective --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/codex-retrospective .cursor/skills/codex-retrospective && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "codex-retrospective" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/codex-retrospective into .cursor/skills/codex-retrospective/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-retrospective", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/majiayu000/spellbook.git --path skills/codex-retrospective--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add majiayu000/spellbook --skill codex-retrospective -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install majiayu000/spellbook codex-retrospective --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/codex-retrospective .gemini/skills/codex-retrospective && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "codex-retrospective" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/codex-retrospective into .gemini/skills/codex-retrospective/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-retrospective", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install majiayu000/spellbook codex-retrospectiveInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add majiayu000/spellbook --skill codex-retrospective -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/codex-retrospective .github/skills/codex-retrospective && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "codex-retrospective" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/codex-retrospective into .github/skills/codex-retrospective/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-retrospective", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/spellbook --skill codex-retrospective -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install majiayu000/spellbook codex-retrospective --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/codex-retrospective .opencode/skills/codex-retrospective && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "codex-retrospective" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/codex-retrospective into .opencode/skills/codex-retrospective/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-retrospective", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
codex-retrospectiveA skill your agent uses when you want Codex to review its own recent history (last N days or specific period) and improve its behavior.
Codex Retrospective is an agent skill from majiayu000/spellbook. 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.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/agents-md-update-rules.md`, `references/examples/good-retrospective-output.md` and `references/minimal-skill-criteria.md`).
It sits in Product & Project Management, covering Retrospectives and Agent instruction files. The repository describes itself as: Cross-runtime skills for Claude Code, Codex, and multi-agent workflows. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ed52af7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codex Retrospective loads about 1.6k tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 835 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from majiayu000/spellbook at commit ed52af7, republished under its MIT licence (© majiayu000). 835 words, ~1,573 tokens.
.claude/skills/codex-retrospective/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.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.
© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in skills/codex-retrospective of majiayu000/spellbook.
Open the folder on GitHubat commit ed52af7
Codex Retrospective next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Codex Retrospective this skillmajiayu000/spellbook | 287 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Retrospective Codifymizchi/skills | 360 | — | ~3.2k | Automated safety check: Pass | None | |
| Feature LifecycleInebrio/Routerly | 101 | — | ~3k | Automated safety check: Pass | AGPL-3.0 | |
| Living Docs Governanceqshanx/docs-governance | 137 | — | ~3.7k | Automated safety check: Pass | MIT | |
| Weekly Engineering Retrogarrytan/gstack | 136k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Dough Execute Planterryyin/lizard | 2.5k | — | ~4.3k | Automated safety check: Pass | Custom licence |
mizchi/skills
Pair "what failed first" with "what finally worked" and codify the should-have-known-it insight as an ast-grep rule, a skill, or a CLAUDE.md rule.
Inebrio/Routerly
Run a Tier 1 or Tier 2 feature end to end — feature level, story level, parallelism, integration, and retrospective.
qshanx/docs-governance
把长期项目的文档当成一个小系统来维护,防止文档腐烂——四份各司其职的脊柱文件(CLAUDE.md 共享章程 / CLAUDEMAP.md 地图 / PROJECTSTATUS.md 健康仪表盘 / PROJECTLOG.md 流水账)+ Codex 的 AGENTS.md 入口桥接 + 固定读序,并按需连接 ARCHITECTURE、CONTEXT、ADR、契约、测试、回归和 Issue…
garrytan/gstack
Builds a weekly engineering retrospective from git history: commit counts, per-person contributions, work patterns and code quality numbers over a chosen window.
terryyin/lizard
Executes one selected story or bounded retrospective correction through an executable plan, or one authorized planless slice from a selected simple story or a contextual instruction, with…
Adkid-Zephyr/oral-paper-skill
Help authors learn from exemplary ICLR, ICML, and NeurIPS papers through source-linked manuscript comparisons, concrete writing and experiment suggestions, and guided reflection.
majiayu000/spellbook
Audits and repairs how coding-agent Skills are owned, copied and exposed across runtimes, from canonical sources to quarantine and retirement.
majiayu000/spellbook
Scans a repository for real evidence and proposes, or on request writes, a small stack of root and scoped AGENTS.md files with validation commands and generated-file boundaries.
majiayu000/spellbook
Plans, produces or diagnoses evidence-backed product demo videos: script, capture plan, pacing checks and verified final media built on real product behavior.
majiayu000/spellbook
Single entry point that routes long or ambiguous agent tasks, checks live state, bounds autonomous loops and leaves a resumable handoff.
majiayu000/spellbook
Scans a repository, its lockfiles and node_modules for known malicious npm package versions and install-time indicators, using a read-only Python scanner.
majiayu000/spellbook
Product management helpers: a RICE scoring script, an interview transcript analyzer and PRD templates for prioritizing features, synthesizing research and writing requirements.
Categories
A skill your agent uses when you want Codex to review its own recent history (last N days or specific period) and improve its behavior. Codex Retrospective is an agent skill from majiayu000/spellbook. Use when you want Codex to review its own recent history (last N days or specific period) and improve its behavior.
Codex Retrospective fits situations like: you want Codex to review its own recent history (last N days; specific period) and improve its behavior.
Run `npx skills add majiayu000/spellbook --skill codex-retrospective -a claude-code`. Or copy the skill folder (skills/codex-retrospective in majiayu000/spellbook) into .claude/skills/codex-retrospective in your project. Claude Code loads it when a task matches its description.
Run `npx skills add majiayu000/spellbook --skill codex-retrospective -a codex`. Or copy the skill folder (skills/codex-retrospective in majiayu000/spellbook) into .agents/skills/codex-retrospective in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/spellbook --skill codex-retrospective -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-retrospective, .gemini/skills/codex-retrospective, .github/skills/codex-retrospective and .opencode/skills/codex-retrospective in your project.
SKILL.md names no scripts, command-line tools or credentials: Codex Retrospective is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Codex Retrospective is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Codex Retrospective: Retrospective Codify (mizchi/skills, 360 stars), Feature Lifecycle (Inebrio/Routerly, 101 stars), Living Docs Governance (qshanx/docs-governance, 137 stars) and Weekly Engineering Retro (garrytan/gstack, 136k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
majiayu000 (a GitHub user) maintains it in majiayu000/spellbook, which has 287 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on October 8, 2026.
Source: majiayu000/spellbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.