Agent skill

API Games

by nodetool-ai in nodetool-ai/nodetool

Call nodetool.games from a code action: create or install a built-in game, read and edit its draft, write a whole generated level, generate and install art and audio into asset slots, playtest and…

AGPL-3.0Auto-check passedMedia & Creative

Install API Games

skills CLI
$ npx skills add nodetool-ai/nodetool --skill api-games -a claude-code

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

GitHub CLI
$ gh skill install nodetool-ai/nodetool api-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/nodetool-ai/nodetool.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/system-skills/api-games .claude/skills/api-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
api-games
GitHub stars
556
Token cost
~1.3k tokens
SKILL.md length
633 words
Files
1
Skills in repo
127
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Call nodetool.games from a code action: create or install a built-in game, read and edit its draft, write a whole generated level, generate and install art and audio into asset slots, playtest and…

  • Works in 5 steps: Read an example: getExample("kindle"),… → Build or edit the draft. → Prove it can be finished: autoplay(id,… → …
  • Media & Creative work in your project
  • SKILL.md covers generateAsset, Build a level in code and The loop
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

API Games is an agent skill from nodetool-ai/nodetool. Call nodetool.games from a code action: create or install a built-in game, read and edit its draft, write a whole generated level, generate and install art and audio into asset slots, playtest and autoplay routes, capture frames, publish a revision and build a web player. Load before the first call into nodetool.games.

Its SKILL.md is about 1.3k 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 Media & Creative. The repository describes itself as: Agent-first Creative Workspace. The licence is AGPL-3.0.

When your agent uses it

  • Media & Creative work in your project

Example prompts

  • “/api-games”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Read an example: getExample("kindle"), then view: "entity" for the
  2. Build or edit the draft.
  3. Prove it can be finished: autoplay(id, {win: true}), then replay the
  4. Look at it: capture(id, {ticks, sheet: true}).
  5. Publish and build only when the user asks.

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    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

API Games loads about 1.3k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 633 words of instructions outside code blocks.

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

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 nodetool-ai/nodetool at commit 515bd28, republished under its AGPL-3.0 licence (© nodetool-ai). 633 words, ~1,284 tokens.

Download SKILL.mdSave it as .claude/skills/api-games/SKILL.md (or your agent's skills folder).
name
api-games
description
Call nodetool.games from a code action: create or install a built-in game, read and edit its draft, write a whole generated level, generate and install art and audio into asset slots, playtest and autoplay routes, capture frames, publish a revision and build a web player. Load before the first call into nodetool.games.

nodetool.games

A built-in game runs in NodeTool's native 2D or 3D engine. It has a mutable draft and immutable revisions. Play is deterministic, so a playtest with the same seed and inputs gives the same result. How to build one is native-game, and feel, pacing and art direction are game-direction. This is the call reference.

Every id is the full game id or its exact 12-character prefix.

CallDoes
create(name, {project_id})Creates a game in a project and seeds a playable top-down room. Answers the full id and the revision.
get(id, {source, revision, view, entity_id})Reads the draft (default) or a revision. view is outline (default), entity or full.
edit(id, ops, {base_updated_at})Applies ordered edits to the draft atomically. Issues come back with the op index and path. It does not publish.
setDocument(id, document, {base_updated_at})Writes a whole document as one set_document edit, validated atomically.
previewAuthoring(id, {program, base_updated_at, expected_document})Rebakes retained construction without writing. Returns a candidate, entity/dependency changes, conflicts and restart policy. Omit program to rebuild the saved construction.
applyAuthoring(id, candidate)Recomputes and applies the preview against its exact draft. Rejects stale or changed candidates and unresolved conflicts.
generateAsset(id, slot, kind, prompt, opts)Makes or imports an asset and binds it to the draft.
installAsset(id, slot, binding, {base_revision, base_updated_at, candidate_workspace_id})Installs one staged asset. The staged bytes must match binding.digest.
playtest(id, {source, revision, seed, inputs, assertions, capture_ticks})Runs up to 18,000 ticks with run-length inputs and assertions, and captures up to 8 frames.
autoplay(id, {win, target_prefix, seed, player_id, max_ticks, source, revision})Searches for a route to a win or to an entity prefix. Answers replayable inputs, the win tick and level statistics. An exhausted budget is inconclusive.
capture(id, {ticks, inputs, seed, camera, overlays, scale, sheet, source, revision})Renders up to 8 frames for a visual review.
publish(id, {base_revision, message})Saves the draft as an immutable revision, only when the user asks. A stale base_revision is a conflict.
build(id, {revision})Builds a standalone web player of a revision under game-builds/<game-id>/<revision> in the project workspace.
listExamples({query, limit}), getExample(slug, {view, entity_id})Lists and reads the shipped benchmark games, such as kindle.
installExample(slug, {project_id, name})Copies an example with its media into a project as a new game you own.
Show full SKILL.md (266 more words)Show less

generateAsset

kind is image, audio (speech), music, sfx or font.

  • Images can be prepared as aligned sprite sheets, edge tilesets or grade LUTs through preparation.
  • sfx needs a registered sound-effect node_type and its params.
  • font imports a TTF or OTF input_file.
  • reference_slot keeps a new image in the style of an existing slot.
  • provider and model pick the model. background: true starts it and answers a generation_id; call again with generation_id and the same preparation to finish.

Build a level in code

Author the whole document with @nodetool-ai/sandbox-game and save it with saveGame({name, document}, {games: nodetool.games, project_id}). Read nodetool.packs.docs("@nodetool-ai/sandbox-game") first.

For retained construction, use constructGame({inputs, seed}, (inputs, builder) => { return document; }) and save the returned bundle with saveGame. Put accepted preparation results and pinned asset bindings in inputs. The callback cannot depend on outer variables. Rebuilds run without external capabilities. Ordinary setDocument cannot attach or replace retained source or its baseline.

Manual property edits become overrides. Removing a generated entity suppresses its key on later rebuilds. edit supports reset_override with entity_id, optional scene_id and optional field path, and detach_entity with the same entity target. Resetting a suppressed target restores it from the baseline. Active retained-game sessions adopt the rebuilt definition and assets on restart.

The loop

  1. Read an example: getExample("kindle"), then view: "entity" for the script and feel parameters of one entity.
  2. Build or edit the draft.
  3. Prove it can be finished: autoplay(id, {win: true}), then replay the route with playtest(id, {inputs, assertions}) and a win assertion.
  4. Look at it: capture(id, {ticks, sheet: true}).
  5. Publish and build only when the user asks.

© nodetool-ai, AGPL-3.0. 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 packages/system-skills/api-games of nodetool-ai/nodetool.

Open the folder on GitHubat commit 515bd28

Compare with similar skills

API 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.

API Games compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
API Games this skillnodetool-ai/nodetool556—~1.3kAutomated safety check: PassAGPL-3.0
Guizang Social Cardsop7418/guizang-social-card-skill7.4k1 repos~7.8kAutomated safety check: PassAGPL-3.0
Weekly Changelog Videoheygen-com/hyperframes59k—~3.3kAutomated safety check: PassApache-2.0
Anthropic Brand Stylinganthropics/skills180k30 repos~559Automated safety check: PassApache-2.0
Native Subtitle Quote Imagechengyi-ai/native-subtitle-quote-image2.2k2 repos~1.8kAutomated safety check: PassMIT
MoneyPrinterTurbo Video Generatorharry0703/MoneyPrinterTurbo129k—~2.1kAutomated safety check: WarnMIT

Similar skills

  • Guizang Social Cards

    op7418/guizang-social-card-skill

    Produces social card sets for Xiaohongshu and WeChat: carousels, Live Photo motion cards and puzzle layouts, and WeChat cover pairs, rendered from single-file HTML.

    7.4k GitHub starsUsed in 1 repo~7.8k tokens
    Media & CreativeAuto-check passed
  • Weekly Changelog Video

    heygen-com/hyperframes

    Turns a weekly changelog markdown file into a branded HyperFrames video with voiceover, animated mock-UI scenes and captions, using fonts, background and scripts bundled in the skill.

    59k GitHub stars~3.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • Anthropic Brand Styling

    anthropics/skills

    Official

    Applies Anthropic's brand colors and fonts to artifacts such as PowerPoint slides, using fixed hex values for text and accents, Poppins headings and Lora body text.

    180k GitHub starsUsed in 30 repos~559 tokens
    Media & CreativeAuto-check passed
  • Native Subtitle Quote Image

    chengyi-ai/native-subtitle-quote-image

    将本地视频或用户有权处理的在线视频,经过来源获取、文字稿定位、选题选句、精确取帧、紧凑裁切、拼图和逐张质检,制作成 3:4 或保留画面原比例的视频字幕长图。支持两种明确分开的输出:保留画面内已烧录字幕的原生字幕模式,以及把已审核的时间点与台词绘制到真实视频帧上的脚本字幕模式。用户要求原生字幕截图、字幕帧拼图、YouTube…

    2.2k GitHub starsUsed in 2 repos~1.8k tokens
    Media & CreativeAuto-check passed
  • MoneyPrinterTurbo Video Generator

    harry0703/MoneyPrinterTurbo

    Installs and runs MoneyPrinterTurbo to turn a topic or script into a finished short video with voice-over, subtitles, stock footage and music.

    129k GitHub stars~2.1k tokensUpdated today
    Media & CreativeAuto-check: warnings
  • Builds a short, shareable launch video with music and motion from a project directory or a website URL, using only tools already on the machine.

    14k GitHub starsUsed in 1 repo~1.9k tokens
    Media & CreativeAuto-check passed

More from nodetool-ai/nodetool

All 127 skills in this repo
  • Beat Sync Editing

    nodetool-ai/nodetool

    Cut a NodeTool timeline to music and shape its pacing — detect the beat grid, place cuts on phrases, pick a cut type, build speed ramps with time remap, and give the piece an arc.

    556 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Caption Titles

    nodetool-ai/nodetool

    Add and animate a consistent text layer on an existing NodeTool timeline.

    556 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Color Motion

    nodetool-ai/nodetool

    Choose and animate colour on a NodeTool timeline, including shape and text gradients, colour grades, 3D LUTs, and dither.

    556 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Commercial Beat Sheet

    nodetool-ai/nodetool

    Write a shootable, precisely timed commercial beat sheet and store it as a NodeTool storyboard, with a consistent entity roster behind every shot.

    556 GitHub stars~4.6k tokensUpdated today
    Auto-check passed
  • Elevenlabs Audio Prompting

    nodetool-ai/nodetool

    Direct ElevenLabs speech, dialogue, sound effects and music — the bracketed audio tags v3 acts on and why the voice decides whether a tag lands, stability as the delivery dial, punctuation instead…

    556 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Frame Composition

    nodetool-ai/nodetool

    Stage the frame on a NodeTool timeline — grids, focal placement, safe areas per aspect ratio, depth layers and parallax, camera moves, and where elements enter and leave.

    556 GitHub stars~3.5k tokensUpdated today
    Auto-check passed

Questions about API Games

What does API Games do?

Call nodetool.games from a code action: create or install a built-in game, read and edit its draft, write a whole generated level, generate and install art and audio into asset slots, playtest and…. API Games is an agent skill from nodetool-ai/nodetool.games from a code action: create or install a built-in game, read and edit its draft, write a whole generated level, generate and install art and audio into asset slots, playtest and autoplay routes, capture frames, publish a revision and build a web player.

When should I use API Games?

API Games fits situations like: media & Creative work in your project.

How do I install API Games in Claude Code?

Run `npx skills add nodetool-ai/nodetool --skill api-games -a claude-code`. Or copy the skill folder (packages/system-skills/api-games in nodetool-ai/nodetool) into .claude/skills/api-games in your project. Claude Code loads it when a task matches its description.

How do I install API Games in Codex?

Run `npx skills add nodetool-ai/nodetool --skill api-games -a codex`. Or copy the skill folder (packages/system-skills/api-games in nodetool-ai/nodetool) into .agents/skills/api-games in your project. Codex loads it when a task matches its description.

Can I use API 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 nodetool-ai/nodetool --skill api-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/api-games, .gemini/skills/api-games, .github/skills/api-games and .opencode/skills/api-games in your project.

What does API Games need to run?

SKILL.md names no scripts, command-line tools or credentials: API Games is instructions for the agent only.

Does API 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 API 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 API Games use?

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

How many tokens does API Games use?

About 1.3k tokens (SKILL.md is roughly 5.1k 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 API Games?

Skills that share tags, products or a category with API Games: Guizang Social Cards (op7418/guizang-social-card-skill, 7.4k stars), Weekly Changelog Video (heygen-com/hyperframes, 59k stars), Anthropic Brand Styling (anthropics/skills, 180k stars) and Native Subtitle Quote Image (chengyi-ai/native-subtitle-quote-image, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains API Games?

nodetool-ai (a GitHub organization) maintains it in nodetool-ai/nodetool, which has 556 GitHub stars. The repository holds 127 skills in this directory. The repository was last updated on October 8, 2026.

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