2d-games

2d-games is a skill for Claude Code, Codex from diegosouzapw/awesome-omni-skills. It costs 55 tokens per session (2,457 once invoked), scanned A, a copy of 2d-games-v2, MIT.

A guide to building two-dimensional games with sprites, tilemaps, physics, cameras, and common game patterns. Sprites are game images, while tilemaps are grids used to build levels.

In plain words
What is it for?
Use it when designing or implementing 2D game systems, including characters, level layouts, collisions, camera movement, and genre-specific mechanics.
Why use it?
It gives the agent a structured way to plan core game systems instead of treating movement, collisions, levels, and cameras as unrelated pieces.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Good fit Use it when designing or implementing 2D game systems, including characters, level layouts, collisions, camera movement, and genre-specific mechanics.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/diegosouzapw/awesome-omni-skills/2d-games"><img src="https://agentmods.dev/badge/skills/diegosouzapw/awesome-omni-skills/2d-games.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,457 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 95% copy Near-identical to another mod 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.00055 $0.02457
Opus 5 $0.00028 $0.01229
Sonnet 5 $0.00011 $0.00491
Haiku 4.5 $0.00006 $0.00246

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

Security

Grade A, and why

2d-games 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 11d 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.

Origin

This is a copy

95% identical to 2d-games-v2 — 18 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/2d-games/SKILL.md · 269 lines

How it starts

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

2D Game Development

Overview

This public intake copy packages plugins/antigravity-awesome-skills-claude/skills/game-development/2d-games from https://github.com/sickn33/antigravity-awesome-skills into the native Omni Skills editorial shape without hiding its origin.

Use it when the operator needs the upstream workflow, support files, and repository context to stay intact while the public validator and private enhancer continue their normal downstream flow.

This intake keeps the copied upstream files intact and uses the external_source block in metadata.json plus ORIGIN.md as the provenance anchor for review.

2D Game Development > Principles for 2D game systems. ---

Imported source sections that did not map cleanly to the public headings are still preserved below or in the support files. Notable imported sections: 1. Sprite Systems, 2. Tilemap Design, 3. 2D Physics, 4. Camera Systems, 5. Genre Patterns, 6. Anti-Patterns.

When to Use This Skill

Use this section as the trigger filter. It should make the activation boundary explicit before the operator loads files, runs commands, or opens a pull request.

  • This skill is applicable to execute the workflow or actions described in the overview.
  • Use when the request clearly matches the imported source intent: 2D game development principles. Sprites, tilemaps, physics, camera.
  • Use when the operator should preserve upstream workflow detail instead of rewriting the process from scratch.
  • Use when provenance needs to stay visible in the answer, PR, or review packet.
  • Use when copied upstream references, examples, or scripts materially improve the answer.
  • Use when the workflow should remain reviewable in the public intake repo before the private enhancer takes over.

Operating Table

Situation Start here Why it matters
First-time use metadata.json Confirms repository, branch, commit, and imported path through the external_source block before touching the copied workflow
Provenance review ORIGIN.md Gives reviewers a plain-language audit trail for the imported source
Workflow execution SKILL.md Starts with the smallest copied file that materially changes execution
Supporting context SKILL.md Adds the next most relevant copied source file without loading the entire package
Handoff decision ## Related Skills Helps the operator switch to a stronger native skill when the task drifts

Read the full file on GitHub · 269 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. 11d ago First seen · 269 lines · 55 tokens per session scan A 98385d0b0f2a

Subscribe to this mod's changes

2d-games is a skill published in the GitHub repository diegosouzapw/awesome-omni-skills (140 stars, last pushed 2mo ago), licensed MIT. It adds 55 tokens to every session and 2,457 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 95% identical to 2d-games-v2, differing in 18 lines, and is treated as a copy.

Related

Other skills, from other repositories

agenttrace-session-audit

Audit local AI coding-agent sessions with agenttrace for cost, tool failures, latency, anomalies, health, diffs, and CI gates.

sickn33/agentic-awesome-skills · 34 tokens

ax-extract-workflow

Reconstruct workflow behind a past coding-agent artifact using local ax sessions/commits/skills/tool traces. Use when asked how X was built.

sickn33/agentic-awesome-skills · 35 tokens

gamedev-physics

Use when working with a game engine's physics — rigid bodies, colliders, collision layers and masks, character controllers, joints, forces versus impulses, raycasts and shapecasts, or when a simulation is unstable (tunnelling, jitter, missed overlaps). Covers the Godot, Unity and Unreal equivalents. NOT rendering or…

ericrisco/rsc-harness · 102 tokens

game-storytelling

Use when a game's story is the work: premise and pillars, branching topology, meaningful choice, dialogue state, quests, environmental storytelling, ludonarrative harmony. Author portable — engine wiring is godot/unity/unreal. NOT the mechanics and economy the story serves (that is game-design), NOT level layout (that…

ericrisco/rsc-harness · 82 tokens

android-studio

Configure Android Studio Gradle projects, emulators, build variants, and signing; diagnose build and runtime failures with AGP and Logcat.

alivirgo/Major-AI-Skills · 32 tokens

anthropic-api

Integrate the Anthropic Messages API with system prompts, tool calls, streaming, and client error handling.

alivirgo/Major-AI-Skills · 25 tokens