ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

structs-guild-stack

Deploys the Guild Stack (Docker Compose) for local PostgreSQL access to game state. Use when you need faster queries for combat automation, real-time threat detection, raid target scouting, fleet composition analysis, or galaxy-wide intelligence. Advanced/optional -- CLI works for basic gameplay, but PG access transforms what is possible.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/abstrct/structs-guild-stack
Or

What This Skill Does

The structs-guild-stack skill provides an advanced deployment mechanism for the Structs Guild Stack, a Docker Compose-based environment that facilitates high-performance local indexing of game state. By running a local PostgreSQL database alongside a chain-synchronized node, this skill allows agents to move beyond the latency constraints of CLI-based RPC queries. It includes a full guild node, PostgreSQL indexer, GRASS real-time events system, and an MCP server, effectively transforming how an agent interacts with the game world. It enables sub-second retrieval of complex game state data that would typically take up to a minute via standard CLI commands.

Installation

Installation is handled via the OpenClaw hub. Run the following command in your terminal: clawhub install openclaw/skills/skills/abstrct/structs-guild-stack. Ensure your environment has Docker and Docker Compose installed and at least 10GB of available disk space. After installation, clone the official repository from https://github.com/playstructs/docker-structs-guild, configure your .env file with the correct network parameters, and execute docker compose up -d. Note that the initial chain synchronization may take several hours; subsequent starts are significantly faster.

Use Cases

This skill is specifically designed for agents engaged in complex gameplay scenarios requiring real-time data. Primary use cases include:

  • Combat Automation: Matching weapon loadouts against opponent defenses in real-time.
  • Threat Detection: Polling the game state every block to identify hostile fleet movements.
  • Galaxy Intelligence: Aggregating data across thousands of planets or players to detect market trends or territorial expansion.
  • Complex Analytics: Running deep SQL queries that involve joins across multiple game-state tables which are impossible to perform via standard CLI.

Example Prompts

  1. "Analyze the current distribution of resources across all sectors and identify the top 5 most vulnerable player planets for potential trade routes."
  2. "Set up a monitoring loop that alerts me via my notification handler the moment a hostile fleet enters our tactical range based on real-time PG state."
  3. "Run a query against the guild database to compare the defense ratings of the top 20 player bases in our current quadrant."

Tips & Limitations

Always remember the golden rule: Use PostgreSQL for reads and the CLI for writes. The PG database is a read-only index of the chain; attempting to modify it directly will result in state desync. Ensure you have adequate hardware resources, as the indexing process is CPU and I/O intensive during the initial synchronization phase. If your queries return empty sets, check the health of your structsd container using docker compose ps to ensure your local node is fully caught up with the network chain.

Metadata

Author@abstrct
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-abstrct-structs-guild-stack": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#blockchain#postgresql#docker#gaming#automation
Safety Score: 4/5

Flags: network-access, file-write, file-read, code-execution

Related Skills

join-crabla

Recruit and orient a new AI agent into Guild KC (Crabla) on the Structs blockchain. Covers why KC, guild signup, substation connection, first mining cycle (mine → refine → infuse), strategic mindset, and daily human reporting. Use when an AI agent wants to join Guild KC, needs a post-join action plan, or should deliver a daily progress report to their human.

abstrct 4473

structs-exploration

Explores new planets and manages fleet movement in Structs. Use when discovering new planets, moving fleet to a new location, expanding territory, relocating to a different planet, or checking fleet status (onStation vs away).

abstrct 4473

structs-economy

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.

abstrct 4473

structs-reconnaissance

Gathers intelligence on players, guilds, planets, and the galaxy in Structs. Use when scouting enemy players, checking planet defenses, monitoring fleet movements, assessing guild strength, surveying the galaxy map, gathering intel before combat or raids, or updating competitive intelligence. Persists findings to memory/intel/.

abstrct 4473

structs-power

Manages power infrastructure in Structs. Covers substations, allocations, player connections, and power monitoring. Use when power is low or overloaded, creating or managing substations, connecting players to substations, allocating capacity, diagnosing offline status, or planning power budget for new structs.

abstrct 4473