port-check
Check if services are responding on given host:port pairs. Supports TCP and HTTP checks with configurable timeout. Use for service monitoring, health checks, and network debugging.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/rogue-agent1/port-checkPort 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
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-rogue-agent1-port-check": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
brew-audit
Audit Homebrew installation — outdated packages, cleanup opportunities, and health checks. Use when asked about brew updates, system maintenance, or package health on macOS.
web-monitor
Monitor web pages for content changes and get alerts. Track URLs, detect updates, view diffs. Use when asked to watch a website, track changes on a page, monitor for new posts/content, set up page change alerts, or check if a site has been updated. Supports CSS selectors for targeted monitoring.
git-changelog
Generate changelogs from git commits. Supports markdown, plain text, and JSON output with date ranges and tag-based filtering.