Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/docxology/templatenpx agentmods add skills/docxology/template/template-active-inferenceWrote 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/docxology/template/template-active-inference)<a href="https://agentmods.dev/skills/docxology/template/template-active-inference"><img src="https://agentmods.dev/badge/skills/docxology/template/template-active-inference/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/docxology/template/template-active-inference"><img src="https://agentmods.dev/badge/skills/docxology/template/template-active-inference.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00035 | $0.00489 |
| Opus 5.5 | $0.00014 | $0.00196 |
| Sonnet 5.5 | $0.00007 | $0.00098 |
| Haiku 4.5 | $0.00003 | $0.00049 |
Grade A, and why
template-active-inference 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 1mo 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.
What it actually says
template-active-inference
Project-scoped skill for the in-repo exemplar at
projects/templates/template_active_inference/. Load this when working inside the project.
When to Use
- Working inside the
template_active_inferenceexemplar — running scripts, editing source, or regenerating outputs. - Forking this exemplar as the starting scaffold for a new research project.
- Validating that the exemplar's contracts (thin-orchestrator, layer boundaries, no-mocks testing) still hold after changes.
Quick Reference
# From this project root
uv run pytest tests --cov=src --cov-fail-under=90
# From the repository root
uv run python scripts/pipeline/stage_02_analysis.py --project templates/template_active_inference
uv run python scripts/pipeline/stage_03_render.py --project templates/template_active_inference
uv run python scripts/pipeline/stage_04_validate.py --project templates/template_active_inference
uv run python scripts/pipeline/stage_05_copy.py --project templates/template_active_inference
Pitfalls
- Keep scripts thin. Business logic belongs in
src/or sharedinfrastructure/, not inscripts/. - No mocks. All tests must use real data, real files, and real computation.
- Outputs are disposable. Never hand-edit
output/— regenerate from source and config. - Run from the repo root. Commands assume the template monorepo root
as working directory unless the child
AGENTS.mdstates otherwise.
Cross-refs
- Project contract:
AGENTS.md - README:
README.md - TODO:
TODO.md - Exemplar roster:
projects/AGENTS.md
What ships with it
2 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.
- 1mo ago Changed 28b6a4673ec7
- 2mo ago First seen · 53 lines · 35 tokens per session scan A 5726cf952cee
template-active-inference is a skill published in the GitHub repository docxology/template (25 stars, last pushed today), licensed Apache-2.0. It adds 35 tokens to every session and 489 once invoked, about $0.0001 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-09-03.
template-active-inference compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| template-active-inferencedocxology/template | Skill | 25 | today | Apache-2.0 | A | 35 | Claude Code, Codex |
| qec-constructMuuuun/luxas | Skill | 1.2k | 22d ago | MIT | A | 148 | Claude Code, Codex |
| paper-figuresMuuuun/luxas | Skill | 1.2k | 22d ago | MIT | A | 79 | Claude Code, Codex |
| causal-designflonat/flonat-research | Skill | 155 | 15d ago | MIT | A | 40 | Claude Code |
| latex-polishflonat/flonat-research | Skill | 155 | 15d ago | MIT | A | 64 | Claude Code |
| numerical-checkflonat/flonat-research | Skill | 155 | 15d ago | MIT | A | 65 | Claude Code |
| pipeline-manifestflonat/flonat-research | Skill | 155 | 15d ago | MIT | A | 55 | Claude Code |