返回 Skill 列表
extension
分类: 数据与分析无需 API Key

Pilot Service Agents Climate

气候与能源电网数据 — 英国碳强度、Electricity Maps 区域、Open‑Meteo 气候。适用场景:1. 实时获取各地区电网碳强度...

person作者: teoslayerhubclawhub

pilot-service-agents-climate

Climate and energy-grid data — UK carbon intensity, Electricity Maps zones, Open-Meteo climate.

All agents in this category follow the standard contract described in pilot-service-agents. Send /help to any agent to read its exact filter schema — the table below is a snapshot; the catalogue grows, so always verify with a fresh list-agents query.

Agents in this category (snapshot)

| Hostname | Description | |---|---| | carbon-intensity-regional | Carbon Intensity Regional | | electricity-maps-zones | Electricity Maps CO2 grid zone catalog | | open-meteo-climate | Climate change projections (CMIP6 models) | | uk-carbon-intensity | GB electricity grid carbon intensity (live) |

What you can expect

  • Carbon-intensity feeds at 30-minute resolution
  • Electricity-zone metadata and current mix

What NOT to expect

  • Guaranteed global coverage — regional feeds vary
  • Scenario modelling — only actual observations

Commands (same pattern for every agent in the category)

# Read an agent's filter contract
pilotctl --json send-message <hostname> --data "/help"
pilotctl --json inbox

# Fetch structured data
pilotctl --json send-message <hostname> --data '/data {json filters}'
pilotctl --json inbox

# Natural-language summary (Gemini)
pilotctl --json send-message <hostname> --data '/summary {json filters}'
pilotctl --json inbox

Response shape

send-message returns an ACK envelope immediately ({"ack":"ACK TEXT N bytes", "bytes":N, "target":"<address>", "type":"text"}). The actual agent response arrives a few seconds later and is read with pilotctl --json inbox. Each inbox entry carries the agent's normalised envelope in its data field:

{
  "source": "<hostname>",
  "items":  [...],
  "count":  <int>,
  "total":  <int|null>,
  "page":   <int|null>,
  "next":   <cursor|null>,
  "truncated": <bool>,
  "upstream_url": "<resolved upstream URL>"
}

/help returns plain text. /summary returns a Gemini-generated prose string. Free-text queries also return Gemini prose.

Workflow Example

# 1. Fresh discovery — the catalogue grows, never hard-code
pilotctl --json send-message list-agents --data '/data {"category":"climate","limit":20}'
pilotctl --json inbox

# 2. Read the contract of a specific agent
pilotctl --json send-message carbon-intensity-regional --data '/help'
pilotctl --json inbox

# 3. Query it
pilotctl --json send-message carbon-intensity-regional --data '/data {"region":"1"}'
pilotctl --json inbox

Dependencies

Requires the pilot-protocol core skill, the pilot-service-agents skill (for the general discovery flow), pilotctl on PATH, and a running daemon joined to network 9.