Skip to content
Skillv1.0.0

x-arp

Display ARP cache table with MAC vendor lookup and suspicious entry detection. Supports CSV, TSV, and TUI output. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for inst

by x-cmd(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from x-cmd/x-cmd (mod/arp/SKILL.md). Install upstream with npx skills add x-cmd/x-cmd --skill arp. Copyright stays with the author (Apache-2.0).

x arp - ARP Cache Table Viewer

Display and inspect the local system's ARP cache table with multiple output formats.


Quick Start

# Interactive ARP table viewer (default in TTY)
x arp

# TSV format output (default when piped)
x arp | cat

Features

  • Multi-format output: TSV, CSV, TUI application, raw
  • MAC vendor lookup: Automatic vendor identification
  • Suspicious entry detection: Flags potentially suspicious entries
  • Cross-platform: Linux, macOS, Windows support

Output Fields

Field Description Example
ip IP address 192.168.1.1
mac MAC address 00:11:22:33:44:55
if Network interface eth0, en0
suspicious Suspicious flag Yes/No
scope Address scope link, global
type Entry type static, dynamic
vendor MAC vendor (if available) Apple, Inc.

Commands

Command Description
x arp Auto mode: TTY→interactive, pipe→TSV
x arp --app Interactive TUI view
x arp --csv CSV format output
x arp --tsv TSV format output
x arp --raw Raw system command output
x arp --all Include incomplete entries
x arp --no-vendor Skip MAC vendor lookup

Examples

Basic Usage

# Interactive view (TTY)
x arp

# TSV format
x arp --tsv

# CSV format
x arp --csv

Filtering and Processing

# Find entries for specific IP
x arp --tsv | awk -F'\t' '$1 == "192.168.1.1"'

# Check for suspicious entries
x arp --tsv | grep "Yes"

# Get all entries including incomplete
x arp --all

Network Troubleshooting

# View raw ARP output
x arp --raw

# Check specific interface
x arp --tsv | grep "eth0"

Platform Notes

Linux

  • Uses ip neigh or arp -n
  • Full feature support

macOS

  • Uses arp -an
  • Full feature support

Windows

  • Uses arp -a
  • Full feature support

Security Notes

  • Suspicious entries: Flags entries that may indicate ARP spoofing
  • MAC vendor: Helps identify unknown devices on network
  • Use --no-vendor for faster output without network lookup

Related

  • Native arp(8) manual page

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/x-cmd-x-cmd-arp/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

x-cmd-x-cmd-arp.ocm.jsonjson
{
  "ocm": "1",
  "id": "x-cmd-x-cmd-arp",
  "kind": "skill",
  "name": "x-arp",
  "description": "Display ARP cache table with MAC vendor lookup and suspicious entry detection. Supports CSV, TSV, and TUI output. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.",
  "publisher": "x-cmd",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "data_analysis"
    ],
    "tags": [
      "skill-md",
      "x-cmd",
      "network",
      "arp",
      "security",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Display ARP cache table with MAC vendor lookup and suspicious entry detection. Supports CSV, TSV, and TUI output. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/x-cmd/x-cmd",
      "path": "mod/arp/SKILL.md",
      "ref": "e18c1ef8b4695c7556c4e847b2eb7eaac13b9230",
      "url": "https://github.com/x-cmd/x-cmd/blob/e18c1ef8b4695c7556c4e847b2eb7eaac13b9230/mod/arp/SKILL.md",
      "key": "x-cmd/x-cmd/mod/arp/SKILL.md"
    },
    "compatibility": "POSIX Shell",
    "license": "Apache-2.0"
  },
  "instructions": "# x arp - ARP Cache Table Viewer\n\n> Display and inspect the local system's ARP cache table with multiple output formats.\n\n---\n\n## Quick Start\n\n```bash\n# Interactive ARP table viewer (default in TTY)\nx arp\n\n# TSV format output (default when piped)\nx arp | cat\n```\n\n---\n\n## Features\n\n- **Multi-format output**: TSV, CSV, TUI application, raw\n- **MAC vendor lookup**: Automatic vendor identification\n- **Suspicious entry detection**: Flags potentially suspicious entries\n- **Cross-platform**: Linux, macOS, Windows support\n\n---\n\n## Output Fields\n\n| Field | Description | Example |\n|-------|-------------",
  "cost": {
    "context_tokens": 565
  }
}

Fetch it by URL: GET /api/v1/registry/x-cmd-x-cmd-arp/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.