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 airmang/python-hwpx-automation --skill template-generationgit clone --depth 1 https://github.com/airmang/python-hwpx-automationWrote 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/airmang/python-hwpx-automation/template-generation)<a href="https://agentmods.dev/skills/airmang/python-hwpx-automation/template-generation"><img src="https://agentmods.dev/badge/skills/airmang/python-hwpx-automation/template-generation/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/airmang/python-hwpx-automation/template-generation"><img src="https://agentmods.dev/badge/skills/airmang/python-hwpx-automation/template-generation.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.00044 | $0.00383 |
| Opus 5.5 | $0.00018 | $0.00153 |
| Sonnet 5.5 | $0.00009 | $0.00077 |
| Haiku 4.5 | $0.00004 | $0.00038 |
Grade A, and why
template-generation 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 3mo 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 Generation
Use this workflow when the output should follow a reusable template or a controlled document structure.
Tool Order
- If a template file already exists, start with
copy_document. - Replace placeholders with
batch_replaceorsearch_and_replace. - Update structured tables with
set_table_cell_text,merge_table_cells,split_table_cell, andformat_table. - Add controlled narrative content with
add_heading,add_paragraph, andinsert_paragraph. - Use
create_custom_styleonly when repeated new content needs a reusable named style. - In advanced mode, run
validate_structurebefore handoff.
Blank-Document Fallback
When no template exists, use:
create_documentadd_headingadd_paragraph/insert_paragraphadd_tableformat_text/format_table
Minimize Layout Drift
- Prefer approved templates over rebuilding layout from scratch.
- Use named styles consistently for repeated inserted content.
- Keep placeholder replacement bounded and predictable.
When To Inspect Package Parts
- A template relies on hidden or non-obvious reference content.
- You need to confirm which section XML contains a repeated placeholder.
- The generated result must match a known package structure closely enough to justify advanced inspection.
Honest Limitations
- There is no dedicated template-fill shortcut on the active FastMCP surface.
- There is no explicit delayed-save step; edits persist immediately.
- Full reference-structure comparison still belongs upstream or in future MCP work, not in this example skill.
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.
- 3mo ago First seen · 46 lines · 44 tokens per session scan A d121f350140c
template-generation is a skill published in the GitHub repository airmang/python-hwpx-automation (71 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 383 once invoked, about $0.0002 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-30.
template-generation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| template-generationairmang/python-hwpx-automation | Skill | 71 | today | Apache-2.0 | A | 44 | Claude Code, Codex |
| obsidian-vault-workflowaka-kika/kika-obsidian-mcp | Skill | 20 | 28d ago | MIT | A | 0 | Claude Code, Codex |
| ai-hwp-readerrenovys/ai-hwp-reader | Skill | 0 | 2mo ago | MIT | A | 154 | Claude Code |
| ai-hwp-readerrenovys/ai-hwp-reader | Skill | 0 | 2mo ago | MIT | C | 0 | Claude Code |
| office-documentsTencentCloud/Octop | Skill | 13k | yesterday | MIT | A | 44 | Claude Code, Codex |
| pdf-generationaipoch/open-science | Skill | 5.5k | today | Apache-2.0 | A | 98 | Claude Code, Codex |
| pptx-generationaipoch/open-science | Skill | 5.5k | today | Apache-2.0 | A | 87 | Claude Code, Codex |