🔌
DevOpsShell

Port Allocator

by guo-yu

Port Allocator is a DevOps skill for Claude Code, published by guo-yu in skills.

239 stars18 forkson guo-yu/skillsAdded 2026/09/03Repository updated 2026/01/23
claude-codellmskills
Install in seconds
Install Port Allocator
Copy Port Allocator into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/guo-yu/skills/tree/master/port-allocator ~/.claude/skills/port-allocator

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/guo-yu/skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
port-allocator/SKILL.md in guo-yu/skills
Installs to
~/.claude/skills/port-allocator
Collection
One of 5 skills cataloged from this repository
Category
DevOps868 skills

What Port Allocator does

Port Allocator automatically assigns and tracks development server port ranges for projects with package.json. Use it to avoid conflicts between multiple Claude Code instances and to manage project ports safely.

Port Allocator is cataloged under DevOps on DirSkills. Port Allocator comes from a repository tagged claude-code, llm and skills.

Documentation

README

Port Allocator

Smart port allocator that only assigns ports to real projects containing package.json.

Usage

Command Description
/port-allocator Allocate/query port for current project
/port-allocator list List all allocated ports
/port-allocator scan Scan code directory, discover and allocate ports for new projects
/port-allocator config <path> Set the main code directory path
/port-allocator add <dir-path> Manually add port allocation for a project
/port-allocator allow Configure Claude Code permissions for this skill's commands

Important Rules

1. Only Operate on Current Project's Ports When Restarting Services

This is the opening of the README. Read the full README on GitHub.

Commands Port Allocator provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /port-allocator

Frequently asked about Port Allocator

  • What else does guo-yu publish alongside Port Allocator?

    Port Allocator is one of 5 skills that DirSkills catalogs from guo-yu/skills, the repository it ships in. Its siblings there include CEO Dashboard, Share Skill and Skill I18n. Each one is a separate skill with its own page in this directory, installs the same way Port Allocator does, and is maintained by guo-yu in that same repository. The rest of the collection is listed on the guo-yu/skills page.

  • How does Port Allocator compare to other DevOps skills?

    Port Allocator ranks #768 by stars among the 868 DevOps skills in this catalog. The most-starred ones next to it are Backend Patterns, API Connector Builder and Migration. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Port Allocator against them. Open each page to compare what they document and how they install.