wai-play
БесплатноЗапускает вложенные скриптыНе проверенRoute web-game auto-playtesting with WAI Play (waiterve/wai-play): decide whether the next move is a testability check, authoring or repairing the…
от akillness★ 63 звезды на GitHubОб этом скилле
WAI Play — agent auto-playtesting for web games
WAI Play drives a real browser against a running web game, models the game's goal and key nodes, plays it, and returns a five-dimension quality score with reproducible problem cards (state deltas, screenshots, ≤20 s clips) and fix suggestions. Test credibility is reported separately from game quality, so a weak harness never inflates or deflates the game's score.
The work almost never starts at "run the test". It starts at can this game be tested at all, and that answer decides everything downstream.
When to use this skill
- A vibe-coded web game needs an automated play-through before a demo, jam deadline, or release, and the user wants evidence rather than vibes
- The game has no agent-readable state and needs a
GameFlowAgentAPIbridge authored or repaired - A test run finished and the user needs help reading the score, the problem cards, or the credibility diagnostics
- A required key node (first upgrade, boss phase, level goal, ending) cannot be reached and the user must choose between repairing preconditions, jumping, or taking the natural route
- The user is deciding between local, Docker, and keyless (degraded) operation
When not to use this skill
- Unity / Unreal frame-time or profiler work →
game-performance-profiler - Engine build, cook, or package failures →
game-build-log-triage - Human playtest notes, Steam Playtest responses, streamer reactions →
game-demo-feedback-triage - General browser automation or a scripted E2E suite with no game model →
browser-harnessorplaywriter - Building the game itself rather than testing it →
web-game-development
Instructions
Step 1: Capture the intake packet before touching the tool
Collect five facts. Missing any of them changes the recommendation:
- Game type — one of
survivor_like,arcade_shooter,platformer,puzzle_card,visual_novel. WAI Play supports these five and nothing else; a game outside them gets the closest profile plus a stated caveat. - Reachable URL — the running game, not a repo. Localhost is fine.
- Integration state — does the page expose
window.GameFlowAgentAPI? URL-only black-box testing works, but flow modeling and key-node routing are markedly weaker without it. - Source availability — an optional ZIP matching the deployed version. It is analyzed as a temporary copy only; WAI Play never edits the project.
- Key availability — DeepSeek and Kimi keys, or the honest keyless path.
Step 2: Pick exactly one mode
| Mode | Use when | Produces |
|---|---|---|
testability |
Unknown whether the game can be driven at all | A go / no-go readiness note naming each blocking capability |
integration |
No API, or the bridge is a stub | A GameFlowIntegration bridge wired to real game state |
run |
The game is testable and configured | A configured run: type, URL, optional ZIP, step budget |
report |
A run finished | Score reading that separates game quality from test credibility |
scenario-gap |
A required key node is unreachable | Repair-plan / jump / natural-route decision with a reason |
ops |
Deployment, privacy, or keyless questions | Local vs Docker vs degraded operating choice |
Do not blend modes. testability before run is the single highest-value
ordering in this skill — a run against an unreadable game produces confident
nonsense.
Step 3: Check readiness with the read-only doctor
bash .agent-skills/wai-play/scripts/wai-play.sh doctor
bash .agent-skills/wai-play/scripts/wai-play.sh doctor /path/to/wai-play
doctor reports Python version, the four runtime packages, whether a
Playwright Chromium build is present, and which .env keys are set — by
name only, never by value. It installs nothing and starts no test.
Step 4: Author or repair the bridge before blaming the game
The upstream v2 template refuses to fabricate state: an unimplemented
observe() or step() throws instead of returning plausible-looking data.
That is deliberate. A bridge that returns invented state produces a score
describing the bridge, not the game.
Statically check a candidate integration file before shipping it:
python3 .agent-skills/wai-play/scripts/check_integration.py \
--game-type survivor_like path/to/game-integration.js
The checker is stdlib-only and prints one ```review fenced JSON block
listing missing methods, leftover template placeholders, unimplemented
throw-stubs, and required state fields it could not find. It exits 1 when a
blocker is present. It is a static text check: passing it means the file
looks contract-shaped, never that the bridge is wired to real game logic.
Confirm that separately.
Contract details live in references/integration-api.md.
Step 5: Run against the demo games first when the contract is new
The repo ships five reference games, one per type. Serve the
Установить wai-play в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteEditGlobGrepВложенные файлы
FAQ
Что делает скилл wai-play?
Route web-game auto-playtesting with WAI Play (waiterve/wai-play): decide whether the next move is a testability check, authoring or repairing the `GameFlowAgentAPI` bridge, running a real browser playtest, reading the five-dimension quality report, or unblocking a key node the agent cannot reach. Use when the user wants an AI agent to actually play their HTML5 / canvas / vibe-coded web game and return reproducible evidence, scores, and fix suggestions across the five supported types (survivor-like, arcade shooter, platformer, puzzle/card, visual novel). Triggers on: wai-play, WAI Play, auto-playtest, AI plays my game, web game testing agent, GameFlowAgentAPI, GameFlowIntegration, jumpToScenario, game quality score, playtest evidence. Route Unity/Unreal frame-time work to `game-performance-profiler`, engine build failures to `game-build-log-triage`, human playtest notes to `game-demo-feedback-triage`, and generic browser automation to `browser-harness`.
Как установить скилл wai-play?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wai-play запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic