agentleFS
mepottsmepotts/agent-operating-kit/skills/risk-tiers/SKILL.md

risk-tiers

Skill0 starsChanged 43 days agoMITView on GitHub

Pick how much review a change needs by risk tier 0 to 4 (docs, feature code, schema or shared state, production data or irreversible actions, security surface). Use when asked how much review, testing or sign-off a change needs, or before merging anything that touches migrations, auth, deletes, publishing, spending or user data.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not audit a copy change like a migration.

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Risk tiers

Verification depth matches risk. Classify by what the change can touch, not by how big it is. When a change spans tiers, the highest applies. When unsure, take the higher tier.

TierChangeRequired before mergeHuman sign-off
0Docs, copy, non-behavioralSelf-check, build and typecheckSpot-check
1Feature code: no schema, no production dataOne independent refuting review, the lint gate, tests that ran (not skipped)Integrator merges
2Schema, persistent, shared or client-shipped stateTier 1, plus a forward and rollback round trip on production-shaped data, a rehearsal against a copy of production, a committed rollbackExplicit yes before production
3Production data writes, destructive actions, publishing, spendingTier 2, plus the exact command or diff, a logged read-only count of what it touches, a known recovery pathPer-change approval by the human, never delegated
4Security surface: auth, uploads, callbacks, parsing, permissions, privacyThe change's own tier, plus a review briefed with a threat modelSecurity review

How to classify

  1. List what the change can touch: files, schema, stored data, shared state, credentials, users, money, published artifacts.
  2. Take the highest matching tier. A "small dry run" that writes one row is a write.
  3. Add your domain's top-risk row. Library or SDK: a public API break is Tier 3. Research or ML: a change that affects evaluation gates on a metric threshold on held-out data. Client-shipped state has no rollback after ship, so go forward-only, keep a kill switch, and treat it as Tier 2 at least.
  4. Re-tier when scope grows. Record the tier and the reason in the spec.

Rules

  • Do not audit a copy change like a migration. Never ship a production-data change on one pass.
  • Reviewers get capability that matches the tier: the strongest model and higher effort for Tier 2 and up, security, and ambiguous cross-cutting work, cheaper models for mechanical work.
  • Tier 3 approval is per change and never delegated: show the exact command or diff and the read-only count of what it touches.
  • To run the review, use the refute-review skill or /agent-operating-kit:refute.

Answer as: "Tier N because <what it can touch>. Required: <checks>. Sign-off: <who>."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.