Cd explainer
Open (or jump to) the fixed explainer sidecar CD-E01 — the dirty-questions session whose output never merges into the master. One per project.From its SKILL.md
npx -y skills add ShacklesLay/conductor --skill cd-explainerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.3 KB, as published. Nobody here has run it
Step 0 — probe the environment (is CD-E01 already open? is tmux available?). Run and
read the output ($CODEX_HOME/skills/cd-explainer/scripts is a symlink to the shared
scripts):
echo "project-root: $PWD"; if [ -n "$TMUX" ]; then P="$(bash "${CODEX_HOME:-$HOME/.codex}/skills/cd-explainer/scripts/cd-tmux.sh" find-pane "CD-E01" 2>/dev/null)"; if [ -n "$P" ]; then echo "tmux: pane ${P%%|*} is already CD-E01 — wipe it fresh (/clear) and focus, don't respawn"; else echo "tmux: available, no CD-E01 pane yet — spawn it"; fi; else echo "tmux: NOT available — give the user the manual steps"; fi
The explainer is the project's one fixed sidecar for questions, tutorials, and long
explanations — plus light execution: it may also carry out simple, self-contained
doc/code changes the user asks for right there, with no branch ceremony. Its explanatory
output stays non-authoritative and never merges; a change it makes is real, and it hands
back by firing a one-line pointer at the master via /conductor-cc:cd-notify CD-MAIN "<what changed> + commit-or-path" — no completion report, no merge gate. Boundaries (enforced by the
injected charter + the write-guard): low-risk & mechanically-verifiable — this now includes
multi-file mechanical work (a doc reorg, a rename sweep, a cross-ref fix) if it verifies clean
(lint / refs / build) and needs no taste judgment. But it must stop and ask the user (or route
to a branch) before a taxonomy/structure/naming decision, before rewriting the content of a
LIVING/STATE doc (link updates are fine), and before anything architectural, risky, or not
mechanically verifiable. It cannot write .conductor/ master records (registry / snapshot /
conventions / INVARIANTS). Use one per project; do not create CD-E02. "One" constrains its
identity, not its lifetime: every summon hands the user a blank slate. Its knowledge source is
the on-disk .conductor state (read on demand), not its own chat history. To continue an
ongoing discussion, the user just keeps typing in the pane; re-running this command means "new
question".
If tmux is available:
-
Pane already exists (and
pane_current_commandis claude/node/codex — skip a bare shell) → wipe it to a blank slate and focus it:tmux send-keys -t '<pane-id>' "/clear" Enter && \ tmux select-window -t "$(tmux display-message -p -t '<pane-id>' '#{window_id}')" && \ tmux select-pane -t '<pane-id>'/cleargives the session a new id, which orphans the old binding — but theCD_ROLE=explainerenv var still lives in that claude process, so SessionStart auto-rebinds it: the pane comes back as a fresh CD-E01. (Oldbindings/*.jsonare tiny gitignored leftovers — harmless.) -
Otherwise spawn it. Engine: default
claude; passcodexas the argument (/conductor-cc:cd-explainer codex) to spawn a codex-driven explainer — theCD_ROLE=explainerSessionStart binding is engine-neutral (both engines' hooks read the sameexplainer-context.shcharter SoT). Shared setup (@cd_branch=CD-E01is conductor's own metadata so cd-notify/broadcast/find-pane can target the pane regardless of the engine's own title; colour is assigned independently by the user's tmux pane lifecycle hooks):# Adaptive layout via the shared script (slash-command $1/$2 substitution would clobber an # inline awk/function): >4 panes → two-row (master + this CD-E01 on top, branches evened # below); ≤4 → even-horizontal. The script always exits 0, safe in the &&-chain below. NP=$(tmux split-window -t "$TMUX_PANE" -PF '#{pane_id}' -c "<project-root from Environment>") && \ tmux select-pane -t "$NP" -T "CD-E01" && \ tmux set -p -t "$NP" @cd_branch "CD-E01" && \ tmux set -w -t "$NP" pane-border-status top && \ bash "${CODEX_HOME:-$HOME/.codex}/skills/cd-explainer/scripts/cd-tmux.sh" relayout "$TMUX_PANE"Then launch the chosen engine into
$NP— pick ONE:# claude (default): tmux send-keys -t "$NP" "CD_ROLE=explainer claude 'Greet in the working language of the user: state your role and its boundaries, then wait for questions.'" Enter # codex (argument = codex): pin CODEX_HOME + bypass hook-trust (codex silently refuses an # untrusted hook — here conductor's own repo file), and stamp @custom_title because codex # overwrites pane_title with the cwd name: tmux set -p -t "$NP" @custom_title "[CD-E01][sidecar][explainer] Dirty questions" && \ tmux send-keys -t "$NP" "CD_ROLE=explainer${CODEX_HOME:+ CODEX_HOME='$CODEX_HOME'} codex --dangerously-bypass-hook-trust 'Greet in the working language of the user: state your role and its boundaries, then wait for questions.'" EnterCD_ROLE=explainermakes the SessionStart hook auto-bind the session as the explainer (no brief needed); the claude hook also renames the pane to[CD-E01][sidecar][explainer] Dirty questions(codex can't self-title, hence the@custom_titlestamp above).
Without tmux, tell the user: open a new terminal in this project and run
CD_ROLE=explainer claude (or, for codex, CD_ROLE=explainer codex --dangerously-bypass-hook-trust).
Notes:
- The explainer may read across
.conductor/state to answer (label source authority when it matters: snapshot/today-view = confirmed, briefs = intended, reports = reviewed, raw branch history = unconfirmed). - Its explanations are disposable: nothing to merge, nothing to lose — a refresh or respawn drops them. If a tutorial-grade answer turns out to matter, the USER carries it to the master as a proposed decision — the explainer never pushes conclusions.
- Its simple changes are the exception it now owns: a real edit lands in the repo directly and
the explainer pushes a pointer to the master via
/conductor-cc:cd-notify CD-MAIN "…". That keeps the sidecar as a lightweight fast-path for trivia the master shouldn't spin a branch for — while anything non-trivial still goes to a real branch (it is charged to self-escalate).