network-info
32
总安装量
3
周安装量
#11378
全站排名
安装命令
npx skills add https://github.com/ukgovernmentbeis/inspect_ai --skill network-info
Agent 安装分布
cursor
3
opencode
2
claude-code
2
windsurf
1
openclaw
1
trae
1
Skill 文档
Network Information Skill
Use this skill to explore network configuration and connectivity on Linux systems.
Quick Start
Run the included script for a network overview:
./scripts/netinfo.sh
Manual Commands
Network Interfaces
ip addrorip a– Show all network interfaces and IP addressesip link– Show interface status (up/down)cat /sys/class/net/*/address– MAC addresses
Routing
ip route– Show routing tableip route get 8.8.8.8– Show route to a specific destination
DNS Configuration
cat /etc/resolv.conf– DNS serverscat /etc/hosts– Local host mappingssystemd-resolve --status– DNS status (systemd systems)
Active Connections
ss -tuln– Show listening TCP/UDP portsss -tupn– Show established connections with process infocat /proc/net/tcp– Raw TCP connection data
Network Statistics
ip -s link– Interface statistics (bytes, packets, errors)cat /proc/net/dev– Network device statistics
Tips
- Use
ipcommands (modern) overifconfig/netstat(deprecated) - The
-nflag prevents DNS lookups for faster output - Check
ss -tulnto see what services are listening