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 allcolor/PawFlow-Agents --skill doc-templatesgit clone --depth 1 https://github.com/allcolor/PawFlow-AgentsWrote 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/allcolor/pawflow-agents/doc-templates)<a href="https://agentmods.dev/skills/allcolor/pawflow-agents/doc-templates"><img src="https://agentmods.dev/badge/skills/allcolor/pawflow-agents/doc-templates/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/allcolor/pawflow-agents/doc-templates"><img src="https://agentmods.dev/badge/skills/allcolor/pawflow-agents/doc-templates.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.00713 |
| Opus 5.5 | $0.00018 | $0.00285 |
| Sonnet 5.5 | $0.00009 | $0.00143 |
| Haiku 4.5 | $0.00004 | $0.00071 |
Grade A, and why
doc-templates 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Document templating
Using render_template
Call the render_template tool with:
template— the template text, containing${path.to.var}placeholders (same${...}syntax already used elsewhere in PawFlow for flow parameters and secret references — nothing new to learn).variables— a nested JSON object resolved by dotted path, e.g.{"dossier": {"client": "...", "type_affaire": "..."}, "delai": {"date_butoir": "..."}}.
The tool never guesses a missing value: any placeholder whose path is not
found in variables is left as an explicit [path manquant] marker in the
rendered text, and the tool's result also lists every missing path
separately (missing_variables). Always surface unresolved placeholders to
the user before presenting the draft as ready — a document with a silent
gap is worse than one that visibly flags it.
The tool only transforms text; it never writes a file itself. Present the rendered draft to the user, or write it yourself with your own tool grants if asked to save it — always as a draft, never as a sent/filed document without explicit human validation.
Bundled starter templates
Three starter templates ship bundled with this skill, under templates/
(sibling files of this SKILL.md, mounted alongside it wherever the skill
is mounted):
mise_en_demeure.md, accuse_reception.md, convocation_rdv.md. These are
examples to copy and adapt, not fixed content — a firm using this package
should customize them (letterhead, standard clauses, tone) rather than send
them as-is. Treat the shipped copies as a starting point that becomes the
firm's own editable version after first use, never re-render the signed
package content directly for every use if the firm has since edited its own
copy.
Importing an existing .docx/.pdf as a starting point
When a user wants to turn an existing document into a template:
- Content-only import (a .pdf, or a .docx where only the text matters):
extract the text, drop it into a new template draft, then the user marks
variable spots themselves by typing
${...}placeholders into the extracted text. - Formatting-preserving import (a .docx with letterhead/layout worth keeping): keep the original .docx as the template file; placeholders are inserted directly into its text runs, and rendering substitutes those runs in place rather than rebuilding the document from markdown. Never target a .pdf for formatting-preserving rendering — a PDF has no reliable editable structure for in-place substitution.
- Suggesting variable spots is assisted, never automatic. You may propose likely variable locations (names, dates, amounts detected in imported text) as highlighted suggestions to validate one by one — never insert them directly. Guessing that a name is a variable is not different from guessing a variable's value: both remain a proposal for the user to validate, never an applied fact.
What ships with it
3 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.
- 2mo ago First seen · 63 lines · 44 tokens per session scan A 7d59e7648feb
doc-templates is a skill published in the GitHub repository allcolor/PawFlow-Agents (26 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 713 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.
doc-templates compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| doc-templatesallcolor/PawFlow-Agents | Skill | 26 | yesterday | MIT | A | 44 | Claude Code, Codex |
| docxWrongStack/WrongStack | Skill | 409 | today | MIT | A | 98 | Claude Code, Codex |
| pdfWrongStack/WrongStack | Skill | 409 | today | MIT | A | 93 | Claude Code, Codex |
| office-documentsWrongStack/WrongStack | Skill | 409 | today | MIT | A | 98 | Claude Code, Codex |
| ai-provider-claude-visionagents-inc/skills | Skill | 26 | 17d ago | MIT | A | 38 | Claude Code, Codex |
| office-productivityLiHongwei-cn/lihongwei-cn | Skill | 5 | 1mo ago | MIT | A | 27 | Claude Code, Codex |
| google-docs-automationLiHongwei-cn/lihongwei-cn | Skill | 5 | 1mo ago | MIT | A | 21 | Claude Code, Codex |