Skip to content

Repository files navigation

postmortemthis: every coding agent you have, one verdict

Why? We needed it.

Why really? The agent that wrote your code is the worst judge of it.

What? Every coding-agent CLI (Claude Code, Codex, Antigravity, Qwen, Vibe, Grok) reads your diff so you don't have to (you weren't going to). Read-only, in parallel; you stay in your agent, it makes the call.

How? One tiny script that installs, updates, and runs all the agents for you, on Windows, macOS, and Linux. No setup, no server, no MCP.

Setup

Paste this into Claude Code, Codex, or your coding agent of choice:

Create a "/postmortemthis" skill to review whatever we are working on. Download https://github.com/Softeria/postmortemthis/releases/latest/download/postmortemthis.cmd once into the skill folder (re-fetch only if missing), then run the local copy — it runs one prompt across several coding agents at once. Run it as echo "…" | sh postmortemthis.cmd.

Then, before the real postmortem, run /postmortemthis.

That prompt is the whole install — your agent writes the skill from it. Tweak the wording before you hit enter (different agents, a sharper review focus, your own house rules); the skill in this repo is just a starting point, and your agent will happily make one as good or better. The script is the only fixed part.

Auth

Your own logins where you have them. For the rest, sh postmortemthis.cmd login (OpenRouter OAuth) or set OPENROUTER_API_KEY. Usage bills to your account; this resells nothing.

Even Grok works on OpenRouter: its own CLI can't reach OpenRouter, but its model (x-ai/grok-build-0.1) is there, so postmortemthis runs it through an OpenAI-compatible harness — no xAI subscription needed, just the key.

Run sh postmortemthis.cmd setup for a guided pass over every agent — it pokes each one, then lets you log in (many have a free or already-paid tier), force OpenRouter, or disable it, and can fire a test prompt at the end. Choices are saved and honored on every run.

CLI

echo "review the pending diff for bugs" | sh postmortemthis.cmd   # all agents
sh postmortemthis.cmd setup                                       # configure each agent
sh postmortemthis.cmd doctor                                      # what's available

MIT

About

Every AI coding-agent CLI (Claude Code, Codex, Gemini, Qwen, Vibe) reviews your diff in parallel, read-only, for one ship/no-ship verdict. One tiny script: no server, no MCP.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages