render

A skill for creating PNG, JPEG, and WebP images from text prompts by writing and running Python scripts. It supports photo editing, vector-like graphics, charts, layouts, and procedural artwork.

In plain words
What is it for?
Use it for image generation, compositing, filters, graphics, logos, icons, typography-heavy designs, statistical charts, and scientific plots.
Why use it?
It helps create raster images without manually drawing every pixel or choosing the rendering library yourself.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/suxrobgm/rasterize/render
Any agent
npx skills add suxrobGM/rasterize --skill render
Clone the repo
git clone --depth 1 https://github.com/suxrobGM/rasterize

Made for: Claude Code, Codex.

Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,742 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00038 $0.01742
Opus 5 $0.00019 $0.00871
Sonnet 5 $0.00008 $0.00348
Haiku 4.5 $0.00004 $0.00174

Measured yesterday against content hash aca285f4823e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

render 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 yesterday.

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.

skills/render/SKILL.md · 171 lines

How it starts

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

Rasterize — Multi-Engine Raster Image Generation

Generate professional raster images by routing each request to the best rendering engine. You write Python code; the engine does the pixel work.

Quick Start

  1. Read the user's request
  2. Pick an engine using the routing table below
  3. Read the engine's reference doc from ./references/
  4. Write a self-contained Python script that outputs to the target path
  5. Run the script using pdm run python <script.py> (to use the plugin's venv), verify the output, deliver the image

Environment: This plugin uses a pdm-managed virtual environment. Always run generation scripts with pdm run python from the plugin root. If pdm is not set up yet, run python scripts/setup.py first.

Engine Routing Table

Request type Engine Reference file
Photo manipulation, compositing, filters, pixel ops, simple graphics Pillow ./references/pillow.md
Clean vector-style graphics, logos, icons, anti-aliased shapes, typography-heavy designs Cairo ./references/cairo.md
Statistical charts, scientific plots, data visualization (static) Matplotlib + Seaborn ./references/matplotlib.md
Complex interactive-looking dashboards, rich data viz with annotations Plotly (static export) ./references/plotly.md
Complex layouts, HTML/CSS designs, UI mockups, anything with web fonts or CSS effects Playwright (HTML→PNG) ./references/playwright.md

Routing decision hints

  • If the request mentions "chart", "plot", "graph", "histogram", "scatter", "heatmap", or data columns → Matplotlib/Seaborn (or Plotly for fancier output)
  • If the request is about a logo, icon, badge, geometric design, or anything that needs crisp anti-aliased curves → Cairo
  • If the request says "banner", "social media post", "thumbnail" with text overlays on photos → Pillow
  • If the request describes a full-page layout, poster with complex typography, card design, or UI mockup → Playwright
  • If the request is about generative/procedural/algorithmic art → Cairo (or Pillow if it's pixel-manipulation art like fractals)
  • When in doubt between Pillow and Cairo → prefer Cairo (better quality)
  • When in doubt between Matplotlib and Plotly → prefer Matplotlib (simpler, faster)

Read the full file on GitHub · 171 lines

Files

What ships with it

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

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. yesterday First seen · 171 lines · 38 tokens per session scan A aca285f4823e

Subscribe to this mod's changes

render is a skill published in the GitHub repository suxrobGM/rasterize (4 stars, last pushed 5mo ago), licensed MIT. It adds 38 tokens to every session and 1,742 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

tweet-card-generator

Given a topic, auto-searches for info, generates a tweet + matching data-card PNG (HTML→screenshot, clean cream-background style, multi-layout + multi-chart).

Ibook000/ibook-skill · 39 tokens

image-generation

Generate and edit AI images using Gemini or OpenAI. Text-to-image, text-based editing, iterative refinement.

somacoffeekyoto/imgx-mcp · 25 tokens

gemini-api

Use when the user asks about using Gemini in an enterprise environment or explicitly mentions Vertex AI, Google Cloud, or Agent Platform. Guides the usage of the Gemini API on Agent Platform with the Google Gen AI SDK. Covers SDK usage (Python, JS/TS, Go, Java, C#), capabilities like multimodal inputs, tools, media…

google/skills · 83 tokens

muapi-seedance-2

Expert Cinema Director skill for Seedance 2.0 (ByteDance) — high-fidelity video generation across Chinese, Global, and VIP tiers. Supports text-to-video, image-to-video, first-last-frame, omni reference, character training, omni-reference training, video editing, and watermark removal.

SamurAIGPT/Generative-Media-Skills · 67 tokens

muapi-media-editing

Edit and enhance images and videos with AI via muapi.ai — prompt-based editing, upscaling, background removal, face swap, lipsync, video effects, and more.

SamurAIGPT/Generative-Media-Skills · 41 tokens

muapi-media-generation

Generate AI images, videos, music, and audio from the terminal via muapi.ai — supports 100+ models including Flux, Midjourney v7, Kling 3.0, Veo3, and Suno V5.

SamurAIGPT/Generative-Media-Skills · 52 tokens