[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C677X22V1KYYKJT89AXCNS":3,"skill-same:01M6C677X22V1KYYKJT89AXCNS":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":55,"linkOnly":56,"markdownContent":57,"markdownBody":58,"frontMatter":59,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":17,"ownerHtmlUrl":68,"ownerBlogUrl":17,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6C677X22V1KYYKJT89AXCNS","layer2-discovery","二层网络设备发现","Layer 2 device discovery and topology mapping. Use when finding switch port assignments, enumerating hosts via ARP, or identifying unknown devices by MAC vendor.","二层（Layer 2）设备发现与拓扑映射。适用于查找交换机端口分配、通过 ARP 枚举主机，或根据 MAC 厂商识别未知设备。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fnetworking-plugin\u002Fskills\u002Flayer2-discovery\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89HE9N5P9F4ZKF1S850TS","网络安全设备配置与管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54],"discovery","layer2","layer2 discovery","switch","2026","when","unknown","layer","hosts","port","mapping","false","arp","ip","topology","use","vendor","bridge","edit","write","read","grep","Bash","devices","2026-11-10 10:12:30",false,"---\ncreated: 2026-01-01\nmodified: 2026-04-25\nreviewed: 2026-04-25\nname: layer2-discovery\ndescription: Layer 2 device discovery and topology mapping. Use when finding switch port assignments, enumerating hosts via ARP, or identifying unknown devices by MAC vendor.\nuser-invocable: false\nallowed-tools: Bash(arp *), Bash(ip *), Bash(bridge *), Bash(ethtool *), Read, Write, Edit, Grep, Glob\n---\n\n# Layer 2 Network Discovery\n\n## When to Use This Skill\n\n| Scenario | Use this skill | Alternative |\n|----------|---------------|-------------|\n| Find which switch port a server is connected to | Yes | |\n| Enumerate hosts on the local segment via ARP | Yes | |\n| Identify unknown devices by MAC vendor | Yes | |\n| Map physical network topology (LLDP\u002FCDP) | Yes | |\n| Check if a host is alive when ICMP is blocked | Yes (arping) | |\n| Detect duplicate IP addresses | Yes (arping -D) | |\n| Scan for open TCP\u002FUDP ports on remote hosts | | network-discovery (RustScan, nmap) |\n| Trace the network path to a remote host | | network-diagnostics (trippy) |\n| Look up DNS records for a domain | | dns-tools (dog, dig) |\n| Load test an HTTP endpoint | | http-load-testing (oha) |\n| Monitor per-process bandwidth usage | | network-monitoring (bandwhich) |\n| Inspect or configure the host's own IPs, links, or routes | | interface-state (ip) |\n\nExpert knowledge for Layer 2 network topology discovery and neighbor detection, operating below the IP layer for direct link-level visibility.\n\n## Core Expertise\n\n### Layer 2 vs Layer 3 Discovery\n\n| Layer | Protocol | Information | Use Case |\n|-------|----------|-------------|----------|\n| L2 | LLDP\u002FCDP | Switch ports, VLANs, neighbors | Topology mapping |\n| L2 | ARP | MAC-to-IP mappings | Local host discovery |\n| L3 | ICMP\u002FTCP | IP reachability, ports | Remote host scanning |\n\n**Why L2 matters:**\n- Operates without IP routing - works on isolated networks\n- Reveals physical topology (which port connects where)\n- Identifies network equipment (switches, routers, phones)\n- No firewall interference - L2 frames aren't filtered like IP packets\n\n## LLDP\u002FCDP Topology Discovery\n\n### lldpd Overview\n\n`lldpd` is an IEEE 802.1AB (LLDP) implementation that also supports:\n- **CDP** - Cisco Discovery Protocol\n- **EDP** - Extreme Discovery Protocol\n- **FDP** - Foundry Discovery Protocol\n- **SONMP** - SynOptics Network Management Protocol\n\n**Architecture:**\n- `lldpd` - Daemon that sends\u002Freceives LLDP frames\n- `lldpcli` - CLI to query daemon and configure settings\n\n### Installation\n\n```bash\n# Debian\u002FUbuntu\nsudo apt install lldpd\n\n# macOS (for development\u002Ftesting)\nbrew install lldpd\n\n# Start daemon\nsudo systemctl enable --now lldpd\n```\n\n### Essential lldpcli Commands\n\n```bash\n# Show discovered neighbors (most common)\nlldpcli show neighbors\n\n# Detailed neighbor info with all TLVs\nlldpcli show neighbors details\n\n# Show local chassis information\nlldpcli show chassis\n\n# Show interface statistics\nlldpcli show statistics\n\n# Show all interfaces lldpd is monitoring\nlldpcli show interfaces\n\n# Show running configuration\nlldpcli show configuration\n```\n\n### Neighbor Output Interpretation\n\n```\n-------------------------------------------------------------------------------\nLLDP neighbors:\n-------------------------------------------------------------------------------\nInterface:    eth0, via: LLDP, RID: 1, Time: 0 day, 00:05:32\n  Chassis:\n    ChassisID:    mac 00:1a:2b:3c:4d:5e\n    SysName:      switch-core-01\n    SysDescr:     Cisco IOS Software, C3750 Software\n    MgmtIP:       10.0.0.1\n    Capability:   Bridge, on\n    Capability:   Router, off\n  Port:\n    PortID:       ifname GigabitEthernet0\u002F1\n    PortDescr:    Server Room Rack A\n    TTL:          120\n  VLAN:        100, pvid: yes\n```\n\n**Key fields:**\n- **ChassisID** - Unique switch identifier (usually MAC)\n- **SysName** - Switch hostname\n- **PortID\u002FPortDescr** - Which port you're connected to\n- **VLAN** - VLAN assignment on that port\n\n### Configuration\n\n```bash\n# Enable CDP reception (for Cisco environments)\nlldpcli configure lldp portidsubtype ifname\nlldpcli configure cdp status rx-only\n\n# Set system description\nlldpcli configure system description \"Application Server\"\n\n# Set interface description\nlldpcli configure ports eth0 lldp portdescription \"Primary uplink\"\n\n# Disable LLDP on specific interface\nlldpcli configure ports eth1 lldp status disabled\n```\n\nConfiguration file: `\u002Fetc\u002Flldpd.conf` or `\u002Fetc\u002Flldpd.d\u002F*.conf`\n\n```\n# \u002Fetc\u002Flldpd.conf\nconfigure system description \"Production Web Server\"\nconfigure lldp portidsubtype ifname\nconfigure cdp status rx-only\n```\n\n## ARP Scanning for Host Discovery\n\n### arp-scan-rs\n\nFast, Rust-based ARP scanner for local network host discovery.\n\n```bash\n# Install\ncargo install arp-scan\n\n# Basic scan (default interface)\narp-scan -l\n\n# Specify interface\narp-scan -i en0 -l\n\n# Scan specific subnet\narp-scan -i eth0 192.168.1.0\u002F24\n\n# Fast profile (less accuracy, more speed)\narp-scan -p fast -l\n\n# Stealth profile (slower, harder to detect)\narp-scan -p stealth -l\n\n# JSON output for parsing\narp-scan -l --json\n\n# Show only responding hosts\narp-scan -l --alive-only\n```\n\n### Scan Profiles\n\n| Profile | Timing | Retries | Use Case |\n|---------|--------|---------|----------|\n| `default` | Balanced | 2 | General use |\n| `fast` | Aggressive | 1 | Quick enumeration |\n| `stealth` | Slow | 1 | Minimize detection |\n\n### Output Parsing\n\n```bash\n# Get IPs only\narp-scan -l --json | jq -r '.hosts[].ip'\n\n# Get MAC addresses\narp-scan -l --json | jq -r '.hosts[] | \"\\(.ip) \\(.mac)\"'\n\n# Count discovered hosts\narp-scan -l --json | jq '.hosts | length'\n```\n\n### arping - Single Host Probe\n\n`arping` sends ARP requests to a specific host - useful for:\n- Checking if host is alive at L2 when ICMP is blocked\n- Detecting IP conflicts (multiple responses)\n- Waking hosts from sleep states\n\n```bash\n# Basic ARP ping\narping 192.168.1.1\n\n# Specify source interface\narping -I eth0 192.168.1.1\n\n# Count of requests\narping -c 3 192.168.1.1\n\n# Timeout in seconds\narping -w 5 192.168.1.1\n\n# Duplicate address detection mode\narping -D 192.168.1.100\n```\n\n## Common Patterns\n\n### Discover Network Topology\n\n```bash\n# 1. Find all hosts on local segment\narp-scan -l --json > \u002Ftmp\u002Fhosts.json\n\n# 2. Check LLDP neighbors for switch info\nlldpcli show neighbors\n\n# 3. Correlate: which switch port serves which host\nlldpcli show neighbors | grep -A 10 \"Interface:\"\n```\n\n### Identify Unknown Devices\n\n```bash\n# Get MAC vendor info (arp-scan-rs includes OUI database)\narp-scan -l\n\n# Sample output includes vendor:\n# 192.168.1.50    00:11:32:xx:xx:xx    Synology Inc.\n# 192.168.1.51    dc:a6:32:xx:xx:xx    Raspberry Pi\n```\n\n### Check Physical Port Assignment\n\n```bash\n# On the server, see which switch port you're connected to\nlldpcli show neighbors | grep -E \"(Interface|PortID|PortDescr)\"\n```\n\n### Monitor for New Neighbors\n\n```bash\n# Watch for LLDP changes\nwatch -n 30 'lldpcli show neighbors'\n\n# Log neighbor events\njournalctl -u lldpd -f\n```\n\n### Scripted Topology Export\n\n```bash\n# Export neighbors as JSON (requires lldpd 1.0+)\nlldpcli show neighbors -f json\n\n# Parse with jq\nlldpcli show neighbors -f json | jq '.lldp.interface[] | {\n  local_if: .name,\n  remote_chassis: .chassis[].name[].value,\n  remote_port: .port[].id[].value\n}'\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Quick host list | `arp-scan -l --json \\| jq -r '.hosts[].ip'` |\n| Count hosts | `arp-scan -l --json \\| jq '.hosts \\| length'` |\n| Fast scan | `arp-scan -p fast -l --alive-only` |\n| LLDP neighbors JSON | `lldpcli show neighbors -f json` |\n| Switch port info | `lldpcli show neighbors \\| grep -E \"(PortID\\|PortDescr)\"` |\n| Single host check | `arping -c 1 -w 1 192.168.1.1; echo $?` |\n\n## Quick Reference\n\n### arp-scan-rs Flags\n\n| Flag | Long | Description |\n|------|------|-------------|\n| `-l` | `--localnet` | Scan local network |\n| `-i` | `--interface` | Specify interface |\n| `-p` | `--profile` | Scan profile (default\u002Ffast\u002Fstealth) |\n| | `--json` | JSON output |\n| | `--alive-only` | Only show responding hosts |\n\n### lldpcli Commands\n\n| Command | Description |\n|---------|-------------|\n| `show neighbors` | List discovered neighbors |\n| `show neighbors details` | Full TLV information |\n| `show chassis` | Local system info |\n| `show statistics` | Frame counters |\n| `show interfaces` | Monitored interfaces |\n| `show configuration` | Running config |\n\n### arping Flags\n\n| Flag | Description |\n|------|-------------|\n| `-I` | Source interface |\n| `-c` | Number of requests |\n| `-w` | Timeout in seconds |\n| `-D` | Duplicate address detection |\n| `-q` | Quiet mode |\n\n## Troubleshooting\n\n### lldpd Not Receiving Neighbors\n\n```bash\n# Check daemon is running\nsystemctl status lldpd\n\n# Verify interface is being monitored\nlldpcli show interfaces\n\n# Check for blocked frames (some switches filter LLDP)\ntcpdump -i eth0 ether proto 0x88cc\n\n# Ensure interface is up\nip link show eth0\n```\n\n### arp-scan Permission Denied\n\n```bash\n# ARP scanning requires raw socket access\nsudo arp-scan -l\n\n# Or grant capability\nsudo setcap cap_net_raw+ep $(which arp-scan)\n```\n\n### No ARP Responses\n\n```bash\n# Verify you're on the same L2 segment\nip route get 192.168.1.1\n\n# Check for ARP blocking (rare)\nip neigh show\n\n# Try arping for single-host debugging\narping -c 3 192.168.1.1\n```\n\n## Requirements\n\n```bash\n# Debian\u002FUbuntu\nsudo apt install lldpd arping\n\n# macOS\nbrew install lldpd arping\n\n# arp-scan-rs (all platforms)\ncargo install arp-scan\n```\n","# Layer 2 Network Discovery\n\n## When to Use This Skill\n\n| Scenario | Use this skill | Alternative |\n|----------|---------------|-------------|\n| Find which switch port a server is connected to | Yes | |\n| Enumerate hosts on the local segment via ARP | Yes | |\n| Identify unknown devices by MAC vendor | Yes | |\n| Map physical network topology (LLDP\u002FCDP) | Yes | |\n| Check if a host is alive when ICMP is blocked | Yes (arping) | |\n| Detect duplicate IP addresses | Yes (arping -D) | |\n| Scan for open TCP\u002FUDP ports on remote hosts | | network-discovery (RustScan, nmap) |\n| Trace the network path to a remote host | | network-diagnostics (trippy) |\n| Look up DNS records for a domain | | dns-tools (dog, dig) |\n| Load test an HTTP endpoint | | http-load-testing (oha) |\n| Monitor per-process bandwidth usage | | network-monitoring (bandwhich) |\n| Inspect or configure the host's own IPs, links, or routes | | interface-state (ip) |\n\nExpert knowledge for Layer 2 network topology discovery and neighbor detection, operating below the IP layer for direct link-level visibility.\n\n## Core Expertise\n\n### Layer 2 vs Layer 3 Discovery\n\n| Layer | Protocol | Information | Use Case |\n|-------|----------|-------------|----------|\n| L2 | LLDP\u002FCDP | Switch ports, VLANs, neighbors | Topology mapping |\n| L2 | ARP | MAC-to-IP mappings | Local host discovery |\n| L3 | ICMP\u002FTCP | IP reachability, ports | Remote host scanning |\n\n**Why L2 matters:**\n- Operates without IP routing - works on isolated networks\n- Reveals physical topology (which port connects where)\n- Identifies network equipment (switches, routers, phones)\n- No firewall interference - L2 frames aren't filtered like IP packets\n\n## LLDP\u002FCDP Topology Discovery\n\n### lldpd Overview\n\n`lldpd` is an IEEE 802.1AB (LLDP) implementation that also supports:\n- **CDP** - Cisco Discovery Protocol\n- **EDP** - Extreme Discovery Protocol\n- **FDP** - Foundry Discovery Protocol\n- **SONMP** - SynOptics Network Management Protocol\n\n**Architecture:**\n- `lldpd` - Daemon that sends\u002Freceives LLDP frames\n- `lldpcli` - CLI to query daemon and configure settings\n\n### Installation\n\n```bash\n# Debian\u002FUbuntu\nsudo apt install lldpd\n\n# macOS (for development\u002Ftesting)\nbrew install lldpd\n\n# Start daemon\nsudo systemctl enable --now lldpd\n```\n\n### Essential lldpcli Commands\n\n```bash\n# Show discovered neighbors (most common)\nlldpcli show neighbors\n\n# Detailed neighbor info with all TLVs\nlldpcli show neighbors details\n\n# Show local chassis information\nlldpcli show chassis\n\n# Show interface statistics\nlldpcli show statistics\n\n# Show all interfaces lldpd is monitoring\nlldpcli show interfaces\n\n# Show running configuration\nlldpcli show configuration\n```\n\n### Neighbor Output Interpretation\n\n```\n-------------------------------------------------------------------------------\nLLDP neighbors:\n-------------------------------------------------------------------------------\nInterface:    eth0, via: LLDP, RID: 1, Time: 0 day, 00:05:32\n  Chassis:\n    ChassisID:    mac 00:1a:2b:3c:4d:5e\n    SysName:      switch-core-01\n    SysDescr:     Cisco IOS Software, C3750 Software\n    MgmtIP:       10.0.0.1\n    Capability:   Bridge, on\n    Capability:   Router, off\n  Port:\n    PortID:       ifname GigabitEthernet0\u002F1\n    PortDescr:    Server Room Rack A\n    TTL:          120\n  VLAN:        100, pvid: yes\n```\n\n**Key fields:**\n- **ChassisID** - Unique switch identifier (usually MAC)\n- **SysName** - Switch hostname\n- **PortID\u002FPortDescr** - Which port you're connected to\n- **VLAN** - VLAN assignment on that port\n\n### Configuration\n\n```bash\n# Enable CDP reception (for Cisco environments)\nlldpcli configure lldp portidsubtype ifname\nlldpcli configure cdp status rx-only\n\n# Set system description\nlldpcli configure system description \"Application Server\"\n\n# Set interface description\nlldpcli configure ports eth0 lldp portdescription \"Primary uplink\"\n\n# Disable LLDP on specific interface\nlldpcli configure ports eth1 lldp status disabled\n```\n\nConfiguration file: `\u002Fetc\u002Flldpd.conf` or `\u002Fetc\u002Flldpd.d\u002F*.conf`\n\n```\n# \u002Fetc\u002Flldpd.conf\nconfigure system description \"Production Web Server\"\nconfigure lldp portidsubtype ifname\nconfigure cdp status rx-only\n```\n\n## ARP Scanning for Host Discovery\n\n### arp-scan-rs\n\nFast, Rust-based ARP scanner for local network host discovery.\n\n```bash\n# Install\ncargo install arp-scan\n\n# Basic scan (default interface)\narp-scan -l\n\n# Specify interface\narp-scan -i en0 -l\n\n# Scan specific subnet\narp-scan -i eth0 192.168.1.0\u002F24\n\n# Fast profile (less accuracy, more speed)\narp-scan -p fast -l\n\n# Stealth profile (slower, harder to detect)\narp-scan -p stealth -l\n\n# JSON output for parsing\narp-scan -l --json\n\n# Show only responding hosts\narp-scan -l --alive-only\n```\n\n### Scan Profiles\n\n| Profile | Timing | Retries | Use Case |\n|---------|--------|---------|----------|\n| `default` | Balanced | 2 | General use |\n| `fast` | Aggressive | 1 | Quick enumeration |\n| `stealth` | Slow | 1 | Minimize detection |\n\n### Output Parsing\n\n```bash\n# Get IPs only\narp-scan -l --json | jq -r '.hosts[].ip'\n\n# Get MAC addresses\narp-scan -l --json | jq -r '.hosts[] | \"\\(.ip) \\(.mac)\"'\n\n# Count discovered hosts\narp-scan -l --json | jq '.hosts | length'\n```\n\n### arping - Single Host Probe\n\n`arping` sends ARP requests to a specific host - useful for:\n- Checking if host is alive at L2 when ICMP is blocked\n- Detecting IP conflicts (multiple responses)\n- Waking hosts from sleep states\n\n```bash\n# Basic ARP ping\narping 192.168.1.1\n\n# Specify source interface\narping -I eth0 192.168.1.1\n\n# Count of requests\narping -c 3 192.168.1.1\n\n# Timeout in seconds\narping -w 5 192.168.1.1\n\n# Duplicate address detection mode\narping -D 192.168.1.100\n```\n\n## Common Patterns\n\n### Discover Network Topology\n\n```bash\n# 1. Find all hosts on local segment\narp-scan -l --json > \u002Ftmp\u002Fhosts.json\n\n# 2. Check LLDP neighbors for switch info\nlldpcli show neighbors\n\n# 3. Correlate: which switch port serves which host\nlldpcli show neighbors | grep -A 10 \"Interface:\"\n```\n\n### Identify Unknown Devices\n\n```bash\n# Get MAC vendor info (arp-scan-rs includes OUI database)\narp-scan -l\n\n# Sample output includes vendor:\n# 192.168.1.50    00:11:32:xx:xx:xx    Synology Inc.\n# 192.168.1.51    dc:a6:32:xx:xx:xx    Raspberry Pi\n```\n\n### Check Physical Port Assignment\n\n```bash\n# On the server, see which switch port you're connected to\nlldpcli show neighbors | grep -E \"(Interface|PortID|PortDescr)\"\n```\n\n### Monitor for New Neighbors\n\n```bash\n# Watch for LLDP changes\nwatch -n 30 'lldpcli show neighbors'\n\n# Log neighbor events\njournalctl -u lldpd -f\n```\n\n### Scripted Topology Export\n\n```bash\n# Export neighbors as JSON (requires lldpd 1.0+)\nlldpcli show neighbors -f json\n\n# Parse with jq\nlldpcli show neighbors -f json | jq '.lldp.interface[] | {\n  local_if: .name,\n  remote_chassis: .chassis[].name[].value,\n  remote_port: .port[].id[].value\n}'\n```\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Quick host list | `arp-scan -l --json \\| jq -r '.hosts[].ip'` |\n| Count hosts | `arp-scan -l --json \\| jq '.hosts \\| length'` |\n| Fast scan | `arp-scan -p fast -l --alive-only` |\n| LLDP neighbors JSON | `lldpcli show neighbors -f json` |\n| Switch port info | `lldpcli show neighbors \\| grep -E \"(PortID\\|PortDescr)\"` |\n| Single host check | `arping -c 1 -w 1 192.168.1.1; echo $?` |\n\n## Quick Reference\n\n### arp-scan-rs Flags\n\n| Flag | Long | Description |\n|------|------|-------------|\n| `-l` | `--localnet` | Scan local network |\n| `-i` | `--interface` | Specify interface |\n| `-p` | `--profile` | Scan profile (default\u002Ffast\u002Fstealth) |\n| | `--json` | JSON output |\n| | `--alive-only` | Only show responding hosts |\n\n### lldpcli Commands\n\n| Command | Description |\n|---------|-------------|\n| `show neighbors` | List discovered neighbors |\n| `show neighbors details` | Full TLV information |\n| `show chassis` | Local system info |\n| `show statistics` | Frame counters |\n| `show interfaces` | Monitored interfaces |\n| `show configuration` | Running config |\n\n### arping Flags\n\n| Flag | Description |\n|------|-------------|\n| `-I` | Source interface |\n| `-c` | Number of requests |\n| `-w` | Timeout in seconds |\n| `-D` | Duplicate address detection |\n| `-q` | Quiet mode |\n\n## Troubleshooting\n\n### lldpd Not Receiving Neighbors\n\n```bash\n# Check daemon is running\nsystemctl status lldpd\n\n# Verify interface is being monitored\nlldpcli show interfaces\n\n# Check for blocked frames (some switches filter LLDP)\ntcpdump -i eth0 ether proto 0x88cc\n\n# Ensure interface is up\nip link show eth0\n```\n\n### arp-scan Permission Denied\n\n```bash\n# ARP scanning requires raw socket access\nsudo arp-scan -l\n\n# Or grant capability\nsudo setcap cap_net_raw+ep $(which arp-scan)\n```\n\n### No ARP Responses\n\n```bash\n# Verify you're on the same L2 segment\nip route get 192.168.1.1\n\n# Check for ARP blocking (rare)\nip neigh show\n\n# Try arping for single-host debugging\narping -c 3 192.168.1.1\n```\n\n## Requirements\n\n```bash\n# Debian\u002FUbuntu\nsudo apt install lldpd arping\n\n# macOS\nbrew install lldpd arping\n\n# arp-scan-rs (all platforms)\ncargo install arp-scan\n```\n",{"name":5,"created":60,"modified":61,"reviewed":61,"description":7,"allowed-tools":62,"user-invocable":56},1767225600000,1777075200000,"Bash(arp *), Bash(ip *), Bash(bridge *), Bash(ethtool *), Read, Write, Edit, Grep, Glob","main","bdd0582f1a2ba53d21061835bfd72d45f2f954f4","networking-plugin\u002Fskills\u002Flayer2-discovery",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add laurigates\u002Fclaude-plugins --skill layer2-discovery",{"tool":77,"command":78},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill layer2-discovery",{"tool":80,"command":81},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill layer2-discovery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fnetworking-plugin\u002Fskills\u002Flayer2-discovery\u002FSKILL.md",true,[],[86,94,116,134,150,173],{"skillNo":87,"name":88,"nameZh":17,"description":89,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":93},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":95,"name":96,"nameZh":17,"description":97,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":55},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[101,102,103,104,105,106,107,108,109,110,46,36,53,111,112,113,114,115,35,51],"show","kitty show image","image","kitty","show image","ls","get","send","open","dev","file","text","with","xdg","via",{"skillNo":117,"name":118,"nameZh":17,"description":119,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":55},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[104,123,124,125,42,126,36,53,127,128,129,35,51,50,49,130,131,132,133,46],"kitty session persistence","session","persistence","snapshots","uname","reboot","terminal","snapshot","macos","sessions","restore",{"skillNo":135,"name":136,"nameZh":17,"description":137,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":55},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[141,142,104,143,144,106,145,146,107,147,148,46,36,149,53,112,113,129,35,51],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":151,"name":152,"nameZh":17,"description":153,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":55},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[157,158,159,160,161,162,163,164,165,166,46,36,53,167,111,168,169,170,171,172],"docs reference check","check","reference check","reference","docs","links","python3","repo","files","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":174,"name":175,"nameZh":176,"description":177,"descriptionZh":178,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":179,"categories":180,"keywords":187,"publishedAt":55},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[181,184],{"categoryNo":182,"categoryName":183,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":185,"categoryName":186,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[188,189,190,191,163,192,51,193,49,194,195,196,46,53,111,197,198,36,199,200,201,115,35],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","api","v3","tags","id","title"]