generate-doc-template

generate-doc-template is a skill for Claude Code from localplugins/plugins. It costs 98 tokens per session (1,325 once invoked), scanned A, original, MIT.

A generator for branded SVG document layouts, including letterheads, slides, and one-page documents, with editable areas for titles, subtitles, and body text. SVG is a shape-based image format that stays sharp when resized.

In plain words
What is it for?
Use it to create a letterhead, presentation slide or deck master, or branded one-pager from an active brand profile.
Why use it?
It provides a reusable branded layout without requiring an account, API key, or network connection. The same file can be used on screen or converted to PDF or PNG later.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { loadProfile } from '../../lib/brand.mjs';.

Part of the brand-forge plugin — 4 skills, 5 commands, 2 agents, 1 hook shipped together

Good fit Use it to create a letterhead, presentation slide or deck master, or branded one-pager from an active brand profile.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/localplugins/plugins
agentmods
npx agentmods add skills/localplugins/plugins/generate-doc-template

Made for: Claude Code.

Or install brand-forge, the plugin that ships this one along with the rest of its 4 skills, 5 commands, 2 agents, 1 hook.

Wrote 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.

agentmods badge for generate-doc-template

README.md
[![agentmods](https://agentmods.dev/badge/skills/localplugins/plugins/generate-doc-template/github.svg)](https://agentmods.dev/skills/localplugins/plugins/generate-doc-template)
Your own site
<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.

agentmods 80×15 button for generate-doc-template

Your own site · 80×15
<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>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,325 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash fba51463b901, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

brand-forge/skills/generate-doc-template/SKILL.md · 117 lines

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 (a brand/ directory, or brands/[slug]/). Read loads its color-system.json and typography.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

  1. Run /brand-status to confirm the active brand; if none exists, tell the user to run /brand-new and stop.

  2. Use Glob to locate the active brand directory, then Read and validate the profile with validateProfile. Stop with the offending field if validation fails.

  3. Choose the kind — letterhead (default), slide, or one-pager. Ask the user when it is unclear.

  4. 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.',
    });
    
  5. Write the result with the Write tool to output/[slug]-[kind].svg.

  6. Hand the file to the visual-guardian subagent for a palette, contrast, and type pass; apply its fixes or surface its flags.

  7. Report the saved path and point out the editable zones so the user can customize or adapt the copy: id="title", id="subtitle", and id="body".

Read the full file on GitHub · 117 lines

Files

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.

Changes

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.

  1. 2mo ago First seen · 117 lines · 98 tokens per session scan A fba51463b901

Subscribe to this mod's changes

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.

Related

generate-doc-template compared with skills from other repositories

generate-doc-template next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-doc-templatelocalplugins/pluginsSkill53mo agoMITA98Claude Code
visual-explainerNikiforovAll/claude-code-rulesSkill1424d agoApache-2.0A84Claude Code
summarize-meetingphuryn/pm-skillsSkill28k8d agoMITA51Claude Code
summarize-interviewphuryn/pm-skillsSkill28k8d agoMITA46Claude Code
customer-journey-mapphuryn/pm-skillsSkill28k8d agoMITA49Claude Code
reflect-solutionNikiforovAll/claude-code-rulesSkill1424d agoApache-2.0A0Claude Code
doc-typesetrojim666/SztuCodeSkill11014d agoMITA127Claude Code, Codex