OpenClaw · Skill
Port Check
Quickly verify if services are up and responding on specific ports.
Coding Agents & IDEs
v1.0.0
VirusTotal: Suspicious
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install rogue-agent1/port-checkClawHub installer
npx clawhub@latest install rogue-agent1/port-checkOpenClaw CLI
openclaw skills install rogue-agent1/port-checkDirect OpenClaw install
openclaw install rogue-agent1/port-checkWhat this skill does
Quickly verify if services are up and responding on specific ports.
Why it matters
Combines TCP and HTTP checks into a single command so you don't have to switch between nc and curl manually.
Typical use cases
- Confirming a local dev server is up before running tests
- Checking if a database port is accessible after a deploy
- Verifying SSH is reachable on a home network device
- Diagnosing which service in a stack failed to start
- Monitoring an API endpoint for HTTP 200 responses
Source instructions
Port Check Skill
Quickly verify if services are up and responding on specific ports.
Usage
# Basic TCP check
bash scripts/port-check.sh localhost:8080 localhost:5432
# Multiple targets with HTTP status check
bash scripts/port-check.sh localhost:80 api.example.com:443 --http
# Custom timeout (default 3s)
bash scripts/port-check.sh 192.168.1.1:22 --timeout 5
Output
- ✅
host:port — open(TCP connected) - ✅
host:port — open (HTTP 200)(with --http flag) - ⚠️
host:port — open but HTTP 500(port open, bad HTTP status) - ❌
host:port — closed/timeout(no response)
Exit Codes
0— all targets up1— one or more targets down
Common Checks
# OpenClaw gateway
bash scripts/port-check.sh localhost:18789 --http
# Database + web stack
bash scripts/port-check.sh localhost:5432 localhost:6379 localhost:3000
# Home network devices
bash scripts/port-check.sh 192.168.1.1:80 192.168.1.50:22 --timeout 2