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/localplugins/pluginsnpx agentmods add skills/localplugins/plugins/generate-doc-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/localplugins/plugins/generate-doc-template)<a href="https://agentmods.dev/skills/localplugins/plugins/generate-doc-template"><img src="https://agentmods.dev/badge/skills/localplugins/plugins/generate-doc-template/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/localplugins/plugins/generate-doc-template"><img src="https://agentmods.dev/badge/skills/localplugins/plugins/generate-doc-template.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.00098 | $0.01325 |
| Opus 5.5 | $0.00039 | $0.00530 |
| Sonnet 5.5 | $0.00020 | $0.00265 |
| Haiku 4.5 | $0.00010 | $0.00133 |
Grade A, and why
generate-doc-template 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 — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate Doc Template
Generates a branded, print- or screen-ready document template as SVG from the active brand profile, with editable content zones.
Overview
The generate-doc-template skill turns a title (and optional subtitle and body) into a
branded document or deck master. Output is vector SVG, so it scales cleanly, prints
crisply, and needs no account, key, or network call. The generator (lib/doctpl.mjs)
draws a shared margin grid, brand mark, and accent rules, then fills the requested
kind; the skill resolves the active profile, picks the kind, runs the generator, and
saves the file. Convert to PDF or PNG downstream with /brand-export.
Prerequisites
- An active brand profile created with
/brand-new(abrand/directory, orbrands/[slug]/). Read loads itscolor-system.jsonandtypography.json. - Node.js on the PATH — the generator runs as
node lib/doctpl.mjs. - Write access to an
output/directory in the working repository. - A title string; subtitle and body are optional parameters.
Instructions
-
Run
/brand-statusto confirm the active brand; if none exists, tell the user to run/brand-newand stop. -
Use Glob to locate the active brand directory, then Read and validate the profile with
validateProfile. Stop with the offending field if validation fails. -
Choose the kind —
letterhead(default),slide, orone-pager. Ask the user when it is unclear. -
Generate the template by running the node generator:
import { loadProfile } from '../../lib/brand.mjs'; import { buildDoc } from '../../lib/doctpl.mjs'; const profile = loadProfile(activeDir); const { svg, kind } = buildDoc(profile, { kind: 'letterhead', title: 'Offer of Employment', body: 'Dear candidate, we are delighted to extend an offer.', }); -
Write the result with the Write tool to
output/[slug]-[kind].svg. -
Hand the file to the
visual-guardiansubagent for a palette, contrast, and type pass; apply its fixes or surface its flags. -
Report the saved path and point out the editable zones so the user can customize or adapt the copy:
id="title",id="subtitle", andid="body".
What ships with it
1 file 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 · 117 lines · 98 tokens per session scan A fba51463b901
generate-doc-template is a skill published in the GitHub repository localplugins/plugins (5 stars, last pushed 3mo ago), licensed MIT. It adds 98 tokens to every session and 1,325 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-08-31.
generate-doc-template compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-doc-templatelocalplugins/plugins | Skill | 5 | 3mo ago | MIT | A | 98 | Claude Code |
| visual-explainerNikiforovAll/claude-code-rules | Skill | 142 | 4d ago | Apache-2.0 | A | 84 | Claude Code |
| summarize-meetingphuryn/pm-skills | Skill | 28k | 8d ago | MIT | A | 51 | Claude Code |
| summarize-interviewphuryn/pm-skills | Skill | 28k | 8d ago | MIT | A | 46 | Claude Code |
| customer-journey-mapphuryn/pm-skills | Skill | 28k | 8d ago | MIT | A | 49 | Claude Code |
| reflect-solutionNikiforovAll/claude-code-rules | Skill | 142 | 4d ago | Apache-2.0 | A | 0 | Claude Code |
| doc-typesetrojim666/SztuCode | Skill | 110 | 14d ago | MIT | A | 127 | Claude Code, Codex |