Skip to content
Skillv1.0.0

x-tping

TCP ping tool for testing connectivity to TCP ports. Uses TCP protocol with curl to establish connections. Supports heatmap, bar chart, and verbose output modes. **Dependency**: This is an x-cmd modul

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/tping/SKILL.md). Install upstream with npx skills add x-cmd/x-cmd --skill tping. Copyright stays with the author (Apache-2.0).

x tping - TCP Ping Tool

Ping TCP ports to test connectivity using TCP protocol.


Quick Start

# Ping default port 80
x tping bing.com

# Ping specific port
x tping bing.com:443

# Heatmap visualization
x tping --heatmap bing.com

Features

  • TCP Ping: Test TCP connectivity instead of ICMP
  • Port Specification: Test any TCP port
  • Visual Output: Heatmap and bar chart modes
  • Multiple Formats: CSV, TSV, raw output

Commands

Command Description
x tping <host> Ping host on port 80 (default)
x tping <host>:<port> Ping specific port
x tping -n <count> Limit ping count (recommended)
x tping --verbose Verbose output (default)
x tping --heatmap Heatmap visualization
x tping --bar Bar chart visualization
x tping --csv CSV format output
x tping --tsv TSV format output
x tping --raw Raw format output

Examples

Basic Ping

# Ping port 80 (default) - runs indefinitely until Ctrl+C
x tping bing.com

# Ping with count limit (recommended - stops after N times)
x tping -n 10 bing.com
x tping -n 20 bing.com:443

# Ping port 443
x tping bing.com:443

# Ping specific IP and port
x tping 8.8.8.8:53

Visual Output

# Heatmap mode
x tping --heatmap bing.com

# Bar chart mode
x tping --bar bing.com:80

Data Processing

# CSV output
x tping --csv bing.com

# TSV output
x tping --tsv bing.com:443

Comparison with Traditional Ping

Feature Traditional Ping x tping
Protocol ICMP TCP
Port-specific No Yes
Firewall-friendly Often blocked Usually allowed
Output Text Visual modes + Data formats

Platform Notes

Uses curl for TCP connections. On Windows and older curl versions (<8.4), uses x cosmo curl to avoid connection issues.


Related

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-tping/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-tping.ocm.jsonjson
{
  "ocm": "1",
  "id": "x-cmd-x-cmd-tping",
  "kind": "skill",
  "name": "x-tping",
  "description": "TCP ping tool for testing connectivity to TCP ports. Uses TCP protocol with curl to establish connections. Supports heatmap, bar chart, and verbose output modes. **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",
      "ping",
      "tcp",
      "connectivity",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "TCP ping tool for testing connectivity to TCP ports. Uses TCP protocol with curl to establish connections. Supports heatmap, bar chart, and verbose output modes. **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/tping/SKILL.md",
      "ref": "e18c1ef8b4695c7556c4e847b2eb7eaac13b9230",
      "url": "https://github.com/x-cmd/x-cmd/blob/e18c1ef8b4695c7556c4e847b2eb7eaac13b9230/mod/tping/SKILL.md",
      "key": "x-cmd/x-cmd/mod/tping/SKILL.md"
    },
    "compatibility": "POSIX Shell",
    "license": "Apache-2.0"
  },
  "instructions": "# x tping - TCP Ping Tool\n\n> Ping TCP ports to test connectivity using TCP protocol.\n\n---\n\n## Quick Start\n\n```bash\n# Ping default port 80\nx tping bing.com\n\n# Ping specific port\nx tping bing.com:443\n\n# Heatmap visualization\nx tping --heatmap bing.com\n```\n\n---\n\n## Features\n\n- **TCP Ping**: Test TCP connectivity instead of ICMP\n- **Port Specification**: Test any TCP port\n- **Visual Output**: Heatmap and bar chart modes\n- **Multiple Formats**: CSV, TSV, raw output\n\n---\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `x tping <host>` | Ping host on port 80 (default) |\n| `x tping",
  "cost": {
    "context_tokens": 490
  }
}

Fetch it by URL: GET /api/v1/registry/x-cmd-x-cmd-tping/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.