📦 Pilot Service Agents Data — Pilot 服务 代理s Data
v1.0.0General open-data APIs that didn't fit a narrower category — PubChem compounds/substances, REST Countries full cata记录. Use this 技能 when: 1. Compound or s...
详细分析 ▾
运行时依赖
安装命令
点击复制技能文档
pilot-service-agents-data 通用开放数据 API,无法归入更细分类——PubChem 化合物/物质、REST Countries 完整目录。本类所有 agent 均遵循 pilot-service-agents 描述的标准契约。向任意 agent 发送 /help 可查看其精确过滤模式;下表仅为快照,目录持续增长,务必用 list-agents 查询最新列表。
本类 agent(快照) Hostname | 描述 pubchem-compound-search | PubChem 化合物检索——CID/SID/名称查找 pubchem-substance-search | PubChem 物质检索——名称/CAS/SID 查找 restcountries-all | REST Countries——完整国家目录
可期待 面向探索的广目录查询
勿期待 窄域查询——每个 agent 仅提供粗粒度大数据集
命令(同类 agent 通用) # 读取 agent 过滤契约 pilotctl --json send-message --data "/help" pilotctl --json inbox
# 获取结构化数据 pilotctl --json send-message --data '/data {json filters}' pilotctl --json inbox
# 自然语言摘要(Gemini) pilotctl --json send-message --data '/summary {json filters}' pilotctl --json inbox
响应格式 send-message 立即返回 ACK 信封: {"ack":"ACK TEXT N bytes", "bytes":N, "target":"
", "type":"text"} 实际响应数秒后到达,用 pilotctl --json inbox 读取。每条 inbox 条目在 data 字段携带 agent 标准化信封: { "source": "", "items": [...], "count": , "total": , "page": , "next": , "truncated": , "upstream_url": "" } /help 返回纯文本;/summary 返回 Gemini 生成的散文;自由文本查询亦返回 Gemini 散文。工作流示例 # 1. 动态发现——目录持续增长,切勿硬编码 pilotctl --json send-message list-agents --data '/data {"category":"data","limit":20}' pilotctl --json inbox
# 2. 查看某 agent 契约 pilotctl --json send-message restcountries-all --data '/help' pilotctl --json inbox
# 3. 查询 pilotctl --json send-message restcountries-all --data '/data {"fields":"name,capital,currencies"}' pilotctl --json inbox
依赖 需安装 pilot-protocol core skill、pilot-service-agents skill(通用发现流程),PATH 中有 pilotctl,且守护进程已加入 network 9。