/prisma-harness:prismafrom Prisma Harness
Run PRISMA on a piece of work. Routes the request to one of five lanes (query, mechanical change, code with logic, data to a third party, text) and runs what that lane requires, up to the five steps and five gates. Use when the user says "PRISMA", "pass this through PRISMA", or asks to verify work before it leaves the machine.
Ships in Prisma Harness. 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.
None: SKILL.md is the whole skill.
Read METHOD.md at the plugin root once per session before applying this skill. It is the source; this file is the operating order.
The plugin root is two levels above the base directory Claude Code prints when this skill loads, written <base directory>/../.. below, and the helpers live in its hooks/ folder. Run them by that path, since the project you work in is not the plugin.
Ask two questions. First, what kind of work is it, and four lanes answer it, query, mechanical change, code with logic and text, the more expensive one winning when two fit. Second, does anything leave to a third party, and the fifth lane stacks on the first answer, adding controls and never replacing them.
| Lane | The question | What runs |
|---|---|---|
| Query | Does this only answer with data and change nothing? | the claims rule. A figure that leaves the machine gets two routes and a [value | route | date-time] label |
| Mechanical change | Can you PROVE it changes no executable behavior, stored data, permissions, integration or deployment? | step 3 only, run it and look |
| Code with logic | Is it a feature, a bug fix, a migration, or a script someone else will run? | the five steps |
| Data to a third party | Does a file, list or figure leave to someone else? | the producing query is code and runs its lane, plus step 3 on the real rows, the verification protocol, and a refuter |
| Text | Is it a page, a PR body, a message, a report, a script to read aloud? | the format gate, a refuter, the claims rule |
Two guards. When in doubt, take the MORE expensive lane, because the agent has an interest in choosing the cheap one. A lane goes up, never silently down; going down is declared.
prisma-plan. It interviews in rounds with a recommended answer per question, leaves a record with the agreed behavior, the exclusions, the seams, the surface and the exit condition, and closes by declaring the lane and whether the work fits in one session, which means before 80% of its context window, about 800k tokens with a 1M window. Within one ticket, a session nearing that ceiling compacts instead of asking for a handoff. If it does not fit, it splits the work into session-sized tickets before anything is built. Every other session it asks for carries its card, and all of them are asked for at once. When the plan adopts a rule that applies to the whole system, it lists every fact that rule touches and reviews the list whole.prisma-build. Tests first at the agreed seams, every control seen red before the code that turns it green exists, then prisma-fidelity-review in a fresh subagent that receives the record and the fixed point and nothing of the builder's account, then commit. If something is broken along the way, invoke prisma-diagnose before patching; it ends by naming the step the defect escaped from.sh <base directory>/../../hooks/format-gate.sh --strict on every text you deliver.prisma-fidelity-review in a fresh subagent. Did we build what the record agreed, no more and no less?format-gate.sh among the helpers. Is the deliverable written to the rules? It reads no code and finds no bugs.blind-replica.sh among the helpers. Receives the claim and the sources and NOTHING of the calculation. Mandatory for derived figures, platform semantics, ambiguous sources, data to third parties, and hard-to-revert consequences. In single-model mode it runs in a fresh-context subagent and declares that it gives independence of derivation, not of engine. Write the claim and its sources to a file and run sh <base directory>/../../hooks/blind-replica.sh <file>. Without PRISMA_AUDITOR_CMD it prints the brief for a fresh subagent and exits 6; with it, the exit code is the verdict, 0 confirmed, 5 refuted, 4 none.A finding from an agent, a bot comment, a code comment and a line of prose enter through the same door. Reproduce against the source, let a refuter try to kill it, then an adjudicator decides value and not truth. Every figure that leaves gets two routes; every causal claim gets a negative control. If a finding dies, record why.
Does it need saying, or can it be done and explained after? Does it really move something outside, or is it being treated as risky without checking? Verify first, then decide whether it is a decision for the human or a formality. What always gets confirmed is the irreversible, what reaches an audience, and what costs money.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub juanquijandria/prisma-harness --plugin prisma-harness5 skills in this plugin
/prisma-buildStep 2 of PRISMA, the build. Tests first at the seams the plan record agreed, every control seen red before the code that turns it green exists, a fidelity review in a fresh subagent, then a commit. Use when PRISMA reaches step 2, or when the user asks to build, implement or fix something test-first./prisma-diagnoseStep 2b of PRISMA, diagnose before patching. Builds a feedback loop that goes red on the exact defect, reproduces and minimises it, tests ranked falsifiable hypotheses one variable at a time, fixes with a regression test seen red first, and ends by naming which of the five steps the defect escaped from. Use when something is broken, throwing, failing or slow, or when the user says diagnose or debug./prisma-fidelity-reviewThe fidelity reviewer, one of the five PRISMA gates. Reads the diff since a fixed point against the plan record on two axes kept apart, fidelity, whether the code does what was agreed and no more, and standards, whether it follows what this repository documents. Runs in a fresh context. Use when prisma-build reaches its review, or when the user asks to review a branch, a PR or the changes since a point./prisma-planStep 1 of PRISMA, the plan. An interview in rounds that sharpens a request into shared understanding, leaves a written record, and closes by declaring the lane and whether the work fits in one session. Use when PRISMA routes work into code with logic, or when the user asks to plan, grill, stress-test or sharpen a piece of work before building it.