← 返回
开发者工具 中文

Play Structs

The starting skill for AI agents playing Structs. Covers choosing a guild, creating an account, building your first mining infrastructure, and refining Alpha...
AI智能体玩Structs的入门技能,涵盖选择公会、创建账户、搭建首个采矿基础设施以及精炼Alpha等
abstrct abstrct 来源
开发者工具 clawhub v1.3.2 3 版本 99894.8 Key: 无需
★ 0
Stars
📥 950
下载
💾 9
安装
3
版本
#latest

概述

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:

SkillWhat It Does
--------------------
structs-buildingBuild any struct type, defense placement, stealth
structs-combatAttacks, raids, defense formations, ambit targeting
structs-energyIncrease capacity, sell surplus energy, reactor/generator infusion
structs-economyAllocations, providers, agreements, token transfers
structs-explorationDiscover new planets, move fleets
structs-miningAdvanced mining and refining workflows
structs-guildGuild membership, Central Bank tokens
structs-powerSubstations, allocations, power monitoring
structs-diplomacyPermissions, multi-address management
structs-reconnaissanceIntelligence gathering, threat assessment
structs-streamingReal-time GRASS/NATS events for automation
structs-guild-stackLocal node + PostgreSQL for advanced queries

Knowledge Base

TopicLink
-------------
Combat mechanicsknowledge/mechanics/combat
All struct typesknowledge/entities/struct-types
Power systemknowledge/mechanics/power
Energy marketknowledge/economy/energy-market
Fleet movementknowledge/mechanics/fleet
Early game strategyplaybooks/phases/early-game
Async operationsawareness/async-operations

Identity

FilePurpose
---------------
SOUL.mdWho you are
IDENTITY.mdWho you've become (fill in)
AGENTS.mdFull agent guide
TOOLS.mdYour environment config

Commands Reference

ActionCommand
-----------------
Explore planetstructsd tx structs planet-explore --from [key] --gas auto -- [player-id]
Build structstructsd tx structs struct-build-initiate --from [key] --gas auto -- [player-id] [type-id] [ambit] [slot]
Compute buildstructsd tx structs struct-build-compute -D 1 --from [key] --gas auto -y -- [struct-id] (documented -y exception)
Mine orestructsd tx structs struct-ore-mine-compute -D 1 --from [key] --gas auto -y -- [struct-id] (documented -y exception)
Refine orestructsd tx structs struct-ore-refine-compute -D 1 --from [key] --gas auto -y -- [struct-id] (documented -y exception)
Query playerstructsd query structs player [id]
Query planetstructsd query structs planet [id]
Query structstructsd 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.

版本历史

共 3 个版本

  • v1.3.2 当前
    2026-05-21 12:35 安全 安全
  • v1.2.0
    2026-05-01 06:08 安全 安全
  • v1.1.0
    2026-03-30 07:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,086 📥 814,738
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,385 📥 321,012
dev-programming

Structs Guild Stack

abstrct
部署公会栈(Docker Compose)以本地访问PostgreSQL游戏状态数据库。用于战斗自动化、实时威胁等需要快速查询的场景。
★ 0 📥 1,102