LittleJS AI
AI-assisted toolkit for making HTML5 games with LittleJS: the engine, templates, and agent instructions that work with Claude Code, Codex, Cursor and Copilot, so the AI builds…
Install: /plugin marketplace add KilledByAPixel/LittleJS-AI
Works with Claude Code, Codex, Cursor, GitHub Copilot · 85 GitHub stars
Install
/plugin marketplace add KilledByAPixel/LittleJS-AIInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →🚂🤖 LittleJS AI
An AI-assisted toolkit for making HTML5 games with LittleJS — starter templates, helper modules, agent instructions for any coding AI, and a Claude Code plugin. The games built with it live in the LittleJS Arcade.
🎮 ▶ Play in the LittleJS Arcade
LittleJS is a fast, lightweight, and fully open source HTML5 game engine designed for simplicity and performance.
This repo is the AI-assisted LittleJS toolkit — everything you need to build games, but not the games themselves:
- starter templates you can fork and remix
- helper modules for menus, sound/FX, and sprites
- docs and prompts to improve LittleJS + AI workflows
The 50+ finished games built with these tools live in their own repo: the LittleJS Arcade (source).
Want to make a game without writing code? Try the LittleJS GPT!
🤖 Claude Code Plugin
Make games with LittleJS, a fast open-source HTML5 engine that's simple to build on, straight from Claude Code. Ask for a game and get a complete, playable project that opens from a file. Because the engine already handles rendering, input, physics, collision and audio, nothing gets rebuilt from scratch: the tokens go into your game, not the plumbing. Templates for menus, sound, sprite art and board games already work. Install once, no clone required:
/plugin marketplace add KilledByAPixel/LittleJS-AI
/plugin install littlejs@littlejs-ai
Then in any empty folder, ask for a game ("make me a breakout game"). Claude scaffolds a complete project — engine included — that opens straight from file:// with no server and no npm install.
The plugin ships five skills:
littlejs-conventions— engine rules and pitfalls, applied automatically to any LittleJS codenew-littlejs-game— scaffolds a complete playable game projectlittlejs-api— exact API signature lookup from the bundled referenceatlas-shape-art— fast recolorable shape sprites from the built-in atlascustom-level-editor— turns the engine's built-in 2D and 3D level editors into an editor for your game
Cloning this repo is only needed for browsing the templates by hand — the plugin bundles everything else.
Developing the plugin itself? Load it from your working tree with claude --plugin-dir . (use forward slashes in the path — backslashes get mangled and silently load nothing), then /reload-plugins after edits. Don't /plugin install your local copy — that installs a frozen snapshot.
Every user-visible change needs two things in the same commit: a bumped version in .claude-plugin/plugin.json and an entry in CHANGELOG.md. The plugin cache is keyed by version, so without a bump, people who already installed the plugin receive nothing. When bumping the engine in dist/, also copy the engine repo's REFERENCE.md over reference.md and its EDITOR.md over skills/custom-level-editor/EDITOR.md.
For other tools, LittleJS also works great with GitHub Copilot, Codex, and Cursor.
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code, like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…