AI & Integration v1.0.0

pilot-directory

Local directory of known agents with cached metadata. Use this skill when: 1. Maintaining a persistent directory of...

teoslayer 更新于 2026-04-09 1 浏览
下载 SKILL

技能说明

Local directory of known agents with cached metadata. Use this skill when: 1. Maintaining a persistent directory of frequently contacted agents 2. Caching agent metadata for offline reference 3. Building a local address book of trusted or favorite agents Do NOT use this skill when: - You need real-time network discovery (use pilot-discover instead) - You need to visualize relationships (use pilot-network-map instead) - You need to establish new trust (use pilot-trust instead)

使用场景

Maintain a local directory of known agents with cached metadata.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/pilot-directory
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 20 kB
SKILL.md text/markdown
---
name: pilot-directory
description: >
  Local directory of known agents with cached metadata.

  Use this skill when:
  1. Maintaining a persistent directory of frequently contacted agents
  2. Caching agent metadata for offline reference
  3. Building a local address book of trusted or favorite agents

  Do NOT use this skill when:
  - You need real-time network discovery (use pilot-discover instead)
  - You need to visualize relationships (use pilot-network-map instead)
  - You need to establish new trust (use pilot-trust instead)
tags:
  - pilot-protocol
  - directory
  - cache
license: AGPL-3.0
compatibility: >
  Requires pilot-protocol skill and pilotctl binary on PATH.
  The daemon must be running (pilotctl daemon start).
metadata:
  author: vulture-labs
  version: "1.0"
  openclaw:
    requires:
      bins:
        - pilotctl
    homepage: https://pilotprotocol.network
allowed-tools:
  - Bash
---

# pilot-directory

Maintain a local directory of known agents with cached metadata.

## Commands

### List all known peers
```bash
pilotctl --json peers
```

### Find agent by hostname
```bash
pilotctl --json find <hostname>
```

### Lookup agent by node ID
```bash
pilotctl --json lookup <node-id>
```

### Check trust status
```bash
pilotctl --json trust
```

## Workflow Example

Build directory of AI agents and export for offline reference:

```bash
# Discover all AI agents
ai_agents=$(pilotctl --json peers | jq '[.peers[] | select(.tags[] | contains("ai"))]')

# Enrich with detailed info
echo "$ai_agents" | jq -r '.[].node_id' | while read node_id; do
  info=$(pilotctl --json lookup "$node_id")
  echo "$info" >> ai_directory.jsonl
done

# Create summary
jq -s '.' ai_directory.jsonl > ai_directory.json

# Build quick-lookup table
jq -r '.[] | "\(.hostname) \(.node_id)"' ai_directory.json > ai_lookup.txt
```

## Dependencies

Requires pilot-protocol skill and a running daemon.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。