generate2dmedia

generate2dmedia is a skill for Claude Code, Codex from 0x0funky/agent-sprite-forge. It costs 211 tokens per session (2,321 once invoked), scanned A, original, MIT.

A media-generation routing skill that creates images, reference edits, or short image-to-video clips through a configured provider or another available route. It is a lower-level step used by other skills that plan and check the finished asset.

In plain words
What is it for?
Use it when a media pipeline needs a generated image or image-to-video clip, or when checking available providers and API-key settings. It supports several external image and video providers when their routes are configured.
Why use it?
It provides one place to choose an available media route and handle provider configuration. It separates making raw media from planning, checking, and packaging an asset.

Skill for Claude CodeCodex

Written for Claude Code and Codex: ${CLAUDE_SKILL_DIR} variable, but also agents/openai.yaml present. Also seen: mentions Claude Code; mentions Codex.

Part of the agent-sprite-forge plugin — 5 skills shipped together

Good fit Use it when a media pipeline needs a generated image or image-to-video clip, or when checking available providers and API-key settings. It supports several external image and video providers when their routes are configured.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0x0funky/agent-sprite-forge/generate2dmedia
About the project

Agent Sprite Forge is a Codex-oriented workflow for producing reusable 2D game assets such as sprite sheets, map layers, transparent PNG frames, and animated GIFs. It supports game developers working with Godot, Unity, or other 2D workflows by combining image generation with local processing, asset validation, and engine-ready exports, and its catalogue skills provide the workflow.

0x0funky/agent-sprite-forge · 4,488 stars · on GitHub

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.

Any agent
npx skills add 0x0funky/agent-sprite-forge --skill generate2dmedia
Clone the repo
git clone --depth 1 https://github.com/0x0funky/agent-sprite-forge

Made for: Claude Code, Codex.

Or install agent-sprite-forge, the plugin that ships this one along with the rest of its 5 skills.

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 generate2dmedia

README.md
[![agentmods](https://agentmods.dev/badge/skills/0x0funky/agent-sprite-forge/generate2dmedia/github.svg)](https://agentmods.dev/skills/0x0funky/agent-sprite-forge/generate2dmedia)
Your own site
<a href="https://agentmods.dev/skills/0x0funky/agent-sprite-forge/generate2dmedia"><img src="https://agentmods.dev/badge/skills/0x0funky/agent-sprite-forge/generate2dmedia/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 generate2dmedia

Your own site · 80×15
<a href="https://agentmods.dev/skills/0x0funky/agent-sprite-forge/generate2dmedia"><img src="https://agentmods.dev/badge/skills/0x0funky/agent-sprite-forge/generate2dmedia.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 211 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,321 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.00211 $0.02321
Opus 5.5 $0.00084 $0.00928
Sonnet 5.5 $0.00042 $0.00464
Haiku 4.5 $0.00021 $0.00232

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

Security

Grade A, and why

generate2dmedia 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 11d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/cli_media.py, scripts/forge_doctor.py, scripts/generate_media.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/generate2dmedia/SKILL.md · 74 lines

How it starts

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

Generate 2D Media

The route layer. It makes raw media; the owning skill plans the asset before and checks it after.

Use when

  • Any Forge skill (or its pipeline script) needs a generated image, reference edit or image-to-video clip.
  • Once per session, to see which routes work here (forge_doctor.py).
  • The user asks to configure an API key, to use a particular route, or about spend.

Do not use when

Route order (owner decision 2026-10-06)

  1. API, every provider whose key is configured, in this order (the user's providers.order goes first). Images: OpenAI (gpt-image-2.5-sunburst), Google Gemini (gemini-3.1-flash-image; --tier hero takes gemini-3-pro-image for hero masters), xAI (grok-imagine-image-2.0), BytePlus ModelArk (Seedream 5.0), fal.ai (reference edits). Video: xAI (grok-imagine-video-1.5; --tier draft takes 1.5 Lite), BytePlus ModelArk (Seedance 2.0), fal.ai (Kling v3, Veo 3.1, Luma, MiniMax, Wan, Vidu, LTX). A configured key is the owner's consent: no per-call question.
  2. Local: your own image tool if you have one (Codex image_gen, Grok's native tools), otherwise the user's signed-in CLI: Codex (local CLI) image_gen with references attached, then Grok (local CLI) one-shot image or edit; video Grok (local CLI) in ACP mode. An installed CLI is used as is; its first successful run records the VERIFIED proof.
  3. codeart2d, only when the user explicitly asks for code-drawn art or route_media.py prints no-route (exit 3).

Always name the route that ran ("OpenAI API", "Google Gemini API", "xAI API", "BytePlus ModelArk API", "fal.ai API", "Codex (local CLI)", "Grok (local CLI)"). Details: route-media.md.

Capability check (once per session)

Read the full file on GitHub · 74 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. 11d ago First seen · 74 lines · 211 tokens per session scan A 26f8c9fef202

Subscribe to this mod's changes

generate2dmedia is a skill published in the GitHub repository 0x0funky/agent-sprite-forge (4,488 stars, last pushed 11d ago), licensed MIT. It adds 211 tokens to every session and 2,321 once invoked, about $0.0008 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-10-07.

Related

Other skills, from other repositories

img2blockbench

Reconstruct a Minecraft-style creature, character, prop, or vehicle concept as a native Blockbench model using an optional provider-selected 3D mesh, agent vision, and deterministic compilation. Use when Codex should turn PNG, JPEG, or WebP artwork, optionally accompanied by a textured GLB or GLTF from any image-to-3D…

orca-gamedev/img2blockbench · 106 tokens

pyxel

Build, debug, and verify games made with Pyxel, the retro game engine for Python. Use whenever a task creates, changes, tests, or reviews a Pyxel game, or asks for a retro Python game that should use Pyxel. Do not use for other engines or general Python work.

kitao/pyxel-skill · 63 tokens

clawd-emotes

Create original pixel-art "Clawd" crab emotes as pure SVG + CSS keyframe animations (no frame-by-frame GIFs, no raster sprites), and optionally export them to looping GIFs. Each emote is a tiny pixel crab doing an activity — holding a prop, wearing a hat, reacting — built from / / and animated with @keyframes. Use…

xixicc186/clawd-emotes-skill · 204 tokens

clawd-photo-compositor

Add the canonical Clawd character to a user-provided photograph by selecting one bundled pose reference and compositing it with the photo through built-in image generation. Use this skill whenever the user asks to put, add, place, hide, hang, sit, stand, sleep, lean, climb, hug, push, pull, or otherwise make Clawd…

xixicc186/clawd-emotes-skill · 121 tokens

cutify-that-tab

Add a cute, hand-authored SVG favicon to a web app — the tiny icon that shows in the browser tab. Use when the user asks to add a favicon, browser tab icon, tab logo, page icon, site icon, or "cute thing in the tab," or says the current tab shows a blank/default square. Covers 3 techniques in increasing effort: (A)…

wan-huiyan/cutify-this · 256 tokens

cutify-that-terminal

Make a macOS terminal cute and then PROVE it renders — themes, rounded fonts, and a coloured Starship prompt, with a verification step that catches the "?" boxes before the user sees them. Use when the user asks to make their terminal prettier, cuter, nicer, less boring; wants a colour scheme or theme (Catppuccin…

wan-huiyan/cutify-this · 259 tokens