port-allocator
CommunitySmartly allocate and manage dev server ports.
Software Engineering#automation#Claude Code#project scanning#port allocation#port registry#port conflicts
Authorguo-yu
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill allocates ports for projects to prevent development port conflicts between Claude Code instances.
Core Features & Use Cases
- Project-scoped port allocation: Automatically detects projects containing a package.json and assigns a dedicated 10-port range starting at 3000 (e.g., 3000-3009) to each project.
- Scan and register: Scans a code root to discover new projects and registers them in a persistent port registry.
- Safe operations: Excludes build artifacts and ensures only the current project's ports are touched during restarts.
Quick Start
Use the port-allocator commands to configure and manage ports:
- /port-allocator allow
- /port-allocator config <path>
- /port-allocator scan
- /port-allocator list
- /port-allocator
- /port-allocator <project-dir> (implicit for current project)
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: port-allocator Download link: https://github.com/guo-yu/skills/archive/main.zip#port-allocator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.