Skip to content
Agentmart
Submit a tool

gateway-diagnostics

Show and ping the gateway of a network interface, on a Kubernetes node or inside a pod's network namespace.

Skill by scitix

IndexedApache-2.0★ 238
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/scitix-gateway-diagnostics

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Show and ping the gateway of a network interface, on a Kubernetes node or inside a pod's network namespace. Auto-detects the gateway from the routing table (ip -j route), reports interface type (RoCE / Ethernet / IB), and tests reachability with ping. Use for default-route / gateway questions, network reachability checks, RoCE/RDMA data-path validation, and "can this node/pod reach its gateway" investigations.

Use cases: devops, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/gateway-diagnostics

What's inside

Skill name
gateway-diagnostics
Description
Show and ping the gateway of a network interface, on a Kubernetes node or inside a pod's network namespace. Auto-detects the gateway from the routing table (ip -j route), reports interface type (RoCE / Ethernet / IB), and tests reachability with ping. Use for default-route / gateway questions, network reachability checks, RoCE/RDMA data-path validation, and "can this node/pod reach its gateway" investigations.
License
Apache-2.0
Instructions
93 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (4)

  • SKILL.md
  • switchdev-and-interface-types.md · references/
  • ping-gateway.sh · scripts/
  • show-gateway.sh · scripts/

SKILL.md (first lines)

# Gateway Diagnostics

Inspect and test the **gateway** of a network interface. Two operations, one
script each; both run identically on a node or inside a pod — the only
difference is how you launch them (see Targets below).

## Router

| Need | Action |
| --- | --- |
| See the gateway / default route for an interface (with TYPE) | `scripts/show-gateway.sh` |
| Test whether the gateway is reachable | `scripts/ping-gateway.sh` |
| Target is a **node** (or a bound SSH host) | run directly — see Node target |
| Target is a **pod** | resolve the netns first — see Pod target |
| Switchdev PF caveat, or what RoCE/Ethernet/IB means | read `references/switchdev-and-interface-types.md` |

## Targets

### Node target

Prefer `host_script` when the node is a bound SSH host (check `host_list`) — it
runs over SSH with no debug pod. Fall back to `node_script` otherwise. Both take
the same `skill` / `script` / `args`.

```
host_script: host="<host>", skill="gateway-diagnostics", script="show-gateway.sh", args="<args>"
node_script: node="<node>", skill="gateway-diagnostics", script="show-gateway.sh", args="<args>"
```

### Pod target

Runs in the pod's network namespace using host tools — one step: pass `pod`
(+ `namespace`) and `node_script` resolves the node and enters the pod's netns
for you:
```
node_script: pod="<pod>", namespace="<ns>", skill="gateway-diagnostics", script="ping-gateway.sh", args="<args>"
```

> `node_script` resolves the pod → node + netns internally and runs the script in
> the pod's network namespace. The same script file serves both node and pod targets.

## Parameters

### show-gateway.sh

| Parameter | Required | Description |
|-----------|----------|-------------|
| `--interface IFACE` | no | Network interface name. If omitted, shows all. |
| `--json` | no | Output in JSON format (adds a `type` field per gateway). |

### ping-gateway.sh

| Parameter | Required | Description |
|-----------|----------|-------------|
| `--interface IFACE` | yes | Network interface to find the gateway for |
| `--source-ip` | no | flag — auto-detect IP from the interface, use as ping source (`-I <ip>`) |
| `--source-dev` | no | flag — use the interface name as ping source (`-I <iface>`) |
| `--count N` | no | Number of ping packets (default: 3) |

`--source-ip` and `--source-dev` are mutually exclusive flags (no value needed).

## Examples

Show all gateways on a node:
```
node_script: node="nodepool-061", skill="gateway-diagnostics", script="show-gateway.sh"
```

Show one interface's gateway on a bound host:
```
host_script: host="nodepool-061", skill="gateway-diagnostics", script="show-gateway.sh", args="--interface eth0"
```

Ping a node's gateway, sourcing from the interface IP:
```
node_script: node="nodepool-061", skill="gateway-diagnostics", script="ping-gateway.sh", args="--interface bond0 --source-ip"
```

Show / ping a pod's gateway (one step — `pod` resolves node + netns):
```
node_script: pod="rdma-pod", namespace="rdma-test", skill="gateway-diagnostics", script="show-gateway.sh", args="--interface net1 --json"
node_script: pod="rdma-pod", namespace="rdma-test", skill="gateway-diagnostics", script="ping-gateway.sh", args="--interface net1 --source-dev"
```

## Interface types & switchdev

The output includes a TYPE column (RoCE / Ethernet / IB). If a target interface
is a PF in **switchdev mode**, gateway routes are not meaningful and ping will
always fail — this is expected, not a network problem. For the detection logic
and what to do instead (use a RoCE pod + the pod target), read
`references/switchdev-and-interface-types.md`.

From scitix/siclaw, Apache-2.0.

More from scitix/siclaw

Compare and alternatives

    Featured in

    Signals

    Stars
    238
    Forks
    32
    Open issues
    16
    Last commit (this folder)
    Jul 17, 2026 (3 months ago)
    Last release
    Sep 14, 2026 (1 month ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    Apache-2.0
    Website
    siclaw.ai
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from scitix

    Cite this page

    gateway-diagnostics skill. Agent Mart. https://agentmart.dev/skills/scitix-gateway-diagnostics (last updated 2026-10-24)