Command Palette

Search for a command to run...

Назад к скиллам
скилл № 16070

Lanes

Start, restart, stop, check, or schedule configured loop lanes (start, restart, stop, status, consume-restarts, run-once, print-schedule); mutating.

БесплатноЗапускает вложенные скрипты
melodic-softwareот 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.

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.

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

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Lanes с