Agent skill

Items Sheet Sprites

by webdevcody in webdevcody/survive-the-night-game

Add or regenerate 16×16 item/resource icons on items-sheet.png (Pillow), align with game-shared asset coords, InteractableTexts, and optional interactableDisplayName.

MITAuto-check passed

Install Items Sheet Sprites

skills CLI
$ npx skills add webdevcody/survive-the-night-game --skill items-sheet-sprites -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install webdevcody/survive-the-night-game items-sheet-sprites --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/webdevcody/survive-the-night-game.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/items-sheet-sprites .claude/skills/items-sheet-sprites && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
items-sheet-sprites
GitHub stars
229
Token cost
~974 tokens
SKILL.md length
402 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Add or regenerate 16×16 item/resource icons on items-sheet.png (Pillow), align with game-shared asset coords, InteractableTexts, and optional interactableDisplayName.

  • Works in 6 steps: Open scripts/patch-items-sheet-sprites.py. → Add a spr_your_item() function that… → Append (pixelX, pixelY, spr_your_item)… → …
  • Adding new pickup sprites
  • SKILL.md covers Context, Grid rules (avoid broken UVs), Recommended workflow: patch… and Wire-up after the pixel lands, plus 2 more sections
  • Calls python3 and pip

What it does

Items Sheet Sprites is an agent skill from webdevcody/survive-the-night-game. Add or regenerate 16×16 item/resource icons on items-sheet.png (Pillow), align with game-shared asset coords, InteractableTexts, and optional interactableDisplayName. Use when adding new pickup sprites, patching the items atlas, or fixing misaligned tiles.

Its SKILL.md is about 970 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The licence is MIT.

When your agent uses it

  • Adding new pickup sprites
  • Patching the items atlas
  • Fixing misaligned tiles

Example prompts

  • “/items-sheet-sprites”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Open scripts/patch-items-sheet-sprites.py.
  2. Add a spr_your_item() function that returns a RGBA Image of size (16, 16) (use Image.new("RGBA", (16, 16), (0,0,0,0)) and ImageDraw /…
  3. Append (pixelX, pixelY, spr_your_item) to the PATCHES list.
  4. If the new pixelY (plus16) exceeds the sheet height the script uses, update main() so nh (new height) is at least pixelY + 16 (the script…
  5. Run from repo root with Pillow available
  6. Commit the updated PNG and script. Remove .venv-sprite if you do not want a local venv in the tree (add .venv-sprite/ to .gitignore if you…

What it can do on your machine

Read from SKILL.md and the folder at commit 2bbd1ab. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Items Sheet Sprites loads about 974 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 402 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~974

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from webdevcody/survive-the-night-game at commit 2bbd1ab, republished under its MIT licence (© webdevcody). 402 words, ~974 tokens.

Download SKILL.mdSave it as .claude/skills/items-sheet-sprites/SKILL.md (or your agent's skills folder).
name
items-sheet-sprites
description
Add or regenerate 16×16 item/resource icons on items-sheet.png (Pillow), align with game-shared asset coords, InteractableTexts, and optional interactableDisplayName. Use when adding new pickup sprites, patching the items atlas, or fixing misaligned tiles.

Items sheet sprites (16×16)

Context

Grid rules (avoid broken UVs)

  • The sheet width is commonly 160px → 10 columns; valid x positions are 0, 16, …, 144. Do not use x ≥ 160 for a 160px-wide sheet (the rightmost16×16 cell starts at x = 144).
  • If you need a new row, extend the PNG height by 16 (or more) and place the tile at (column * 16, newRowY).
  • After resizing the sheet, ensure no other configs still assume an old height (search for y: values in shared entity configs).

The repo maintains a reproducible painter:

  1. Open scripts/patch-items-sheet-sprites.py.
  2. Add a spr_your_item() function that returns a RGBA Image of size (16, 16) (use Image.new("RGBA", (16, 16), (0,0,0,0)) and ImageDraw / pixel loops). Reuse palette constants at the top of the file for visual consistency.
  3. Append (pixelX, pixelY, spr_your_item) to the PATCHES list.
  4. If the new pixelY (plus16) exceeds the sheet height the script uses, update main() so nh (new height) is at least pixelY + 16 (the script already does max(oh, 224) — raise the floor or compute max(oh, max_y + 16) for all patches).
  5. Run from repo root with Pillow available:
bash
python3 -m venv .venv-sprite
./.venv-sprite/bin/pip install pillow
./.venv-sprite/bin/python3 scripts/patch-items-sheet-sprites.py
  1. Commit the updated PNG and script. Remove .venv-sprite if you do not want a local venv in the tree (add .venv-sprite/ to .gitignore if you keep regenerating).

Alternative: one-off Pillow script that opens the sheet, pastes a 16×16 tile at (x, y), and saves — same rules; prefer extending patch-items-sheet-sprites.py so art stays reproducible.

Show full SKILL.md (109 more words)Show less

Wire-up after the pixel lands

  1. Set assets.x / assets.y / assets.assetKey on the item or resource config to match the pasted cell.
  2. Pickup / Interactive encoding: Generic entities use interactableDisplayName (see BehaviorConfigs) or derive id with underscores → spaces. That string must exist in InteractableTexts (append at the end only — wire ids are declaration order).

Example: zombie skin

zombie_skin was placed on a new row at (0, 240) after extending the sheet to 256px tall, with coords updated in RESOURCE_CONFIGS. New icons should follow the same pattern if the sheet runs out of empty cells on existing rows.

© webdevcody, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/items-sheet-sprites of webdevcody/survive-the-night-game.

Open the folder on GitHubat commit 2bbd1ab

Compare with similar skills

Items Sheet Sprites next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Items Sheet Sprites compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Items Sheet Sprites this skillwebdevcody/survive-the-night-game229—~974Automated safety check: PassMIT
Icon ResourcesJetBrains/intellij-community21k—~505Automated safety check: PassCustom licence
IconsJetBrains/intellij-community21k—~3.1kAutomated safety check: PassCustom licence
iOS Icon Generatoraffaan-m/ECC275k—~1.4kAutomated safety check: PassMIT
Sprite Sheet PipelineLayrKits/Sprite-Pipeline594—~1.5kAutomated safety check: PassNone
Agent Resource Allocatorruvnet/ruflo74k2 repos~4.9kAutomated safety check: PassMIT

Similar skills

  • Icon Resources

    JetBrains/intellij-community

    Official

    Manage IntelliJ icons, generated Icons classes, and icon-robots rules.

    21k GitHub stars~505 tokensUpdated today
    Auto-check passed
  • Icons

    JetBrains/intellij-community

    Official

    Create or review IntelliJ New UI SVG icons and theme variants.

    21k GitHub stars~3.1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • iOS Icon Generator

    affaan-m/ECC

    Generates iOS icon PNG imagesets for Xcode asset catalogs from SF Symbols or the Iconify API, matching the size, color and weight of icons already in the project.

    275k GitHub stars~1.4k tokensUpdated 3 days ago
    MobileAuto-check passed
  • Sprite Sheet Pipeline

    LayrKits/Sprite-Pipeline

    Guide an AI assistant through this repo's 2D animation sprite-sheet workflow.

    594 GitHub stars~1.5k tokensUpdated 5 mo ago
    Game DevelopmentAuto-check passed
  • Agent skill for resource-allocator - invoke with $agent-resource-allocator

    74k GitHub starsUsed in 2 repos~4.9k tokens
    Auto-check passed
  • Resources

    windmill-labs/windmill

    MUST use when managing resources.

    18k GitHub stars~1.7k tokensUpdated today
    Backend & APIsAuto-check passed

More from webdevcody/survive-the-night-game

  • Map Editor

    webdevcody/survive-the-night-game

    Website map editor UI patterns: click-to-edit flows, Zustand modals, WholeNumberInput, ComboboxTypeahead for entity/item ids, list panels, and styling.

    229 GitHub stars~1.9k tokensUpdated 5 mo ago
    Auto-check passed

Questions about Items Sheet Sprites

What does Items Sheet Sprites do?

Add or regenerate 16×16 item/resource icons on items-sheet.png (Pillow), align with game-shared asset coords, InteractableTexts, and optional interactableDisplayName. Items Sheet Sprites is an agent skill from webdevcody/survive-the-night-game.png (Pillow), align with game-shared asset coords, InteractableTexts, and optional interactableDisplayName.

When should I use Items Sheet Sprites?

Items Sheet Sprites fits situations like: adding new pickup sprites; patching the items atlas; fixing misaligned tiles.

How do I install Items Sheet Sprites in Claude Code?

Run `npx skills add webdevcody/survive-the-night-game --skill items-sheet-sprites -a claude-code`. Or copy the skill folder (.cursor/skills/items-sheet-sprites in webdevcody/survive-the-night-game) into .claude/skills/items-sheet-sprites in your project. Claude Code loads it when a task matches its description.

How do I install Items Sheet Sprites in Codex?

Run `npx skills add webdevcody/survive-the-night-game --skill items-sheet-sprites -a codex`. Or copy the skill folder (.cursor/skills/items-sheet-sprites in webdevcody/survive-the-night-game) into .agents/skills/items-sheet-sprites in your project. Codex loads it when a task matches its description.

Can I use Items Sheet Sprites in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add webdevcody/survive-the-night-game --skill items-sheet-sprites -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/items-sheet-sprites, .gemini/skills/items-sheet-sprites, .github/skills/items-sheet-sprites and .opencode/skills/items-sheet-sprites in your project.

What does Items Sheet Sprites need to run?

Going by SKILL.md and its folder, Items Sheet Sprites needs the command-line tools its instructions call (python3 and pip). Our summary lists: Python 3.

Does Items Sheet Sprites access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Items Sheet Sprites safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Items Sheet Sprites use?

Items Sheet Sprites is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Items Sheet Sprites use?

About 974 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Items Sheet Sprites?

Skills that share tags, products or a category with Items Sheet Sprites: Icon Resources (JetBrains/intellij-community, 21k stars), Icons (JetBrains/intellij-community, 21k stars), iOS Icon Generator (affaan-m/ECC, 275k stars) and Sprite Sheet Pipeline (LayrKits/Sprite-Pipeline, 594 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Items Sheet Sprites?

webdevcody (a GitHub user) maintains it in webdevcody/survive-the-night-game, which has 229 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on April 16, 2026.

Source: webdevcody/survive-the-night-game on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.