aseprite-mcp: Skill for OpenCode

.opencode/skills/tukang-map/SKILL.md

generate2dmap is a skill for OpenCode from ilhamdoanggg/aseprite-mcp. It costs 42 tokens per session (4,753 once invoked), scanned A, original, MIT.

Instructions for generating 2D tile maps and game scenes in Aseprite using grid-based layouts, layers, tile types, and collision data.

In plain words
What is it for?
Use them to build game environments, place tiles on a grid, organize map layers, define collisions, and export PNG or animated GIF maps.
Why use it?
They turn a game-level idea into an organized map with consistent coordinates, layers, and export settings.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions OpenCode.

This is ilhamdoanggg/aseprite-mcp's own configuration. It tells OpenCode how to work on aseprite-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aseprite-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ilhamdoanggg/aseprite-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ilhamdoanggg/aseprite-mcp/main/.opencode/skills/tukang-map/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ilhamdoanggg/aseprite-mcp

Made for: OpenCode.

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 generate2dmap

README.md
[![agentmods](https://agentmods.dev/badge/skills/ilhamdoanggg/aseprite-mcp/tukang-map/github.svg)](https://agentmods.dev/skills/ilhamdoanggg/aseprite-mcp/tukang-map)
Your own site
<a href="https://agentmods.dev/skills/ilhamdoanggg/aseprite-mcp/tukang-map"><img src="https://agentmods.dev/badge/skills/ilhamdoanggg/aseprite-mcp/tukang-map/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 generate2dmap

Your own site · 80×15
<a href="https://agentmods.dev/skills/ilhamdoanggg/aseprite-mcp/tukang-map"><img src="https://agentmods.dev/badge/skills/ilhamdoanggg/aseprite-mcp/tukang-map.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 4,753 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.04753
Opus 5 $0.00021 $0.02377
Sonnet 5 $0.00008 $0.00951
Haiku 4.5 $0.00004 $0.00475

Measured 10d ago against content hash 341f641dc494, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

generate2dmap 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 10d 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.

.opencode/skills/tukang-map/SKILL.md · 458 lines

How it starts

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

generate2dmap

Structured tile map generation using aseprite-mcp drawing tools. Define tile set → plan map grid → build layers → place tiles → export.

Tool reference

Tool Purpose
create_sprite Start a new sprite (width, height)
draw_pixels Place individual pixels
draw_line Bresenham line
draw_rectangle Filled or outline rectangle
draw_circle Filled or outline circle
flood_fill Fill contiguous area
add_layer New layer for map depth
remove_layer Delete a layer
add_frame New frame for animated tiles
set_frame_duration Set frame timing
export_png Export to PNG
export_gif Export animated map
get_sprite_info Read sprite dimensions
inspect_sprite Full cel dump
get_pixel_color Read pixel color
resize_canvas Change sprite dimensions

Map conventions

Grid and canvas

  • Tile size: 16×16 (standard) or 32×32 (detailed)
  • Canvas: tile_size × map_width × map_height pixels
    • Example: 16×16 tiles, 20×15 grid → 320×240 canvas
  • Origin: top-left (0,0)

Coordinate system

Tile (col, row) → pixel (col * tile_w, row * tile_h)

Example for 16×16 tiles:
  Tile (0,0) → pixel (0,0)
  Tile (1,0) → pixel (16,0)
  Tile (5,3) → pixel (80,48)

Tile types

Define tile set before building the map:

Ground tiles

Tile Color Hex Properties
Grass Green #44aa33 Walkable
Dirt Brown #8B5E3C Walkable
Sand Tan #ddcc88 Walkable (slow)
Snow White #eeeedd Walkable (slippery)
Stone floor Gray #999988 Walkable
Wood floor Brown #bb8855 Walkable
Water Blue #3388ff Impassable
Deep water Dark blue #1144bb Impassable
Lava Orange #ff4400 Deadly

Wall / obstacle tiles

Tile Color Hex Properties
Brick wall Red-brown #cc6644 Solid
Stone wall Gray #888888 Solid
Metal wall Dark gray #666677 Solid
Fence Brown #996633 Semi-solid (see through)
Hedge Dark green #228833 Semi-solid
Cliff Brown-gray #8B7D6B Solid (one-way up)

Read the full file on GitHub · 458 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. 10d ago First seen · 458 lines · 42 tokens per session scan A 341f641dc494

Subscribe to this mod's changes

generate2dmap is a skill published in the GitHub repository ilhamdoanggg/aseprite-mcp (0 stars, last pushed 3mo ago), licensed MIT. It adds 42 tokens to every session and 4,753 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

gameobject-component-destroy

Destroy one or more Components from a target GameObject. Missing (null) components are skipped — they cannot be destroyed. Use 'gameobject-find' and 'gameobject-component-get' to identify the components first.

IvanMurzak/Unity-MCP · 49 tokens

unity-version-split

Split a C# file into Unity 6.5+ and pre-Unity 6.5 variants. Use when a file needs different implementations for different Unity versions due to API changes (e.g., EntityId vs int, GetEntityId vs GetInstanceID).

IvanMurzak/Unity-MCP · 59 tokens

godot-signals-groups

Build event-driven, decoupled Godot 4.7 gameplay with signals and node groups: declare and emit custom signals, connect with Callables (incl. bind/one-shot), and broadcast to many nodes via groups and callgroup. Use when wiring node communication in a Godot project, replacing tight references with signals…

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

unity-addressables

Manage Addressables groups, entries, profiles and content builds (com.unity.addressables, reflection-based).

Besty0728/Unity-Skills · 25 tokens

motion

How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.

OpenDCAI/GameFactory-3A · 0 tokens

threejs-exposure-color-grading

Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.

scottstts/Threejs-Awesome-Graphics-Agent-Skills · 60 tokens