Pilot Metrics

Collect and aggregate agent metrics from connections, peers, and custom events. Use this skill when: 1. You need to monitor agent health and performance 2. You need to aggregate metrics across a fleet of agents 3. You need to track connection counts, RTT, throughput 4. You need to export metrics to monitoring systems Do NOT use this skill when: - You need application-level metrics (publish custom events instead) - You need persistent storage (use pilot-event-log for raw data) - You need real-time alerting (use pilot-alert instead)

9 stars 3 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add TeoSlayer/pilot-skills --skill pilot-metrics
Manual install
git clone --depth 1 https://github.com/TeoSlayer/pilot-skills.git /tmp/pilot-skills
mkdir -p ~/.claude/skills
cp -r /tmp/pilot-skills/skills/pilot-metrics ~/.claude/skills/pilot-metrics

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Pilot Metrics

Collect and aggregate metrics from Pilot Protocol agents.

## Commands

### Get agent info
```bash
pilotctl --json info
```
Returns node ID, address, hostname, uptime, peers, encryption status, and traffic counters.

### Get peer list
```bash
pilotctl --json peers
```
Lists connected peers with connection time.

### Get connections
```bash
pilotctl --json connections
```
Lists active connections with state, ports, bytes sent/received.

### Subscribe to custom metrics
```bash
pilotctl --json subscribe <source-hostname> "metrics.*" [--timeout <seconds>]
```

## Workflow Example

Fleet health dashboard:

```bash
#!/bin/bash
OUTPUT_FILE="/tmp/fleet-metrics-$(date +%Y%m%d-%H%M%S).json"

echo '{"timestamp":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","agents":[]}' > "$OUTPUT_FILE"

agents=$(pilotctl --json trust 2>/dev/null | jq -r '.data.trusted[].hostname')

for agent in $agents; do
  ping_result=$(pilotctl --json ping "$agent" 2>/dev/null)
  rtt_ms=$(echo "$ping_result" | jq -r '.data.results[0].rtt_ms // null')

  agent_data=$(jq -n --arg hostname "$agent" --arg rtt "$rtt_ms" \
    '{hostname: $hostname, rtt_ms: ($rtt | tonumber), status: "online"}')

  jq --argjson agent "$agent_data" '.agents += [$agent]' "$OUTPUT_FILE" > "${OUTPUT_FILE}.tmp"
  mv "${OUTPUT_FILE}.tmp" "$OUTPUT_FILE"
done
```

## Dependencies

Requires pilot-protocol skill, jq, and a running daemon.
Read the full skill on GitHub

Details

Skill name
pilot-metrics
Path
skills/pilot-metrics/SKILL.md
License
AGPL-3.0
Repo updated
9 November 2026

FAQ

What does the Pilot Metrics skill do?

Collect and aggregate agent metrics from connections, peers, and custom events. Use this skill when: 1. You need to monitor agent health and performance 2. You need to aggregate metrics across a fleet of agents 3. You need to track connection counts, RTT, throughput 4. You need to export metrics to monitoring systems Do NOT use this skill when: - You need application-level metrics (publish custom events instead) - You need persistent storage (use pilot-event-log for raw data) - You need real-time alerting (use pilot-alert instead)

How do I install the Pilot Metrics skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add TeoSlayer/pilot-skills --skill pilot-metrics. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Pilot Metrics popular?

It lives in TeoSlayer/pilot-skills, which has 9 GitHub stars and 3 forks.

Related skills

Pilot A2a Bridge

9

TeoSlayer/pilot-skills

Bridge A2A (Agent-to-Agent) protocol messages over Pilot tunnels. Use this skill when: 1. You need to connect A2A agents across different networks 2. You want to route A2A messages through Pilot's overlay network 3. You're building multi-agent systems that need reliable messaging Do NOT use this skill when: - Agents are on the same local network (use direct A2A instead) - You need raw TCP/UDP access (use pilot-protocol directly) - The daemon is not running

AI, LLMs & Agents

Pilot Ad Campaign Manager Setup

9

TeoSlayer/pilot-skills

Deploy an ad campaign management system with 4 agents that automate campaign strategy, creative production, real-time bidding, and performance analytics. Use this skill when: 1. User wants to set up an automated ad campaign management pipeline 2. User is configuring an agent as part of an advertising or media buying workflow 3. User asks about automating campaign strategy, creative testing, or bid optimization across agents Do NOT use this skill when: - User wants to track a single metric (use pilot-metrics instead) - User wants a one-off data stream (use pilot-stream-data instead)

Marketing, Sales & Business

Pilot Agent Marketplace Setup

9

TeoSlayer/pilot-skills

Deploy a decentralized agent marketplace with 4 agents. Use this skill when: 1. User wants to set up an agent capability marketplace 2. User is configuring a directory, matchmaker, escrow, or gateway agent 3. User asks about capability discovery, auctions, or escrow settlement Do NOT use this skill when: - User wants to discover a single agent (use pilot-discover instead) - User wants to run a single auction (use pilot-auction instead)

AI, LLMs & Agents

Pilot Ml Training Pipeline Setup

9

TeoSlayer/pilot-skills

Deploy an end-to-end ML training pipeline with 4 agents. Use this skill when: 1. User wants to set up a machine learning training pipeline 2. User is configuring a data prep, training, evaluation, or serving agent 3. User asks about ML model lifecycle management across agents Do NOT use this skill when: - User wants to share a single model file (use pilot-model-share instead) - User wants to transfer a dataset (use pilot-dataset instead)

AI, LLMs & Agents

Pilot MCP Bridge Fleet Setup

9

TeoSlayer/pilot-skills

Deploy an MCP and A2A bridge fleet with 3 agents. Use this skill when: 1. User wants to bridge MCP servers or A2A agents onto the Pilot network 2. User is configuring an MCP gateway, A2A bridge, or tool registry agent 3. User asks about connecting different agent ecosystems over Pilot tunnels Do NOT use this skill when: - User wants a single MCP bridge (use pilot-mcp-bridge instead) - User wants a single A2A connection (use pilot-a2a-bridge instead)

AI, LLMs & Agents

Pilot Model Share

9

TeoSlayer/pilot-skills

Distribute ML model files with model card metadata and version tracking over Pilot Protocol. Use this skill when: 1. You need to share PyTorch, ONNX, or SafeTensors model files between agents 2. You want to distribute models with metadata (architecture, training info, metrics) 3. You need model versioning and compatibility checking Do NOT use this skill when: - You need to transfer datasets (use pilot-dataset instead) - You need to transfer general files (use pilot-share instead) - You need real-time model inference results (use pilot-rpc instead)

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.