/SKILL.md
ECS-first, agent-native game engine in Rust
npx skillsauth add stainlu/euca-engine eucaengineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
EucaEngine is a game engine you control via the euca CLI. The engine
runs as a persistent process on http://localhost:3917 and exposes a
stateful ECS world; every command is an HTTP call.
This file is intentionally short. Discover the rest on demand:
euca discover — list all command groupseuca discover <group> — commands in one group, with argseuca discover --scope core — hide genre-specific vocabularyeuca discover --json — full machine-readable manifesteuca explain <topic> — focused worked example on a topiceuca explain — list all available explain topicsAvailable explain topics: quickstart, entity, combat, rule,
assert, fork, scenario.
For a hands-on introduction, run euca explain quickstart.
The minimum commands to verify the engine is alive and spawn your first entity:
# 1. Start the engine (pick one).
cargo run -p euca-editor --example editor # visual editor
cargo run -p euca-agent --example agent_headless # headless for agents
# 2. Connect.
euca # status
# 3. Spawn.
euca entity create --mesh cube --position 0,2,0 --health 100 --team 1 --combat
# 4. Run the sim.
euca sim play
euca sim step --ticks 100
That's ~90% of the knowledge needed to bootstrap. Everything else
lives behind discover and explain.
| Primitive | Purpose | Explain topic |
|-------------|--------------------------------------------|---------------|
| entity | Spawn and edit entities | entity |
| sim | Advance time (play/pause/step/reset) | quickstart |
| rule | Data-driven game logic | rule |
| assert | Testable expectations | assert |
| fork | Counterfactual simulation (clone world) | fork |
| scenario | Declarative game setup (one JSON document) | scenario |
| game | Match mode, score, time limit | — |
| scene | Save/load world state to disk | — |
| camera | Move the view | — |
The engine is designed for agents that iterate: hypothesize → intervene → simulate → observe → decide → repeat. The canonical loop:
# 1. Set up a baseline.
euca scenario load path/to/baseline.json
# 2. Create a fork to test a hypothesis.
euca fork create experiment
# 3. Apply an intervention to the fork.
euca scenario apply-to-fork experiment path/to/variant.json
# 4. Advance the fork and evaluate.
euca fork probe experiment --ticks 600 --assertions team1_wins
# 5. Compare, decide, drop.
euca fork delete experiment
See euca explain fork and euca explain scenario for details.
Agents authenticate with nit
Ed25519 identity. Generated entities track their owner via the Owner
component. If you're writing an agent: nit init once, then include
your identity in request headers.
euca explain quickstarteuca explain entity → rule → asserteuca explain fork + scenarioGUIDE.md in the repo root (not preloaded)development
ECS-first, agent-native game engine in Rust
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.