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/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/docx-template-fillWrote 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/morningstar202604/awesome-skillkit/docx-template-fill)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/docx-template-fill"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/docx-template-fill/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/morningstar202604/awesome-skillkit/docx-template-fill"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/docx-template-fill.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.00093 | $0.01077 |
| Opus 5.5 | $0.00037 | $0.00431 |
| Sonnet 5.5 | $0.00019 | $0.00215 |
| Haiku 4.5 | $0.00009 | $0.00108 |
Grade A, and why
docx-template-fill 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 2mo 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.
DOCX Template Fill (Word Template Filling and Annotations)
Fill {{placeholders}} in an existing Word template with JSON data, and
optionally append a revision comment. Core judgment: use this skill only when
the template already exists and only data is missing; to create a document
from nothing, use docx-writer.
Red lines (SKILL-STANDARD-v2): default dry-run only prints what would be filled, no file written; add
--applyto write to a new file, source template is never modified; zero network, zero copying.
Input Checklist
| Input | Required | Notes |
|---|---|---|
| Template .docx | yes | Contains {{name}}-style placeholders |
| Data JSON | yes | Keys match placeholder names exactly; missing keys are left blank and warned |
| Output filename | required with apply | Defaults to filled.docx |
| Comment author/text | no | --note-author / --note-text |
When inputs are missing, ask all at once: template path + data file path + whether to add a comment.
Pre-flight Checks
- Does
python3 -c "import docx"work? If not → promptpip install python-docx, or run--list-onlyfirst to see placeholders (list-only also needs docx parsing; without docx the script degrades to printing data keys). - Are placeholders all UPPER_SNAKE_CASE (
EMP_NAME) or lowercase (emp_name)? JSON keys must exactly match.
Workflow
# 1. Dry run: see what will be filled and which placeholders lack data
python3 scripts/fill_template.py --template assets/sample-template.docx --data assets/sample-data.json
# 2. Real write (output to new file, template untouched)
python3 scripts/fill_template.py --template assets/sample-template.docx --data assets/sample-data.json \
--apply -o ./out.docx
# 3. Add a revision comment
python3 scripts/fill_template.py --template assets/sample-template.docx --data assets/sample-data.json \
--apply -o ./out.docx --note-author Reviewer Zhang --note-text "Please recheck the amount in item 3"
# 4. List placeholders only
python3 scripts/fill_template.py --template assets/sample-template.docx --data assets/sample-data.json --list-only
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.
- 2mo ago Changed · +7 lines · -3 tokens per session b9510647fd51
- 2mo ago First seen · 92 lines · 96 tokens per session scan A a91c5b607110
docx-template-fill is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 93 tokens to every session and 1,077 once invoked, about $0.0004 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-23.
docx-template-fill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docx-template-fillMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 93 | Claude Code, Codex |
| dcf-modelNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 14 | Claude Code, Codex |
| boxNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 14 | Claude Code, Codex |
| pptxmudler/LocalAI | Skill | 51k | today | MIT | A | 40 | Claude Code, Codex |
| mantis-reportgoogle/mantis | Skill | 2.9k | today | Apache-2.0 | A | 44 | Claude Code, Codex |
| pdf-toolkitopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 127 | Claude Code, Codex |
| structuring-radiology-reportsmaziyarpanahi/openmed | Skill | 5.9k | yesterday | Apache-2.0 | A | 195 | Claude Code |