Skip to content
mcp/skillhub

Agent Skill

Generate2dmedia skill

generate2dmedia0x0funky/agent-sprite-forgeskills/generate2dmedia/SKILL.md

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

4.5kMIT

always on

211 tokname + description

once used

2,104 tokSKILL.md body

bundled files

198 scripts

repo stars

4.5kGitHub

Install the Generate2dmedia skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/0x0funky/agent-sprite-forge --skill generate2dmedia

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/0x0funky/agent-sprite-forge.git /tmp/agent-sprite-forge
mkdir -p ~/.claude/skills
cp -R /tmp/agent-sprite-forge/skills/generate2dmedia ~/.claude/skills/generate2dmedia

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description211 tok
When the agent uses itThe SKILL.md instructions2,104 tok
Only if opened19 bundled files (572 KB)varies

Until it is used, generate2dmedia costs about 6.5× less than the median MCP server we measured (1,363 tokens on every turn). Installing all 5 skills from 0x0funky/agent-sprite-forge would load 1,046 tokens of descriptions. Skills vs MCP study

Checks

  • Ships scripts the agent can run. Read them before installing.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Generate 2D Media
  • Use when
  • Do not use when
  • Route order (owner decision 2026-10-06)
  • Capability check (once per session)
  • Generate (routemedia.py)
  • Keys
  • Spend and the ledger
  • Lower-level tools
  • Host notes
  • Commands and outputs

More skills from 0x0funky/agent-sprite-forge

All skills in this repo
  1. codeart2d0x0funky/agent-sprite-forge

    Explicit-only last resort. Draws game art from code, with no image model - pixel sprites from a PixelSpec, flat vector props, UI and icons from portable SVG, rigged characters with planted feet, FX with a JS runtime, seam-proven autotiles, playable top-down layouts with collision, stylized parallax and ambient plate motion - palette-exact, with QA and review sheets. Use only when the user explicitly asks for code-drawn art, or when generate2dmedia route_media.py finds no image or video route (no-route, exit 3). Never the default - image generation (generate2dsprite, generate2dmap, video2dsprite) comes first for characters, props, maps and FX. Not for painterly, detailed or likeness art, HD-2D plates or realistic fire, smoke or water. Always disclose the result as code-drawn.

    4.5k15186 tok idle · 2,314 in use
  2. generate2dmap0x0funky/agent-sprite-forge

    Plan and build 2D game maps and scenes - top-down and side-scrolling levels, tilemaps, prop packs, parallax backgrounds and HD-2D battle or story plates - with collision, navigation and reachability checks, environment motion, a playable HTML preview and export to Tiled, Godot 4 or LDtk. Map art (terrain, tiles, props, plates, parallax layers) is image generation by default, through generate2dmedia route_media.py (the API when a key is configured, else the local Codex or Grok CLI); map data (layout, collision, exits, spawns) is written as data. Use for any map, level, room, scene, background, terrain or prop-kit request. Not for characters, creatures, items or FX (generate2dsprite), character animation (video2dsprite), code-drawn tiles or maps (codeart2d, only on request) or calling an image or video API by itself (generate2dmedia).

    4.5k26211 tok idle · 2,742 in use
  3. generate2dsprite0x0funky/agent-sprite-forge

    Make game-ready 2D characters, creatures, props, icons and FX as master stills, sprite sheets or animation clips. Plan size, motion and finish; generate the art (image generation is the default, through generate2dmedia route_media.py - the API when a key is configured, else the local Codex or Grok CLI); approve one master still per character; then key, slice, register, scale, palette, QA and export frames for a game engine (Aseprite JSON, Godot SpriteFrames or Sprite3D). HD finish by default, pixel finish on request. Character animation is one image-to-video clip per action from the master (video2dsprite); sheets are for FX, icons and props. Use for sprites, masters, sheets, frame-by-frame animation and packaging frames from any source. Not for maps, tiles or backgrounds (generate2dmap), video clips (video2dsprite), code-drawn art (codeart2d, only on request) or calling an image or video API by itself (generate2dmedia).

    4.5k15223 tok idle · 3,375 in use
  4. video2dsprite0x0funky/agent-sprite-forge

    Turn one approved master still into a character's whole animated sprite set - one image-to-video clip per action (idle, walk, run, attack, jump, hurt, cast and so on), all from that still, generated through generate2dmedia route_media.py (the xAI API when a key is configured, else the local Grok CLI) - then gate each take, key it with a soft matte, register it to the master, pick loops or retime actions, finish (HD by default, pixel on request) and package fixed-canvas frames, alpha WebM, packed MP4 for iPhone and a PNG fallback with engine metadata and a JS runtime. Also processes a supplied clip. Use for character and creature animation, fluid motion and any video-to-sprite work. Not for FX, icon or prop sheets (generate2dsprite), maps or plate loops (generate2dmap), code-drawn animation (codeart2d, only on request) or calling a video API by itself (generate2dmedia).

    4.5k19215 tok idle · 3,761 in use