shadowbroker
它能做什么
这项技能让 AI 读取你在自己电脑上运行的 ShadowBroker 服务器中的全球实时数据。适合希望获得基于地图的情报的分析人员和对此感兴趣的人。
适用场景
- ✓当你想知道某个特定航班、船只或实体目前所在的位置时。
- ✓当你想快速了解地图各图层中近期事件的概况时。
- ✓当你需要与某个地点相关的新闻或报告的时候。
技能链接
https://github.com/BigBodyCobain/Shadowbroker/blob/main/openclaw-skills/shadowbroker/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请显示苏伊士运河附近的实时船舶交通情况,以及今天与之相关的新闻。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会把用自然语言提出的问题发送到本地的 ShadowBroker 服务器,由服务器将其转交给正确的数据命令。它也可以运行预先准备好的快照,以便快速了解概况。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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.
# 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:
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:
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 Intel panel).
SHADOWBROKER_HMAC_SECRET is a shared signing secret, not a raw API key. Do not
send it as X-Admin-Key, Authorization: Bearer, a query parameter, or any
plain request header. The ShadowBrokerClient signs every direct request with
X-SB-Timestamp, X-SB-Nonce, and X-SB-Signature using:
HMAC-SHA256(secret, METHOD|path|timestamp|nonce|sha256(body))
For compatibility with older snippets, SHADOWBROKER_KEY is also accepted by
the client as the same HMAC signing secret. Prefer SHADOWBROKER_HMAC_SECRET
for new setups.
Docker Compose: host-side agents (localhost:8000 from the Kali/macOS host)
are not loopback inside the backend container — HMAC is required. After
Connect OpenClaw → Bootstrap → Reveal, the secret is persisted under
data/openclaw.env on the backend_data volume. Restart the backend once,
then verify with:
python openclaw-skills/shadowbroker/verify_hmac.py
Hand-rolled signers must hash the exact POST bytes. Use compact JSON:
json.dumps(payload, separators=(",", ":"), sort_keys=True).
SSE Stream (Preferred — Low-Latency Push)
Open the SSE stream first and keep it open for the session. The server pushes
layer_changed events whenever any data layer refreshes — you know exactly which
layers to fetch instead of blind-polling.
# Open the stream — authenticates once via HMAC, then stays open
async for event in sb.stream_updates():
if event["event"] == "connected":
# Initial handshake — contains full layer_versions snapshot
print(f"Connected: {event['data']['layer_versions']}")
elif event["event"] == "layer_changed":
# Server tells you which layers updated and their new version/count
changed = event["data"]["layers"] # e.g. {"ships": {"version": 43, "count": 1287}}
# Fetch ONLY the layers that actually changed
data = await sb.g
常见问题
需要先运行服务器吗?
需要。在该技能能够回答之前,ShadowBroker 必须已在你的电脑上以本地地址运行。
它涵盖哪些数据图层?
涵盖许多图层,包括航班、船只、卫星、地震、火灾和新闻事件。
慢速查询会被阻止吗?
某些重量级查询在未经明确确认前会被阻止,因此智能体不会无意中执行缓慢的请求。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 11k
- 排名
- #11699
- 许可证
- AGPL-3.0
- 更新时间
- 2026/11/2
评论
- …