Lanes
Start, restart, stop, check, or schedule configured loop lanes (start, restart, stop, status, consume-restarts, run-once, print-schedule); mutating.
от melodic-software★ 34 звезды на GitHub
Установить Lanes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Lanes
Arguments. [start|restart|status|stop|run-once|print-schedule|consume-restarts] [lane...]. Full form: [start|restart|status|stop|run-once|print-schedule|consume-restarts] [lane...]. Start (default); restart/stop accept lane names; run-once takes exactly one; print-schedule takes --write-script and lane names; consume-restarts takes [check|run|print-schedule]; --config, --repo, --target-repo, --dry-run, --no-pull, --no-update
Pre-computed context
claude CLI version, then jq: !claude --version 2>/dev/null || echo "claude CLI MISSING (required)"; command -v jq >/dev/null 2>&1 && echo "jq present" || echo "jq MISSING (required)"
Lane config: !bash "${CLAUDE_PLUGIN_ROOT}/skills/lanes/scripts/probe-lane-config.sh" 2>/dev/null || echo "unknown"
Variables
Arguments: $ARGUMENTS
Purpose
Running N loop lanes on a machine means a daily ritual: for each lane, cancel its
loop, clear, and re-paste its canonical prompt. This skill collapses that to one
command. start/restart pull the repo and refresh the plugin marketplace once,
then launch each configured lane as a named background session seeded from the
lane's canonical prompt file, mirroring that lane's model/effort onto the launch.
status/stop read and manage those sessions through the CLI's own
background-session surface.
Owns only its own lanes. stop/restart act on a session only when its
name is a lane in the resolved config, a hand-started session (e.g. an interactive
work window, or an unrelated PR Babysit) is never stopped by this skill.
A relaunch is the only context reset a loop lane gets
We treat /loop as re-running its prompt in the same session, so a lane's
context carries forward across every cycle, subagent return, and operator turn, and
the loop never starts a fresh one. We treat a running loop as unable to reset
its own context on demand: the model cannot /clear itself from a loop re-run.
- Pointer: when stating how
/loopre-runs a prompt or what a built-in command issued from a loop does, fetch scheduled tasks: run a prompt repeatedly with /loop live.
Any "restart the loop when context passes ~N%" discipline has no in-session enforcement.
Where the context-usage module loads, it writes the session's context snapshot in -p and
--bg sessions too, so a lane can read its own zone from that snapshot; zone lines reach the
model only with context-usage's model_notices option on, which is off by default. A lane still
cannot reset its own context from inside the loop.
The context change that does happen automatically in-session is Claude Code's auto-compaction. We treat it as older history summarized in place, not a reset: the session continues on a lossy summary of what came before, not a fresh context, so a lane that runs long enough will lose earlier context to compaction well before any operator relaunch, not keep every turn until then.
- Pointer: when stating when auto-compaction fires or what it keeps, fetch model config: default auto-compact thresholds and context window: what survives compaction live.
restart (stop the session, relaunch from the canonical prompt) is the only
fresh-session reset: the relaunched lane starts a fresh session seeded from the
prompt file, carrying none of the prior conversation. That reset is operator- or
launcher-initiated, not automatic. consume-restarts run relaunches a stopped lane whose
telemetry carries a restart_request (written on a cycle-budget or /loop expiry hit), once the
operator registers its OS schedule; nothing relaunches a lane on a context threshold or after a
crash. Auto-compaction can still fire between restarts, but it only summarizes; it does not clear
the accumulated, increasingly degraded context. For a lane that never asks, treat the periodic
restart (e.g. the morning refresh) as the mechanism that keeps long-running lanes off a stale,
repeatedly-compacted context, and do not let a lane prompt assume each /loop cycle
begins with fresh context.
Run it
If the first token of $ARGUMENTS is consume-restarts, skip to
Consume restart-requests instead. It runs a
different script. Otherwise:
bash "${CLAUDE_PLUGIN_ROOT}/skills/lanes/scripts/lane-launcher.sh" --data-dir "${CLAUDE_PLUGIN_DATA}" $ARGUMENTS
Print the script's output verbatim. It is the deliverable. Preview any mutating
run first with --dry-run (prints the exact claude/git commands, seeds
nothing, kills nothing).
--data-dir is passed explicitly, not left to the script's own
$CLAUDE_PLUGIN_DATA env-var fallback. We rely on the skill body's inline
${CLAUDE_PLUGIN_DATA} substitution and never on the Bash t
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- context/cli-surface.md
- context/config.md
- context/per-cycle-scripts.md
- context/refresh.md
- context/restart-consumer.md
- evals/evals.json
- scripts/lane-launcher.sh
- scripts/lane-launcher.test.sh
- scripts/lib/parse-concern-value.sh
- scripts/lib/telemetry-body-gate.sh
- scripts/lib/yaml-subset.awk
- scripts/machine-behavior.sh
- scripts/machine-behavior.test.sh
- scripts/probe-lane-config.sh
- scripts/probe-lane-config.test.sh
- scripts/restart-consumer.sh
- scripts/restart-consumer.test.sh
- scripts/telemetry-upsert.sh
- scripts/telemetry-upsert.test.sh
FAQ
Что делает скилл Lanes?
Start, restart, stop, check, or schedule configured loop lanes (start, restart, stop, status, consume-restarts, run-once, print-schedule); mutating.
Как установить скилл Lanes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Lanes запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…