Overview
- Skill Key
- damiencronw/port-manager
- Author
- damiencronw
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/damiencronw/port-manager
- Latest Commit SHA
- 3bfa8c7b137c021f0e6a7eb706680648b9b2c097
Port Manager - Track and manage system port usage. Use when: (1) Port conflict when installing software, (2) Check port usage, (3) Release occupied ports, (4) List all recorded service ports
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 port-manager 技能。 若已安装,则直接安装 port-manager 技能。
# Port Manager Skill Intelligently manage system port usage and avoid conflicts. ## Features ### 1. Record Port (--record) Record a port when starting a service: ``` Port record <service_name> <port> Example: port record postgres 5432 ``` ### 2. Query Port (--query) Check usage of a specific port: ``` Port query 5432 ``` ### 3. List All Ports (--list) Show all recorded services and ports: ``` Port list ``` ### 4. Free Port (--free) Release an occupied port (terminate the process): ``` Port free 5432 ``` ### 5. Check and Resolve Conflicts (--check) Check if a port is occupied, and ask user if they want to free it: ``` Port check 5432 ``` ### 6. Auto Port Allocation (--allocate) When port is occupied, automatically allocate an available port: ``` Port allocate <service_name> [preferred_port] ``` ## File Location - Port records: `~/.openclaw/workspace/.port-manager/ports.json` ## Usage Scenarios 1. **Check before installing software** - Check port 5432 before installing PostgreSQL - If occupied, ask user whether to free it 2. **Service startup recording** - Record ports like 2375, 5432 when starting Docker - Quickly see which services should run after restart 3. **Port conflict resolution** - Two services fighting for the same port - Auto-assign new port or free old port ## Command Examples ```bash # Record ports port record mysql 3306 port record redis 6379 port record postgres 5432 # List all port list # Check port port check 8080 # Free port port free 5432 # Auto allocate port allocate nginx 80 ``` ## Implementation Use `lsof` and `netstat` to check ports: ```bash # Check port usage lsof -i :5432 # Kill process kill $(lsof -t -i :5432) ```
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.