/general:wrap-up [notes for the wrap-up]from General
Close a work session in three steps - run the codex-adversarial-review skill on the session's code changes, verify its findings and fix the confirmed ones, remove from TODO.md the tasks this session finished, and record in TODO.md anything left undone or deferred. Use it when the work the user asked for is complete and before the session's final commit, and whenever the user asks to wrap up, finish up, or close out the session.
Ships in General. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
End every session the same way: a second opinion on the code, then a TODO.md that matches reality.
$ARGUMENTS
If the line above still reads $ARGUMENTS literally, the notes are whatever the user wrote alongside the skill mention, possibly nothing. Notes are extra input to the steps below: a review scope goes to step 1, anything the user wants remembered goes to step 3.
A session ends with two kinds of loose ends. Mistakes nobody caught, because the author reviewed their own work; and tasks that were finished, half-finished or deliberately deferred but exist only in the conversation. An independent reviewer catches the first kind. The second kind survives only if TODO.md is edited now, while the session is still in context. Review first, so that confirmed findings are fixed while the session's context is still loaded, and the ones that cannot be fixed now can be written down as leftovers.
Run the codex-adversarial-review skill, which ships in the same plugin as this one. In Claude Code invoke it through the Skill tool. In Codex, or wherever there is no skill tool, read ../codex-adversarial-review/SKILL.md next to this file and follow it. Use its auto scope unless the user's notes name one. Follow that skill to the end: run Codex, verify every finding against the code, report the verdicts. If the session produced no code changes (documentation or configuration only), skip the review and say so.
Then act on each verdict. This replaces the review skill's "do not fix anything" rule for this run:
Look for TODO.md at the repository root, or in the current directory when there is no repository. If there is none, go to step 3.
Read the whole file. Then go through the session's work: what the user asked for, what changed (git status, git diff, and git log for commits made during the session), and what was discussed. Delete every task that this session finished: the task's lines, not just its checkbox. If a section becomes empty, delete its heading too.
Collect everything from this session that is not done:
Write each as a self-contained item: what to do, where (file or component), and why it was left, so that a future session with no memory of this one can act on it. Add it to the matching section of TODO.md, following the file's conventions, or add a section. If TODO.md does not exist and there is something to record, create it with a single heading. Do not record vague improvements, things already done, or an item the file already has.
If nothing is left, say so and leave the file alone.
Tell the user briefly: the confirmed findings and how each was fixed, or why it was left; the plausible findings for the user to judge; the rejected claims; or that the review was skipped and why. Then the tasks removed from TODO.md and the items added. Apart from the tests that check a fix, this skill does not run the test suite or commit. Whatever the project's end-of-session rules say about those happens after it.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub k-ymmt/skills --plugin general3 skills in this plugin
/ask-until-clearCarry out the task given as the argument, but ask the user about every unclear, doubtful, or ambiguous point first, and keep asking in rounds until nothing is left to guess. Only the user can start this skill; it is never selected automatically./codex-adversarial-reviewRun an adversarial second-opinion review of the current code changes with OpenAI Codex (codex exec in a fresh read-only session), then verify every finding against the code before reporting it. Use it at the end of a work session, once the code changes are complete and before they are committed, and whenever the user asks for a second opinion on a diff. Requires the Codex CLI, logged in.