Tooluck logoTooluck
SKILL.md

codeart2d

Agent skill from0x0funky/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.

How to install codeart2d

install codeart2d
# install the agent-sprite-forge pack with the skills CLI
npx skills add 0x0funky/agent-sprite-forge

# or add only this skill to Claude Code: copy the folder

skills/codeart2d/

# into

~/.claude/skills/codeart2d/ (all projects)

.claude/skills/codeart2d/ (one project)

skills/codeart2d/SKILL.md

MITFull file
1# Code Art 2D
2
3You write the art as text (PixelSpec JSON, portable SVG, rig, FX, material, layout or parallax
4specs); the scripts render, check and package it. No image model is involved. It is a declared art
5source (`art_source: "code"`), not a placeholder.
6
7## Use when
8
9- The user explicitly asks for code-drawn art: a PixelSpec or SVG sprite, palette variants drawn in code, a code rig, code FX, a seam-proven autotile set, a code-made layout, stylized parallax or ambient loops.
10- `route_media.py` prints `no-route` (exit 3): no API key is configured and no local image or video route exists. Say so, and offer to add a key or a CLI as well.
11- Pose and layout guides that help an image model (support material, not final art).
12
13## Do not use when
14
15- Any art request while an image or video route exists and the user did not ask for code art: [generate2dsprite](../generate2dsprite/SKILL.md), [generate2dmap](../generate2dmap/SKILL.md) or [video2dsprite](../video2dsprite/SKILL.md) generate it.
16- Painterly, organic or identity-rich art, likenesses, portraits, HD-2D plates or textured terrain; realistic fire, smoke or water.
17- Never trace licensed characters into specs.
18
19## Capability check (once per session)
20…

Excerpt shown under the repository's MIT license.

More skills in agent-sprite-forge

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates