← 返回 Skills 市场
abstrct

Structs Building

作者 Abstrct · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ 安全检测通过
472
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install structs-building
功能描述
Builds and manages structures in Structs. Handles construction, activation, deactivation, movement, defense positioning, stealth, and generator infusion. Use...
使用说明 (SKILL.md)

Structs Building

Important: Entity IDs containing dashes (like 1-42, 5-10) are misinterpreted as flags by the CLI parser. All transaction commands in this skill use -- before positional arguments to prevent this.

Procedure

  1. Check requirements — Player online, sufficient Alpha Matter, valid slot (0-3 per ambit), Command Ship online, fleet on station (for planet builds). Query player, planet, fleet.
  2. Initiate buildstructsd tx structs struct-build-initiate --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [player-id] [struct-type-id] [operating-ambit] [slot]. The [operating-ambit] argument must be a lowercase string: "space", "air", "land", or "water" (not a bitmask number).
  3. Proof-of-workstructsd tx structs struct-build-compute -D 3 --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id]. This calculates the hash, auto-submits complete, and the struct auto-activates. No separate activation step needed.
  4. Optional — Move, set defense, or activate stealth as needed.

Auto-activation: Structs automatically activate after build-complete. Use struct-activate only to re-activate a struct that was previously deactivated with struct-deactivate.

Compute vs Complete

struct-build-compute is a helper that performs proof-of-work and automatically submits struct-build-complete with the hash results. The struct then auto-activates. You only need struct-build-complete if you computed the hash through external tools and want to submit it manually.

The -D Flag

The -D flag (range 1-64) tells compute to wait until difficulty drops to the specified level before starting the hash. Difficulty decreases logarithmically as the struct ages. Use -D 3 — at D=3, the hash is trivially instant and zero CPU is wasted. Lower values wait longer but burn no compute on hard hashes.

Charge Costs

Every action consumes charge. Charge accumulates passively at 1 per block (~6 sec/block).

Action Charge Cost Wait Time
Build complete 8 ~48 seconds
Move 8 ~48 seconds
Activate (re-activation only) 1 ~6 seconds
Defend change 1 ~6 seconds
Primary weapon 1-20 Varies by struct

If you get a "required charge X but player had Y" error, wait for charge to accumulate. See knowledge/mechanics/building for the complete charge table.

Expected Build Times

Time from initiation until compute completes (assuming 6 sec/block, D=3):

Struct Type ID Build Difficulty Wait to D=3
Command Ship 1 200 ~17 min
Starfighter 3 250 ~20 min
Ore Extractor 14 700 ~57 min
Ore Refinery 15 700 ~57 min
PDC 19 2,880 ~3.7 hr
Ore Bunker 18 3,600 ~4.6 hr
World Engine 22 5,000 ~6.4 hr

Initiate early, compute later. The age clock starts at initiation. Batch-initiate all planned builds, then launch compute in background terminals. Do other things while waiting. See awareness/async-operations.

One key, one compute at a time. Never run two concurrent *-compute jobs with the same signing key. Both jobs may reach the target difficulty simultaneously and submit transactions with conflicting sequence numbers — one fails silently, leaving the struct stuck in build status. Use separate signing keys for separate players, and sequence compute jobs for the same player.

Commands Reference

Action CLI Command
Initiate build structsd tx structs struct-build-initiate --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [player-id] [struct-type-id] [operating-ambit] [slot] (operating-ambit = space/air/land/water, lowercase string)
Build compute (PoW + auto-complete + auto-activate) structsd tx structs struct-build-compute -D 3 --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id]
Build complete (manual, rarely needed) structsd tx structs struct-build-complete --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id]
Build cancel structsd tx structs struct-build-cancel --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id]
Re-activate (only after deactivation) structsd tx structs struct-activate --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id]
Deactivate structsd tx structs struct-deactivate --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id]
Move structsd tx structs struct-move --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id] [new-ambit] [new-slot] [new-location]
Set defense structsd tx structs struct-defense-set --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [defender-struct-id] [protected-struct-id]
Clear defense structsd tx structs struct-defense-clear --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [defender-struct-id]
Stealth on structsd tx structs struct-stealth-activate --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id]
Stealth off structsd tx structs struct-stealth-deactivate --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id]
Generator infuse structsd tx structs struct-generator-infuse --from [key-name] --gas auto --gas-adjustment 1.5 -y -- [struct-id] [amount]

Limits: 1 PDC per player, 1 Command Ship per player. Command Ship must be in fleet. Generator infusion is IRREVERSIBLE. Common tx flags: --from [key-name] --gas auto --gas-adjustment 1.5 -y.

Verification

  • structsd query structs struct [id] — status = Online (or Built/Offline if not activated)
  • Struct appears in planet/fleet struct list

Error Handling

Error Cause Fix
"required charge X but player had Y" Not enough charge accumulated Wait ~48s (8 blocks) between build actions
"insufficient resources" Not enough Alpha Matter Mine and refine ore first; check balance with structsd query structs player [id]
"power overload" Capacity too low for struct to go online Deactivate non-essential structs or increase capacity (see structs-energy skill)
"fleet not on station" Fleet is away from planet Wait for fleet return or fleet-move back
"Command Ship required" Command Ship offline or not built Build or re-activate Command Ship first
"invalid slot" Slot already occupied Check existing structs on planet; slots are 0-3 per ambit
"invalid ambit" Struct type doesn't support chosen ambit Check possibleAmbit bit-flags for the struct type
Connection refused on port 26657 No local node; remote node not configured Set node in ~/.structs/config/client.toml or use --node flag (see TOOLS.md)

See Also

安全使用建议
This skill appears coherent and only provides CLI instructions for the Structs game. Before using it: (1) verify the SKILL.md is complete (the manifest excerpt is truncated) and comes from a trusted source; (2) run the shown commands locally — do not paste private keys into any UI; the commands use --from [key-name], which expects a signing key in your local wallet/CLI environment; (3) double-check any transaction you submit (gas, target IDs, and --) to avoid accidental transfers; and (4) if you need assurance about provenance, ask the publisher for the full skill text or a homepage/source URL.
功能分析
Type: OpenClaw Skill Name: structs-building Version: 1.2.0 The skill bundle provides instructions for an AI agent to manage game assets within the 'Structs' ecosystem using the `structsd` CLI. It covers building, proof-of-work computation, and status management of various structures. The instructions in SKILL.md are well-documented, include safety measures for CLI parsing (using `--` for positional arguments), and align entirely with the stated purpose of game interaction without any signs of malicious intent, unauthorized data access, or exfiltration.
能力评估
Purpose & Capability
The name/description describe building and managing in the 'Structs' game and the SKILL.md contains only CLI commands and gameplay mechanics that match that purpose. There are no unrelated environment variables, binaries, or install steps requested.
Instruction Scope
Instructions stick to build/initiate/compute/activate workflows for the structsd CLI and related gameplay mechanics. They instruct the user to run signing transactions using local key names (--from [key-name]) which is expected but means users will sign blockchain transactions locally; the document references querying player/planet/fleet but doesn't show the exact query commands. Also the provided SKILL.md excerpt was truncated in the manifest — request full text/origin if you need complete guidance.
Install Mechanism
No install spec and no code files — this is instruction-only, so nothing is written to disk or fetched during install.
Credentials
The skill requests no environment variables, credentials, or config paths. It does require the user to use local signing keys when running the CLI (normal for this task); the skill does not ask for private keys or push secrets to any external endpoints.
Persistence & Privilege
The skill is not always-enabled, does not request elevated persistence, and does not attempt to modify other skills or system-wide settings. Autonomous model invocation is allowed (platform default) but the skill itself contains only instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install structs-building
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /structs-building 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
structstestnet-111 compatible, synced with upstream
v1.1.1
structstestnet-111 compatibility; no content changes required
v1.1.0
Updated from structs.ai: fixed reactor-begin-migration signature, guild-bank-mint signature, automated allocation limit docs, capacity=0 false positive, PoW key sequencing warnings, energy ephemeral concept. New: play-structs meta-skill.
v1.0.1
Fixed See Also references to use proper links
v1.0.0
Initial release
v0.1.0
structs-building v0.1.0 - Initial release with a detailed guide for building and managing structs in Structs. - Supports construction, (auto-)activation, deactivation, movement, defense assignment, stealth, and generator infusion. - Describes each key build procedure step and reference CLI commands. - Documents charge costs, build times, command syntax, error handling, and key usage notes. - Includes tables for charge costs, struct build times, and error troubleshooting. - Provides links to related knowledge and async operation docs.
元数据
Slug structs-building
版本 1.2.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 6
常见问题

Structs Building 是什么?

Builds and manages structures in Structs. Handles construction, activation, deactivation, movement, defense positioning, stealth, and generator infusion. Use... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 472 次。

如何安装 Structs Building?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install structs-building」即可一键安装,无需额外配置。

Structs Building 是免费的吗?

是的,Structs Building 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Structs Building 支持哪些平台?

Structs Building 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Structs Building?

由 Abstrct(@abstrct)开发并维护,当前版本 v1.2.0。

💬 留言讨论