Token导航 LogoToken导航TokenDH.com
研究检索权限需确认clawhub未标认证来源可访问clear审计提醒

structs-energy结构能量

Agent Skill

structs-energy 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

14,184

周安装

591

GitHub Stars

公开资料未说明

下载量

4,728
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:structs-energy(结构能量)
来源仓库:https://github.com/abstrct/structs-energy
安装命令:
openclaw skills install structs-energy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install structs-energy

简介

管理结构中的能量容量,支持反应堆注入、发电机注入和协议购买。

  • 适用于 OpenClaw 中根据关键词快速定位候选结果或筛选信息时。
  • 通过 clawhub 安装,可结合来源仓库和原始文档进一步验证使用方式。
  • 使用前应确认权限边界、维护状态及是否涉及网络请求或文件操作。
  • 注意检查是否会触发外部依赖或执行系统命令。

SKILL.md

name
structs-energy
description
Manages energy capacity in Structs. Covers increasing capacity (reactor infusion, generator infusion, buying agreements), selling surplus energy (creating providers), and diagnosing power problems. Use when capacity is too low, going offline, need more power for new structs, want to sell energy, or asking "how do I get more energy?

Structs Energy Management

Decision Tree

Need more capacity?
├── Have Alpha Matter?
│   ├── Infuse into a reactor (safest, immediate, 1g ≈ 1kW minus commission)
│   │   → See "Reactor Infusion" below
│   └── Infuse into a generator (higher ratio, IRREVERSIBLE, vulnerable to raids)
│       → See "Generator Infusion" below
└── No Alpha Matter?
    └── Buy energy from a provider via agreement
        → See "Buy Energy" below

Have surplus energy?
└── Sell it by creating a provider
    → See "Sell Energy" below

Reactor Infusion (most common path)

Infusing Alpha Matter (ualpha) into a reactor immediately increases the player's capacity. This is the safest and most common way to get more energy.

How It Works

When you infuse ualpha into a reactor, the system generates power equal to the amount infused. This power is split between you and the reactor based on the reactor's commission rate:

  • Player receives: power * (1 - commission)
  • Reactor receives: power * commission

The player's capacity increases automatically — no allocation or substation setup needed.

Example

Infusing 3,000,000 ualpha into a reactor with 4% commission:

{
  "destinationType": "reactor",
  "destinationId": "3-1",
  "fuel": "3000000",
  "power": "3000000",
  "commission": "0.040000000000000000",
  "playerId": "1-33"
}
  • fuel: 3,000,000 ualpha infused
  • power: 3,000,000 mW generated (1 ualpha = 1 mW = 0.001 W)
  • Reactor keeps 4%: 120,000 mW (120 W)
  • Player receives 96%: 2,880,000 mW (2,880 W) added to capacity

Procedure

  1. Check current capacity: structsd query structs player [id]
  2. Choose a reactor (usually your guild's): structsd query structs reactor [id] — note the commission field
  3. Infuse:
structsd tx structs reactor-infuse [your-address] [validator-address] [amount]ualpha --from [key-name] --gas auto --gas-adjustment 1.5 -y

Important: The amount must include the denomination, e.g. 60000000ualpha (not just 60000000). Omitting the denom will cause the transaction to fail.

  1. Verify: re-query player, confirm capacity increased

Choosing a Reactor

  • Your guild's reactor is the default choice — it strengthens the guild and you benefit from guild infrastructure
  • Lower commission = more capacity for you
  • Check commission before infusing: structsd query structs reactor [id]
  • You can infuse into any reactor, not just your guild's
  • The reactor-infuse command takes the validator address (structsvaloper1...), not the reactor ID. Find it in the reactor query output's validator field

Undoing Infusion

  • structsd tx structs reactor-defuse [reactor-id] — starts a cooldown period before ualpha is returned
  • structsd tx structs reactor-cancel-defusion [reactor-id] — cancel defusion and re-stake
  • structsd tx structs reactor-begin-migration [player-address] [source-validator-address] [dest-validator-address] [amount] — move stake to a different reactor (takes addresses, not IDs)

Generator Infusion

Generators convert Alpha Matter to energy at higher ratios than reactors, but the infusion is irreversible and the generator is vulnerable to raids.

Conversion Rates

GeneratorType IDRateRisk
Field Generator201g = 2 kWHigh — vulnerable to raids, irreversible
Continental Power Plant211g = 5 kWHigh — vulnerable to raids, irreversible
World Engine221g = 10 kWHigh — vulnerable to raids, irreversible

Procedure

  1. Identify your generator struct: structsd query structs struct [id] — must be type 20, 21, or 22
  2. Infuse:
structsd tx structs struct-generator-infuse [struct-id] [amount]ualpha --from [key-name] --gas auto --gas-adjustment 1.5 -y

Important: Amount must include denomination, e.g. 5000000ualpha.

  1. Verify: query player for capacity increase

When to Use Generators

  • You need maximum energy efficiency per gram of Alpha Matter
  • You have defense in place (shields, PDC, defenders) to protect the generator
  • You accept the risk that if the generator is destroyed, the infused Alpha is lost forever

Do not infuse generators without adequate defense.


Buy Energy (Agreement Path)

If you have no Alpha Matter to infuse, you can buy energy from another player who is running a provider.

Procedure

  1. Find a provider: Query available providers:
structsd query structs provider-all

Or check your guild's providers. Look for one with acceptable rateAmount, capacityMaximum, and durationMaximum.

  1. Open an agreement:
structsd tx structs agreement-open [provider-id] [duration-in-blocks] [capacity] --from [key-name] --gas auto --gas-adjustment 1.5 -y

The agreement automatically creates an allocation.

  1. Connect the allocation to a substation:
structsd tx structs substation-allocation-connect [substation-id] [allocation-id] --from [key-name] --gas auto --gas-adjustment 1.5 -y

Connect to your guild's substation to benefit the guild, or create your own substation for independent energy management.

  1. Verify: Query player to confirm capacity increased.

Agreement Management

  • Increase capacity: agreement-capacity-increase [agreement-id] [additional-capacity]
  • Decrease capacity: agreement-capacity-decrease [agreement-id] [reduce-by]
  • Extend duration: agreement-duration-increase [agreement-id] [additional-blocks]
  • Close: agreement-close [agreement-id] — may incur cancellation penalty

Sell Energy (Energy Commerce Pipeline)

If you have surplus capacity, you can sell energy to other players through the reactor-allocation-substation-provider pipeline. This is the core of Structs economic gameplay.

Full Pipeline (Step by Step)

  1. Accumulate Alpha -- Mine ore, refine immediately. Consolidate ualpha to the account that will manage energy commerce.
  1. Infuse into reactor -- Increases your player capacity. Use your guild's reactor for simplicity:
structsd tx structs reactor-infuse [your-address] [validator-address] [amount]ualpha --from [key-name] --gas auto -y

The validator-address is structsvaloper1... (find it in structsd query structs reactor [id] under the validator field). Commission is locked at infusion time and permanent for that infusion.

  1. Create automated allocation -- Routes your capacity to a substation. Use automated type so it auto-grows when you infuse more alpha:
structsd tx structs allocation-create --allocation-type automated --from [key-name] --gas auto -y -- [your-player-id] [power-amount]
  1. Create substation -- The distribution node for your energy:
structsd tx structs substation-create --from [key-name] --gas auto -y -- [your-player-id] [allocation-id]
  1. Create provider -- Your marketplace storefront:
structsd tx structs provider-create --from [key-name] --gas auto -y -- [substation-id] [rate] [access-policy] [provider-penalty] [consumer-penalty] [cap-min] [cap-max] [dur-min] [dur-max]
ParameterPurposeRecommendation
ratePrice per unit capacity per block1uguild.0-1 (guild tokens create demand for your guild's currency)
access-policyWho can buyopen-market for maximum revenue
provider-penaltyPenalty you pay if you cancel0 initially
consumer-penaltyPenalty buyer pays if they cancel0 to lower friction
cap-min / cap-maxCapacity range per agreement1000 to 1000000000
dur-min / dur-maxDuration range in blocks100 to 1000000
  1. Monitor agreements -- Buyers open agreements against your provider:
structsd query structs provider [provider-id]
  1. Withdraw earnings periodically:
structsd tx structs provider-withdraw-balance --from [key-name] --gas auto -y -- [provider-id]

How Agreements Work (Payment Flow)

When a buyer opens an agreement:

  1. Buyer pays capacity * rate * duration upfront in the rate denomination
  2. Payment goes into the provider's collateral address (escrow)
  3. System auto-creates a provider-agreement allocation (energy flows immediately)
  4. Revenue drips from collateral to the provider's earnings address as blocks pass
  5. Provider withdraws accumulated earnings at any time
  6. On expiry (endBlock reached), the allocation is released

Agreement lifecycle: OPEN -> ACTIVE -> EXPIRED (or CLOSED early with cancellation penalties).

The Energy Flywheel

The most powerful economic strategy in Structs is compounding energy:

  1. Mine ore from planets
  2. Refine ore into Alpha immediately
  3. Infuse Alpha into the guild reactor
  4. Automated allocation grows substation capacity
  5. Sell energy via provider, earning guild tokens
  6. Reinvest guild tokens (via guild-bank-redeem for alpha, or trade)

Each cycle compounds: more alpha = more capacity = more energy to sell = more tokens = more economic power.

Important Notes

  • Defusion cooldown: Infused alpha is not immediately liquid. reactor-defuse starts a cooldown period. Don't infuse alpha you may need for short-term operations (fleet rebuilds, emergency purchases).
  • Commission is locked: The reactor's commission rate at infusion time is permanent for that specific infusion. Check commission before infusing.
  • Automated allocations: Limited to one per source. They auto-grow with your capacity -- no manual adjustment needed after creation. If you attempt to create a second automated allocation from the same source, the transaction will error. Delete the existing one first, or use dynamic type for additional allocations.
  • Provider-agreement allocations: Auto-created by the system when agreements open. Do not create or modify these manually.

Provider Management

  • Grant guild members access (for guild-market providers): permission-guild-rank-set [provider-id] [guild-id] 262144 [rank] (PermProviderOpen -- guild members at or above the specified rank can open agreements)
  • Revoke guild access: permission-guild-rank-revoke [provider-id] [guild-id] 262144
  • Update terms: provider-update-capacity-maximum, provider-update-duration-minimum, etc.
  • Delete provider: provider-delete [provider-id] (close agreements first)

Quick Reference

SituationAction
Low capacity, have AlphaInfuse into guild reactor
Need maximum kW per gramInfuse into generator (irreversible)
No Alpha, need capacityOpen agreement with a provider
Surplus capacityCreate provider to sell energy
Going offline (load > capacity)Deactivate structs immediately, then increase capacity
Check commission ratestructsd query structs reactor [id]
Check your capacitystructsd query structs player [id]

Commands Reference

ActionCommand
Reactor infusestructsd tx structs reactor-infuse [your-addr] [validator-addr] [amount-ualpha] (validator = structsvaloper1..., NOT reactor ID)
Reactor defusestructsd tx structs reactor-defuse [reactor-id]
Reactor migratestructsd tx structs reactor-begin-migration [player-addr] [src-validator-addr] [dest-validator-addr] [amount]
Generator infusestructsd tx structs struct-generator-infuse [struct-id] [amount-ualpha]
Open agreementstructsd tx structs agreement-open [provider-id] [duration] [capacity]
Close agreementstructsd tx structs agreement-close [agreement-id]
Create providerstructsd tx structs provider-create [substation-id] [rate] [access] [prov-pen] [cons-pen] [cap-min] [cap-max] [dur-min] [dur-max]
Delete providerstructsd tx structs provider-delete [provider-id]
Withdraw earningsstructsd tx structs provider-withdraw-balance [provider-id]
Connect allocationstructsd tx structs substation-allocation-connect [substation-id] [allocation-id]
Query player powerstructsd query structs player [id]
Query reactorstructsd query structs reactor [id]
Query providersstructsd query structs provider-all

Common tx flags: --from [key-name] --gas auto --gas-adjustment 1.5 -y

Important: Entity IDs containing dashes (like 3-1, 4-5) are misinterpreted as flags by the CLI parser. Always place -- between flags and positional args: structsd tx structs command --from key --gas auto -y -- [entity-id] [other-args]

Error Handling

  • Going offline — Load exceeds capacity. Immediately deactivate non-essential structs (struct-deactivate), then increase capacity via reactor infusion or agreement.
  • "insufficient balance" — Not enough ualpha. Mine and refine ore first, or buy energy via agreement instead.
  • "generator infuse failed" — Verify the struct is a generator type (20, 21, or 22) and is online.
  • Commission too high — Check other reactors. You can infuse into any reactor, not just your guild's.
  • No providers available — Ask guild members to create providers, or infuse your own reactor.

See Also

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

73.76%
按下载量换算3,487

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills