Command Palette

Search for a command to run...

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

bip-conductor-tuckin

Persist fleet-side clone/slot state before context reset

БесплатноБез исполняемых скриптов
matsenот matsen★ 35 звёзд на GitHub

Установить bip-conductor-tuckin в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

/bip-conductor-tuckin

Flush fleet state — clone/slot status, pending spawn intent — to durable storage before a context reset or session end. Run this when context is getting long or before stopping.

Topic-side state (EPIC bodies, findings, decisions) is /bip-epic-tuckin's job, not this skill's — run that separately if the epic session is also resetting.

Usage

/bip-conductor-tuckin

Workflow

Step 1: Verify role registration

$CLONE_ROOT/.conductor-session names the session currently holding the role. It is written at cold start and at handover, and nothing else re-checks it — a tuckin is the moment it is most likely to be wrong, since a role often changes hands shortly before a context reset.

source "$(dirname "<this-skill's-base-directory>")/lib/spawn-intent.sh"
CLONE_ROOT=$(resolve_clone_root .epic-config.json)
echo ".conductor-session: $(cat "$CLONE_ROOT/.conductor-session" 2>/dev/null)"

Cross-check the name against ListAgents:

  • Names a live session — correct, leave it alone.
  • Names this session under an old name — rewrite it with the current name.
  • Names a session that no longer appears — that role is vacant. Report it in Step 5 rather than nominating a successor; who takes a role is the user's call.

Address slots by clone directory, not by session name. ListAgents renames a session when it is resumed — birch becomes birch-61, and a send to the bare name fails with a disambiguation error. So any durable note that addresses a session by name rots at the next resume; look the name up at send time instead.

Do not write a roster of worker sessions. Which session occupies which clone is derivable (ListAgents for names and panes, readlink /proc/<pid>/cwd for the directory) and fails Step 4's "is it derived?" gate.

Step 2: Update slot status files

Read clone_root and local_worktrees from .epic-config.json.

Slot paths:

  • Clone mode: $CLONE_ROOT/<clone-name>
  • Worktree mode: $CLONE_ROOT/issue-<N>

For each slot the conductor interacted with this session:

  1. Check if the slot's .epic-status.json is stale or missing
  2. If the conductor has newer information (e.g., a slot finished, got blocked, or changed phase), update the file:
    source "$(dirname "<this-skill's-base-directory>")/lib/spawn-intent.sh"
    CLONE_ROOT=$(resolve_clone_root .epic-config.json)
    cat > "$CLONE_ROOT/<slot>/.epic-status.json" << 'EOF'
    {
      "issue": <N>,
      "title": "<title>",
      "phase": "<current phase>",
      "summary": "<what happened>",
      "updated_at": "<ISO 8601 timestamp>",
      "blockers": []
    }
    EOF
    

<this-skill's-base-directory> is this skill's base directory as given at invocation (e.g. /home/user/.claude/skills/bip-conductor-tuckin); the shared helper lives at lib/spawn-intent.sh, a sibling of every skill directory (see skills/lib/spawn-intent.sh in the bipartite repo).

Update slots the conductor has direct knowledge about. This includes:

  • Slots whose PRs were merged this session (even if the slot's own session already exited)
  • Slots the conductor observed finishing via tmux or poll

Do not guess status for slots with active sessions that may have progressed beyond what the conductor last observed.

Step 3: Note queued and consumed spawn intent

List $CLONE_ROOT/.spawn-prompts/ and report two groups separately — these are the epic's authored intent, not conductor state, so don't touch their contents either way:

  • Queued — regular files directly in .spawn-prompts/: find "$CLONE_ROOT/.spawn-prompts" -maxdepth 1 -type f \( -name '*.md' -o -name 'spawn-*.txt' \) (both naming conventions live there). -type f matters: a plain ls also lists the consumed/ directory itself as an entry, which is not a queued intent file. Still waiting on execution.
  • Consumed — files under .spawn-prompts/consumed/. Already launched by /bip-conductor-spawn Step 6.

Reporting these separately matters: a consumed file left in the top level (or a queued one reported as consumed) invites either a re-spawn of work that's already running or merged, or a queued brief getting ignored as if it were stale. Report both groups so the next conductor session (or the user) knows what's actually queued vs already launched.

Step 3.5: Environment check

Conditions that bite the next session and are invisible to git/tmux/gh. Run these; don't reason about whether they're likely.

ps -eo pid,etime,rss,comm --sort=-rss | head -5   # long-lived process, outsized RSS
df -h "$CLONE_ROOT" /tmp                          # headroom where the fleet writes
uptime; free -g | sed -n 2p                       # load and available memory

Flag anything out of proportion to its job — a mount daemon or stale build server holding tens of GB, a partition near full, swap consumed while RAM is free (that combination trips low-memory guards and looks like OOM without being one). Age is the

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

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

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

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

FAQ

Что делает скилл bip-conductor-tuckin?

Persist fleet-side clone/slot state before context reset

Как установить скилл bip-conductor-tuckin?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bip-conductor-tuckin запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить bip-conductor-tuckin с