revdiff-plan

Solid

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".

Code & Development 516 stars 49 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 the script directory using repo root first, then fall back to Codex home: ```bash SCRIPT_DIR="$(git rev-parse --show-toplevel 2>/dev/null)/plugins/codex/skills/revdiff-plan/scripts" if [ ! -d "$SCRIPT_DIR" ]; then SCRIPT_DIR="${CODEX_HOME:-$HOME/.codex}/skills/revdiff-plan/scripts" fi ``` Also resolve the launcher script from the revdiff skill: ```bash LAUNCHER_DIR="$(git rev-parse --show-toplevel 2>/dev/null)/plugins/codex/skills/revdiff/scripts" if [ ! -d "$LAUNCHER_DIR" ]; then LAUNCHER_DIR="${CODEX_HOME:-$HOME/.codex}/skills/revdiff/scripts" fi ``` 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 1. Extract the last Codex assistant message from rollout files 2. Write it to a temp markdown file 3. Launch revdiff with `--only=<tempfile>` in a terminal overlay 4. User reads the plan, adds annotations on specific lines 5. On quit, annotations are captured from stdout 6. Codex reads annotations and addresses each one (refine plan, answer questions, fix issues) 7. Loop: re-launch revdiff to verify changes, user can add more annotations 8. Done when user quits without annotations; clean up temp file ##...

Details

Author
umputun
Repository
umputun/revdiff
Created
2 months ago
Last Updated
today
Language
Go
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category