port-manager
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
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/damiencronw/port-managerPort 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
-
Check before installing software
- Check port 5432 before installing PostgreSQL
- If occupied, ask user whether to free it
-
Service startup recording
- Record ports like 2375, 5432 when starting Docker
- Quickly see which services should run after restart
-
Port conflict resolution
- Two services fighting for the same port
- Auto-assign new port or free old port
Command Examples
# 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:
# Check port usage
lsof -i :5432
# Kill process
kill $(lsof -t -i :5432)
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-damiencronw-port-manager": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
skill-list
列出 OpenClaw Skills:以表格形式展示所有 skills、显示功能介绍、找出功能重复的 skills。Use when: 用户想知道安装了哪些 skills、某个 skill 是做什么的、或者想找出重复功能的 skills。
pgvector
PostgreSQL vector database skill with pgvector extension. Enables vector similarity search, embeddings storage, RAG (Retrieval-Augmented Generation) pipelines, and hybrid search combining vector and keyword search. Use when: storing/retrieving embeddings, building AI applications with vector search, implementing RAG, similarity matching, semantic search, or any use case requiring vector database functionality.
video-stt
Extract audio from video URLs and transcribe using STT (Speech-to-Text). Supports local Whisper or cloud APIs. Use when: user provides a video URL and wants to know what is being said, transcribing YouTube videos, podcasts, or any video with audio.
memory-system
OpenClaw 长期记忆管理系统。提供结构化记忆、向量记忆、语义搜索功能。Use when: 用户需要 AI 记住长期上下文、偏好、决策,或需要从记忆中进行语义搜索。
skill-manager
管理 OpenClaw Skills:以表格形式列出所有 skills、显示功能介绍、找出功能重复的 skills。Use when: 用户想知道安装了哪些 skills、某个 skill 是做什么的、或者想找出重复功能的 skills。