Skills for Real Engineers. Straight from my .agents directory.
generate2dmedia
Agent skill from0x0funky/agent-sprite-forge
The art-route layer of the Forge skills. route_media.py is the one command that generates an image or an image-to-video clip - through the paid API of any provider whose key is configured (OpenAI, Google Gemini, xAI, BytePlus ModelArk, fal.ai; the configured key is the owner's consent), else through the user's own signed-in Codex or Grok CLI - and prints one JSON line with the route, artifact, sha256 and cost estimate; with no route it answers no-route (codeart2d is then the last resort). Also the capability check (forge_doctor), API key configuration, the spend ledger, resume and Codex image adoption. Use when a Forge skill sends a generation here, for the capability check, or when the user asks about keys, routes or spend. Not for planning, processing or QA of sprites, video frames or maps (generate2dsprite, video2dsprite, generate2dmap) or for code-drawn art (codeart2d).
How to install generate2dmedia
npx skills add 0x0funky/agent-sprite-forge# or add only this skill to Claude Code: copy the folder
skills/generate2dmedia/
# into
~/.claude/skills/generate2dmedia/ (all projects)
.claude/skills/generate2dmedia/ (one project)
1# Generate 2D Media23The route layer. It makes raw media; the owning skill plans the asset before and checks it after.45## Use when67- Any Forge skill (or its pipeline script) needs a generated image, reference edit or image-to-video clip.8- Once per session, to see which routes work here (`forge_doctor.py`).9- The user asks to configure an API key, to use a particular route, or about spend.1011## Do not use when1213- Planning, keying, registering or packaging: [generate2dsprite](../generate2dsprite/SKILL.md), [video2dsprite](../video2dsprite/SKILL.md), [generate2dmap](../generate2dmap/SKILL.md).14- Code-drawn art the user asked for: [codeart2d](../codeart2d/SKILL.md).1516## Route order (owner decision 2026-10-06)17181. **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.19…
Excerpt shown under the repository's MIT license.
More skills in agent-sprite-forge
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
