tofu-harness (formerly tofable)
🇰🇷 한국어 버전: README.ko.md
Rules source: the rule text lives in this repository's rules/ folder, and the maintainer updates it here. SlackMod also has a copy (rules/general/), which may be older than this one. News and related repositories are updated there first.
Keep an AI-agent harness honest. Transfer a working style into rules and mechanical gates, then audit the harness documents themselves so they keep telling the truth about your tools, paths, and models.

Two pillars
| Skill | What it does |
|---|
| Transfer & enforce | /tofable | A copyable rule layer plus verification gates that bounce a turn when evidence is missing. The original half of this repo. |
| Audit & repair | /harness-audit | A deadline-bounded census of your harness documents — finds where CLAUDE.md / skills / rules have drifted from reality, re-verifies each finding independently, repairs only what's confirmed. Added 2026-07. |
Plugin packaging is skill-only. The gates under hooks/ install separately — see hooks/README.md.
Start here
The short version: install the plugin, then say "set up the harness" to your agent. That runs /harness-setup, which does the whole sequence in order and proves each piece works before claiming it. If you only ever read one line of this README, that's the line.
claude plugin marketplace add treylom/tofu-harness
/plugin install tofu-harness@tofu-harness
Then, in your agent: set up the harness — or run /harness-help first to see what you already have.
| You are… | Do this |
|---|
| new here and want the whole thing working | say "set up the harness" → /harness-setup, profile recommended |
| not sure what's already installed | run /harness-help — it measures your machine and names one next step |
| here because a new model just shipped and your harness may be stale | run /harness-audit with a deadline |
| on Claude Code, want only the verification gates | say "install the project hooks" → /install-hooks. Prefer doing it by hand? step-by-step install (~5 min) |
| on Codex | install the upstream plugin fable-ish-codex — see codex/README.md |
| here to measure whether a harness transfers a working style | run bench/ against your own model; method and results in bench/results.md |
The five commands
| Command | Use it when | What you get back |
|---|
/harness-setup | First time, or adding a piece later | The stack installed in dependency order, each piece proved |
/harness-help | "What do I have? What now?" | Measured inventory + exactly one next step |
/install-hooks | You want the gates specifically | Gates wired and made to fire on purpose |
/harness-audit | After a model release, or quarterly | Drift found, independently re-verified, only confirmed items repaired |
/tofable | Starting any non-trivial task | That task run under the working discipline |
Install in stages, not all at once
Gates are opinionated. An unrequested one that false-positives on day one usually gets the whole bundle switched off, not just itself — so ship less and keep it on. Three groups, defined once in /install-hooks:
| Group | You get | Start here if… |
|---|
core | evidence ledger + the stop gate | It's a shared repo, or you're cautious |
recommended | core + continuation, surfacing, blind-retry, prompt-advance | It's your daily project — most people want this |
full | recommended + the opt-in gates | You already know which ones you want |
Run core for a few days, then add recommended. Adding a group later is a normal, supported move.
What each piece is actually for
Read this as "the failure it prevents", not "the feature it adds":