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-graphicWrote 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-graphic)<a href="https://agentmods.dev/skills/localplugins/plugins/generate-graphic"><img src="https://agentmods.dev/badge/skills/localplugins/plugins/generate-graphic/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-graphic"><img src="https://agentmods.dev/badge/skills/localplugins/plugins/generate-graphic.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.00087 | $0.01418 |
| Opus 5.5 | $0.00035 | $0.00567 |
| Sonnet 5.5 | $0.00017 | $0.00284 |
| Haiku 4.5 | $0.00009 | $0.00142 |
Grade A, and why
generate-graphic 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.
How it starts
The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generate Graphic
Generates an on-brand marketing graphic through an image model — the one opt-in feature that reaches the network — optionally stamped with the brand logo and a caption.
Overview
The generate-graphic skill is the opt-in raster engine. Everything else in brand-forge
(logos, social, docs) stays vector and zero-permission; this skill is the only path
that calls an external image provider, so it runs only when a user explicitly wants a
photographic or illustrative graphic. The generator builds a brand-aware prompt with
lib/raster.mjs, calls the provider with lib/genimage.mjs, and can composite a crisp
vector logo and caption over the result with lib/composite.mjs. Text is deliberately
kept out of the image and added as vector on top.
Prerequisites
- An active brand profile created with
/brand-new. Read loads itscolor-system.json,typography.json, andvisual-identity.md. - Two opt-in signals, both required:
BRAND_FORGE_RASTER=1and a provider key (GEMINI_API_KEYby default, orOPENAI_API_KEY). The30-preflightemitter surfaces this at session start. - Authentication: the provider api key is read from that environment variable and sent as a request header, never placed in the URL. No credentials are written to disk.
- Node.js on the PATH and Write access to an
output/directory.
Instructions
-
Verify both opt-in signals are set. If either is missing, stop, explain how to enable raster, and offer the vector path (
generate-socialor a template) instead, which needs neither. -
Use Glob to locate the active brand directory, then Read and validate the profile with
validateProfile. -
Build the prompt with
lib/raster.mjs(no network). It encodes the palette in words, the imagery style, and the tone, and turns the brand's don't-rules into an "Avoid:" clause. Warn the user when literal text is requested and route text-heavy work to the vector engine.import { loadProfile } from '../../lib/brand.mjs'; import { buildRasterPrompt } from '../../lib/raster.mjs'; const profile = loadProfile(activeDir); const prompt = buildRasterPrompt(profile, { subject: 'a mountain trail at dawn' });
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.
- 3mo ago First seen · 120 lines · 87 tokens per session scan A 3eff6998c70f
generate-graphic is a skill published in the GitHub repository localplugins/plugins (5 stars, last pushed 4mo ago), licensed MIT. It adds 87 tokens to every session and 1,418 once invoked, about $0.0003 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-graphic compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-graphiclocalplugins/plugins | Skill | 5 | 4mo ago | MIT | A | 87 | Claude Code |
| metrics-dashboardphuryn/pm-skills | Skill | 28k | 21d ago | MIT | A | 47 | Claude Code |
| brainstorm-okrsphuryn/pm-skills | Skill | 28k | 21d ago | MIT | A | 49 | Claude Code |
| pre-mortemphuryn/pm-skills | Skill | 28k | 21d ago | MIT | A | 79 | Claude Code |
| ab-test-analysisphuryn/pm-skills | Skill | 28k | 21d ago | MIT | A | 54 | Claude Code |
| outcome-roadmapphuryn/pm-skills | Skill | 28k | 21d ago | MIT | A | 53 | Claude Code |
| retrophuryn/pm-skills | Skill | 28k | 21d ago | MIT | A | 52 | Claude Code |