一键导入
using-axis
Use when authenticating, running, or managing Eternum game agents via the axis CLI, especially on headless servers or VPS.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when authenticating, running, or managing Eternum game agents via the axis CLI, especially on headless servers or VPS.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Emergency defense against early aggression. Use when scouting reveals enemy military units moving toward your base in the early game. Covers unit production priority, positioning, and counterattack timing.
Standard opening strategy for the first 50-100 ticks. Use when the game has just started and you need to establish economy and scouting before making strategic commitments. Covers worker production, initial scouting, and expansion timing.
Develop Cairo contracts for Eternum with strict TDD workflow - plan, test first, then implement
基于 SOC 职业分类
| name | using-axis |
| description | Use when authenticating, running, or managing Eternum game agents via the axis CLI, especially on headless servers or VPS. |
CLI for autonomous Eternum game agents. Discovers worlds, authenticates via Cartridge Controller, runs an LLM-driven tick loop.
Password auth (headless, with paymaster):
axis auth <world> --method=password --username=<user> --password=<pass>
Other methods:
| Method | Command | Notes |
|---|---|---|
| QR code | axis auth <world> | Generates QR + auth URL |
| Redirect URL | --redirect-url="..." | Complete browser auth |
| Session data | --session-data="<b64>" | Import raw session |
| Private key | --auth=privatekey + env | No paymaster |
Check status: axis auth <world> --status
Sessions last 7 days. Re-run to refresh.
axis # Interactive TUI
axis run --headless --world=<name> # Headless (requires pre-auth)
Headless flags: --api-port, --api-host, --stdin, --verbosity, --json.
axis auth --all --method=password --username=me --password=secret --json > /tmp/auth.json
for world in $(jq -r '.[].world' /tmp/auth.json); do
axis run --headless --world="$world" --api-port=$((3000+RANDOM%1000)) &
done
Enable with --api-port:
| Method | Path | Purpose |
|---|---|---|
POST | /prompt | Send prompt ({"content": "..."}) |
GET | /status | Agent status |
GET | /state | World state snapshot |
GET | /events | SSE stream |
POST | /config | Update runtime config |
POST | /shutdown | Graceful shutdown |
| Variable | Default | Purpose |
|---|---|---|
ANTHROPIC_API_KEY | (required) | LLM API key |
MODEL_PROVIDER | anthropic | anthropic, openai, openrouter, google |
CHAIN | slot | slot, sepolia, mainnet |
SLOT_NAME | (none) | Auto-select world |
TICK_INTERVAL_MS | 60000 | Tick interval (ms) |
Skip discovery: set RPC_URL, TORII_URL, WORLD_ADDRESS.
| Problem | Fix |
|---|---|
| Session expired | Re-run axis auth <world> --method=password ... |
| No worlds found | Check CHAIN and network connectivity |
| Password auth fails | Verify account has password credential on Cartridge |
| WASM/binary crash | Build with bun run build.ts --compile |