stagehand

stagehand is a skill for Claude Code from mrf/godot-stagehand. It costs 65 tokens per session (7,134 once invoked), scanned A, original, MIT.

A game automation tool for Godot, a game engine. It can launch a connected game, inspect what is shown, interact with it, and record or replay input.

In plain words
What is it for?
Use it to launch and drive a Godot game, check its interface, run gameplay tests, and replay recorded inputs.
Why use it?
It removes the need to perform the same gameplay and interface checks manually. It also provides a way to test visual changes and interaction sequences automatically.

Skill for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: positional $N argument; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the godot-stagehand plugin — 1 skill shipped together

Good fit Use it to launch and drive a Godot game, check its interface, run gameplay tests, and replay recorded inputs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add mrf/godot-stagehand
Claude Code
/plugin install godot-stagehand

Made for: Claude Code.

Or install godot-stagehand, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stagehand

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrf/godot-stagehand/stagehand/github.svg)](https://agentmods.dev/skills/mrf/godot-stagehand/stagehand)
Your own site
<a href="https://agentmods.dev/skills/mrf/godot-stagehand/stagehand"><img src="https://agentmods.dev/badge/skills/mrf/godot-stagehand/stagehand/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stagehand

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrf/godot-stagehand/stagehand"><img src="https://agentmods.dev/badge/skills/mrf/godot-stagehand/stagehand.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,134 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.07134
Opus 5.5 $0.00026 $0.02854
Sonnet 5.5 $0.00013 $0.01427
Haiku 4.5 $0.00006 $0.00713

Measured 8d ago against content hash 1c35f87b4ca1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stagehand scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/claude-code/skills/stagehand/SKILL.md · 674 lines

How it starts

The opening of the file, as written. The whole thing — 674 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Godot Stagehand — Game Automation Skill

You are an expert at using the godot-stagehand MCP tools to launch, observe, and interact with Godot games. This skill teaches you how to automate any Godot game that has the Stagehand addon installed.

Architecture

Claude --stdio--> godot-stagehand (Go MCP server) --WebSocket:26700--> Godot Game
                                                                        └── StagehandServer autoload
                                                                             └── JSON-RPC command router

The MCP server runs as a child process of your agent client. With the Claude Code plugin, the plugin starts it for you; in other clients it is an mcpServers entry you configure. It connects to the Godot game's WebSocket server on port 26700 (configurable). The Stagehand addon runs inside Godot as an autoload singleton.

Prerequisites

  • Godot game must have the addons/stagehand/ addon installed and enabled
  • Game must be launched with --stagehand CLI flag OR STAGEHAND_ENABLED=1 environment variable
  • The godot-stagehand MCP server must be connected: the Claude Code plugin provides it, other clients configure it in their MCP settings

First-time setup

If the project has no addons/stagehand/ directory yet, install the addon from the Godot project's root:

godot-stagehand setup .

With the Claude Code plugin, godot-stagehand is already on the Bash tool's PATH (the plugin's launcher is ${CLAUDE_PLUGIN_ROOT}/bin/godot-stagehand); it downloads the matching release binary on first use. setup copies the addon, enables the plugin, registers the StagehandServer autoload, and prints an MCP configuration snippet. Under the plugin, ignore that snippet: the plugin already connects the server, and adding a second entry makes every tool appear twice. Use godot-stagehand setup --force . to replace an older addon after an upgrade.

Tool Reference

Connection & Lifecycle

godot_launch

Launch a Godot game with stagehand enabled and connect to it.

Read the full file on GitHub · 674 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed 1c35f87b4ca1
  2. 16d ago Changed · +52 lines b1445fa7b6db
  3. 19d ago Changed 3f0b342915d7
  4. 1mo ago First seen · 622 lines · 65 tokens per session scan A 74cc34e866f8

Subscribe to this mod's changes

stagehand is a skill published in the GitHub repository mrf/godot-stagehand (9 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 7,134 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-04.

Related

stagehand compared with skills from other repositories

stagehand next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stagehandmrf/godot-stagehandSkill9todayMITA65Claude Code
godotericrisco/rsc-harnessSkill6915d agoMITA112Claude Code, Codex
smoke-checkstriderZA/OpenCodeGameStudiosSkill13218d agoMITA61Claude Code
autopilot-playteststriderZA/OpenCodeGameStudiosSkill13218d agoMITA70Claude Code
swallowtail-qaregiellis/godot-mcp-goSkill7422d agoMITA50Codex
godotalivirgo/Major-AI-SkillsSkill6yesterdayMITA26Claude Code
godot-testing-qadcc-mcp/dcc-mcp-godotSkill5todayMITA68Claude Code