atb-game-package — Claude Code skill: what it does, install
atb-game-package is a Claude Code skill that packages HTML5 Canvas games as offline standalone files or portable folders. It runs during game distribution packaging.
GPL-3.0 ★ 369 updated 2026-10-22
/plugin marketplace add atbfun/ATBGamePort
/plugin install atb-game-porting@atbfunWhat atb-game-package does
atb-game-package turns an HTML5 Canvas game into <game>-standalone.html with bundled assets, an embedded VFS, and a runtime interception shim. It places local CSS and JavaScript inside the page, converts CSS asset references to Data URIs, and routes file access through fetch, XMLHttpRequest, Image.src, and Audio.src.
The portable build gets a materialized asset tree under dist/<game>-portable/, plus Play-macOS.command, Play-Windows.bat, README-PLAY.txt, and <game>-release.zip. scripts/verify-package.py checks pure file:/// execution, console errors, snapshot pixel color coverage, and Unix 0755 permissions in the archive. Packaging requires the Python 3 standard library and Chrome, Chromium, Microsoft Edge, or Brave for headless checks; an existing project Conda environment uses conda activate ATBPort. The headless check cannot run without a browser.
What it helps with
- package an HTML5 Canvas game as a standalone offline file
- embed CSS, JavaScript, and game assets into one HTML page
- prepare a portable folder with macOS and Windows launchers
- build a ZIP release while retaining macOS executable permissions
- verify a game launched through
file:///without console errors
Example prompts for the agent
- Package the game in
target/<game>/as a standalone file and portable release. - Build
<game>-standalone.html, both launchers, anddist/<game>-release.zip. - Run
scripts/verify-package.pyagainst the files indist/.
How to install atb-game-package
1Plugin marketplace
/plugin marketplace add atbfun/ATBGamePort/plugin install atb-game-porting@atbfunThis installs the whole atb-game-porting plugin with all its skills
2Skills CLI (Vercel)
npx skills add atbfun/ATBGamePort --skill atb-game-package -a claude-code3Manually: put the files in place
~/.claude/skills/atb-game-package/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/atb-game-package/
1Skills CLI (Vercel)
npx skills add atbfun/ATBGamePort --skill atb-game-package -a codex2Manually: put the files in place
.agents/skills/atb-game-package/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add atbfun/ATBGamePort --skill atb-game-package -a cursor2Manually: put the files in place
.cursor/skills/atb-game-package/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install atbfun/ATBGamePort skills/atb-game-package2Manually: put the files in place
.github/skills/atb-game-package/SKILL.md1Skills CLI (Vercel)
npx skills add atbfun/ATBGamePort --skill atb-game-package -a gemini-cli2Platform CLI
gemini skills install https://github.com/atbfun/ATBGamePort --path skills/atb-game-packageManually: put the files in place
.devin/skills/atb-game-package/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about atb-game-package
How do I install atb-game-package in Claude Code?
Run /plugin marketplace add atbfun/ATBGamePort, then run /plugin install atb-game-porting@atbfun. These are the two marketplace installation steps in order.
What does atb-game-package do?
It packages HTML5 Canvas games as self-contained HTML files or portable directories. The skill embeds local resources, creates OS launchers and a ZIP release, then checks the package through file:///.
What does atb-game-package require?
It requires the Python 3 standard library and Google Chrome, Chromium, Microsoft Edge, or Brave for headless verification. A project may also use the Conda environment ATBPort; accepted inputs include target/<game>/ with web/index.html and assets/, or a directory with an index.html entrypoint.