Review the last Codex assistant message (plan, analysis, or proposal) with inline annotations in a TUI overlay. Extracts the most recent response from Codex rollout files and opens it in revdiff for review and annotation. Activates on "revdiff-plan", "review plan with revdiff", "annotate plan", "review last response", "annotate codex output".
SkillScore74Maintained
Automatic
◆Coding pack
Last verified 9/19/2026
What it changes
Passed 13 of 18 test cases with the skill, and 4 of 18 without it.
Without skill22%
With skill74%
Checks it passed that the model alone missed
Deletes the temporary plan file using rm -f.
Categorizes the instruction as a plan-change directive.
Categorizes an annotation starting with how do as an explanation request.
and 11 more in the full report
14 fixed3 passed either way4 still failing2 broke
Pass-rate lift
+52 pp
Tokens
+38%
Agent turns
0%
Response time
-48%
Model gemini-3.6-flashMeasured 9/19/2026v217 of 23 cases passed with skill · 18 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 14 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 14
Prompt
When invoking the launcher script for revdiff plan review from plugin root `/opt/plugins/revdiff-plan`, which directory path holds the `launch-revdiff.sh` binary?
What was checked, without and with the skill
Checked
Without skill
With skill
Resolves the launcher script path to skills/revdiff/scripts/launch-revdiff.sh.
Missed
Passed
case-05 · gemini-3.6-flash · 9/19/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md162 lines2 filesincludes scripts
revdiff-plan - Review Codex Output
Review the last Codex assistant message with inline annotations using revdiff TUI in a terminal overlay.
Script Path Resolution
Resolve <plugin-root> from this skill's absolute path in the available-skills catalogue. It is the directory containing this plugin's .codex-plugin/plugin.json. Then set:
Replace <plugin-root> with the resolved absolute path before running either command. Use $SCRIPT_DIR and $LAUNCHER_DIR in place of script paths throughout this skill.
Activation Triggers
"revdiff-plan", "review plan with revdiff", "annotate plan"
"review last response", "annotate codex output"
How It Works
Extract the last Codex assistant message from rollout files
Write it to a temp markdown file
Launch revdiff with --only=<tempfile> in a terminal overlay
User reads the plan, adds annotations on specific lines
On quit, annotations are captured from stdout
Codex reads annotations and addresses each one (refine plan, answer questions, fix issues)
Loop: re-launch revdiff to verify changes, user can add more annotations
Done when user quits without annotations; clean up temp file