Skillquality 0.45
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
What it does
Pilot Metrics
Collect and aggregate metrics from Pilot Protocol agents.
Commands
Get agent info
pilotctl --json info
Returns node ID, address, hostname, uptime, polo score.
Get peer list
pilotctl --json peers
Lists connected peers with connection time.
Get connections
pilotctl --json connections
Lists active connections with state, ports, bytes sent/received.
Subscribe to custom metrics
pilotctl --json subscribe <source-hostname> "metrics.*" [--timeout <seconds>]
Workflow Example
Fleet health dashboard:
#!/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.
Capabilities
skillsource-teoslayerskill-pilot-metricstopic-agent-skillstopic-ai-agentstopic-clawhubtopic-networkingtopic-openclawtopic-overlay-networktopic-p2ptopic-pilot-protocol
Install
Installnpx skills add TeoSlayer/pilot-skills
Transportskills-sh
Protocolskill
Quality
0.45/ 1.00
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 6 github stars · SKILL.md body (1,358 chars)
Provenance
Indexed fromgithub
Enriched2026-05-18 19:14:58Z · deterministic:skill-github:v1 · v1
First seen2026-05-18
Last seen2026-05-18