Os What Could Go Wrong

Stress-tests a decision before you commit by assuming it already failed, then gives one clear verdict and the fixes to make first.

Office & Documentsdecision makingpremortemriskplanningby kharmanskyi1.3kGitHub

What it is

What Could Go Wrong is for anyone about to agree to something hard to undo: signing a lease or contract, making a big purchase, launching a product, changing prices, reorganising a team or moving a database. It runs a premortem: it assumes the decision was carried out and failed, then works backwards to find the most believable reasons why, while there is still time to change course. It writes in the language you use and is aimed at people who are not specialists in the field.

The key difference is who does the attacking. An agent that helped you shape a plan tends to defend it, so this skill writes a neutral decision brief, covering the goal, money, people, dates, what cannot be undone, known facts and labelled assumptions, and hands it to a fresh agent with no memory of your discussion. That agent checks how decisions of this kind usually fail, sweeps nine areas from money and legal rules to misuse and competitor reactions, and keeps only risks with a clear chain of cause and effect.

The report opens with one of five verdicts: go ahead, go but fix these first, try it small first, think again, or do not do this. It then lists the top risks, the belief nobody is questioning, a fix-before-you-commit list, risk cards with likelihood, severity and early warning signs, the cheapest test that could prove you wrong, and stop conditions. Every area is accounted for, even empty ones. If your agent cannot start a fresh agent, it runs the analysis itself and says so.

What it can do

  • Writes a neutral decision brief and marks every unverified fact as an assumption.
  • Hands the brief to a fresh agent that had no part in making the decision.
  • Sweeps nine failure areas, including money, day-to-day running, suppliers, legal rules, misuse and competitor reactions.
  • Rates each risk separately on how likely, how damaging and how visible in advance it is.
  • Gives early-warning signals with the value to watch, when to check and what to do.
  • Ends on one clear verdict, from go ahead to do not do this.

When to use it

  • Your small company is about to sign a three-year office lease with a personal guarantee and a three-week deadline.
  • You plan to raise prices for existing customers next month and want to know what could backfire.
  • Your team is about to move a clinic's live database and wants to know what might go wrong first.
  • You are about to sign with a new supplier and want someone to poke holes in the deal.

How it works

  1. 1Identifies the decision and fills in a brief, looking up facts itself and asking at most three questions that would change the verdict.
  2. 2Chooses a full or quick review depending on how hard the decision is to reverse, and tells you which.
  3. 3Starts a fresh agent and sends it only the analysis instructions, the depth, your language and the brief.
  4. 4The fresh agent compares the plan with how similar decisions usually fail, sweeps the nine areas and writes the report.
  5. 5Shows you the report in full, then offers to turn the fixes into plan edits, tasks with owners or reminders.

Try asking

“We're about to sign a three-year lease on a new office. What could go wrong?”
“Run a premortem on our plan to raise prices for existing customers”
“Poke holes in this vendor contract before I sign it”
“What are we missing in this launch plan?”

How to install

Install with the skills CLI (recommended)

Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.

npm
npx skills add https://github.com/kharmanskyi/open-steps/tree/main/skills/os-what-could-go-wrong
pnpm
pnpm dlx skills add https://github.com/kharmanskyi/open-steps/tree/main/skills/os-what-could-go-wrong

Install as a Claude Code plugin

Run these inside Claude Code. The plugin may bundle related skills from the same author.

Claude Code
/plugin marketplace add kharmanskyi/open-steps
/plugin install open-steps@open-steps

Install manually

Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the os-what-could-go-wrong folder and upload it in the Skills section of Settings.

Terminal
git clone --depth 1 https://github.com/kharmanskyi/open-steps.git
mkdir -p ~/.claude/skills
cp -r open-steps/skills/os-what-could-go-wrong ~/.claude/skills/os-what-could-go-wrong

Then just ask in plain language, for example: “We're about to sign a three-year lease on a new office. What could go wrong?”