generate-poster

generate-poster is a command for Claude Code from theclaymethod/artifacture. It costs 17 tokens per session (985 once invoked), scanned A, original, MIT.

A command for creating a poster on one fixed canvas as editable HTML and as a PNG image. It uses poster-ai and can also use React source and visual-explainer components.

In plain words
What is it for?
Use it to create landscape, portrait, social, or square posters with a chosen focal element and visual style.
Why use it?
It gives developers a defined process for turning a visual brief into a reviewed poster while keeping an editable source and an image export.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the visual-explainer plugin — 1 skill, 13 commands, 11 agents shipped together

Good fit Use it to create landscape, portrait, social, or square posters with a chosen focal element and visual style.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/theclaymethod/artifacture/generate-poster
Install

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.

Clone the repo
git clone --depth 1 https://github.com/theclaymethod/artifacture

Made for: Claude Code.

Or install visual-explainer, the plugin that ships this one along with the rest of its 1 skill, 13 commands, 11 agents.

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-poster

README.md
[![agentmods](https://agentmods.dev/badge/commands/theclaymethod/artifacture/generate-poster/github.svg)](https://agentmods.dev/commands/theclaymethod/artifacture/generate-poster)
Your own site
<a href="https://agentmods.dev/commands/theclaymethod/artifacture/generate-poster"><img src="https://agentmods.dev/badge/commands/theclaymethod/artifacture/generate-poster/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-poster

Your own site · 80×15
<a href="https://agentmods.dev/commands/theclaymethod/artifacture/generate-poster"><img src="https://agentmods.dev/badge/commands/theclaymethod/artifacture/generate-poster.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 985 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.00017 $0.00985
Opus 5.5 $0.00007 $0.00394
Sonnet 5.5 $0.00003 $0.00197
Haiku 4.5 $0.00002 $0.00098

Measured 16d ago against content hash 56c08e1d3488, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-poster 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 16d 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.

plugins/visual-explainer/commands/generate-poster.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Load the visual-explainer skill, then generate a fixed-canvas poster for: $@

Authoring contract. Prefer React source. For posters that should use shared visual-explainer components or point-and-click annotation review, write a .tsx source that imports from visual-explainer-mdx/components.tsx, then export generated standalone HTML with:

npm run ve:export -- <poster.tsx> --out ~/.agent/diagrams/<name>.poster.html

Capture the verified generated page as the PNG artifact with browser screenshot tooling. If the poster specifically needs poster-ai's fixed-canvas rasterizer, keep the editable source as TSX and run the poster build / poster export commands below. Do not fall back to hand-written HTML; if both generated React HTML and poster-ai are blocked, stop and report the blocker.

Clarify. Use the request and canvas defaults below. Read references/clarify.md only when a material choice remains unresolved.

Read references/poster.md before authoring and templates/mono-industrial-poster.tsx only for the poster-ai path. Use fixed-canvas output for a poster, social image, or infographic; use a responsive page for longer reading.

Before generating:

  1. Check availability: which poster only if using the poster-ai path. If missing, use the generated React HTML + browser screenshot path above.
  2. Pick a canvas size based on intent:
    • Architecture / landscape poster: w-[1600px] h-[1000px]
    • Portrait editorial: w-[1200px] h-[1500px]
    • Social card (Twitter/LinkedIn): w-[1200px] h-[628px]
    • Square (Slack, Instagram): w-[1080px] h-[1080px]
  3. Use Hairline by default, or 3b1b for mathematical mechanisms. Read references/default-explainer-theme.md; reuse Lieflat data encodings through references/charts.md. Shared diagrams and native figures should compose through composeGraphics, then render with GraphicCanvas or the shared GraphicSlide framing. Use mono-industrial-poster.tsx only as a poster-ai mechanics reference; do not inherit its visual tokens. Use another named palette only if the user requests one.

Authoring:

  • The root of the component MUST be a single element (not a Fragment). Poster measures one element for the canvas.
  • Load Google Fonts via a <link> inside the root element. Geist Pixel Square is not on Google Fonts — load it via an inline <style> @font-face block from jsDelivr. See templates/mono-industrial-poster.tsx for the pattern.
  • Avoid Mermaid — poster's rasterizer doesn't wait long enough for Mermaid's async render. Use custom SVG, Recharts, or a pre-rendered Mermaid SVG as an <img>.
  • Let the main claim or figure establish the focal point. Do not require a hero number or a layout break.

Workflow:

  1. Draft the TSX at ~/.agent/diagrams/<name>.poster.tsx using the selected preset.
  2. Edit every line for accuracy and necessity; use Unslop only when requested and available.
  3. Build: poster build ~/.agent/diagrams/<name>.poster.tsx -o ~/.agent/diagrams/<name>.poster.html
  4. Export PNG: poster export ~/.agent/diagrams/<name>.poster.tsx -o ~/.agent/diagrams/<name>.poster.png
  5. Verify in the browser (see references/verification.md): open the HTML, confirm canvas renders correctly, hierarchy legible, status colors only on values.
  6. Canvas-fit loop (mandatory — see ./references/poster.md → "Canvas-fit verification loop"). Load the exported PNG and inspect it. The live page may overflow beyond the fixed canvas; the PNG reveals the actual crop. If text is clipped, elements are cut by the boundary, empty space suggests a collapsed grid, the hierarchy no longer reads, or the main content became unreadable, rework the TSX and re-export. Bounded at 3 attempts; if still broken, stop and report.
  7. Tell the user both file paths (HTML for live viewing with the export toolbar, PNG for sharing).

Use .poster. as an infix in the filename (payments-q1.poster.html, payments-q1.poster.png) to distinguish from the scrollable HTML output.

Read the full file on GitHub · 46 lines

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. 16d ago Changed 56c08e1d3488
  2. 1mo ago Changed dfdf097e4ac8
  3. 1mo ago First seen · 46 lines · 17 tokens per session scan A e9b2824ac562

Subscribe to this mod's changes

generate-poster is a command published in the GitHub repository theclaymethod/artifacture (3 stars, last pushed 5d ago), licensed MIT. It adds 17 tokens to every session and 985 once invoked, about $0.0001 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.