Skip to content
Back to skills

Route

ASecurity

Route table viewer with multiple output formats. Display network routing table in CSV, TSV, or raw format. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolsgoshellbashsql

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add thiagofernandes1987-create/APEX --skill route --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Route?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Route
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thiagofernandes1987-create-route/badge)](https://www.skillsdirectory.com/skills/thiagofernandes1987-create-route)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: x-route
description: |
  Route table viewer with multiple output formats.
  Display network routing table in CSV, TSV, or raw format.
  
  **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options).
  see x-cmd skill for installation.

license: Apache-2.0
compatibility: POSIX Shell

metadata:
  author: Li Junhao
  version: "1.0.0"
  category: x-cmd-extension
  tags: [x-cmd, network, route, routing-table]
---

# x route - Route Table Viewer

> Display network routing table with multiple output formats.

---

## Quick Start

```bash
# Display route table (default)
x route

# CSV format
x route --csv

# TSV format  
x route --tsv
```

---

## Features

- **Route Table**: Display system routing table
- **Multiple Formats**: CSV, TSV, and raw output
- **Cross-platform**: Linux, macOS, Windows support

---

## Commands

| Command | Description |
|---------|-------------|
| `x route` | Display route table (default) |
| `x route ls` | Display route table |
| `x route ls --csv` | Output in CSV format |
| `x route ls --tsv` | Output in TSV format |
| `x route ls --raw` | Output in raw format |

---

## Examples

### Basic Usage

```bash
# Default route table view
x route

# CSV format for processing
x route --csv

# TSV format
x route --tsv

# Raw format
x route --raw
```

### Data Processing

```bash
# Filter routes
x route --csv | x csv sql "SELECT * WHERE destination LIKE '192.168%'"

# Parse with awk
x route --tsv | awk -F'\t' 'NR>1 {print $1, $2}'
```

---

## Output Fields

Typical fields include:

| Field | Description |
|-------|-------------|
| Destination | Target network or host |
| Gateway | Next hop router |
| Genmask | Netmask |
| Flags | Route flags |
| Metric | Route metric/cost |
| Ref | Reference count |
| Use | Route usage |
| Iface | Network interface |

---

## Platform Notes

- **Linux**: Uses `ip route` or `route` command
- **macOS**: Uses `netstat -rn` or `route` command
- **Windows**: Uses `route print` command

---

## Related

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…