By 3xachris
Discipline skills for agents doing long-running real work: freeze the scope, gate what only a human can judge, log the decisions, close out honestly.
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub 3xachris/3xa-harnessThe five-skill discipline loop for long-running agent work: freeze a task's scope into a workorder, gate sensory output behind human review, log decisions so they survive a context reset, hand off state when work changes hands, and close out with evidence instead of claims.
Six-stage diagnosis order for hard errors: reproduce, minimise, hypothesise, instrument, fix, regression-test — one stage's output is the next stage's entry ticket.
Two runnable checks over a project's own records: list the numbers stated as fact with no source a reader could check, and report the records and code that decayed quietly — each finding with the file, the line, and the edit that closes it.
Discipline skills for agents doing long-running real work — the parts of the job that go wrong slowly.
Five skills form one loop around a task: freeze what it is, gate what only a human can judge, log the decisions as they happen, hand off the state when work changes hands, close out with evidence. One optional add-on sits beside it. MIT, no dependencies, installable in under a minute.
You don't have to adopt the full loop to get value from this repo. Answer five questions about the task in front of you:
New task
│
├─ Could it outlive this conversation, or be picked up by another session?
├─ Is the boundary still unsettled — scope that could keep growing?
├─ Is it handed to someone else (subagent, contractor, teammate)?
├─ Would getting it wrong be expensive to undo?
├─ Does a human have to look at or listen to the result?
│
├─ All no
│ └─ Light: one decision-log entry — what changed, why, where the
│ detail lives. No order, no closeout.
│
└─ Any yes
└─ Core: workorder + decision-log + honest-closeout
├─ work changes hands → add handoff
└─ renders / audio / video to judge → add sensory-gate
Each condition is unpacked in When to open the loop. Then take only the weight you answered for:
| Weight | What you take | Where |
|---|---|---|
| Light | Nothing to install — the practice is one log entry per change. To carry the skill itself, install the core plugin (unused skills stay silent) or copy skills/core/decision-log/ alone into your agent's skill directory; there is no decision-log-only plugin. | The light path |
| Core | The harness-core plugin — the five-skill loop, fired per task by shape. | Install |
| Validation | Core, plus running verify_closeout.py before trusting a closeout, and the harness-audit checks over the records themselves (the audit checks need the harness-audit add-on installed — see Install). | Executable closeout check |
| CI | Validation, plus the GitHub Actions template on every PR that touches an artifacts folder. | Integration templates |
sensory-gate only enters when there is something a human must see or hear — a full-path task with no media never opens a gate.
Short tasks forgive a lot. Work that runs for weeks fails in ways prompting doesn't reach:
Each skill is one concrete, checkable mechanism: a frozen document, a folder to drag rejects into, an index line you can grep, a report the chat message is copied out of. An agent can follow them, and a human can verify from the same disk state whether it did.
Whether to freeze a workorder and run the full loop is a question about the task's shape, not its size — a big mechanical job and a five-line fix can land on either side of it. Open the loop when the task has any of these properties:
7-day visitors to each marketplace page
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Plugins with agents, skills, and commands for Claude Code and six other coding tools. Local plugins are maintained as one Markdown source and adapted to each tool.