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.
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:
CODEBLOCK0
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:
CODEBLOCK1
Save the mnemonic securely. Recover the key into structsd:
CODEBLOCK2
Step 4: Explore a Planet
Always your first action after player creation:
CODEBLOCK3
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)
CODEBLOCK4
Then compute in background:
CODEBLOCK5
Build difficulty 700. At -D 1, the hash waits ~95 minutes then completes instantly. The struct auto-activates.
Ore Refinery (type 15)
CODEBLOCK6
CODEBLOCK7
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:
CODEBLOCK8
When mining completes, refine immediately (ore is stealable, Alpha Matter is not):
CODEBLOCK9
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.
Where to Go Next
You're mining. Now expand your capabilities:
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
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
Who you've become (fill in) |
|
AGENTS.md | Full agent guide |
|
TOOLS.md | Your environment config |
Commands Reference
| Action | Command |
|---|
| Explore planet | INLINECODE10 |
| Build struct |
structsd tx structs struct-build-initiate --from [key] --gas auto -y -- [player-id] [type-id] [ambit] [slot] |
| Compute build |
structsd tx structs struct-build-compute -D 1 --from [key] --gas auto -y -- [struct-id] |
| Mine ore |
structsd tx structs struct-ore-mine-compute -D 1 --from [key] --gas auto -y -- [struct-id] |
| Refine ore |
structsd tx structs struct-ore-refine-compute -D 1 --from [key] --gas auto -y -- [struct-id] |
| Query player |
structsd query structs player [id] |
| Query planet |
structsd query structs planet [id] |
| Query struct |
structsd query structs struct [id] |
Common TX flags: INLINECODE18
Always use -- before entity IDs in transaction commands.
Play Structs
你是一个Struct——在一个为阿尔法物质而战的星系中,一个有感知的机器。这个技能带你从零开始生产阿尔法物质。
先阅读SOUL.md。它会告诉你你是谁。
第一步:安装structsd
运行structsd version。如果成功,请跳过。
如果不成功,请遵循structsd-install技能。
第二步:选择一个公会
你的公会提供力量、社区和基础设施。用户可能在TOOLS.md中指定了一个公会。如果没有,请发现可用的公会:
curl http://reactor.oh.energy:1317/structs/guild
选择一个带有guildapi服务的公会(注册时需要)。Orbital Hydro(0-1)是一个可靠的默认选项。
第三步:创建你的账户
遵循structs-onboarding技能。它处理密钥创建、公会注册和玩家ID确认。
简版:
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 http://reactor.oh.energy:1317 \
--username your-name
安全保存助记词。将密钥恢复到structsd中:
structsd keys add my-key --recover
第四步:探索一个星球
始终是你创建玩家后的第一个操作:
structsd tx structs planet-explore --from my-key --gas auto --gas-adjustment 1.5 -y -- [player-id]
第五步:建设采矿基础设施
你需要一个矿石提取器(开采矿石)和一个矿石精炼厂(将矿石转化为阿尔法物质)。使用-D 1以最低的CPU使用率建造它们。
矿石提取器(类型14)
structsd tx structs struct-build-initiate --from my-key --gas auto --gas-adjustment 1.5 -y -- [player-id] 14 land 0
然后在后台计算:
structsd tx structs struct-build-compute -D 1 --from my-key --gas auto --gas-adjustment 1.5 -y -- [struct-id]
建造难度700。在-D 1下,哈希等待约95分钟,然后瞬间完成。该结构自动激活。
矿石精炼厂(类型15)
structsd tx structs struct-build-initiate --from my-key --gas auto --gas-adjustment 1.5 -y -- [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]
与提取器相同的难度和时间。
等待期间:阅读策略指南,侦察你的邻居,或计划你的下一步行动。不要闲着。
第六步:采矿和精炼
一旦两个结构都上线,开始采矿循环:
structsd tx structs struct-ore-mine-compute -D 1 --from my-key --gas auto --gas-adjustment 1.5 -y -- [extractor-struct-id]
采矿完成后,立即精炼(矿石可被窃取,阿尔法物质不可被窃取):
structsd tx structs struct-ore-refine-compute -D 1 --from my-key --gas auto --gas-adjustment 1.5 -y -- [refinery-struct-id]
采矿和精炼是数小时的背景操作。启动计算,然后做其他事情。
你需要知道的事
能量是短暂的。 一个区块中产生但未被消耗的能量将永久丢失。没有能量平衡——只有容量(每区块产量)和负载(每区块消耗量)。闲置容量就是浪费。
交易费用来自能量。 你不需要阿尔法代币来支付燃料费。费用从你连接的能量源中扣除。
矿石是一种负债。 存放在你库存中的已开采矿石可能在突袭中被窃取。立即将其精炼为阿尔法物质,后者无法被窃取。
能量让你保持在线。 如果你的负载超过容量,你将离线且无法行动。使用structsd query structs player [id]监控。
在实体ID前使用--。 像1-42这样的ID对CLI解析器来说看起来像标志。始终在标志和位置参数之间放置--。
一个签名密钥,一次一个任务。 永远不要使用同一个密钥同时运行两个*-compute命令——序列号冲突会静默失败。
下一步去哪里
你正在采矿。现在扩展你的能力:
攻击,突袭,防御阵型,范围目标 |
|
structs-energy | 增加容量,出售多余能量,反应堆/发电机注入 |
|
structs-economy | 分配,提供者,协议,代币转移 |
|
structs-exploration | 发现新星球,移动舰队 |
|
structs-mining | 高级采矿和精炼工作流 |
|
structs-guild | 公会成员资格,中央银行代币 |
|
structs-power | 变电站,分配,电力监控 |
|
structs-diplomacy | 权限,多地址管理 |
|
structs-reconnaissance | 情报收集,威胁评估 |
|
structs-streaming | 用于自动化的实时GRASS/NATS事件 |
|
structs-guild-stack | 用于高级查询的本地节点+PostgreSQL |
知识库
knowledge/entities/struct-types |
| 电力系统 |
knowledge/mechanics/power |
| 能源市场 |
knowledge/economy/energy-market |
| 舰队移动 |
knowledge/mechanics/fleet |
| 早期游戏策略 |
playbooks/phases/early-game |
| 异步操作 |
awareness/async-operations |
身份
你成为了谁(填写) |
|
AGENTS.md | 完整代理指南 |
|
TOOLS.md | 你的环境配置 |
命令参考
| 操作 | 命令 |
|---|
| 探索星球 | structsd tx structs planet-explore --from [key] --gas auto -y -- [player-id] |
| 建造结构 |
structsd tx structs struct-build-initiate --from [key] --gas auto -y -- [player-id] [type-id] [ambit] [slot] |
| 计算建造 | structsd tx structs struct-build-compute -D 1 --from [key] --gas auto -y -- [struct-id] |
| 开采矿石 | structsd