Network health checks via tower CLI: ping, DNS, TCP, TLS, HTTP, WebSocket, and TLS certificate expiry. Includes an MCP server for AI tool integration.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Binary: tower — single binary, no runtime dependencies.
go install github.com/mismatched/tower@latest
| Goal | Command |
|---|---|
| Ping a host | tower ping example.com --count 3 (requires root) |
| DNS resolve | tower dns example.com |
| DNS via specific server | tower dns example.com --from 8.8.8.8 |
| TCP port check | tower tcp example.com:443 --timeout 5s |
| TLS port check | tower tls example.com:443 --cert client.crt --key client.key |
| HTTP status check | tower http https://example.com --method HEAD |
| HTTP trace timing | tower trace https://example.com --method GET |
| TLS cert check | tower https example.com --warn 720h |
| TLS cert (insecure) | tower https example.com --insecure |
| WebSocket check | tower ws wss://example.com/ws --timeout 10s |
| Batch from config | tower check config.yml |
| MCP server | tower serve (stdio, hidden command) |
tower ping <host> [--count N]
tower dns <addr> [--from server] [--timeout DUR]
tower tcp <host:port> [--timeout DUR]
tower tls <host:port> [--cert FILE] [--key FILE] [--timeout DUR]
tower http <url> [--method M] [--timeout DUR]
tower trace <url> [--method M]
tower https <host> [--port N] [--warn DUR] [--insecure] [--timeout DUR]
tower ws <url> [--timeout DUR]
tower check <config.yml>
tower serve (MCP stdio server)
Every command prints JSON to stdout. Structure matches libtower's Result:
{
"OK": true,
"Duration": 124304875,
"Data": {"IP": {"IP": "93.184.216.34", "Zone": ""}},
"Warning": null,
"Error": null
}
Data varies by check: PingData, DNSData, CertData, or nullWarning is non-null on cert expiry warnings (HTTPS with --warn)tower check outputs a JSON array of resultschecks:
- type: tcp
ip: "example.com"
port: 443
timeout: 5s
- type: https
host: "example.com"
warn_if_expiring: 720h
insecure_skip_verify: false
- type: dns
addr: "example.com"
- type: ping
host: "example.com"
count: 3
- type: http
url: "https://example.com"
method: GET
- type: ws
url: "wss://example.com/ws"
Valid types: tcp, https, dns, ping, http, ws. The type field is required on every entry.
tower serve)Runs a Model Context Protocol server over stdio. Zero SDK dependencies. 9 tools.
Add to .mcp.json or settings.json:
{
"mcpServers": {
"tower": {
"command": "tower",
"args": ["serve"]
}
}
}
Or install from the marketplace plugin tower-mcp.
| Tool | Description | Root? |
|---|---|---|
tower_ping | ICMP ping | yes |
tower_dns | DNS resolve, optional custom server | no |
tower_tcp | TCP port check | no |
tower_tls | TLS port check with client cert | no |
tower_http | HTTP status + response metadata | no |
tower_trace | Per-phase HTTP timing breakdown | no |
tower_https | TLS cert validity + expiry warning | no |
tower_ws | WebSocket upgrade handshake | no |
tower_check | Batch from inline YAML config | varies |
All tools return JSON matching libtower's Result struct. Failed checks return isError: true with actionable error messages.
Example tool call result:
{
"content": [{
"type": "text",
"text": "{\"OK\":true,\"Duration\":294588875,\"Data\":null,\"Warning\":null,\"Error\":null}"
}]
}
sudo tower ping ... or CAP_NET_RAW on Linux--timeout accepts Go duration strings (5s, 1m, 500ms)tower ping without sudo — produces "socket: operation not permitted"--ping, --dns) — must use subcommandstower check with a YAML file that has no type field — each entry must have typeWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
network-health, cli-tool, mcp-server, diagnostics, tower-cli
/tower-mcp:tower-clifrom tower-mcp
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /tower-mcp:tower-cli still runs it.
npx claudepluginhub mismatched/tower --plugin tower-mcpOther plugins' skills for the same job