managing-wireguard
Installation
SKILL.md
WireGuard Management Skill
Monitor, analyze, and manage WireGuard VPN tunnels safely.
MANDATORY: Discovery-First Pattern
Always run wg show to inspect active interfaces before making changes. Never guess peer public keys or endpoints.
Phase 1: Discovery
#!/bin/bash
echo "=== WireGuard Interfaces ==="
${WG_SUDO:+sudo} wg show interfaces 2>/dev/null || echo "No active WireGuard interfaces (or insufficient permissions)"
echo ""
echo "=== Interface Details ==="
${WG_SUDO:+sudo} wg show all