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 agentmods add skills/maxence2997/mx-harness/mx-doctrinenpx 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.svg" alt="Measured on agentmods" 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 | $0.00072 | $0.00917 |
| Opus 5 | $0.00036 | $0.00458 |
| Sonnet 5 | $0.00014 | $0.00183 |
| Haiku 4.5 | $0.00007 | $0.00092 |
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 5d 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 — 85 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/.
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:
${CLAUDE_SKILL_DIR}/../mx-doctrine/references/<file>.md
(${CLAUDE_SKILL_DIR} = the directory containing the running SKILL.md;
skills install as sibling directories. In harnesses without that
substitution, resolve relative to the SKILL.md file you are executing.
When briefing a sub-agent, the orchestrator resolves these to absolute
paths and puts the resolved paths in the brief — sub-agents must not be
asked to re-derive sibling-skill paths.)
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.
- 5d 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 9d ago), licensed MIT. It adds 72 tokens to every session and 917 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
manuscript-typography
Audit academic manuscripts for typographic design conventions: booktabs table style, caption placement, dashes/quotes, units and numbers, cross-reference style, page layout, typographic hierarchy, professional polish. Triggers on: "check typography", "fix formatting", "polish my paper", "check my LaTeX", "typographic…
manuscript-review
Pre-publication manuscript audit producing a section-level refactoring report with citation hygiene and submission-readiness checks. Triggers on: "review my paper", "check before submission", "is this ready to submit", "pre-pub checklist", "refactor my paper", "check my references", "does the abstract work".
architecture-diagram
Generate architecture diagrams as fully editable SVG with native AWS, Azure, and GCP icons for cloud diagrams, or hand-drawn generic icons for everything else. Deterministic layout computes zone nesting and orthogonal routing instead of hand-placed coordinates. Triggers on: "architecture diagram", "infra diagram"…
architecture-reviewer
Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports. Triggers on: "review architecture", "critique design", "audit system", "assess scalability", "enterprise readiness", "technical due diligence". NOT for diagrams, use…
concept-to-video
Turn concepts into animated explainer videos using Manim (Python) with MP4/GIF output, audio overlay, multi-scene composition. Triggers on: "create a video", "animate this", "make an explainer", "manim animation", "motion graphic". NOT for React video, use remotion-video.
figure-rhetoric
Evaluate whether figures and plots in a manuscript effectively communicate the claims they support. Audits chart-type fit, axis design, visual hierarchy, data density, caption interpretation, perceptual accuracy, and narrative arc across 8 dimensions. Triggers on: "do my figures work", "check my plots", "are my graphs…