pixelart

pixelart is a skill for Claude Code, Codex from SbName/yoyopixel. It costs 37 tokens per session (10,524 once invoked), scanned A, original, MIT.

A code-based tool for creating pixel-art images as standalone HTML files. It can make individual assets, game tilesets, or related sprite sheets at chosen sizes.

In plain words
What is it for?
Making icons, characters, landscapes, game tiles, sprite sheets, and other procedural pixel-art assets.
Why use it?
It creates artwork without external images or installed libraries, so the result can be opened and shared as one file.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/sbname/yoyopixel/pixelart
Any agent
npx skills add SbName/yoyopixel --skill pixelart
Clone the repo
git clone --depth 1 https://github.com/SbName/yoyopixel

Made for: Claude Code, Codex.

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 pixelart

README.md
[![agentmods](https://agentmods.dev/badge/skills/sbname/yoyopixel/pixelart.svg)](https://agentmods.dev/skills/sbname/yoyopixel/pixelart)
Your own site
<a href="https://agentmods.dev/skills/sbname/yoyopixel/pixelart"><img src="https://agentmods.dev/badge/skills/sbname/yoyopixel/pixelart.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00037 $0.10524
Opus 5 $0.00018 $0.05262
Sonnet 5 $0.00007 $0.02105
Haiku 4.5 $0.00004 $0.01052

Measured 5d ago against content hash 68509e149b8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pixelart 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 5d 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.

.claude/skills/pixelart/SKILL.md · 829 lines

How it starts

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

Generate a pixel art HTML file based on the user's request: $ARGUMENTS

Input Modes

Mode 1 — Single asset (default): Parse input to extract size (e.g. 16x16, 32x32, 192x128) and prompt. If size is omitted, default to 16x16.

/pixelart 32x32, a wizard with a glowing staff
/pixelart 80x85, stone cottage with red tile roof
/pixelart 50x40, a fox sitting in grass

Mode 2 — Tileset: When prompt contains "tileset", "sprite sheet", or "asset pack", generate a complete sheet of related assets on a single canvas.

/pixelart tileset, medieval village
/pixelart tileset, dungeon crawler
/pixelart tileset, forest nature pack
/pixelart tileset, farm animals

Output

A single, complete, self-contained .html file. No external images or dependencies.


Auto-Decision Rules

Size → Detail Level

Size Detail Max Colors Shading
8×8 minimal 3–5 Flat colors, no shading
12×12 standard 5–8 1 shadow tone per material
16×16 standard 8–12 1 shadow tone per material
16×24, 24×24 detailed 10–16 Highlight + base + shadow per material
32×32+ detailed 12–20 Highlight + base + shadow, texture hints
48×48+ ultra 15–25 Multi-layer shading, dithering
96×64+ (canvas) ultra Unlimited Procedural FBM noise, Bayer dithering
48×96+ (asset) ultra Unlimited Procedural texture engine, region-based

Prompt → Rendering Method

Prompt implies... Method
Simple icon / item / emoji CSS box-shadow (zero JS, static)
Character / sprite CSS Grid + JS (per-pixel control)
"animated", movement, effects Grid + animation JS
Landscape, scene, environment Canvas (procedural generation)
Building, tileset, game asset Canvas (procedural texture engine)
Animal, creature, organic Canvas (procedural organic textures)

Read the full file on GitHub · 829 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. 5d ago First seen · 829 lines · 0 tokens per session scan A 68509e149b8c

Subscribe to this mod's changes

pixelart is a skill published in the GitHub repository SbName/yoyopixel (5 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 10,524 once invoked, about $0.0002 per session on Opus 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-08-31.

Related

Other skills, from other repositories