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/docxology/template/docgennpx skills add docxology/template --skill docgengit clone --depth 1 https://github.com/docxology/templateWrote 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/docgen)<a href="https://agentmods.dev/skills/docxology/template/docgen"><img src="https://agentmods.dev/badge/skills/docxology/template/docgen.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.1 | $0.00028 | $0.00271 |
| Opus 5 | $0.00014 | $0.00135 |
| Sonnet 5 | $0.00006 | $0.00054 |
| Haiku 4.5 | $0.00003 | $0.00027 |
Grade A, and why
template-docgen 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 2d 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-docgen
Documentation generation scripts under scripts/docgen/.
When to use
Load this skill when you need to regenerate derived documentation:
- Stage table in
docs/_generated/ - API reference from
__all__ - Active projects doc
- Architecture overview
- Counts and measured facts
Scripts
uv run python scripts/docgen/stage_table.py
uv run python scripts/docgen/api_reference.py --write
uv run python scripts/docgen/active_projects.py --write
uv run python scripts/docgen/architecture_overview.py --write
uv run python scripts/docgen/counts.py --write
Pitfalls
- Run after any change to
infrastructure/core/pipeline/pipeline.yaml. api_reference.py --checkis run in CI — do not break exports.- Generated files in
docs/_generated/must not be hand-edited.
What ships with it
12 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.
- __init__.py 265 B runs code
- active_projects.py 2.0 KB runs code
- AGENTS.md 2.2 KB
- api_reference.py 3.3 KB runs code
- architecture_overview.py 1.3 KB runs code
- counts.py 3.7 KB runs code
- coverage_history.py 2.9 KB runs code
- exemplar_roster.py 3.0 KB runs code
- publication_records.py 2.2 KB runs code
- README.md 1.3 KB
- stage_table.py 2.8 KB runs code
- status_evidence.py 2.8 KB runs code
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.
- 2d ago First seen · 42 lines · 28 tokens per session scan A 75f0e4c7f43f
template-docgen is a skill published in the GitHub repository docxology/template (19 stars, last pushed today), licensed Apache-2.0. It adds 28 tokens to every session and 271 once invoked, about $0.0001 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-09-03.
Other skills, from other repositories
computer-systems-analyst
Use when a task needs the judgment of a Computer Systems Analyst — running requirements elicitation and gap analysis against a target system, writing a feasibility study for a build-vs-buy-vs-customize decision, designing a system integration approach (point-to-point vs middleware vs API-led), scoping data-migration…
construction-trades-supervisor
Use when a task needs the judgment of a Construction Trades Supervisor (foreman) — allocating a crew's daily task assignments against a labor-unit budget, deciding whether today's scope requires a formally designated OSHA competent person, arbitrating a trade-sequencing conflict between crews needing the same physical…
corrections-sergeant
Use when a task needs the judgment of a corrections sergeant or shift supervisor — mandating overtime to restore a post below minimum staffing, reviewing and countersigning a subordinate's use-of-force report, running progressive discipline for a line officer, assuming incident command during a multi-officer response…
architectural-engineering-manager
Use when a task needs the judgment of an Architecture/Engineering firm or department manager — pricing a project fee (lump sum vs. hourly vs. % of construction cost), staffing a project against backlog, evaluating scope creep on a fixed-fee job, managing professional liability exposure, or deciding whether to pursue a…
biomass-power-plant-manager
Use when a task needs the judgment of a Biomass Power Plant Manager — running a biomass-fired power generation facility, managing fuel supply logistics and quality variability, evaluating combustion/efficiency problems, or balancing generation output against fuel cost and emissions constraints.
chief-executive
Use when a task needs the judgment of a CEO/chief executive — setting company strategy, allocating scarce resources (capital, headcount, attention) across competing priorities, making a call that only the top of the org can make, or communicating direction to the board, investors, or the whole company.