2d-pixel-asset

2d-pixel-asset is a skill for Claude Code, Codex from maystudios/claude-skills. It costs 127 tokens per session (3,643 once invoked), scanned A, original, MIT.

A generator for two-dimensional pixel-art game assets using Google Gemini through Chrome browser automation. It can create sprites, tilesets, and other game artwork, then process them to exact pixel sizes and transparent backgrounds.

In plain words
What is it for?
Use it to create or edit pixel-art sprites, tilesets, and game assets, choose a Gemini model and resolution, upload references, and prepare the results for use in a game.
Why use it?
It combines image generation with the cleanup steps needed for game assets. Reference images can help keep a consistent visual style, while background-removal options handle different production needs.

Skill for Claude CodeCodex

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

Good fit Use it to create or edit pixel-art sprites, tilesets, and game assets, choose a Gemini model and resolution, upload references, and prepare the results for use in a game.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maystudios/claude-skills/2d-pixel-asset
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 maystudios/claude-skills --skill 2d-pixel-asset
Clone the repo
git clone --depth 1 https://github.com/maystudios/claude-skills

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 2d-pixel-asset

README.md
[![agentmods](https://agentmods.dev/badge/skills/maystudios/claude-skills/2d-pixel-asset/github.svg)](https://agentmods.dev/skills/maystudios/claude-skills/2d-pixel-asset)
Your own site
<a href="https://agentmods.dev/skills/maystudios/claude-skills/2d-pixel-asset"><img src="https://agentmods.dev/badge/skills/maystudios/claude-skills/2d-pixel-asset/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 2d-pixel-asset

Your own site · 80×15
<a href="https://agentmods.dev/skills/maystudios/claude-skills/2d-pixel-asset"><img src="https://agentmods.dev/badge/skills/maystudios/claude-skills/2d-pixel-asset.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,643 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00127 $0.03643
Opus 5 $0.00063 $0.01821
Sonnet 5 $0.00025 $0.00729
Haiku 4.5 $0.00013 $0.00364

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

Security

Grade A, and why

2d-pixel-asset 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/process_asset.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

2d-pixel-asset/SKILL.md · 341 lines

How it starts

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

2D Pixel Asset Generator via Gemini + Chrome

Generate pixel art game assets through Google Gemini's web interface using Chrome browser automation, then post-process them to exact pixel dimensions with transparent backgrounds.

Prerequisites

  • Chrome browser with the Claude-in-Chrome extension installed and active
  • User logged into Google account at https://gemini.google.com
  • Chrome MCP tools available (mcp__claude-in-chrome__*)
  • Python 3 with Pillow installed (for post-processing)
  • For ML background removal: pip install transformers torch torchvision + CUDA GPU
  • For Adobe Express removal: User logged into Adobe account

Tool Loading

Before using ANY Chrome MCP tool, load it via ToolSearch first:

ToolSearch: "select:mcp__claude-in-chrome__tabs_context_mcp"
ToolSearch: "select:mcp__claude-in-chrome__tabs_create_mcp"
ToolSearch: "select:mcp__claude-in-chrome__navigate"
ToolSearch: "select:mcp__claude-in-chrome__computer"
ToolSearch: "select:mcp__claude-in-chrome__find"
ToolSearch: "select:mcp__claude-in-chrome__upload_image"

Tool Mapping

Action MCP Tool
Get tab context mcp__claude-in-chrome__tabs_context_mcp
Create new tab mcp__claude-in-chrome__tabs_create_mcp
Navigate to URL mcp__claude-in-chrome__navigate
Click, type, screenshot, hover, wait mcp__claude-in-chrome__computer
Find elements by description mcp__claude-in-chrome__find
Upload reference/edit images mcp__claude-in-chrome__upload_image
Read page content mcp__claude-in-chrome__read_page

CLI Arguments

Parse these from user input after the skill invocation:

Argument Default Description
(positional) -- Main prompt text (everything not a flag)
--size 32 or --size 64x32 32 Target pixel dimensions for final output
--output path/ ./Assets/ Output directory
--name filename derived from prompt Output filename (no extension)
`--model pro flash` pro
--ref path1.png path2.png ... none Reference images for style (up to 14)
--edit path.png none Existing image to edit/modify
--tile false Generate tileable texture (no bg removal)
`--resolution 1k 2k 4k`
--no-process false Skip post-processing, keep raw output
`--bg-color magenta green white`
--ml false Use BiRefNet ML model for background removal
--adobe false Use Adobe Express for background removal
--margin N 1 Transparent margin (px) around sprite in final output

Read the full file on GitHub · 341 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 341 lines · 127 tokens per session scan A 6c4ea0d95154

Subscribe to this mod's changes

2d-pixel-asset is a skill published in the GitHub repository maystudios/claude-skills (22 stars, last pushed 28d ago), licensed MIT. It adds 127 tokens to every session and 3,643 once invoked, about $0.0006 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

unity-agent-workflows

Use for AI-assisted Unity work that needs live repo discovery, project-derived routing, runtime-owner proof, runtime-visible output hard stops, runtime numeric proof for repeated visible-output failures, state-step guards, multi-agent scope ownership, modular C#/asmdef safety, UI/scene/visual asset gates, data-first…

hashgraph-online/awesome-codex-plugins · 146 tokens

using-bgs-archive

Use when the user wants to inspect, list, extract, unpack, or repack Bethesda BA2/BSA archives; determine archive format/version/compression; or build archive assets for an MO2 overlay. Triggers - "unpack BA2", "extract BSA", "pack archive", "inspect archive", "bgs-archive".

hashgraph-online/awesome-codex-plugins · 75 tokens

level-actors

List, find, place, move, rotate, and modify actors in the current level (ActorService + editor subsystems). Use when the user asks to find/list actors in the level, move or rotate an actor, set an actor's properties/folder/transform, or spawn/delete level actors.

kevinpbuckley/VibeUE · 64 tokens

materials

Create and edit materials and material instances — graph nodes, parameters, functions, custom HLSL, and instance overrides (MaterialService + MaterialNodeService). Use when the user asks to create or edit a material/material instance, wire material nodes, add material parameters, set blend/shading modes, or recreate a…

kevinpbuckley/VibeUE · 75 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

gameplay-tags

Create, list, remove, and rename Gameplay Tags with runtime registration (GameplayTagService). Use when the user asks to add or register gameplay tags, list/query existing tags, or rename/remove tags (e.g. Ability.Attack.Melee, State.Stunned).

kevinpbuckley/VibeUE · 57 tokens