Agent skill

Web Games

by xenitV1 in xenitV1/Antigravity-Workflows

Web browser game development principles. An agent skill from xenitV1/Antigravity-Workflows.

MITAuto-check passedGame Development

Install Web Games

skills CLI
$ npx skills add xenitV1/Antigravity-Workflows --skill web-games -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xenitV1/Antigravity-Workflows web-games --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xenitV1/Antigravity-Workflows.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/game-development/web-games .claude/skills/web-games && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
web-games
GitHub stars
130
Used in
7 other repos
Token cost
~748 tokens
SKILL.md length
279 words
Files
1
Skills in repo
42
Repo updated
First seen
Licence
MIT

At a glance

Web browser game development principles. An agent skill from xenitV1/Antigravity-Workflows.

  • Works in 7 steps: Framework Selection → WebGPU Adoption → Performance Principles → …
  • Tasks that involve Game development
  • SKILL.md covers 1. Framework Selection, 2. WebGPU Adoption, 3. Performance Principles and 4. Asset Strategy, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Web Games is an agent skill from xenitV1/Antigravity-Workflows. Web browser game development principles. Framework selection, WebGPU, optimization, PWA.

Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Game Development, covering Game development and 3D graphics and WebGL. The licence is MIT.

When your agent uses it

  • Tasks that involve Game development
  • Tasks that involve 3D graphics and WebGL

Example prompts

  • “/web-games”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Glob, Grep

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Framework Selection
  2. WebGPU Adoption
  3. Performance Principles
  4. Asset Strategy
  5. PWA for Games
  6. Audio Handling
  7. Anti-Patterns

What it can do on your machine

Read from SKILL.md and the folder at commit f0a1fa7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Web Games loads about 748 tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 279 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~748

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from xenitV1/Antigravity-Workflows at commit f0a1fa7, republished under its MIT licence (© xenitV1). 279 words, ~748 tokens.

Download SKILL.mdSave it as .claude/skills/web-games/SKILL.md (or your agent's skills folder).
name
web-games
description
Web browser game development principles. Framework selection, WebGPU, optimization, PWA.
allowed-tools
Read, Write, Edit, Glob, Grep

Web Browser Game Development

Framework selection and browser-specific principles.


1. Framework Selection

Decision Tree
What type of game?
│
├── 2D Game
│   ├── Full game engine features? → Phaser
│   └── Raw rendering power? → PixiJS
│
├── 3D Game
│   ├── Full engine (physics, XR)? → Babylon.js
│   └── Rendering focused? → Three.js
│
└── Hybrid / Canvas
    └── Custom → Raw Canvas/WebGL
Comparison (2025)
FrameworkTypeBest For
Phaser 42DFull game features
PixiJS 82DRendering, UI
Three.js3DVisualizations, lightweight
Babylon.js 73DFull engine, XR

2. WebGPU Adoption

Browser Support (2025)
BrowserSupport
Chrome✅ Since v113
Edge✅ Since v113
Firefox✅ Since v131
Safari✅ Since 18.0
Total~73% global
Decision
  • New projects: Use WebGPU with WebGL fallback
  • Legacy support: Start with WebGL
  • Feature detection: Check navigator.gpu

3. Performance Principles

Browser Constraints
ConstraintStrategy
No local file accessAsset bundling, CDN
Tab throttlingPause when hidden
Mobile data limitsCompress assets
Audio autoplayRequire user interaction
Optimization Priority
  1. Asset compression - KTX2, Draco, WebP
  2. Lazy loading - Load on demand
  3. Object pooling - Avoid GC
  4. Draw call batching - Reduce state changes
  5. Web Workers - Offload heavy computation

4. Asset Strategy

Compression Formats
TypeFormat
TexturesKTX2 + Basis Universal
AudioWebM/Opus (fallback: MP3)
3D ModelsglTF + Draco/Meshopt
Loading Strategy
PhaseLoad
StartupCore assets, <2MB
GameplayStream on demand
BackgroundPrefetch next level

5. PWA for Games

Benefits
  • Offline play
  • Install to home screen
  • Full screen mode
  • Push notifications
Requirements
  • Service worker for caching
  • Web app manifest
  • HTTPS

6. Audio Handling

Browser Requirements
  • Audio context requires user interaction
  • Create AudioContext on first click/tap
  • Resume context if suspended
Best Practices
  • Use Web Audio API
  • Pool audio sources
  • Preload common sounds
  • Compress with WebM/Opus

7. Anti-Patterns

❌ Don't✅ Do
Load all assets upfrontProgressive loading
Ignore tab visibilityPause when hidden
Block on audio loadLazy load audio
Skip compressionCompress everything
Assume fast connectionHandle slow networks

Remember: Browser is the most accessible platform. Respect its constraints.

© xenitV1, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/game-development/web-games of xenitV1/Antigravity-Workflows.

Open the folder on GitHubat commit f0a1fa7

Used in 7 other repositories

We found 16 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in xenitV1/Antigravity-Workflows, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Web Games next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Web Games compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Web Games this skillxenitV1/Antigravity-Workflows1307 repos~748Automated safety check: PassMIT
Asset Pipelinerehan-remade/universal-modder5.3k—~2kAutomated safety check: PassMIT
Blender Image To 3Dmajidmanzarpour/blender-game-skills132—~5.7kAutomated safety check: PassMIT
Text To 3D AssetLaurentiuGabriel/unreal-game-assets-creation-skill147—~2.1kAutomated safety check: PassNone
Godot 3D Essentialsjame581/GodotPrompter795—~3.7kAutomated safety check: PassMIT
Unreal Scene Buildingflopperam/unreal-engine-mcp1.1k—~1.4kAutomated safety check: PassNone

Similar skills

  • Asset Pipeline

    rehan-remade/universal-modder

    Turn generated or hand-made art into exactly what a game engine loads.

    5.3k GitHub stars~2k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Blender Image To 3D

    majidmanzarpour/blender-game-skills

    Build a game-ready 3D asset in Blender from reference images (concept art, photos, turnarounds, sketches, screenshots) for any category, including characters, creatures, architecture, vehicles…

    132 GitHub stars~5.7k tokensUpdated 15 days ago
    Game DevelopmentAuto-check passed
  • Text To 3D Asset

    LaurentiuGabriel/unreal-game-assets-creation-skill

    Generate a game-ready 3D asset by running the local AI pipeline sequentially: Fooocus (SDXL text-to-image) - Hunyuan3D-2 (image-to-textured-GLB) - optional Blender FBX convert + Unreal import.

    147 GitHub stars~2.1k tokensUpdated 2 mo ago
    Game DevelopmentAuto-check passed
  • Godot 3D Essentials

    jame581/GodotPrompter

    Covers Godot 4.3+ 3D systems such as materials, lighting, shadows, environment, global illumination, fog, LOD, occlusion culling and decals, with GDScript first and C# second.

    795 GitHub stars~3.7k tokensUpdated 2 days ago
    Game DevelopmentAuto-check passed
  • Unreal Scene Building

    flopperam/unreal-engine-mcp

    Guides scene and world building in Unreal Engine through the Flopperam MCP: placing actors, sculpting landscapes, scattering foliage, editing materials and verifying the level.

    1.1k GitHub stars~1.4k tokensUpdated 3 mo ago
    Game DevelopmentAuto-check passed
  • Phaser4 Gamedev

    chongdashu/vibejam-starter-pack

    Build 2D browser games with Phaser 4: WebGL-first rendering, scenes, filters, lighting, shaders, DynamicTexture and RenderTexture, tilemaps, SpriteGPULayer, TilemapGPULayer, and Phaser 3 to 4…

    149 GitHub stars~2.8k tokensUpdated 5 mo ago
    Game DevelopmentAuto-check passed

More from xenitV1/Antigravity-Workflows

All 42 skills in this repo
  • Bash Linux

    xenitV1/Antigravity-Workflows

    Bash/Linux terminal patterns. An agent skill from xenitV1/Antigravity-Workflows.

    130 GitHub starsUsed in 9 repos~1k tokens
    Auto-check: notes
  • Mobile Design

    xenitV1/Antigravity-Workflows

    Mobile-first design thinking and decision-making for iOS and Android apps.

    130 GitHub starsUsed in 2 repos~3.7k tokens
    Auto-check: notes
  • Parallel Agents

    xenitV1/Antigravity-Workflows

    Native multi-agent orchestration using Claude Code's Agent Tool.

    130 GitHub starsUsed in 9 repos~1.3k tokens
    Auto-check passed
  • Behavioral Modes

    xenitV1/Antigravity-Workflows

    AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate).

    130 GitHub starsUsed in 8 repos~1.3k tokens
    Auto-check passed
  • Performance Profiling

    xenitV1/Antigravity-Workflows

    Performance profiling principles. An agent skill from xenitV1/Antigravity-Workflows.

    130 GitHub starsUsed in 8 repos~772 tokens
    Auto-check: notes
  • Plan Writing

    xenitV1/Antigravity-Workflows

    Structured task planning with clear breakdowns, dependencies, and verification criteria.

    130 GitHub starsUsed in 8 repos~994 tokens
    Auto-check passed

Questions about Web Games

What does Web Games do?

Web browser game development principles. An agent skill from xenitV1/Antigravity-Workflows. Web Games is an agent skill from xenitV1/Antigravity-Workflows. Web browser game development principles.

When should I use Web Games?

Web Games fits situations like: tasks that involve Game development; tasks that involve 3D graphics and WebGL.

How do I install Web Games in Claude Code?

Run `npx skills add xenitV1/Antigravity-Workflows --skill web-games -a claude-code`. Or copy the skill folder (skills/game-development/web-games in xenitV1/Antigravity-Workflows) into .claude/skills/web-games in your project. Claude Code loads it when a task matches its description.

How do I install Web Games in Codex?

Run `npx skills add xenitV1/Antigravity-Workflows --skill web-games -a codex`. Or copy the skill folder (skills/game-development/web-games in xenitV1/Antigravity-Workflows) into .agents/skills/web-games in your project. Codex loads it when a task matches its description.

Can I use Web Games in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xenitV1/Antigravity-Workflows --skill web-games -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/web-games, .gemini/skills/web-games, .github/skills/web-games and .opencode/skills/web-games in your project.

What does Web Games need to run?

SKILL.md names no scripts, command-line tools or credentials: Web Games is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Glob, Grep.

Does Web Games access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Web Games safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Web Games use?

Web Games is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Web Games use?

About 748 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Web Games?

Skills that share tags, products or a category with Web Games: Asset Pipeline (rehan-remade/universal-modder, 5.3k stars), Blender Image To 3D (majidmanzarpour/blender-game-skills, 132 stars), Text To 3D Asset (LaurentiuGabriel/unreal-game-assets-creation-skill, 147 stars) and Godot 3D Essentials (jame581/GodotPrompter, 795 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Web Games?

xenitV1 (a GitHub user) maintains it in xenitV1/Antigravity-Workflows, which has 130 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on January 14, 2026.

Source: xenitV1/Antigravity-Workflows on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.