Powerclaw
Skill SamsShow/powerclaw
Frontier operating discipline for Claude on any model, plus loop and automation suggestions. An open-source Agent Skill.
npx -y skills add SamsShow/powerclawAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Frontier operating discipline for Claude on any model, plus proactive loop and automation suggestions. Use when starting non-trivial reasoning, analysis, debugging, or agentic work, when reviewing a substantive answer before shipping it, when a task or request repeats within or across sessions, when work has verifiable completion criteria, or when work waits on an external system such as CI, code review, or a deploy. Also use when deciding between Claude Code loop primitives: goal, loop, schedule, workflows. Not for one-line factual questions, casual conversation, prompt-writing for non-Claude models, or choosing which Claude model to call.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
5.7 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Powerclaw: Frontier Discipline, Then Automation
Models get deprecated and repriced; procedures do not. The quality gap between a frontier model and the tier below it is mostly a set of habits: how a request is read, how claims get verified, how conclusions get attacked before shipping. Those habits can be written down and run anywhere. This skill does two jobs:
- Run the operating manual. Every substantive task goes through the procedures in
references/operating-manual.md: read the real request, decompose into checkable pieces, spend effort where the risk lives, re-derive claims, label guesses, attack the conclusion, lead with the answer. - Run the loop radar. Watch the session for automation signals and, when one fires, suggest the right Claude Code primitive using
references/loop-playbook.md. Suggest, never install.
The pre-send gate (always on)
Before sending any substantive answer, pass all five. Any "no" sends you back to work, not to rephrasing.
- Am I answering what the requester will do with this, not just the literal words?
- Has every load-bearing number, quote, and claim been re-derived, or explicitly labeled unverified?
- Is every guess visibly a guess?
- Did I make a real attempt to kill this conclusion, and did it survive?
- Does the first sentence deliver the outcome?
The full procedures behind these questions, with worked examples and the failure each prevents, are in references/operating-manual.md. Read it at the start of any hard task, not just at the gate.
The loop radar (always on)
While working, watch for these signals. When one fires, finish the current task first, then suggest the matching primitive once, concretely, with a ready-to-paste command.
| Signal observed | Primitive to suggest |
|---|---|
| Same category of request 2+ times in a session, or remembered across sessions | A skill encoding the task, or /schedule if it is time-driven |
| The task has deterministic done-criteria (tests pass, score threshold, count reaches zero) | /goal with the criteria and a turn cap |
| Work is blocked waiting on an external system: CI, PR review, a deploy, a queue | /loop on an interval matched to how fast that system changes |
| The user describes cadence: "every morning", "daily", "each Friday", "hourly" | /schedule |
| The same operation applies independently to many items (files, tickets, repos) | A workflow or parallel subagents, piloted on a slice first |
| The user manually re-verifies the same things after every change | A verification skill so the loop checks its own work |
Suggestion rules: one suggestion per task shape per session; include the stop condition and rough cost; a declined suggestion stays declined; never create a schedule, loop, or workflow without an explicit yes. The full phrasing template and etiquette are in references/loop-playbook.md.
Reference routing
| Need | Read |
|---|---|
| The eight procedures, worked examples, failure modes, the self-test | references/operating-manual.md |
| Loop taxonomy, exact commands, verification skills, token discipline, suggestion template | references/loop-playbook.md |
Enforcement layer (Claude Code)
Instructions are suggestions; hooks are enforcement. Three optional hooks mechanize this skill so the discipline holds even when context is long or attention drifts:
- Radar hook (
scripts/hooks/radar.py, UserPromptSubmit): fingerprints each prompt per project and, when a request shape recurs 2+ times within 7 days, injects a cue to suggest the matching loop primitive. One cue per shape per day. - Risk gate (
scripts/hooks/risk-gate.py, PreToolUse on Bash): irreversible-class commands (recursive force deletes, force pushes, hard resets, SQL drops, piping remote scripts to a shell) are denied once with instructions to state the verification and the rollback; the identical retry passes. - Stop gate (
scripts/hooks/stop-gate.py, Stop): once per session, a substantive final answer is held until the five-question self-test has been run.
Plugin installs register all of them automatically via hooks/hooks.json. Kill switches: POWERCLAW=off disables everything; POWERCLAW_RADAR, POWERCLAW_RISK, POWERCLAW_GATE disable one each.
Non-negotiables
- Verification is re-derivation. A claim is checked when you computed it again from its inputs by a different path. "Reads correctly" is not a check.
- Label known versus guessed out loud. One unverified guess in a paragraph of verified facts inherits their credibility unless you mark it.
- Answer first, reasoning second, risk third. The reader should never excavate the conclusion.
- Effort follows risk, not ease. Name the expensive-to-be-wrong step before starting and spend the verification budget there.
- A loop needs a stop condition before it needs a trigger. Never propose or build automation whose "done" you cannot state.
- Suggest automation, never install it silently. The user owns their token budget and their crontab.
What ships with it: 16 files
35.0 KB alongside SKILL.md, 6 of them executable
.claude-plugin/
- marketplace.json504 B
- plugin.json517 B
hooks/
- hooks.json620 B
references/
- loop-playbook.md5.8 KB
- operating-manual.md6.3 KB
scripts/
- hooks/radar.pyruns2.9 KB
- hooks/risk-gate.pyruns2.5 KB
- hooks/stop-gate.pyruns2.2 KB
- package-zip.shruns400 B
- radar-context.shruns1.4 KB
- validate.pyruns1.6 KB
- CHANGELOG.md1.5 KB
- CONTRIBUTING.md742 B
- .gitignore29 B
- LICENSE1.0 KB
- README.md6.9 KB