Skip to content
Operations
Skill

/omarchy-make-game

Build a browser game or interactive 3D toy as a single HTML file with three.js, saved in ~/Games/vibes/<name>/ and played from Game Vibes in the app launcher: arcade games, endless runners, board and card games, puzzles, visual toys, small simulations. Starts from a working

From plugin
omarchy
47k7 skills18 agents

Claude Code

$ npx -y skills add omacom/omarchy --skill omarchy-make-game --agent claude-code

SKILL.md

omarchy-make-game.SKILL.md
name: omarchy-make-game
description: >
  Build a browser game or interactive 3D toy as a single HTML file with three.js, saved in ~/Games/vibes/<name>/ and played from Game Vibes in the app launcher: arcade games, endless runners, board and card games, puzzles, visual toys, small simulations. Starts from a working template, and covers what makes a game good (feel, fairness, clarity, polish), the three.js traps older examples walk into, checking it in a headless browser, and adding it to Game Vibes. Triggers: game, make me a game, three.js, WebGL, HTML game, browser game, canvas, arcade, 3D toy, snake, asteroids, breakout, pinball, platformer, runner, maze, puzzle, chess, solitaire, minesweeper.

Building a Web Game

A game is one file, `~/Games/vibes/<name>/index.html` (unless the user asked for it somewhere else): three.js from a pinned CDN, everything else written in the file — shapes from three.js geometry, sound synthesized with Web Audio, text in HTML over the canvas. It's listed in Game Vibes, one launcher for every game made this way, and opens in the desktop's current theme, plays from the keyboard (and the mouse, where that's natural), and keeps its best score.

Every game starts from `template.html` beside this file: a complete, working game (dodge the falling blocks) with what every game needs already done — title screen, pause on Esc and on losing focus, game over, restart, help, sound, a saved best score, a fixed-step loop that survives slow frames, seeded randomness, mouse picking, a camera fit, and lights that show the theme's colours true. You replace the game inside it, not the frame around it. Below, `SKILL_DIR` is the directory you read this file from (such as `~/.agents/skills/omarchy-make-game`).

Keeping on with a game in Game Vibes

A game in `~/Games/vibes/<name>` is the user's own: change it where it is. A game that isn't there is one Omarchy ships, read-only in `$OMARCHY_PATH/default/games/vibes`, so copy it first and change the copy, which takes its place in Game Vibes:

omarchy-games-vibes-copy <game>

Give a second name (`omarchy-games-vibes-copy <game> <new-name>`) only when the user wants a variant beside the original, of a shipped game or their own, and then give it its own `NAME`, `<title>` and title screen so its saved scores and its tile are its own. Either way, skip to the step the change needs: the game section for a new rule, step 3 for polish, and always step 4 to check it and step 5 to open it. These games are already built on the template.

1. Settle the game

If the user hasn't said what game they want, ask whether it's a new game or one in Game Vibes to keep working on. Then decide, in one sentence each, before writing code:

  • **Goal**: what the player is trying to do.
  • **Controls**: which keys, and what each does. Arrow keys and WASD both, Space for the main action. Board and card games move a cursor with the arrows and also take the mouse.
  • **Losing**: what ends the round.
  • **Score or winning**: what is counted, whether more is better (points) or less (a time, a move count), and whether the round can be won (a maze, a level) or only survived (a runner, asteroids).
  • **Getting harder**: what changes over time so it stays interesting.

One mechanic done well beats three done badly, but give it enough to play for a few minutes: a maze has many turns and dead ends, a shooter more than one kind of enemy, a runner obstacles that need different moves. Pick a short lowercase name of letters, digits and dashes (`snake`, `tilt-maze`).

2. Start from the template

If `~/Games/vibes/<name>` already holds a game, ask before replacing it. Otherwise:

mkdir -p ~/Games/vibes/<name>
cp "$SKILL_DIR/template.html" ~/Games/vibes/<name>/index.html

Read the whole template once, then edit that copy in place, section by section. Never write the file from scratch or rewrite the frame.

1. **SETTINGS**: set `NAME`. Leave `PALETTE` as it is: Game Vibes hands every game the desktop's theme as it opens, and those colours only stand in without one. Set `BEST_IS` to `'lower'` for a time or a move count, `formatScore` to show it (`m:ss` for times), and `KEY_REPEAT` to `true` for a cursor game. 2. **THE GAME**: replace that whole section with your game. `build()` once for everything reused, `resized()` to fit the camera, `reset()` to start a round, `update(dt)` for every rule, `draw(dt)` for animation that changes no rules (it runs on every screen, so effects keep moving after a loss), `screenInput(code)` for choices on the title and end screens, and `endRound(won, { title, detail })` when the round ends — the title and detail are what the end screen says (`'CHECKMATE'`, `'Cleared in 1:42'`). Set `score` as the game goes. 3. **The screens** in the HTML: the `<title>` and the description meta (a few words Game Vibes shows under the name), the title screen's name, one line saying the goal, a line of controls, and the help table. Keep the element ids; add your own elements freely. 4. **ACTIONS**, if the game needs more keys than move, action, pause, mute and help.

Leave the two parts marked THE FRAME alone apart from ACTIONS, the camera, the lights, the fog and, for bloom, the one `renderer.render` call: they make pause, restart, theming and the way back to Game Vibes work. Names starting with `_` are the frame's own.

**The rule every game keeps: the player can always get back to Game Vibes.** `Esc` on the title and end screens and `Q` on the pause screen go back to the list, and `Esc` (or losing focus) pauses a round, so there's a way out from anywhere, mid-round included. Never take `Esc`, `P` or `Q` for something else, never keep `Esc` from reaching the frame (a game may use it first to drop a held piece, as long as the next press pauses), and keep the pause screen's line that says `Q` goes back. A game copied from before this rule gets the frame's `leave` action and that line.

3. Make it good

A plain version that plays c

Read more
@basecamp
Ships withomarchy

Omarchy is a beautiful, fun & agentic Linux distribution by DHH. Read more at omarchy.org.

47k7 skills18 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
47.2k
Star history of basecamp/omarchy on GitHub, a chart by star-history.com

Other skills on omarchy.

diagnose-crash

diagnose-crash

Diagnose why a program crashed on this machine, from a systemd-coredump core dump. Use when a process has segfaulted, aborted, or…

@basecamp@basecampInstall Skill
omarchy-contribute

omarchy-contribute

Report an Omarchy bug, suggest a feature, or submit a fix upstream to omacom/omarchy: deciding whether it is Omarchy's bug at…

@basecamp@basecampInstall Skill
omarchy-make-app

omarchy-make-app

Build a new desktop app for Omarchy the way Omarchy's own apps are built (Omacut, Monologue, Hype, Signed, Folio, Plain,…

@basecamp@basecampInstall Skill
omarchy-make-plugin

omarchy-make-plugin

Make a new plugin for the Omarchy shell: a bar widget, a popup card, or a keyboard-driven panel, written in QML in…

@basecamp@basecampInstall Skill
omarchy-make-theme

omarchy-make-theme

Make a new Omarchy theme from a look, mood, or inspiration: a colors.toml palette that every app's colors are generated from, and…

@basecamp@basecampInstall Skill
omarchy

omarchy

REQUIRED for end-user customization of Linux desktop, window manager, or system config. Use when editing ANY file in ~/.config/,…

@basecamp@basecampInstall Skill

More skills from other plugins.

firewall-auditor

firewall-auditor

Audit UniFi firewall policies for conflicts, redundancies, security gaps, and best practices. Use when asked to review firewall…

unifi-mcp3d1.1k
@sirkirby@sirkirbyInstall Skill
add-custom-domain

add-custom-domain

Add a custom domain to a Temps project and provision an automatic SSL/TLS certificate via Let's Encrypt, driven entirely from the…

temps1d934
@gotempsh@gotempshInstall Skill
alert-analysis

alert-analysis

Investigate a specific Elastic Security detection alert: gather context, assess entity risk, classify the threat, document…

@elastic@elasticInstall Skill

Questions about omarchy-make-game.

Which coding agents can use omarchy-make-game?
omarchy-make-game installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.