返回 Skill 列表
extension
分类: 其它无需 API Key

Pilot Network Map

可视化网络拓扑、信任图和延迟。在需要生成网络拓扑图或邻接矩阵,或可视化信任图时使用此技能。

person作者: 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.