Back to skills
extension
Category: OtherNo API key required

Pilot Network Map

Visualize network topology, trust graphs, and latency. Use this skill when: 1. Generating network topology diagrams or adjacency matrices 2. Visualizing trus...

personAuthor: teoslayerhubclawhub

pilot-network-map

Visualize network topology, trust graphs, and latency maps for Pilot Protocol.

Commands

List all peers (nodes)

pilotctl --json peers

List trust relationships (edges)

pilotctl --json trust

Ping for latency (edge weights)

pilotctl --json ping <node-id>

List active connections

pilotctl --json connections

Workflow Example

Generate DOT format for Graphviz:

#!/bin/bash
echo "digraph pilot_network {"
echo "  rankdir=LR;"

# Add nodes
pilotctl --json peers | jq -r '.peers[] | "  \"\(.node_id)\" [label=\"\(.hostname)\"];"'

# Add trust edges
pilotctl --json trust | jq -r '.trusted[] | "  \"\(.source)\" -> \"\(.target)\";"'

echo "}"

Render with: dot -Tpng network.dot -o network.png

Dependencies

Requires pilot-protocol skill and a running daemon.