Start a lane for a piece of work — a second checkout with its own branch, port and environment — and move this session into it.
2 stars
0 votes
0 copies
0 views
Added November 23, 2026
ai-agentsbashgit
Works with
mcp
Security analysis
A100/100
Scanned November 23, 2026
$npx -y skills add Oerba-Labs/lanekit --skill lane --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Lane?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/oerba-labs-lane)
---
name: lane
description: Start a lane for a piece of work — a second checkout with its own branch, port and environment — and move this session into it.
argument-hint: <what the work is, or a kebab-case lane name>
disable-model-invocation: true
allowed-tools: mcp__plugin_lanekit_lanekit__lanes, Bash(git rev-parse:*), Bash(git status:*)
---
Start a lane for: **$ARGUMENTS**
1. **Refuse to nest.** Compare `git rev-parse --show-toplevel` with
`dirname "$(git rev-parse --path-format=absolute --git-common-dir)"`. If they differ, this session is in a lane
already: say so, and offer `/lanekit:land` first. Lanes do not nest.
2. **Read the lanes** with `lanes`. If a lane already holds this work, offer to move into it instead.
3. **Pick the name**: two or three words, kebab-case, lowercase letters, digits and dashes. If one was given, use it.
4. **Mind the main checkout.** If `lanes` says it has uncommitted files, ask whether they belong to this work: if so,
make the lane with `carry: true` (or `files` for some of them), which moves them into it; if not, they stay.
5. **Make it** with `new_lane`. If it refuses, report its words and stop.
6. **Move into it**: the EnterWorktree tool with `path` set to the lane's folder, where there is one (never `name`,
which would make a second, unprovisioned checkout); otherwise work there by its absolute path.
7. Report the lane's name, folder and port in two lines, then begin the work.