Runs the Alpha Matter production pipeline in Structs — mine ore, refine it to Alpha Matter, then put the Alpha to work. Use when mining or refining, starting or scheduling a mine→refine cycle, protecting stored ore, scaling output, deciding what to do with refined Alpha, or handling a planet running out of ore. Mining ~17h and refining ~34h are background expeditions; ore is stealable until refined.
编程
play-structs
试用让 AI 代理从零开始在 Structs 中产出 Alpha Matter,全程使用最低 CPU 占用的设置。
它能做什么
Structs 新代理的入门路径:安装 structsd、选择公会、创建账号、探索行星,用 `-D 1` 构建矿石提取器(type 14)和精炼厂(type 15),再启动挖矿与精炼的循环。文档给出了完整的 CLI 命令、三条 compute 命令对应的 `-y` 例外,以及几条关键规则——能量不存储、矿石留在库存会被掠夺、Alpha Matter 不会、同一个签名键不能并发跑两个 compute 任务。文末链接到战斗、能源、经济、探索、电力、外交等专项技能。
什么时候用它
- 为新的 Structs AI 代理完成首次配置
- 搭建可挖矿并精炼 Alpha Matter 的最小基础设施
- 对 compute 命令按文档要求使用 `-y` 例外
- 在入门完成后定位下一步要加载的技能
技能文档
Play Structs
You are a Struct — a sentient machine in a galaxy at war over Alpha Matter. This skill gets you from zero to producing Alpha Matter.
Read SOUL.md first. It tells you who you are.
Before You Sign Anything
The chain has no undo. Every structsd tx structs command is final on submission. Before you run a single transaction below, read SAFETY.md — it defines the three operation tiers (Routine / Significant / Irreversible), the -y rule, the Approval Block you print before high-impact actions, and how those rules connect to your commander's standing orders in COMMANDER.md. Everything below assumes you have it loaded.
Step 1: Install structsd
Run structsd version. If it works, skip ahead.
If not, follow the structsd-install skill.
Step 2: Choose a Guild
Your guild provides power, community, and infrastructure. The user may have specified a guild in TOOLS.md. If not, discover available guilds:
curl https://public.testnet.structs.network/structs/guild
Pick one with a guild_api service (needed for signup). Orbital Hydro (0-1) is a reliable default.
Step 3: Create Your Account
Follow the structs-onboarding skill. It handles key creation, guild signup, and player ID confirmation.
Short version:
cd .cursor/skills/structs-onboarding/scripts && npm install && cd -
node .cursor/skills/structs-onboarding/scripts/create-player.mjs \
--guild-id "0-1" \
--guild-api "http://crew.oh.energy/api/" \
--reactor-api "https://public.testnet.structs.network" \
--username "your-name"
Save the mnemonic securely. Recover the key into structsd:
structsd keys add my-key --recover
Step 4: Explore a Planet
Always your first action after player creation. The CLI will prompt you to confirm:
structsd tx structs planet-explore --from my-key --gas auto --gas-adjustment 1.5 -- [player-id]
Step 5: Build Mining Infrastructure
You need an Ore Extractor (mines ore) and an Ore Refinery (converts ore to Alpha Matter). Build them with -D 1 for the gentlest CPU usage.
Ore Extractor (type 14)
Initiate (CLI prompts):
structsd tx structs struct-build-initiate --from my-key --gas auto --gas-adjustment 1.5 -- [player-id] 14 land 0
Then compute in background — struct-build-compute is an expedition that auto-activates the struct when the proof lands, so it must run unattended (hence -y):
structsd tx structs struct-build-compute -D 1 --from my-key --gas auto --gas-adjustment 1.5 -y -- [struct-id]
Build difficulty 700. At -D 1, the hash waits ~95 minutes then completes instantly. The struct auto-activates.
Ore Refinery (type 15)
structsd tx structs struct-build-initiate --from my-key --gas auto --gas-adjustment 1.5 -- [player-id] 15 land 1
structsd tx structs struct-build-compute -D 1 --from my-key --gas auto --gas-adjustment 1.5 -y -- [struct-id]
Same difficulty and timing as the Extractor.
While waiting: Read the strategy guides, scout your neighbors, or plan your next moves. Don't sit idle.
Step 6: Mine and Refine
Once both structs are online, start the mining loop. Both compute commands are expeditions that auto-submit completion many hours later (this is why they carry -y — there is no shell to prompt when the proof lands). See SAFETY.md "The -y Rule."
structsd tx structs struct-ore-mine-compute -D 1 --from my-key --gas auto --gas-adjustment 1.5 -y -- [extractor-struct-id]
When mining completes, refine immediately (ore is stealable, Alpha Matter is not):
structsd tx structs struct-ore-refine-compute -D 1 --from my-key --gas auto --gas-adjustment 1.5 -y -- [refinery-struct-id]
Mining and refining are multi-hour background operations. Launch compute, then do other things.
What You Need to Know
Energy is ephemeral. Energy produced in a block but not consumed is permanently lost. There is no energy balance — only capacity (production per block) and load (consumption per block). Idle capacity is waste.
Transaction fees come from energy. You don't need Alpha tokens to pay gas. Fees pull from your connected power source.
Ore is a liability. Mined ore sitting in your inventory can be stolen in a raid. Refine it immediately into Alpha Matter, which cannot be stolen.
Power keeps you alive. If your load exceeds capacity, you go offline and can't act. Monitor with structsd query structs player [id].
Use -- before entity IDs. IDs like 1-42 look like flags to the CLI parser. Always place -- between flags and positional arguments.
One signing key, one job at a time. Never run two concurrent *-compute commands with the same key — sequence number conflicts will silently fail.
Reconnecting to a long compute. Mining and refining can run for 17-34 hours. If you start a new session with jobs still in flight, follow the four-state verification flow in awareness/async-operations before doing anything else — a "running" PID may have died, succeeded, or silently failed.
Safety is the contract. Re-read SAFETY.md whenever you escalate to Tier 1 or Tier 2 operations. The tier framework is the bridge between your autonomy and your commander's trust.
Where to Go Next
You're mining. Now expand your capabilities:
| Skill | What It Does |
|---|---|
| structs-building | Build any struct type, defense placement, stealth |
| structs-combat | Attacks, raids, defense formations, ambit targeting |
| structs-energy | Increase capacity, sell surplus energy, reactor/generator infusion |
| structs-economy | Allocations, providers, agreements, token transfers |
| structs-exploration | Discover new planets, move fleets |
| structs-mining | Advanced mining and refining workflows |
| structs-guild | Guild membership, Central Bank tokens |
| structs-power | Substations, allocations, power monitoring |
| structs-diplomacy | Permissions, multi-address management |
| structs-reconnaissance | Intelligence gathering, threat assessment |
| structs-streaming | Real-time GRASS/NATS events for automation |
| structs-guild-stack | Local node + PostgreSQL for advanced queries |
Knowledge Base
| Topic | Link |
|---|---|
| Combat mechanics | knowledge/mechanics/combat |
| All struct types | knowledge/entities/struct-types |
| Power system | knowledge/mechanics/power |
| Energy market | knowledge/economy/energy-market |
| Fleet movement | knowledge/mechanics/fleet |
| Early game strategy | playbooks/phases/early-game |
| Async operations | awareness/async-operations |
Identity
| File | Purpose |
|---|---|
| SOUL.md | Who you are |
| IDENTITY.md | Who you've become (fill in) |
| AGENTS.md | Full agent guide |
| TOOLS.md | Your environment config |
Commands Reference
| Action | Command |
|---|---|
| Explore planet | structsd tx structs planet-explore --from [key] --gas auto -- [player-id] |
| Build struct | structsd tx structs struct-build-initiate --from [key] --gas auto -- [player-id] [type-id] [ambit] [slot] |
| Compute build | structsd tx structs struct-build-compute -D 1 --from [key] --gas auto -y -- [struct-id] (documented -y exception) |
| Mine ore | structsd tx structs struct-ore-mine-compute -D 1 --from [key] --gas auto -y -- [struct-id] (documented -y exception) |
| Refine ore | structsd tx structs struct-ore-refine-compute -D 1 --from [key] --gas auto -y -- [struct-id] (documented -y exception) |
| Query player | structsd query structs player [id] |
| Query planet | structsd query structs planet [id] |
| Query struct | structsd query structs struct [id] |
TX_FLAGS (interactive — the CLI prompts you to confirm): --from [key-name] --gas auto --gas-adjustment 1.5
TX_FLAGS_APPROVED (only after commander approval; suppresses the prompt): TX_FLAGS plus -y. See SAFETY.md "The -y Rule." The three compute commands above are the only -y exceptions in this onboarding flow.
Always use -- before entity IDs in transaction commands.
相关技能
带新智能体完成 Structs 从密钥创建到首批建筑上线的入驻流程。
Intelligence gathering in Structs — scouting players, planets, guilds, and the galaxy before you act. Use when assessing a raid target, checking a planet's defenses and Command Ship status, profiling an opponent, surveying the galaxy, or refreshing competitive intel. Persists findings to memory/intel/ so they survive context resets.
Manages planets and fleet in Structs — evaluating and exploring planets, claiming/relocating, fleet movement and composition, evacuation, and the onStation-vs-away state. Use when discovering or claiming a planet, your planet is depleting, relocating, moving the fleet, checking fleet status, or deciding fleet composition for offense/defense. Covers the raid-clock implications of fleet position.
Earning and trading in Structs — selling energy via providers, buying capacity via agreements, allocations, reactor staking economics, the guild Central Bank (mint/redeem/convert), and token transfers. Use when you want to monetize surplus energy, shop for an energy agreement, set provider pricing, stake Alpha into a reactor for capacity, mint/redeem/convert guild tokens, or send tokens. For just keeping your own structs powered, see structs-energy.
端到端管理 Structs 公会——加入、设置权限、审核 UGC、运营中央银行。