← 返回
AI智能 中文

Structs Reconnaissance

Gathers intelligence on players, guilds, planets, and the galaxy in Structs. Use when scouting enemy players, checking planet defenses, monitoring fleet move...
在Structs中收集玩家、公会、星球和星系情报。用于侦察敌方玩家、检查星球防御、监视舰队动向。
abstrct
AI智能 clawhub v1.2.1 3 版本 99878.5 Key: 无需
★ 0
Stars
📥 822
下载
💾 15
安装
3
版本
#latest

概述

Structs Reconnaissance

Procedure

  1. Query entities — All via structsd query structs [subcommand] [args]:
    • Self: address [your-address] — resolves your address to a player ID. A result of 1-0 means no player exists for that address.
    • Players: player [id], player-all
    • Planets: planet [id], planet-all, planet-all-by-player [player-id], planet-attribute [planet-id] [type], planet-attribute-all
    • Structs: struct [id], struct-all, struct-attribute [id] [type], struct-type [id], struct-type-all
    • Fleets: fleet [id], fleet-all, fleet-by-index [index]
    • Guilds: guild [id], guild-all, guild-membership-application [id], guild-membership-application-all
    • Energy: reactor [id], reactor-all, infusion [id], infusion-all, infusion-all-by-destination [dest-id], provider [id], provider-all, agreement [id], agreement-all, agreement-all-by-provider [provider-id]
    • Power: allocation [id], allocation-all, allocation-all-by-source [source-id], allocation-all-by-destination [dest-id], substation [id], substation-all
    • Grid: grid [id], grid-all
    • Block: block-height
  2. Assess targets — For players: structs, power capacity, fleet status (onStation = can build; away = raiding). For planets: ore remaining, defense structs, shield. For guilds: members, Central Bank status.
  3. Identify vulnerabilities — Unrefined ore stockpile, power near capacity, undefended planet, fleet away (raiding).
  4. Persist intelligence — After gathering, update:

Commands Reference

EntityQuery Command
-----------------------
Address → Playerstructsd query structs address [address] (returns player ID; 1-0 = nonexistent)
Playerstructsd query structs player [id], player-all
Planetstructsd query structs planet [id], planet-all, planet-all-by-player [player-id]
Planet attributestructsd query structs planet-attribute [planet-id] [type], planet-attribute-all
Structstructsd query structs struct [id], struct-all, struct-attribute [id] [type]
Struct typestructsd query structs struct-type [id], struct-type-all
Fleetstructsd query structs fleet [id], fleet-all, fleet-by-index [index]
Guildstructsd query structs guild [id], guild-all
Membership appstructsd query structs guild-membership-application [id], guild-membership-application-all
Reactorstructsd query structs reactor [id], reactor-all
Infusionstructsd query structs infusion [id], infusion-all, infusion-all-by-destination [dest-id]
Providerstructsd query structs provider [id], provider-all
Agreementstructsd query structs agreement [id], agreement-all, agreement-all-by-provider [provider-id]
Allocationstructsd query structs allocation [id], allocation-all, allocation-all-by-source, allocation-all-by-destination
Substationstructsd query structs substation [id], substation-all
Gridstructsd query structs grid [id], grid-all
Block heightstructsd query structs block-height

Verification

  • Re-query entity after action to confirm state change.
  • Cross-reference: player → planet → struct → fleet for full picture.
  • Block height confirms chain sync.

Error Handling

  • Entity not found: ID may be invalid or entity destroyed. Try -all variants to discover current IDs.
  • Stale data: Query block-height; re-run queries if chain has progressed.
  • Missing intel files: Create memory/intel/players/, memory/intel/guilds/ if absent. Follow formats in memory/intel/README.

Intelligence Persistence Loop

  1. Run reconnaissance queries for target(s).
  2. Parse results: owner, structs, power, shield, fleet status, guild.
  3. Write/update memory/intel/players/, memory/intel/guilds/ per README formats.
  4. Update memory/intel/territory.md with planet ownership table.
  5. Update memory/intel/threats.md with ranked threats and response notes.
  6. Include "Last Updated" date in each file.

PostgreSQL Queries (Advanced)

If the Guild Stack is running locally, all reconnaissance queries can be done in < 1 second via PostgreSQL instead of CLI. This is essential for combat automation, real-time threat monitoring, and galaxy-wide scouting.

Example -- find all players with stealable ore, ranked by amount:

SELECT p.id, p.guild_id, COALESCE(g_ore.val, 0) as ore
FROM structs.player p
JOIN structs.grid g_ore ON g_ore.object_id = p.id AND g_ore.attribute_type = 'ore'
WHERE g_ore.val > 0
ORDER BY g_ore.val DESC;

Example -- enemy fleet composition at a planet:

SELECT s.id, st.class_abbreviation, s.operating_ambit, st.unit_defenses
FROM structs.struct s
JOIN structs.struct_type st ON st.id = s.type
JOIN structs.fleet f ON f.id = s.location_id
WHERE f.location_id = '2-105' AND s.is_destroyed = false AND s.location_type = 'fleet';

Important: The structs.grid table is key-value, not columnar. See knowledge/infrastructure/database-schema for the grid pattern and more query examples.

For setup: structs-guild-stack skill

See Also

版本历史

共 3 个版本

  • v1.2.1 当前
    2026-05-21 12:40 安全 安全
  • v1.2.0
    2026-05-03 03:53 安全 安全
  • v1.1.0
    2026-03-30 05:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 714 📥 243,982
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,362 📥 318,690
data-analysis

Structs Guild Stack

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