Agent skill
scenario-runner-capture
Implement deterministic Scenario Runner + capture outputs for agents
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/scenario-runner-capture
SKILL.md
Skill: Scenario Runner + Capture
Objective
Allow agents to validate gameplay and visuals without controlling the OS window.
Steps
- Implement a Scenario Runner autoload
game/autoload/ScenarioRunner.gd- Parse CLI args after
--:--scenario <id>--capture_dir <dir>--seed <int>--quit_after_frames <int>
- Define scenario scripts
- Store scenarios under
tests/scenarios/(JSON) - Actions should include:
- wait_frames
- move_to
- interact_nearest
- trigger_encounter
- select_battle_command
- Capture outputs
- Always write a
trace.jsonof executed actions + timings - Primary: use deterministic movie capture mode in Godot CLI (Movie Maker)
- Secondary: checkpoint screenshots if stable
- CI scripts
- Implement
tools/ci/run-scenario.sh <scenario_id>
Verification
- Scenario runs headlessly
- Artifacts appear in
captures/or specified capture dir - Runs are deterministic across repeated runs on the same machine
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?