Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / workflow-conductor

workflow-conductor

Visual workflow planner in Claude Code

Code you can checkTerminal + desktopPaneBandStatus lineToastBoxButtonClientInputSvgText
writes files, drives Claude, draws

What it does

  • Draws a pane, a band above the prompt, toasts
  • Adds /conductor
  • Watches Workflow, TaskStop calls and can refuse them
  • Hooks agent.spawn, prompt.edit, prompt.submit, session.compact and 8 more
  • Keeps its own state between turns

Good points

  • No network calls
  • Starts no processes
  • Written in TypeScript
  • Has a desktop-specific branch

Code to start from

A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.

Starter (register.tsx)

register.tsx
import type { Register } from 'claude-code'

// Drawn like workflow-conductor by Artur Turdiev (pane, band, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/bruw-workflow-conductor/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
  // the pane: open it with $.ui.open({ id: 'my-pane', title: "Conductor" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button, Input, Client } = $.ui.resolve(e)
    const text = '…'
    const text2 = '…'
    const text3 = '…'
    const text4 = '…'
    const text5 = '…'
    const text6 = '…'
    const text7 = '…'
    const text8 = '…'
    const text9 = '…'
    const shownName = '…'
    const nameMark = '…'
    const text10 = '…'
    const keys = '…'
    const word = '…'
    const from = '…'
    return (
      <Box flexDirection="column" position="relative">
        <Box flexDirection="row" paddingLeft={1} paddingRight={1}>
          <Box flexDirection="column" flexShrink={0}>
            <Box flexDirection="row" height={1} flexShrink={0}>
              <Text color="text">
                {text}
              </Text>
              <Text color="text">
                {text2}
              </Text>
              <Text color="text">
                {text3}
              </Text>
            </Box>
            <Box flexDirection="row" height={1} flexShrink={0}>
              <Text color="text">
                {text4}
              </Text>
              <Text color="text">
                {text5}
              </Text>
              <Text color="text">
                {text6}
              </Text>
            </Box>
            <Box flexDirection="row" height={1} flexShrink={0}>
              <Text color="text">
                {text7}
              </Text>
              <Text color="text">
                {text8}
              </Text>
              <Text color="text">
                {text9}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="column" height={2} flexShrink={0}>
            <Box flexDirection="row" height={1} flexShrink={0}>
              <Text bold color="claude">
                conductor
              </Text>
              <Text color="inactive">
                {" / "}
              </Text>
              <Button plain>
                <Text bold color="text">
                  {shownName}
                </Text>
                <Text color="claude">
                  {nameMark}
                </Text>
              </Button>
              <Text color="inactive">
                {" / "}
              </Text>
              <Text>
                {text10}
              </Text>
            </Box>
            <Box flexDirection="row" height={1} flexShrink={0}>
              <Box width={2} flexShrink={0} />
              <Box flexShrink={0}>
                <Button plain>
                  <Text>
                    <Text color="claude">
                      {`[${keys}]`}
                    </Text>
                    <Text color="text">
                      {` ${word}`}
                    </Text>
                  </Text>
                </Button>
              </Box>
              <Box width={2} flexShrink={0} />
              <Box flexShrink={0}>
                <Button plain>
                  <Text>
                    <Text color="claude">
                      {`[${keys}]`}
                    </Text>
                    <Text color="text">
                      {` ${word}`}
                    </Text>
                  </Text>
                </Button>
              </Box>
              <Box width={2} flexShrink={0} />
              <Box flexShrink={0}>
                <Button plain>
                  <Text>
                    <Text color="claude">
                      {`[${keys}]`}
                    </Text>
                    <Text color="text">
                      {` ${word}`}
                    </Text>
                  </Text>
                </Button>
              </Box>
            </Box>
          </Box>
        </Box>
        <Box display="none">
          <Input autoFocus value="" placeholder="" submitLabel="" />
        </Box>
        <Box flexDirection="column" paddingLeft={1} paddingRight={1}>
          <Text color="subtle">
            ────────
          </Text>
        </Box>
        <Box flexDirection="column">
          <Box flexDirection="column" flexShrink={0}>
            <Box flexDirection="column" overflow="hidden">
              <Box flexDirection="column" flexShrink={0} />
            </Box>
            <Box flexDirection="column" flexShrink={0} paddingRight={1} />
          </Box>
        </Box>
        <Box flexDirection="column" paddingLeft={1} paddingRight={1} />
        <Box position="absolute" left={1} flexDirection="row">
          <Box flexDirection="column" flexShrink={0}>
            <Client module="./canvas.tsx" width="100%" />
          </Box>
          <Box width={3} flexShrink={0}>
            <Text color="subtle">
              {from}
            </Text>
          </Box>
        </Box>
      </Box>
    )
  })

  // the band above the prompt; what else goes there is drawn under it
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const text = '…'
    const text2 = '…'
    const text3 = '…'
    const text4 = '…'
    const text5 = '…'
    const text6 = '…'
    const text7 = '…'
    const text8 = '…'
    const text9 = '…'
    const name = '…'
    const state = '…'
    const name2 = '…'
    const name3 = '…'
    const name4 = '…'
    const more = '…'
    const bar = '…'
    const text10 = '…'
    return (
      <Box flexDirection="column" borderStyle="round" borderColor="subtle" paddingX={1}>
        <Box flexDirection="row">
          <Box flexDirection="column" flexShrink={0}>
            <Box flexDirection="row" height={1} flexShrink={0}>
              <Text color="text">
                {text}
              </Text>
              <Text color="text">
                {text2}
              </Text>
              <Text color="text">
                {text3}
              </Text>
            </Box>
            <Box flexDirection="row" height={1} flexShrink={0}>
              <Text color="text">
                {text4}
              </Text>
              <Text color="text">
                {text5}
              </Text>
              <Text color="text">
                {text6}
              </Text>
            </Box>
            <Box flexDirection="row" height={1} flexShrink={0}>
              <Text color="text">
                {text7}
              </Text>
              <Text color="text">
                {text8}
              </Text>
              <Text color="text">
                {text9}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="column" flexShrink={0}>
            <Box flexDirection="row" justifyContent="space-between" height={1}>
              <Text wrap="truncate-end">
                <Text bold color="claude">
                  conductor
                </Text>
                <Text color="inactive">
                  {" / "}
                </Text>
                <Text bold color="text">
                  {name}
                </Text>
              </Text>
              <Box flexShrink={0}>
                <Text color="inactive">
                  {state}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="row" height={1}>
              <Text color="suggestion">
                Projects
              </Text>
              <Box flexDirection="row" flexShrink={0}>
                <Text>
                  {"  "}
                </Text>
                <Button plain>
                  <Text color="claude" bold>
                    {name2}
                  </Text>
                </Button>
              </Box>
              <Box flexDirection="row" flexShrink={0}>
                <Text>
                  {"  "}
                </Text>
                <Button plain>
                  <Text color="claude" bold>
                    {name3}
                  </Text>
                </Button>
              </Box>
              <Box flexDirection="row" flexShrink={0}>
                <Text>
                  {"  "}
                </Text>
                <Button plain>
                  <Text color="claude" bold>
                    {name4}
                  </Text>
                </Button>
              </Box>
              <Text color="inactive">
                {`  +${more} more`}
              </Text>
            </Box>
            <Box flexDirection="row" justifyContent="space-between" height={1}>
              <Box flexGrow={1} flexShrink={1}>
                <Text wrap="truncate-end">
                  <Text color="text">
                    {`${bar} `}
                  </Text>
                  <Text color="inactive">
                    {text10}
                  </Text>
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Box flexDirection="row" flexShrink={0}>
                  <Button plain>
                    <Text>
                      <Text color="claude">
                        [m]
                      </Text>
                      <Text color="text">
                        {" Expand"}
                      </Text>
                    </Text>
                  </Button>
                  <Box display="none">
                    <Button hotkey="m">
                      Expand
                    </Button>
                  </Box>
                </Box>
              </Box>
            </Box>
          </Box>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const lost = '…'
    const name = '…'
    await $.ui.toast(`conductor: ${lost} (project  is no longer on the board)`)
    await $.ui.toast(`conductor: ${name} handed to Claude`)
    return next(e)
  })
}

The mod's own code

Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.

hooks/project.tsx lines 1703–1862 · Pane
  on('ui.render', { component: 'Pane', requestId: PROJECT_PANE_ID }, async ($, e) => {
    const els = $.ui.resolve(e)
    const { Box, Text, Button } = els
    const Input = 'Input' in els ? els.Input : null
    // The terminal draws no picture (its table's `Svg` is a fragment: nothing): there the header's persona is blocks of a font, elsewhere one picture.
    const Svg = e.surface !== 'terminal' && 'Svg' in els ? els.Svg : null
    const ui = await read($, uiAtom)
    const project = await read($, projectAtom)
    const file = `${PROJECT_DIR}/${ui.name}.json`
    const bodyColumns = e.props.bodyColumns || 80
    const columns = Math.max(20, bodyColumns - 2)
    const headColumns = columns - SMALL_W
    const run = await read($, runAtom)
    const runProject = await read($, runProjectAtom)
    const over = overlaysProject(run, runProject, ui)
    const locked = (over && run.status === 'running') || ui.drafting === 'show'
    // The tick clock is read only while it matters, so an idle pane is not redrawn by it.
    const clock = locked ? await read($, clockAtom) : 0
    const overlay = over ? runOverlay(run, clock) : undefined
    const asked = await read($, personaAtom)
    const draftBeats = (ui.drafting ?? null) !== null ? await read($, draftBeatAtom) : 0
    const pose: Pose = ui.drafting === 'show' ? draftPose(draftBeats) : asked !== 'idle' ? asked : ((over ? runPose(run.status, clock) : null) ?? 'idle')
    const splashed = await read($, splashedAtom)
    // Whether the pane holds the keyboard: Escape hands it to the prompt, and a field left open then is closed to the eye.
    const focused = e.props.isFocused !== false
    const bodyRows = e.props.scroll?.bodyRows ?? e.viewport?.rows ?? 48
    // A pane with no room for the screen draws none of it: the designer goes into the band, which says why.
    const shell = await read($, shellAtom)
    if (!fitsFull(bodyColumns, bodyRows)) {
      if (!minimizing) minimize($, 'auto', whyCompact({ dock: e.props.placement !== 'inline', bodyColumns, bodyRows, fullscreen: e.viewport?.isFullscreen === true }))

      return <Text color={FADED}>{`${GLYPH.diamond} ${PROJECT_PANE_TITLE}: no room here for the designer, it goes to the band above the prompt`}</Text>
    }
    // Drawn in its pane again: the band has nothing to show. Asked of the engine, not taken from this drawing: one
    // that was on its way when the pane closed is of a pane that is gone. Written from a clock callback: a drawing changes no state.
    if (shell.minimized !== 'no' && !minimizing && (await $.ui.panes()).some(pane => pane.id === PROJECT_PANE_ID && pane.isPlaced)) {
      $.clock.after(0, () => void update($, shellAtom, held => (minimizing ? held : initialShell())))
    }
    const node = project === null || ui.selectedId === null ? undefined : findNode(project, ui.selectedId)
    const problems = project ? lint(project) : []
    const starting = ui.status === 'pick' || (ui.status === 'ready' && !project)
    const entries = starting ? startEntries(ui.saved ?? []) : []
    const mark = Math.max(0, Math.min(entries.length - 1, ui.startMark ?? 0))
    const marked = entries[mark]

    // Every part is cut to its room, so the row never wraps.
    const drafting = ui.drafting === 'show' && project !== null
    const listing = starting && (ui.back ?? null) !== null
    const summary = over ? runSummary(run, elapsedOf(await read($, timesAtom), run), Math.max(8, headColumns - COMMAND.length - 3 - 10 - 3)) : null
    const begins = listing ? 'PROJECTS' : 'START'
    const state: { text: string; color: 'claude' | 'success' | 'error' | typeof FADED } =
      summary !== null
        ? { text: summary.text.replace(/^[a-z]+/, word => word.toUpperCase()), color: summary.color }
        : drafting
          ? { text: 'DRAFTING', color: 'claude' }
          : starting && marked
            ? { text: `${begins} · ${marked.kind === 'saved' ? 'saved project' : marked.kind === 'blank' ? 'blank project' : marked.kind === 'replay' ? `replay over the ${marked.title} template` : marked.kind === 'recording' ? 'recorded run' : marked.kind === 'reset' ? 'stored answers' : `from the ${marked.title} template`}`, color: FADED }
            : ui.status !== 'ready' || !project
              ? { text: 'project', color: FADED }
              : { text: `EDITING · ${!isSaved(ui.name) ? 'replay, not saved' : !ui.unsaved ? 'saved' : isBlank(project) ? 'not saved yet' : 'unsaved template'}`, color: FADED }
    const shownName = oneLine(starting && marked?.kind === 'saved' ? marked.id : ui.name)
    const pressable = listing || !starting
    const nameMark = !pressable ? '' : listing ? ' ▴' : ' ▾'
    const legendRow = (row: readonly LegendItem[]) => (
      <Text wrap="truncate-end">
        {row.flatMap((item, index) => [
          <Text color={focused ? 'claude' : FADED}>{`${index > 0 ? ' '.repeat(LEGEND_GAP) : ''}[${item.keys}]`}</Text>,
          <Text color={FADED}>{` ${item.word}`}</Text>,
        ])}
      </Text>
    )
    // Minimize is a button, so a click minimizes while the keys are in the prompt.
    const headLegend = (row: readonly LegendItem[]) =>
      row.flatMap((item, index) => {
        const label = (
          <Text>
            <Text color={focused || item.keys === MINIMIZE_KEYS ? 'claude' : FADED}>{`[${item.keys}]`}</Text>
            <Text color={item.keys === MINIMIZE_KEYS ? TEXT : FADED}>{` ${item.word}`}</Text>
          </Text>
        )
        return [
          ...(index > 0 ? [<Box width={LEGEND_GAP} flexShrink={0} />] : []),
          <Box flexShrink={0}>
            {item.keys === MINIMIZE_KEYS ? (
              <Button key={MINIMIZE_BUTTON} plain onPress={() => minimize($, 'person')}>
                {label}
              </Button>
            ) : (
              label
            )}
          </Box>,
        ]
      })
    // Short of room the state goes first; the name keeps eight cells at the least.
    const headOf = (keys: readonly LegendItem[] = []) => {
      const room = headColumns - COMMAND.length - 3 - nameMark.length
      const said = room - cellWidth(state.text) - 3 >= 8 ? state : null
      const left = room - (said === null ? 0 : cellWidth(said.text) + 3)
      const name = <Text bold color={TEXT}>{clip(shownName, Math.max(8, left))}</Text>
      return [
        <Box flexDirection="row" height={1} flexShrink={0}>
          <Text bold color="claude">{COMMAND}</Text>
          <Text color={FADED}>{' / '}</Text>
          {pressable ? (
            <Button key={NAME_BUTTON} plain onPress={() => queueKeys($, ['p'])}>
              {name}
              <Text color={focused ? 'claude' : FADED}>{nameMark}</Text>
            </Button>
          ) : (
            name
          )}
          {said !== null && <Text color={FADED}>{' / '}</Text>}
          {said !== null && <Text key="project-state" color={said.color}>{said.text}</Text>}
        </Box>,
        <Box key="project-legend" flexDirection="row" height={1} flexShrink={0}>
          {keys.length > 0 ? headLegend(legendRows(keys, headColumns, 1)[0] ?? []) : <Text color={TEXT}> </Text>}
        </Box>,
      ]
    }

    if (ui.status === 'closed' && ui.drafting !== 'wait') {
      return (
        <Box flexDirection="column">
          <Text bold color={TEXT}>{`${GLYPH.diamond} ${PROJECT_PANE_TITLE}`}</Text>
          <Text color={FADED}>{`${GLYPH.railEnd} /${COMMAND} opens the start screen`}</Text>
        </Box>
      )
    }

    /** `wide`: it indents itself (an open field's Input needs the pane's full width). `keep`: its last row stays in view when the rows do not hold all. */
    type Item = { rows: number; el: RenderChildren; wide?: true; keep?: true }
    type Tint = typeof FADED | 'error' | 'warning' | 'suggestion'
    const blank: Item = { rows: 1, el: <Text color={TEXT}> </Text> }
    const spanRows = (rows: readonly (readonly PersonaSpan[])[]) =>
      rows.map(row => (
        <Box flexDirection="row" height={1} flexShrink={0}>
          {row.map(span => (
            <Text color={span.color ?? TEXT} backgroundColor={span.ground}>{span.text}</Text>
          ))}
        </Box>
      ))
    const rowsOf = (items: readonly Item[]): number => items.reduce((sum, item) => sum + item.rows, 0)
    const cap = (text: string): string => text.charAt(0).toUpperCase() + text.slice(1)
    const line = (text: string, color?: Tint, bold?: true): Item => ({ rows: 1, el: <Text color={color ?? TEXT} bold={bold} wrap="truncate-end">{text}</Text> })
    const lines = (rows: readonly string[], color?: Tint): Item[] => rows.map(row => line(row, color))
    // A label is quiet: `claude` is kept for what can be pressed and for the selection.
    const label = (text: string): Item => line(text, 'suggestion')
    const fit = (levels: number, rows: number, plan: (level: number) => Item[]): Item[] => {
      for (let level = 0; level < levels - 1; level++) {
        const items = plan(level)
        if (rowsOf(items) <= rows) return items
      }
      return plan(levels - 1)
    }
    const rule = () => <Text color={RULE}>{'─'.repeat(columns)}</Text>
    // One row always, blank where there is none to press, so the pane keeps its shape.
    const actionsOf = (actions: readonly LegendAction[]) => (
      <Box key="project-actions" flexDirection="row" justifyContent="center" height={1} flexShrink={0}>
        {actions.length === 0 && <Text color={TEXT}> </Text>}
        {actions.flatMap((action, index) => {
hooks/project.tsx lines 2592–2739 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const shell = await read($, shellAtom)
    if (shell.minimized === 'no' || e.props.hasSurvey) return next(e)
    const els = $.ui.resolve(e)
    if (!('Button' in els)) return next(e)
    const { Box, Text, Button } = els
    // The pane is on screen (on its way out, or opened again): the designer is drawn there.
    if ((await $.ui.panes()).some(pane => pane.id === PROJECT_PANE_ID && pane.isPlaced)) return next(e)

    // Minimized for want of room, and the terminal now has it: the pane opens by itself, once per size.
    const size = `${e.viewport?.columns ?? 0}x${e.viewport?.rows ?? 0}`
    if (!wouldDock(e.viewport)) autoTried = ''
    else if (shell.minimized === 'auto' && autoTried !== size) {
      autoTried = size
      const columns = e.viewport?.columns
      $.clock.after(0, () => void expand($, false, columns).catch(() => undefined))
    }

    const now = Date.now()
    if (now - bandListing.at > LISTING_MS) {
      const dir = `${(await $.session.root()).replace(/\/+$/, '')}/${PROJECT_DIR}`
      const entries = await $.fs.list(dir).catch(() => [])
      bandListing = {
        at: now,
        names: entries
          .filter(entry => entry.kind === 'file' && entry.name.endsWith('.json'))
          .map(entry => entry.name.slice(0, -'.json'.length))
          // Only what can be opened, which is also what can be shown as it is: a project's name.
          .filter(name => isSaved(name) && isProjectName(name))
          .sort(),
      }
    }

    const ui = await read($, uiAtom)
    const project = ui.status === 'ready' ? await read($, projectAtom) : null
    const run = await read($, runAtom)
    // A run in progress is shown whatever project is open; one that is over, on its own project until its results are put away.
    const runProject = run.status === 'idle' ? null : await read($, runProjectAtom)
    const tracked = run.status === 'running' || (run.status !== 'idle' && project !== null && runProject === ui.name && !ui.runCleared)
    // The tick clock is read only while a run is on, so a band at rest is not redrawn by it.
    const clock = run.status === 'running' ? await read($, clockAtom) : 0
    const asked = await read($, personaAtom)
    const pose: Pose = asked !== 'idle' ? asked : ((tracked ? runPose(run.status, clock) : null) ?? 'idle')
    const columns = e.props.bodyColumns
    // The border and its padding take their cells from every row.
    const room = Math.max(8, columns - SMALL_W - (e.props.maxRows >= BORDER_ROWS ? BORDER_CELLS : 0))
    const agents = Object.values(run.agents)
    const settled = agents.filter(agent => agent.status !== 'running').length
    const summary = tracked ? runSummary(run, elapsedOf(await read($, timesAtom), run), Math.max(8, room - COMPACT_BAR_W - 2)) : null
    const runName = runProject !== null && runProject !== ui.name ? `${runProject}: ` : ''
    const view = compactView({
      columns,
      rows: e.props.maxRows,
      shell,
      name: project === null ? null : ui.name,
      goal: project === null ? '' : oneLine(goalOf(project)),
      run: summary === null ? null : { bar: bar(settled, agents.length, COMPACT_BAR_W), text: `${runName}${summary.text.replace(/^[a-z]+/, word => word.toUpperCase())}`, color: summary.color },
      saved: bandListing.names,
    })

    const terminal = e.viewport?.columns
    const expandButton = (
      <Box flexDirection="row" flexShrink={0}>
        <Button key={EXPAND_ELEMENT} plain onPress={() => press($, () => expand($, true, terminal))}>
          <Text>
            <Text color="claude">{`[${EXPAND_HOTKEY}]`}</Text>
            <Text color={TEXT}>{` ${EXPAND_WORD}`}</Text>
          </Text>
        </Button>
        {/* The key itself: a Button with a hotkey writes it before its label (`m: `), so this one is in the tree and not drawn. */}
        <Box key="conductor-expand-key" display="none">
          <Button key={`${EXPAND_ELEMENT}:key`} hotkey={EXPAND_HOTKEY} onPress={() => press($, () => expand($, true, terminal))}>
            {EXPAND_WORD}
          </Button>
        </Box>
      </Box>
    )
    const statusRow = (width: number) => (
      <Text wrap="truncate-end">
        {view.status.bar !== null && <Text color={view.status.color ?? TEXT}>{`${view.status.bar} `}</Text>}
        <Text color={view.status.color ?? FADED}>{clip(view.status.text, Math.max(4, width - (view.status.bar === null ? 0 : COMPACT_BAR_W + 1)))}</Text>
      </Text>
    )

    if (view.oneLine) {
      const lead = `${GLYPH.diamond} ${COMMAND} / ${view.name}`
      return (
        <Box flexDirection="row" height={1}>
          <Text bold color="claude">{`${clip(lead, Math.max(8, Math.floor(columns / 3)))}  `}</Text>
          <Box flexGrow={1} flexShrink={1}>{statusRow(columns - lead.length - EXPAND_W - 4)}</Box>
          <Box flexShrink={0}>{expandButton}</Box>
        </Box>
      )
    }

    const stateW = view.state.length
    const nameW = Math.max(8, room - COMMAND.length - 3 - stateW - 2)
    const rows = view.taken - (view.bordered ? 2 : 0)
    const body = (
      <Box flexDirection="row" height={rows}>
        <Box key="conductor-persona" flexDirection="column" width={SMALL_W} flexShrink={0}>
          {smallPersona(pose).map(row => (
            <Box flexDirection="row" height={1} flexShrink={0}>
              {row.map(span => (
                <Text color={span.color ?? TEXT} backgroundColor={span.ground}>{span.text}</Text>
              ))}
            </Box>
          ))}
        </Box>
        <Box flexDirection="column" width={room} flexShrink={0}>
          <Box flexDirection="row" justifyContent="space-between" height={1}>
            <Text wrap="truncate-end">
              <Text bold color="claude">{COMMAND}</Text>
              <Text color={FADED}>{' / '}</Text>
              <Text bold color={TEXT}>{clip(view.name, nameW)}</Text>
            </Text>
            <Box flexShrink={0}>
              <Text color={FADED}>{view.state}</Text>
            </Box>
          </Box>
          {view.list !== null && (
            <Box flexDirection="row" height={1}>
              <Text color="suggestion">{LIST_LABEL}</Text>
              {view.list.names.map(name => (
                <Box flexDirection="row" flexShrink={0}>
                  <Text>{' '.repeat(LIST_GAP)}</Text>
                  <Button key={`${BAND_PROJECT_PREFIX}${name}`} plain onPress={() => press($, () => showSaved($, name))}>
                    <Text color={name === view.list?.current ? 'claude' : TEXT} bold={name === view.list?.current ? true : undefined}>{name}</Text>
                  </Button>
                </Box>
              ))}
              {view.list.more > 0 && <Text color={FADED}>{`${' '.repeat(LIST_GAP)}+${view.list.more} more`}</Text>}
            </Box>
          )}
          <Box flexDirection="row" justifyContent="space-between" height={1}>
            <Box flexGrow={1} flexShrink={1}>{statusRow(room - EXPAND_W - 2)}</Box>
            <Box flexShrink={0}>{expandButton}</Box>
          </Box>
        </Box>
      </Box>
    )
    if (!view.bordered) return body
    return (
      <Box flexDirection="column" width={columns} borderStyle="round" borderColor={RULE} paddingX={1}>
        {body}
      </Box>
    )
  })
Licence text (MIT)
MIT License

Copyright (c) 2026 Artur Turdiev

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

How to build this: Pane (panel), Deny a tool call

What its code calls

writes filesdrives Claudetool callsremembers

What its code shows

Read from the source at commit 125a9b897e94. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.

Decides the listing: code you can check
Entry readEvery module hooks/hooks.json names was read.hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.34 files parsed
All its code is in the modEvery import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod
ReadableNo minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs
Calls in the openNetwork and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open
For you to weigh before installing
Where it drawsThe terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both
Install lineWhether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.listed in its repository's .claude-plugin/marketplace.json: installs from there
Programs on WindowsWhether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks
NetworkWhether every fetch names its https host in the code.no network
ProgramsWhether every program it starts is named in the code and is not a shell, an interpreter or a network tool.starts no programs
Reads and sendsWhether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads files, the prompt box, but reaches nothing outside
Keys in the sourceWhether the source holds what looks like an API key or a private key.no keys in the source
LicenceAn open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.MIT
Settings hooksHooks declared in hooks/hooks.json or plugin.json beside the module: a command (a shell when it has no args), an HTTP request, an MCP tool or a model prompt at an event. They run outside $.no settings hooks: its function hooks alone
Servers it shipsMCP servers (a program, or a URL; a headersHelper is a shell command; a .mcpb bundle is unpacked at run time), LSP servers, monitors (a shell command for the whole session) and bin/ (on the PATH of the Bash tool).ships no MCP or LSP server, no monitor, no bin/
Skills, commands, agentsWhat its Markdown declares beyond text: allowed-tools granted for the turn, hooks added when a skill is invoked, a command run before Claude reads the skill.no skills, commands, agents or workflows
Tools and MCPWhether every tool it calls through $.tool.call and $.mcp.call is named in the code, and none is a shell (Bash through the tool runs a shell without $.process).calls no tool, MCP server or command
Asks of the modelCompletions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.adds tool ?, prompt.submit (as the person), adds command conductor
Events it hooksBy what a hook there can do: gates (refuse a tool call, a prompt, a setting, another plugin), shapes (what the model reads: the system prompt, tool descriptions, each request), reads (your input, the events of the settings hooks, every event with *), and the rest.gates: tool.call (Workflow, TaskStop), command.run (conductor), prompt.submit · shapes: turn.step · reads: ui.message, prompt.edit · also: session.start, turn.complete, session.compact, session.end (+5) · timers: clock.after, clock.every
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.files: a path computed at run time, …/…, …/….json; the prompt box
Writes, by nameThe files and environment variables it names, and whether it changes settings, the prompt box, the clipboard, the conversation (a row the model reads) or another session.files: …/.claude/workflow-conductor/….json; the prompt box

This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen

Install it

Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.

From its marketplace

Its repository is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:

/plugin marketplace add bruw/workflow-conductor
/plugin install workflow-conductor@workflow-conductor
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (125a9b897e94). Compare them before you install. /reload-plugins loads it into a session that is already open.

Try the commit ModsCode read

No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:

git clone https://github.com/bruw/workflow-conductor
git -C workflow-conductor checkout 125a9b897e94cb35c128167f8e45034c00e8a552
claude plugin validate workflow-conductor
claude --plugin-dir workflow-conductor

The validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.

Ask Claude or ChatGPT about it

With ModsCode added as a connector, Claude or ChatGPT can read this mod's code, what it reaches and how its controls are wired, and build on them. Ask it like this:

Read the ModsCode mod "bruw-workflow-conductor" with its code and make me one like it

Add the ModsCode MCP to Claude or ChatGPT

Similar mods

Badge for your README

If this is your mod, paste this into your README. It links to this page.

README.md
[![ModsCode](https://modscode.com/badge/bruw-workflow-conductor.svg)](https://modscode.com/claude-mods/mods/bruw-workflow-conductor/)