/engineroom:portsfrom engineroom
See which ports engineroom gives each project and worktree, check them for clashes, and on a client reach a session's ports on the engine by forwarding them. Use when the developer says "what port is X on", "which ports does this worktree use", "do any ports clash", "is something on that port", "forward X", "I can't reach the app on the engine", "stop forwarding", "what is forwarded".
Ships in engineroom. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A project names its ports in its engineroom.toml in the developer's settings. Each worktree
holds a slot, and a slot is one row of those ports, so two worktrees of one project never share a
number. On a client, a session's ports on the engine are reached on the client's own localhost,
under the same numbers, by forwarding them.
Never pick a port number yourself, and never renumber anything: the numbers come from the developer's settings, and a clash is theirs to settle there.
engineroom slot status # this worktree: its slot and its ports
engineroom slot get <key> # one value of the slot; an unknown key lists the known ones
engineroom slot json # every value of the slot
engineroom slot status --worktree <folder> # another worktree of a registered project
engineroom ports # every project on this machine: what it reserves, each slot's ports
For a running session, its slot, ports and links are in engineroom api sessions, wherever
it runs (the sessions skill). Give the developer a session's links as they are, not an address
you built from a number.
slot status says one of three things: the slot the worktree holds; that it is the main clone, on
slot 1, the project's own numbers; or a WARNING that a linked worktree holds no slot and would
share the main clone's ports and data. For the warning, tell the developer and show the command it
names (engineroom slot claim --worktree <folder>); run it when they say.
A project that says it declares no ports has no slots: say so, and that the adopt-project skill
is how its ports are named.
engineroom ports check
clash: lines are two projects' settings naming the same port. Exit 1 when there are any.in use: lines are ports that something is listening on now, with what holds each. That is a
report, not a fault: it is often the project's own app, running.No clashes between the projects' ports. when the settings are clean.Report the lines word for word. A clash is fixed in the settings (engineroom settings where <project> prints a project's folder there); show the developer both lines and let them choose
which project moves. Never stop a process because it holds a port: a session's app stops through
the run-stack skill, and anything else is the developer's.
A project with no reservation of its own gets one with engineroom ports reserve <project>, which
shows what it would write and writes nothing; with --write it writes it into the settings. Show
the first, and run the second only on the developer's word.
These are a client's commands. On the engine they refuse, since the ports are already there:
engineroom api status gives role.
engineroom forward status # what is forwarded now, and what the last check found
engineroom forward add <session> # reach this session's ports here
engineroom forward remove <session> # stop reaching them
engineroom forward on # every running session's ports, as sessions start and stop
engineroom forward skip <session> # with forwarding on, leave one session out (unskip puts it back)
engineroom forward off # close every forward
engineroom forward # bring the forwards in line with the engine's sessions, once
Each one changes this machine's own configuration and opens or closes SSH forwards at once, and
each forward made or closed is a command in the history. So run one only when the developer asked
for that: add for the one session they are testing, by its exact name from the list; on or
off only when they said every session.
Then read what it printed, and engineroom forward status:
FAILED: under the last check is why the forwards were left as they were, word for word.work-local skill).run-stack skill) before looking further.Never open an SSH tunnel of your own in place of these: a forward engineroom did not make is one it cannot show, follow or close.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kyleyharris/engineroom --plugin engineroom8 skills in this plugin
/adopt-projectMake a repository run with engineroom - read the repository, work out what its app needs (servers, ports, emulators, databases, secret files, set-up per worktree), recommend the project's engineroom settings and up and down scripts, and write them into the developer's own settings only after they agree. Learns the developer's own stacks from recipes kept in their settings. Use when the developer says "adopt this repo", "set this project up with engineroom", "make engineroom run this", "how should this run in worktrees", "integrate this repository", or registers a project that has no up script yet./register-projectRegister the current git repository (or a named folder) with engineroom, so it can be opened, given new worktrees and listed by name. Use when the developer says "register this repo", "add this project to engineroom", "make engineroom know about this repository"./run-stackBuild and run, or stop, the app stack of the current worktree through its project's up and down scripts, with engineroom. Use when the developer says "run the app", "start the stack", "bring the stack up", "stop the stack", "shut it down", or asks to run what this worktree needs, in a repository registered with engineroom./sessionsSee and work engineroom's sessions - which are running, which wait for the developer, start a project's session, join, restart or stop one, open its folder in VS Code, run one of a project's own tasks, and read what engineroom ran. Shows engineroom's commands before anything runs. Use when the developer says "what is running", "which sessions are waiting", "start a session for X", "open X", "join X", "restart X", "stop X", "run the task Y", "what did engineroom just do", "show the history"./setup-machineSet up this machine to run engineroom as the engine or as a client, following engineroom's setup guide (docs/setup.md) - install engineroom when it is missing, check every item for the machine's role, explain each gap, and apply a fix only after showing the exact change and getting a yes. Use when someone says "set up this machine", "install engineroom here", "configure this as the engine", "make this a client", "is this machine set up", or is installing the tool on a new machine./work-localMove the work between the engine and a client with an engineroom handover - take it over to work local on the client, hand it back to the engine, release the engine's work to GitHub, or get a client ready to work local. Shows what the handover would do and blocks on, and runs it only on the developer's word. Use when the developer says "work local", "take the work over", "I'm going offline", "hand back to the engine", "what would a handover do", "is this machine ready to work local", "release the engine", "why is the handover blocked".