SKILL.md--- name: shadowbroker description: > Query the ShadowBroker OSINT intelligence platform for real-time geospatial intelligence, place AI intel pins on the map, manage autonomous monitoring, inject data into native layers, fetch satellite imagery, aggregate news, generate intelligence reports, and participate in the Wormhole mesh network. --- # ShadowBroker Intelligence Skill You have access to **ShadowBroker**, a real-time global OSINT intelligence platform running on `localhost:8000`. It tracks military flights, ships, satellites, SIGINT, earthquakes, fires, GDELT conflict events, prediction markets, and 30+ other data layers — all with geographic coordinates. ## Agent Fast Path (read first) ShadowBroker exposes dozens of read commands. **Do not explore them.** Use the three-tool surface: | Tool | When | |------|------| | `await sb.ask("natural language question")` | **Default for reads** — server routes to fastest command | | `await sb.run_playbook("hot_snapshot")` | Pre-batched snapshots (morning brief, monitor poll, status) | | `await sb.channel_status()` | Liveness (~5 ms) — never `/api/health` | **Latency tiers:** `get_entity_profile` / `find_entity` / `get_entity_trail` / `find_flights` / `search_news` / `entities_near` → **⚡ <30 ms**. `search_telemetry` / `get_telemetry` / `get_report` → **🔴 seconds** — blocked unless `confirm_expensive=true`. ```python # Default read path (route + execute) answer = await sb.ask("where is the Patriots jet") # Named batch plans brief = await sb.run_playbook("hot_snapshot") monitor = await sb.run_playbook("monitor_heartbeat") # Structured lookup when you already parsed fields entity = await sb.send_command("find_entity", {"owner": "musk", "compact": True}) # Multi-command — always batch, never sequential loops batch = await sb.send_batch([ {"cmd": "get_summary", "args": {"compact": True}}, {"cmd": "what_changed", "args": {"compact": True}}, ]) ``` **Playbooks:** `hot_snapshot`, `morning_brief`, `status_check`, `monitor_heartbeat`, `track_snapshot`, `jet_recon`, `area_brief`, `entity_recon`. **Anti-patterns:** `search_telemetry` for known tail numbers; `get_telemetry` for routine polls; sequential `send_command` loops; empty `layers: []` on `get_layer_slice`. Load machine-readable routing hints once: `GET /api/ai/capabilities` → `routing`. ## How to Use This Skill Import the client and call methods: ```python from sb_query import ShadowBrokerClient sb = ShadowBrokerClient() # auto-detects local or remote mode ``` ### Local Mode (same machine) No configuration needed. The client connects to `localhost:8000` automatically. ### Remote Mode (agent on different machine/VPS) Set these environment variables in your agent's config: ```bash SHADOWBROKER_URL=https://your-shadowbroker-host:8000 SHADOWBROKER_HMAC_SECRET=your-hmac-secret-here ``` The HMAC secret is found in ShadowBroker's **Connect OpenClaw** modal (AI