/vibedgames:vg-setupfrom vibedgames
Sets up the `vg` CLI for vibedgames: finds or installs it, checks sign-in status, and handles OAuth or API key authentication. Use before first `vg` command or when auth errors occur.
Ships in vibedgames. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Skills that run commands use the vg CLI. This gets it working with no global
install. Signing in is optional. Scaffolding, coding and local playtesting work
without an account. Only the commands that reach vibedgames need one (step 2).
When the user will need one, ask early, so the one human step doesn't interrupt
a build later.
The plugin also connects the vibedgames MCP server (https://vibedgames.com/mcp).
Its tools match the CLI's server commands: whoami, credits, deploy,
deployments, fork, generate, generate_image, generate_video, skills
and more. The skills (skills tool) work without an account. A tool that needs
one asks the user to sign in through the browser (OAuth) on first use, so it
needs no token and no install.
vg new, vg playtest, and vg deploy of a build directory.command -v vg
vg as written in the skills.vg … command as
npx -y vibedgames@latest … instead: same flags, same output, same exit
codes. Each shell call starts fresh, so write the full npx form every
time; an alias won't carry over.npm install -g vibedgames puts a real vg on PATH. Only run it if the user
wants that. vg init also adds the skills to a project for Cursor, Codex and
other agents.
Only commands that reach vibedgames need an account: deploy, fork,
generate (except runs the codex provider handles locally; --async runs and
URL references fall back to vibedgames), credits, playtest run, whoami.
vg new and plain vg playtest work without an account. The first
vg playtest installs agent-browser globally (npm install -g) and a
browser for it; tell the user before running it the first time.
Every vg … here means npx -y vibedgames@latest … when step 1 found no vg.
vg whoami --json # {"email","id","name"} when signed in; exits 1 when not
Choose one:
VG_TOKEN in the environment.
VG_TOKEN overrides any saved login. You can't create the key for them.vg login in the background, since it waits up to
10 minutes for approval. It prints an 8-character code and an approval URL
(https://vibedgames.com/device?user_code=…), and tries to open a browser.
Give the user the code and that URL; the browser won't open in a remote or
headless shell. Continue once it prints Logged in successfully. If it says
Code expired, run it again. Login was denied means the user said no, so
ask before you try again. A vg older than this flow can't log in, so if
vg login fails, run npx -y vibedgames@latest login.Then re-run vg whoami --json to confirm.
Never ask the user to paste a token into the chat, and never write one into game code. A deployed game is public, so anyone could copy a token from it.
vg generate run spends account credit, and new accounts start at $0.
vg deploy, hosting and multiplayer are free. To check or add credit, see the
generate skill's Credits section: vg credits --json, or
vg credits redeem <CODE>.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kyh/vibedgames --plugin vibedgames35 skills in this plugin
/animated-spritesheetsGenerate a character's animation frames (idle, run, attack, death…) as one labeled pose board, then slice, key and pack them into an engine-ready spritesheet./animationMake 2D sprite animation read well: frame budgets per clip, timing and spacing, cancel windows, smears, secondary motion, wiring clips in Phaser. Generating frames is pixel-art / animated-spritesheets./asepriteParse Aseprite files (.ase/.aseprite) — layers, cels, tags, slices, palettes, tilesets — into JSON, durations and bounds for engines and tools./ask-meInterview the user about a fuzzy game idea, one question at a time, until it is build-ready. Skip when they already know what to build./asset-pipelineAudit 2D game art on disk: validate an asset manifest against PNGs, probe sprite sheets and tilesets for occupied frames, report sizes, fix sprite baselines./capacitor-iosShip a Three.js + Vite app on Capacitor iOS: GLTF loading, animation UI, OrbitControls touch mapping, Swift Package Manager, iOS sync and run troubleshooting.Other plugins' skills for the same job