pyxel

pyxel is a skill for Claude Code, Codex from kitao/pyxel-skill. It costs 42 tokens per session (737 once invoked), scanned A, original, MIT.

A workflow for creating, changing, debugging, and checking games made with Pyxel, a Python engine for small retro-style games. It covers the basic playable game loop and visual inspection.

In plain words
What is it for?
Use it to build a small complete game, check controls and game states, inspect graphics, compare captured frames, and investigate Pyxel code problems.
Why use it?
It helps verify that a Pyxel game is not only syntactically valid but also behaves correctly when run. If the dedicated tools are unavailable, it identifies that visual and interaction checks are weaker.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build a small complete game, check controls and game states, inspect graphics, compare captured frames, and investigate Pyxel code problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kitao/pyxel-skill/pyxel-skill
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.

Any agent
npx skills add kitao/pyxel-skill --skill pyxel-skill
Clone the repo
git clone --depth 1 https://github.com/kitao/pyxel-skill

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 pyxel

README.md
[![agentmods](https://agentmods.dev/badge/skills/kitao/pyxel-skill/pyxel-skill/github.svg)](https://agentmods.dev/skills/kitao/pyxel-skill/pyxel-skill)
Your own site
<a href="https://agentmods.dev/skills/kitao/pyxel-skill/pyxel-skill"><img src="https://agentmods.dev/badge/skills/kitao/pyxel-skill/pyxel-skill/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.

agentmods 80×15 button for pyxel

Your own site · 80×15
<a href="https://agentmods.dev/skills/kitao/pyxel-skill/pyxel-skill"><img src="https://agentmods.dev/badge/skills/kitao/pyxel-skill/pyxel-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 737 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00042 $0.00737
Opus 5 $0.00021 $0.00368
Sonnet 5 $0.00008 $0.00147
Haiku 4.5 $0.00004 $0.00074

Measured 13d ago against content hash 4563b35dfec4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

pyxel 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 13d 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.

SKILL.md · 56 lines

How it starts

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

Pyxel

Build the smallest complete game that satisfies the request, then verify it from observed behavior. Keep the process proportional to the task.

Runtime

Expect the pyxel MCP namespace from pyxel-mcp 1.2+ with Pyxel 2.9.6+ and Python 3.11+. Its eight tools are observation verbs:

  • validate reports syntax errors and recognizable code patterns.
  • run drives frames and captures state, screen images, screen grids, or video.
  • pyxel_info reports versions, examples, and resource URIs.
  • read_palette, read_image, read_tilemap, and read_audio inspect the corresponding Pyxel data.
  • diff_frames compares two captured PNGs.

If pyxel-mcp is unavailable, register it with uvx pyxel-mcp install; if older than 1.2.0, update it with uvx --refresh-package pyxel-mcp pyxel-mcp install. While blocked, use focused logic tests plus direct Pyxel headless runs temporarily, and state that visual and interaction verification is weaker.

Workflow

  1. Infer the smallest playable scope. Ask only when a missing choice would materially change the game.
  2. Implement a complete slice: entry state, controls, objective, and a retry or terminal state when the genre needs one.
  3. Run validate; fix errors and review relevant warnings. Read pyxel://validation-patterns only when a category needs explanation.
  4. Use run from frame 0 with deterministic input. Capture state for mechanics and screen_image for what the player sees. Prefer until with snapshots at "end" for event-driven checks.
  5. Read the run result's log field (log) even when ok is true. Inspect the captured image for the task-specific result; nonblank output alone is not evidence of a correct scene.
  6. Iterate only on observed defects. Add focused logic tests when rules are easier to prove outside rendering.
  7. Report controls, changed files, and exact verification results.

Minimum Evidence

  • validate has no syntax errors; relevant warnings are resolved or explained.
  • A smoke run reaches its intended stop.
  • At least one captured frame is inspected directly.
  • At least one task-specific state predicate is checked.

Read the full file on GitHub · 56 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. 13d ago First seen · 56 lines · 42 tokens per session scan A 4563b35dfec4

Subscribe to this mod's changes

pyxel is a skill published in the GitHub repository kitao/pyxel-skill (12 stars, last pushed 1mo ago), licensed MIT. It adds 42 tokens to every session and 737 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-30.

Related

Other skills, from other repositories

pygame-core

Structure a pygame (pygame-ce) game in Python: the init/event/update/draw loop, delta-time movement, Surface/Rect blitting, keyboard/mouse input, and Sprite/Group management with collision. Use when building or debugging a pygame game — when the user mentions pygame, pygame-ce, the game loop, blit, Surface, Rect…

gamedev-skills/awesome-gamedev-agent-skills · 85 tokens

vibeue

Unreal Engine 5 development using the VibeUE Python API. Use when working in Unreal Engine — blueprints, state trees, materials, actors, landscapes, animation, niagara, widgets, sound, foliage, gameplay tags, enhanced input, skeletons, PCG (procedural content generation), and more. VibeUE is an extension of Unreal's…

kevinpbuckley/VibeUE · 82 tokens

python-lsp

Semantic Python code queries via a stdio LSP client driving pyright-langserver. Provides binding-resolved go-to-definition, find-references, hover types, type diagnostics, file symbol outlines, and project-wide symbol search — name resolution and type inference that tree-sitter and ripgrep cannot do. Use when you need…

oaustegard/claude-skills · 155 tokens

searching-codebases

Binding-resolved Python symbol queries via pyright — every true caller (--refs), the real definition (--def), or an inferred signature (--hover) of a .py symbol, excluding the same-named false positives text search cannot tell apart. Use when a task needs ALL callers or users of a named Python symbol and grep would…

oaustegard/claude-skills · 133 tokens

demo-1-terminal-arcade

Demo skill that builds a colorful, playable terminal Snake game in a single pure-stdlib Python curses file — score HUD, speed ramp, eat/death animations, and a game-over screen.

decodingai-magazine/building-a-coding-agent-from-scratch-course · 46 tokens

HA Integration Dev

Home Assistant custom integration development in Python. Covers customcomponents, DataUpdateCoordinator, configflow, OAuth2, conversation agent, HACS publishing, device registry, entity platforms, services, repair issues, diagnostics, Bluetooth integrations, and multi-coordinator patterns.

tonylofgren/aurora-smart-home · 55 tokens