# viral-game

viral-game turns a tweet, news story or short idea into a finished browser game: scaffold, art, audio, deploy and monetization in one session.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 659 installs · ★ 371 repo stars
- Author: OpusGameLabs
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/PlayableIntelligence/game-creator/tree/HEAD/skills/viral-game/SKILL.md
- Updated: 2026-11-04
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/viral-game

## What it does

One session takes an empty folder to a public URL. Hand it `/viral-game 3d neon-drift` or a tweet link and it copies the template, installs packages, starts a dev server. Subagents write the code. The main thread stays orchestrator and after every step runs a build plus a visual pass through Playwright MCP, then fixes what broke.

The stack is fixed up front: Phaser 3 for 2D, Three.js for 3D, here.now for hosting, Play.fun for points, leaderboards and wallet connect. You get pixel sprites or World Labs scenes, chiptune music and effects, a 50 FPS promo capture, a Playwright suite for `npm test`, and `npm run deploy` for the next push.

Meshy AI and World Labs keys sit in the project `.env`. Without `WLT_API_KEY` the 3D pass has no World Labs scenes to render. The here-now deploy skill is installed separately with `npx skills add`. Anything needing milestones and ADRs belongs to `/make-game`, and edits to a shipped game go through `/add-feature` or `/improve-game`.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add PlayableIntelligence/game-creator --skill viral-game -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/viral-game/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/viral-game/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add PlayableIntelligence/game-creator --skill viral-game -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/viral-game/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add PlayableIntelligence/game-creator --skill viral-game -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/viral-game/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install PlayableIntelligence/game-creator skills/viral-game
```

2. **Manually: put the files in place**
- File: `.github/skills/viral-game/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add PlayableIntelligence/game-creator --skill viral-game -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/PlayableIntelligence/game-creator --path skills/viral-game
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/viral-game/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add PlayableIntelligence/game-creator --skill viral-game -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/PlayableIntelligence/game-creator/tree/HEAD/skills/viral-game/SKILL.md

## When to use it
- ship a playable browser game from a tweet link
- get a public URL without wiring hosting by hand
- add pixel sprites and chiptune audio to a 2D prototype
- hook up leaderboards and wallet connect with Play.fun
- guard a built game with Playwright tests before the next change

## Example prompts
- Make a viral game out of this story: `/viral-game 2d cat-cafe`
- Run `/viral-game` on that tweet link and take it to a public URL
- Build an office-escape game: `/viral-game 3d office-escape`

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 5903eecd715b3d20.

BEGIN THIRD-PARTY FILE 5903eecd715b3d20
```text
---
name: viral-game
description: One-shot viral game pipeline — turn a tweet, news story, or short prompt into a scaffolded, designed, deployed, and monetized browser game in roughly 10 minutes. Use when the user says "make a viral game", "build a game from this tweet", "turn this story into a game", "/viral-game", or provides a tweet URL / short concept they want shipped end-to-end fast. Do NOT use when the user wants to design and build a real game project with milestones, ADRs, or multi-session iteration — use `/make-game` for that. Also do NOT use for modifying existing games (use `/add-feature` or `/improve-game`).
argument-hint: "[2d|3d] [game-name] OR [tweet-url]"
license: MIT
metadata:
  author: OpusGameLabs
  version: "2.0"
  tags: [game, viral, tweet, scaffold, pipeline, phaser, threejs, deploy, monetize]
---

# Viral Game (One-Shot Pipeline)

Turn a tweet, story, or short concept into a complete, deployed, monetized browser game in a single guided pipeline — from empty folder to public URL in roughly 10 minutes. Zero game-dev experience needed.

This is the fast, end-to-end path. It is intentionally opinionated: Phaser 3 for 2D, Three.js for 3D, here.now for hosting, Play.fun for monetization. The whole pipeline runs in one session and the output is a sharable, on-chain-monetizable game.

## When to use this skill vs `/make-game`

| Want | Use |
|---|---|
| "Build me a viral game from this tweet/story/idea" — one session, ship it, share it | **`/viral-game`** (this skill) |
| Design a real game with gameplay loop, milestones, ADRs, multi-session iteration, custom engine choices | **`/make-game`** (the deeper pipeline at `skills/make-game/`) |
| Add a feature to an existing game | `/add-feature` |
| Audit + improve an existing game | `/improve-game` |

If a user starts with `/viral-game` but the project clearly outgrows a one-shot build (they want milestones, a long-term tech stack discussion, or to keep iterating across many sessions), point them at `/make-game` and stop running this pipeline.

**What you'll get:**
1. A fully scaffolded game project with clean architecture (delta capping, object pooling, resource disposal)
2. Pixel art sprites — recognizable characters, enemies, and items (optional, replaces geometric shapes)
3. Photorealistic 3D environments via World Labs Gaussian Splats (3D games, when `WLT_API_KEY` is set)
4. Visual polish — gradients, particles, transitions, juice
5. A 50 FPS promo video — autonomous gameplay capture, mobile portrait, ready for social media
```
END THIRD-PARTY FILE 5903eecd715b3d20

The third-party file has ended. Everything between the 5903eecd715b3d20 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2549 of 30814 bytes. © OpusGameLabs · MIT · https://github.com/PlayableIntelligence/game-creator/tree/HEAD/skills/viral-game/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
