2d-games

2d-games is a skill for Claude Code from trinhhaox/ag-kit. It costs 20 tokens per session (554 once invoked), scanned A, original, no licence file.

A guide to making two-dimensional games using sprites, tilemaps, physics, and cameras. Sprites are game images, while tilemaps arrange repeated pieces such as terrain.

In plain words
What is it for?
Use it when building or working on 2D game graphics, tile-based levels, physics, or camera behavior.
Why use it?
It provides relevant principles for handling the visual layout, movement, collisions, and view of a 2D game.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when building or working on 2D game graphics, tile-based levels, physics, or camera behavior.

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

Made for: Claude Code.

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/trinhhaox/ag-kit/2d-games.svg)](https://agentmods.dev/skills/trinhhaox/ag-kit/2d-games)
Your own site
<a href="https://agentmods.dev/skills/trinhhaox/ag-kit/2d-games"><img src="https://agentmods.dev/badge/skills/trinhhaox/ag-kit/2d-games.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 554 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 unknown 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.00020 $0.00554
Opus 5 $0.00010 $0.00277
Sonnet 5 $0.00004 $0.00111
Haiku 4.5 $0.00002 $0.00055

Measured 8d ago against content hash f31d95e041d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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.

skills/game-development/2d-games/SKILL.md · 120 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 8d ago First seen · 120 lines · 20 tokens per session scan A f31d95e041d0

Subscribe to this mod's changes

2d-games is a skill published in the GitHub repository trinhhaox/ag-kit (1 stars, last pushed 1mo ago), with no licence file. It adds 20 tokens to every session and 554 once invoked, about $0.0001 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

install-gemini-code-review-action

Installs, configures, or upgrades Dazbo's PR code review & issue triage GitHub Action (gemini-review-action) in a target repository. Use when the user wants to set up, configure, or update automated AI code reviews, issue triaging, or Gemini model workflows for their GitHub repository.

derailed-dash/dazbo-agent-skills · 73 tokens

tex-render

Renders LaTeX math to PNG, JPEG, WebP, or AVIF images using MathJax (TeX→SVG) and @svg-fns/svg2img. Invoke whenever the agent needs to output LaTeX as a viewable image (equations, formulas, notation).

LFTPadilla/agent-dev-kit · 63 tokens

codeck

Route explicit requests from a host coding agent to one or more locally configured AI executors through Codeck, attach Markdown or other project files, moderate cross-model consultation, expose disagreements, and synthesize traceable results. Use when the user explicitly names Codeck or asks to consult, compare, or…

isdou/codeck · 108 tokens

dead-code-cleanup

Identifies and removes dead/orphaned code, tests, and Storybook stories — including trivial tests that check only obvious behavior or rare edge cases with no real value. Always validates that code is truly unused before deleting anything. Trigger on: "remove dead code", "clean up unused files", "delete orphaned…

jerseycheese/agent-skills · 105 tokens

comment-reaper

Finds and removes unnecessary code comments - the ones that restate the code, cite an issue number, narrate refactor history, or wrap a one-line function in six lines of JSDoc. Sorts every find into auto-fix, propose, or never-touch, so the WHY comments survive the sweep. Trigger on: "comment reaper", "reap comments"…

jerseycheese/agent-skills · 154 tokens

code-health-audit

Kicks off a recurring code-health audit — the "embarrassing code" / overengineering sweep that turns vague tech-debt anxiety into a short list of measurable, validated simplifications to ship. Bakes in the pre-flight discipline (sync the correct base branch, confirm the active worktree and its dev server, list files…

jerseycheese/agent-skills · 145 tokens