Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add maxence2997/mx-harness --skill mx-doctrinegit clone --depth 1 https://github.com/maxence2997/mx-harnessWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/maxence2997/mx-harness/mx-doctrine)<a href="https://agentmods.dev/skills/maxence2997/mx-harness/mx-doctrine"><img src="https://agentmods.dev/badge/skills/maxence2997/mx-harness/mx-doctrine/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/maxence2997/mx-harness/mx-doctrine"><img src="https://agentmods.dev/badge/skills/maxence2997/mx-harness/mx-doctrine.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.01076 |
| Opus 5.5 | $0.00029 | $0.00430 |
| Sonnet 5.5 | $0.00014 | $0.00215 |
| Haiku 4.5 | $0.00007 | $0.00108 |
Grade A, and why
mx-doctrine scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mx-doctrine
Shared doctrine consumed by the other mx-* skills. This SKILL.md is a
router; the content lives in references/.
Auto-update
Unless another mx-* skill invoked this one, run
bash "$HOME/.mx/.mx-harness-install.sh" --auto-update before anything else,
if that file exists. It always exits 0 and prints nothing when there is no
news. Show the user anything it prints. If the output starts with
mx-harness updated, re-read this SKILL.md. Then continue with the skill; do
not run the command again during this skill run, even if it reported a failure.
Trigger
/mx-doctrine ← summarize what doctrine exists and when each applies
/mx-doctrine <topic> ← read the matching reference file and apply/answer
Other mx-* skills reference these files directly at the moments they matter — you rarely need to invoke this skill explicitly.
The files
| Read this | When |
|---|---|
references/model-dispatch.md |
Before spawning any sub-agent; when choosing a model tier; when a subtask keeps failing (escalation ladder §6); to check what your harness supports (§0/§1) |
references/judgment-rubrics.md |
Before declaring work done (§2); before interrupting the user with a question (§3); after 2 failed attempts (§1); when a fix requires weakening a gate (§4); when a taste call has no right answer (§6) |
references/delegation-templates.md |
When writing any sub-agent prompt — search, implement, refactor, research, review, read-back |
references/maintenance.md |
Before editing ANY mx-harness file (repo or installed copy) |
references/diagnosis.md |
To understand why the suite is structured this way; when re-auditing for bloat (procedure at the bottom of that file) |
On /mx-doctrine <topic>: pick the file(s) whose row above matches the
topic, read them, and answer or apply. On bare /mx-doctrine: print the
table above plus a 3-line summary of each file.
How mx-* skills reference these files
From another skill's SKILL.md, the path convention is:
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago Changed · +9 lines 23026d9e2ee8
- 2mo ago Changed aecee0a9bcf8
- 2mo ago Changed · +5 lines 5d8843654f73
- 3mo ago First seen · 85 lines · 72 tokens per session scan A 02d5590c5bd4
mx-doctrine is a skill published in the GitHub repository maxence2997/mx-harness (5 stars, last pushed 10d ago), licensed MIT. It adds 72 tokens to every session and 1,076 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
mx-doctrine compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mx-doctrinemaxence2997/mx-harness | Skill | 5 | 10d ago | MIT | A | 72 | Claude Code |
| package-evaluatorMathews-Tom/armory | Skill | 347 | 8d ago | MIT | A | 51 | Claude Code |
| code-refinerMathews-Tom/armory | Skill | 347 | 8d ago | MIT | A | 91 | Claude Code |
| codebase-advisorMathews-Tom/armory | Skill | 347 | 8d ago | MIT | A | 131 | Claude Code |
| pr-reviewMathews-Tom/armory | Skill | 347 | 8d ago | MIT | A | 69 | Claude Code |
| seo-auditserejaris/personal-corp-os | Skill | 251 | today | MIT | A | 82 | Claude Code |
| devils-advocateMathews-Tom/armory | Skill | 347 | 8d ago | MIT | A | 67 | Claude Code |