abstrct/structs-economy/SKILL.md
Manages economic operations in Structs. Covers reactor staking, energy providers, agreements, allocations, generator infusion, and token transfers. Use when staking Alpha Matter in reactors, creating or managing energy providers, negotiating agreements, allocating energy, infusing generators, transferring tokens, or managing economic infrastructure.
npx skillsauth add openclaw/skills structs-economyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
structsd query structs player/reactor/provider/agreement [id].structsd tx structs reactor-infuse [player-address] [reactor-address] [amount] TX_FLAGS. The amount must include the denomination, e.g. 60000000ualpha (not just 60000000). This automatically increases the player's capacity — no allocation setup needed. The reactor's commission rate determines the split: player receives power * (1 - commission), reactor keeps the rest. Unstake: reactor-defuse [reactor-id] (cooldown applies). Cancel cooldown: reactor-cancel-defusion [reactor-id]. Migrate: reactor-begin-migration [player-address] [source-validator-address] [dest-validator-address] [amount].structsd tx structs struct-generator-infuse [struct-id] [amount] TX_FLAGS. IRREVERSIBLE — Alpha cannot be recovered. Higher conversion rates than reactors (2-10x) but generator is vulnerable to raids.provider-create [substation-id] [rate] [access-policy] [provider-penalty] [consumer-penalty] [cap-min] [cap-max] [dur-min] [dur-max] TX_FLAGS. Valid access-policy values: open-market (anyone can buy), guild-market (guild members with PermProviderOpen rank permission only), closed-market (invite-only via guild rank permissions). Update capacity/duration/access via provider-update-capacity-maximum, provider-update-duration-minimum, etc. Delete: provider-delete [provider-id]. Withdraw earnings: provider-withdraw-balance [provider-id]. Note (v0.15/111): provider-guild-grant and provider-guild-revoke are removed; guild provider access is now managed via permission-guild-rank-set with PermProviderOpen.agreement-open [provider-id] [duration] [capacity] TX_FLAGS. Close: agreement-close [agreement-id]. Adjust: agreement-capacity-increase/decrease, agreement-duration-increase.allocation-create [source-id] [power] --allocation-type static|dynamic|automated TX_FLAGS. The --controller flag now accepts a Player ID (not an address) — this changed in v0.15/111. Omit --controller to default control to the creating player. Update: allocation-update [allocation-id] [new-power]. Delete: allocation-delete [allocation-id]. Transfer: allocation-transfer [allocation-id] [new-owner].| Type | Updatable | Deletable | Auto-grows | Limit | Use Case |
|------|-----------|-----------|------------|-------|----------|
| static | No | No (while connected) | No | Unlimited | Fixed capacity routing |
| dynamic | Yes | Yes | No | Unlimited | Flexible, managed routing |
| automated | Yes | No | Yes (scales with source capacity) | One per source | Energy commerce (recommended) |
| provider-agreement | System-managed | System-managed | System-managed | System-created | Auto-created when agreements open; never create manually |
Automated allocation limit: Only one automated allocation per source is allowed. Attempting to create a second from the same source will error. Use dynamic type if you need multiple allocations from one source.
Recommended for energy sales: Use automated allocations. When you infuse more alpha into a reactor, your capacity grows, and automated allocations proportionally increase energy flowing to your substations with no manual intervention.
7. Token transfer — player-send [from-address] [to-address] [amount] TX_FLAGS.
| Action | Command |
|--------|---------|
| Reactor infuse | structsd tx structs reactor-infuse [player-addr] [validator-addr] [amount] (validator = structsvaloper1..., NOT reactor ID) |
| Reactor defuse | structsd tx structs reactor-defuse [reactor-id] |
| Reactor migrate | structsd tx structs reactor-begin-migration [player-addr] [src-validator-addr] [dest-validator-addr] [amount] |
| Reactor cancel defusion | structsd tx structs reactor-cancel-defusion [reactor-id] |
| Generator infuse | structsd tx structs struct-generator-infuse [struct-id] [amount] |
| Provider create | structsd tx structs provider-create [substation-id] [rate] [access] [prov-penalty] [cons-penalty] [cap-min] [cap-max] [dur-min] [dur-max] |
| Provider delete | structsd tx structs provider-delete [provider-id] |
| Provider withdraw | structsd tx structs provider-withdraw-balance [provider-id] |
| Agreement open | structsd tx structs agreement-open [provider-id] [duration] [capacity] |
| Agreement close | structsd tx structs agreement-close [agreement-id] |
| Allocation create | structsd tx structs allocation-create [source-id] [power] --allocation-type [type] |
| Allocation update | structsd tx structs allocation-update [allocation-id] [power] |
| Allocation delete | structsd tx structs allocation-delete [allocation-id] |
| Player send | structsd tx structs player-send [from] [to] [amount] |
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 TX_FLAGS -- [entity-id] [other-args]
structsd query structs reactor [id] — check infusedAmount, defusionCooldown.structsd query structs provider [id] — verify capacity, rate, active agreements.structsd query structs agreement [id] — check status, capacity, duration.structsd query structs allocation [id] — confirm power, source, destination.structsd query structs player [id] — verify Alpha Matter after transfers.capacityMaximum; reduce agreement capacity or create new provider.reactor-cancel-defusion to re-stake during cooldown, or wait.tools
Use when the user wants to connect to, test, or use the McDonalds service at mcp.mcd.cn, including checking authentication, probing MCP endpoints, listing tools, or calling McDonalds MCP tools through a reusable local CLI.
development
Web scraping platform — Twitter/X data, Vinted marketplace, and general web scraping API
development
SlowMist AI Agent Security Review — comprehensive security framework for skills, repositories, URLs, on-chain addresses, and products (Claude Code version)
data-ai
去除中文文本中的 AI 写作痕迹,使其读起来自然。基于维基百科 AI 写作特征指南,检测 24 种 AI 模式。触发词:humanizer-cn、去除 AI 痕迹、去除 AI 写作痕迹、中文文本人性化。