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.
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.
npx skills add 0x0funky/agent-sprite-forge --skill generate2dmediagit clone --depth 1 https://github.com/0x0funky/agent-sprite-forgeWrote 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/0x0funky/agent-sprite-forge/generate2dmedia)<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.
<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>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.00211 | $0.02321 |
| Opus 5.5 | $0.00084 | $0.00928 |
| Sonnet 5.5 | $0.00042 | $0.00464 |
| Haiku 4.5 | $0.00021 | $0.00232 |
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.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- generate2dmedia — 100% identical, 0 lines differ
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
- Planning, keying, registering or packaging: generate2dsprite, video2dsprite, generate2dmap.
- Code-drawn art the user asked for: codeart2d.
Route order (owner decision 2026-10-06)
- API, every provider whose key is configured, in this order (the user's
providers.ordergoes first). Images: OpenAI (gpt-image-2.5-sunburst), Google Gemini (gemini-3.1-flash-image;--tier herotakesgemini-3-pro-imagefor 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 drafttakes 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. - 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_genwith 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. - codeart2d, only when the user explicitly asks for code-drawn art or
route_media.pyprintsno-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)
What ships with it
19 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.
- agents/openai.yaml 388 B
- references/agent-profiles/README.md 1.3 KB
- references/agent-profiles/video-agent.md 981 B
- references/api-usage.md 19 KB
- references/capabilities.json 33 KB
- references/cli-routes.md 15 KB
- references/prices.json 24 KB
- references/provider-survey.md 17 KB
- references/route-media.md 13 KB
- references/schemas/common.schema.json 13 KB
- references/schemas/media.schema.json 23 KB
- scripts/cli_media.py 113 KB runs code
- scripts/forge_doctor.py 72 KB runs code
- scripts/generate_media.py 72 KB runs code
- scripts/media_config.py 9.1 KB runs code
- scripts/media_ledger.py 29 KB runs code
- scripts/media_mp4.py 9.4 KB runs code
- scripts/media_providers.py 67 KB runs code
- scripts/route_media.py 42 KB runs code
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.
- 11d ago First seen · 74 lines · 211 tokens per session scan A 26f8c9fef202
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.
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…
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.
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…
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…
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)…
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…