Install
openclaw skills install @globalcaos/agent-superpowersYour agent says 'done' — but did it check? Superpowers turns any OpenClaw agent into a disciplined engineer. Verification iron law (evidence before claims), three-agent code review (build → verify spec → verify quality), systematic debugging (4-phase root cause, three-strike rule), brainstorming gates (design before code), and anti-over-engineering rules. Use when: (1) coding tasks of any complexity, (2) debugging failures, (3) about to claim work is complete, (4) spawning sub-agents, (5) planning features, (6) reviewing code. Inspired by top coding agent methodologies, adapted for OpenClaw multi-agent architecture.
openclaw skills install @globalcaos/agent-superpowersOne of dozens of skills and plugins in TinkerClaw — a self-improving OpenClaw fork that's been running 24/7 for months.
Your agent says "done" — but did it check?
Most agents declare victory without running a thing: they fix the symptom, not the cause, retry the same broken patch three times, and quietly refactor code you never asked them to touch.
Superpowers wires in the discipline a senior engineer takes for granted. Nothing is "done" until a fresh command proves it. Every change runs a build → spec → quality review by three separate agents. Bugs get a four-phase root-cause hunt instead of a guess, and a three-strike rule stops the flailing. Design gets signed off before a line of code is written. The result is work you can trust on the first pass instead of the fourth.
Part of TinkerClaw — real-time token tracking, self-improving crons, persistent cognitive memory. This is one piece of that stack; the repo has dozens more.
👉 https://github.com/globalcaos/tinkerclaw
Clone it. Fork it. Break it. Make it yours.
<why_this_matters> General-purpose agents fail in predictable ways: declaring "done" without running tests, fixing symptoms instead of causes, refactoring code they weren't asked to touch, repeating the same failed fix three times. Each rule below targets a specific failure mode with a concrete behavior that prevents it. Following the pipeline costs a few extra calls per task and saves hours of debugging in production. </why_this_matters>
Paste into your AGENTS.md to activate always-on behavioral rules:
## Engineering Discipline (Agent Superpowers)
### Verification iron law
- No completion claims without fresh verification evidence in this message.
- Run the command. Read the output. Then claim the result.
- "Should work" / "looks correct" / "done" without evidence = unverified.
### Anti-over-engineering
- Do what was asked. Nothing more, nothing less.
- Tolerate a little repetition until a real pattern emerges; abstract later.
- Don't add features, refactor, or "improve" beyond the request.
- A bug fix doesn't need surrounding code cleaned up.
### Reversibility
- Local and reversible (edit files, run tests) → proceed freely.
- Hard to reverse, shared, or destructive → confirm first.
- Approval is scoped, not global — once does not mean always.
### Three-strike debugging
- After 3 failed fixes on the same problem, stop.
- Question the architecture. Don't attempt fix #4 without discussing.
### Brainstorming gate
- For any feature, component, or creative work: explore → ask → propose → approve → then build.
- "Simple" projects are where unexamined assumptions waste the most work.
Every non-trivial coding task follows this flow:
brainstorming → plan → implement → spec-review → quality-review → verify → complete
Each stage has a quality gate. Skipping gates costs more time than following them.
When: any creative work — features, components, new functionality.
Behavior: present a design and get approval before starting implementation.
Process:
"This is too simple to need a design." Even a 3-sentence design that the user signs off on. Simple projects are where unexamined assumptions waste the most work.
When: Multi-step task, before touching code.
Granularity — each step is ONE action (2-5 minutes):
Every task must include:
Plan document saved to: docs/plans/YYYY-MM-DD-<feature>.md
See references/plan-template.md for the full template.
When: Executing plans via sub-agents.
For each task in a plan, dispatch THREE sub-agents in sequence:
See references/implementer-prompt.md for the dispatch template.
See references/spec-reviewer-prompt.md for the dispatch template.
See references/quality-reviewer-prompt.md for the dispatch template.
Cost note: More sub-agents per task, but dramatically higher first-time quality. Catching issues at review is cheaper than debugging in production.
When: any bug, test failure, or unexpected behavior — especially when under time pressure.
Iron law: investigate root cause before changing code. Two minutes of investigation often redirects the work entirely.
After 3 failed fixes, stop and question the architecture.
See references/debugging-guide.md for the full guide with rationalization table.
When: about to claim work is complete, before committing or creating PRs.
<verification_gate>
Pause and re-verify when you catch yourself:
| Claim | Requires | NOT Sufficient |
|---|---|---|
| Tests pass | Test command output: 0 failures | Previous run, "should pass" |
| Build succeeds | Build command: exit 0 | Linter passing |
| Bug fixed | Test original symptom: passes | "Code changed, assumed fixed" |
| Agent completed | VCS diff shows changes | Agent reports "success" |
Always active. These prevent the most common source of wasted work:
Before any action, classify:
| Action Type | Examples | Rule |
|---|---|---|
| Local, reversible | Edit files, run tests, search code | Proceed freely |
| Hard to reverse | Force push, git reset --hard, drop tables | Confirm first |
| External-facing | Push code, create PRs, send messages | Confirm first |
| Destructive | Delete files/branches, rm -rf, overwrite work | Confirm first |
git push once ≠ alwaysCommon excuses and their realities:
| Excuse | Reality |
|---|---|
| "Too simple to need a plan" | Simple tasks are where assumptions waste the most work |
| "I'll test after implementing" | Test-after proves what code does, not what it should do |
| "Should work now" | Run the verification command |
| "Just one quick fix" | Follow Phase 1 first |
| "I'm confident" | Confidence ≠ evidence |
| "This is different because..." | The rules apply especially when you think they don't |
| "I already know the answer" | Read the file first anyway |
| "One more fix attempt" (after 2 fails) | Third failure = question architecture |
Use sessions_spawn with the prompt templates in references/. Set model per role:
Sub-agents spawned by crons should follow the same verification gate — don't log "completed successfully" without evidence.
Copy the "Quick Start" section above into your workspace AGENTS.md for always-on rules.
The patterns in this skill were adapted from open-source, MIT-licensed agent engineering skills by Jesse Vincent (the "superpowers" skill set), combined with general engineering practices commonly seen in commercial and open-source coding agents, and rewritten in our own words for OpenClaw's multi-agent architecture.
👉 https://github.com/globalcaos/tinkerclaw
Clone it. Fork it. Break it. Make it yours.
Original methodology by Oscar Serra and Jarvis. Engineering patterns inspired by industry best practices and open-source agent skills (MIT License, Jesse Vincent). Adapted for OpenClaw's multi-agent architecture.