network-analysis
БесплатноБез исполняемых скриптовНе проверенAnalyze network configuration data from sosreport archives, extracting interface configurations, routing tables, active connections, firewall rules…
Об этом скилле
Network Analysis Skill
This skill provides detailed guidance for analyzing network configuration and connectivity from sosreport archives, including interfaces, routing, firewall rules, and DNS configuration.
When to Use This Skill
Use this skill when:
- Analyzing the
/sosreport:analyzecommand's network analysis phase - Investigating network connectivity issues
- Diagnosing firewall or routing problems
- Verifying network configuration
Prerequisites
- Sosreport archive must be extracted to a working directory
- Path to the sosreport root directory must be known
- Understanding of Linux networking concepts
Key Network Data Locations in Sosreport
Network Interfaces:
sos_commands/networking/ip_-o_addr- IP addressessos_commands/networking/ip_link- Link statussos_commands/networking/ip_-s_link- Link statistics with errorsetc/sysconfig/network-scripts/- Network configuration files (RHEL)
Routing:
sos_commands/networking/ip_route- Routing tablesos_commands/networking/ip_-6_route- IPv6 routing tableproc/net/route- Kernel routing table
Network Connections:
sos_commands/networking/netstat_-neopa- Active connectionssos_commands/networking/ss_-tupna- Socket statisticsproc/net/tcp- TCP connectionsproc/net/udp- UDP connections
Firewall:
sos_commands/firewalld/- Firewalld configurationsos_commands/iptables/iptables_-vnxL- iptables rulessos_commands/nftables/- nftables configuration
DNS and Resolution:
etc/resolv.conf- DNS serversetc/hosts- Static hostname mappingsetc/nsswitch.conf- Name resolution order
Network Services:
sos_commands/networking/networkmanager_info- NetworkManager statussystemctl status NetworkManageroutput
Implementation Steps
Step 1: Analyze Network Interfaces
List all network interfaces:
if [ -f sos_commands/networking/ip_-o_addr ]; then cat sos_commands/networking/ip_-o_addr fiCheck interface states:
if [ -f sos_commands/networking/ip_link ]; then # Look for interface states (UP/DOWN) grep -E "^[0-9]+:" sos_commands/networking/ip_link fiParse interface information:
- Interface name (eth0, ens192, etc.)
- State (UP/DOWN)
- IP addresses (IPv4 and IPv6)
- MAC address
- MTU size
Check for interface errors:
if [ -f sos_commands/networking/ip_-s_link ]; then # Look for RX/TX errors, drops, overruns cat sos_commands/networking/ip_-s_link fiIdentify interface issues:
- Interfaces with no IP address (when expected)
- Interfaces in DOWN state (when should be UP)
- High error counts (RX/TX errors, drops)
- Duplicate IP addresses
- MTU mismatches
Step 2: Analyze Routing Configuration
Check default route:
if [ -f sos_commands/networking/ip_route ]; then grep "^default" sos_commands/networking/ip_route || echo "No default route found" fiReview routing table:
if [ -f sos_commands/networking/ip_route ]; then cat sos_commands/networking/ip_route fiCheck IPv6 routing:
if [ -f sos_commands/networking/ip_-6_route ]; then cat sos_commands/networking/ip_-6_route fiIdentify routing issues:
- Missing default route
- Multiple default routes (conflicting)
- Incorrect gateway addresses
- Route to nowhere (unreachable gateway)
Step 3: Analyze Network Connectivity
Check active connections:
if [ -f sos_commands/networking/netstat_-neopa ]; then cat sos_commands/networking/netstat_-neopa elif [ -f sos_commands/networking/ss_-tupna ]; then cat sos_commands/networking/ss_-tupna fiCount connections by state:
# Count TCP connection states if [ -f sos_commands/networking/netstat_-neopa ]; then grep "^tcp" sos_commands/networking/netstat_-neopa | awk '{print $6}' | sort | uniq -c fiFind listening services:
# Show what's listening on which ports if [ -f sos_commands/networking/netstat_-neopa ]; then grep "LISTEN" sos_commands/networking/netstat_-neopa fiCheck for connection issues:
- Excessive TIME_WAIT connections
- Many connections in SYN_SENT (connection attempts failing)
- High number of CLOSE_WAIT (application not closing)
- Port conflicts (multiple services on same port)
Step 4: Analyze Firewall Configuration
Check if firewalld is active:
if [ -d sos_commands/firewalld ]; then # Firewalld is present if [ -f sos_commands/firewalld/firewall-cmd_--list-all-zones ]; then cat sos_commands/firewalld/firewall-cmd_--list-all-zones fi fiReview iptables rules:
if [ -f sos_
Установить network-analysis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл network-analysis?
Analyze network configuration data from sosreport archives, extracting interface configurations, routing tables, active connections, firewall rules (firewalld/iptables), and DNS settings from the sosreport directory structure to diagnose network connectivity and configuration issues
Как установить скилл network-analysis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл network-analysis запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic