Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / plan-progress

plan-progress

Live plan progress bars above the Claude Code prompt: stages, steps, a pixel fill and soft sounds for decision, error and done

Code you can checkTerminal + desktopPaneBandBoxButtonSvgText
writes files, runs programs, draws

What it does

  • Draws a pane, a band above the prompt
  • Adds /progress, /progress-demo, /progress-style, /progress-clear
  • Watches AskUserQuestion, ExitPlanMode calls and can refuse them
  • Hooks agent.spawn, classic.Stop, prompt.compose, prompt.submit and 4 more
  • Keeps its own state between turns

Good points

  • No network calls
  • Written in TypeScript
  • Handles errors

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 plan-progress by Kirill Serditov (pane, band), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/0x5421-plan-progress/
// 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: "進度條樣式" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button, Svg } = $.ui.resolve(e)
    const AGENT_VIEW_LABEL = '…'
    const svg = '…'
    const view = '…'
    const name = '…'
    const id = '…'
    const name2 = '…'
    const id2 = '…'
    const name3 = '…'
    const id3 = '…'
    return (
      <Box flexDirection="column" gap={2}>
        <Box flexDirection="row" alignItems="flex-end" gap={3}>
          <Box flexDirection="column" gap={1}>
            <Text bold>
              進度條
            </Text>
            <Box flexDirection="row" alignItems="center" gap={1}>
              <Button variant="primary" label="顯示" />
              <Button variant="primary" label="顯示" />
              <Button variant="primary" label="顯示" />
            </Box>
          </Box>
          <Box flexDirection="column" gap={1}>
            <Text bold>
              提示音
            </Text>
            <Box flexDirection="row" alignItems="center" gap={1}>
              <Button variant="primary" label="開" />
              <Button variant="primary" label="開" />
              <Button variant="primary" label="開" />
            </Box>
          </Box>
          <Box flexGrow={1} />
          <Button variant="primary" label="儲存並關閉" />
        </Box>
        <Box flexDirection="column" gap={1}>
          <Text bold>
            其他 session
          </Text>
          <Box flexDirection="row" alignItems="center" gap={1}>
            <Button variant="primary" label="開" />
            <Button variant="primary" label="開" />
            <Button variant="primary" label="開" />
          </Box>
        </Box>
        <Box flexDirection="column" gap={1}>
          <Text bold>
            Subagent 顯示
          </Text>
          <Box flexDirection="row" alignItems="center" gap={1}>
            <Button variant="primary" label={`${AGENT_VIEW_LABEL}`} />
            <Button variant="primary" label={`${AGENT_VIEW_LABEL}`} />
            <Button variant="primary" label={`${AGENT_VIEW_LABEL}`} />
          </Box>
          <Svg source={`${svg}`} alt={`subagents ${view} preview`} />
        </Box>
        <Box flexDirection="column" alignItems="stretch" gap={1}>
          <Text bold>
            進度條樣式
          </Text>
          <Box flexDirection="column" gap={1} borderStyle="round" paddingX={1}>
            <Box flexDirection="row" alignItems="center" gap={1}>
              <Text bold>
                {name}
              </Text>
              <Text dimColor>
                {id}
              </Text>
              <Box flexGrow={1} />
              <Button variant="primary" label="✓ 使用中" />
            </Box>
            <Svg source={`${svg}`} alt={`${id} preview`} />
          </Box>
          <Box flexDirection="column" gap={1} borderStyle="round" paddingX={1}>
            <Box flexDirection="row" alignItems="center" gap={1}>
              <Text bold>
                {name2}
              </Text>
              <Text dimColor>
                {id2}
              </Text>
              <Box flexGrow={1} />
              <Button variant="primary" label="✓ 使用中" />
            </Box>
            <Svg source={`${svg}`} alt={`${id} preview`} />
          </Box>
          <Box flexDirection="column" gap={1} borderStyle="round" paddingX={1}>
            <Box flexDirection="row" alignItems="center" gap={1}>
              <Text bold>
                {name3}
              </Text>
              <Text dimColor>
                {id3}
              </Text>
              <Box flexGrow={1} />
              <Button variant="primary" label="✓ 使用中" />
            </Box>
            <Svg source={`${svg}`} alt={`${id} preview`} />
          </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, Svg, Text, Button } = $.ui.resolve(e)
    const divider = '…'
    const char = '…'
    const fitTitle = '…'
    const bar = '…'
    const bar2 = '…'
    const stageName = '…'
    const step = '…'
    const stageSize = '…'
    const rightOf = '…'
    const char2 = '…'
    const bar3 = '…'
    const bar4 = '…'
    const rightOf2 = '…'
    const char3 = '…'
    const bar5 = '…'
    const bar6 = '…'
    const rightOf3 = '…'
    const char4 = '…'
    const textBar = '…'
    const textBar2 = '…'
    const rightOf4 = '…'
    const char5 = '…'
    const textBar3 = '…'
    const textBar4 = '…'
    const rightOf5 = '…'
    const char6 = '…'
    const textBar5 = '…'
    const textBar6 = '…'
    const rightOf6 = '…'
    const length = '…'
    return (
      <Box flexDirection="column" gap={1}>
        <Svg source={`${divider}`} alt="" height={1} />
        <Box flexDirection="row" alignItems="flex-start" gap={1}>
          <Text dimColor={false}>
            {char}
          </Text>
          <Button plain dimColor={false} label={`${fitTitle}`} />
          <Box flexGrow={1} />
          <Text>
            <Text>
              {bar}
            </Text>
            <Text dimColor>
              {bar2}
            </Text>
            <Text>
              {` ${stageName} ${step}/${stageSize}`}
            </Text>
          </Text>
          <Box justifyContent="flex-end">
            <Text dimColor>
              {rightOf}
            </Text>
          </Box>
          <Button plain dimColor label="✕" />
        </Box>
        <Svg source={`${divider}`} alt="" height={1} />
        <Box flexDirection="row" alignItems="flex-start" gap={1}>
          <Text dimColor={false}>
            {char2}
          </Text>
          <Button plain dimColor={false} label={`${fitTitle}`} />
          <Box flexGrow={1} />
          <Text>
            <Text>
              {bar3}
            </Text>
            <Text dimColor>
              {bar4}
            </Text>
            <Text>
              {` ${stageName} ${step}/${stageSize}`}
            </Text>
          </Text>
          <Box justifyContent="flex-end">
            <Text dimColor>
              {rightOf2}
            </Text>
          </Box>
          <Button plain dimColor label="✕" />
        </Box>
        <Svg source={`${divider}`} alt="" height={1} />
        <Box flexDirection="row" alignItems="flex-start" gap={1}>
          <Text dimColor={false}>
            {char3}
          </Text>
          <Button plain dimColor={false} label={`${fitTitle}`} />
          <Box flexGrow={1} />
          <Text>
            <Text>
              {bar5}
            </Text>
            <Text dimColor>
              {bar6}
            </Text>
            <Text>
              {` ${stageName} ${step}/${stageSize}`}
            </Text>
          </Text>
          <Box justifyContent="flex-end">
            <Text dimColor>
              {rightOf3}
            </Text>
          </Box>
          <Button plain dimColor label="✕" />
        </Box>
        <Svg source={`${divider}`} alt="" height={1} />
        <Box flexDirection="row" alignItems="flex-start" gap={1}>
          <Text>
            {char4}
          </Text>
          <Button plain label={`${fitTitle}`} />
          <Box flexGrow={1} />
          <Text>
            <Text>
              {textBar}
            </Text>
            <Text dimColor>
              {textBar2}
            </Text>
          </Text>
          <Box justifyContent="flex-end">
            <Text dimColor>
              {rightOf4}
            </Text>
          </Box>
          <Button plain dimColor label="✕" />
        </Box>
        <Box flexDirection="row" alignItems="flex-start" gap={1}>
          <Text>
            {char5}
          </Text>
          <Button plain label={`${fitTitle}`} />
          <Box flexGrow={1} />
          <Text>
            <Text>
              {textBar3}
            </Text>
            <Text dimColor>
              {textBar4}
            </Text>
          </Text>
          <Box justifyContent="flex-end">
            <Text dimColor>
              {rightOf5}
            </Text>
          </Box>
          <Button plain dimColor label="✕" />
        </Box>
        <Box flexDirection="row" alignItems="flex-start" gap={1}>
          <Text>
            {char6}
          </Text>
          <Button plain label={`${fitTitle}`} />
          <Box flexGrow={1} />
          <Text>
            <Text>
              {textBar5}
            </Text>
            <Text dimColor>
              {textBar6}
            </Text>
          </Text>
          <Box justifyContent="flex-end">
            <Text dimColor>
              {rightOf6}
            </Text>
          </Box>
          <Button plain dimColor label="✕" />
        </Box>
        <Text dimColor>
          {`還有 ${length} 個 session`}
        </Text>
        {await next(e)}
      </Box>
    )
  })
}

The mod's own code

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

plugins/plan-progress/hooks/register.tsx lines 1107–1228 · Pane
  on('ui.render', { component: 'Pane', requestId: STYLE_PANE }, async ($, e) => {
    const t = $.ui.resolve(e)
    const { Box, Button, Text } = t
    const Svg = 'Svg' in t ? t.Svg : null
    const current = await styleOf($)
    const view = await agentViewOf($)
    const isShown = await read($, isOpen)
    const isSounding = await read($, soundsOn)
    const isCross = await read($, crossOn)
    const now = await $.clock.now()
    const W = Math.max(200, Math.min(460, (e.props.bodyColumns || 50) * 8 - 24))
    // a tile's border and padding take about three columns
    const tileW = W - 24
    const sampleAgents: AgentRun[] = [
      { id: 'pa1', title: '讀取模組', state: 'running', tool: 'Read', startedAt: now - 48_000, endedAt: null, depth: 0 },
      { id: 'pa2', title: '量 API 延遲', state: 'done', tool: 'Done', startedAt: now - 72_000, endedAt: now - 6_000, depth: 0 },
      { id: 'pa3', title: '比對打包大小', state: 'waiting', tool: 'Needs approval', startedAt: now - 9_000, endedAt: null, depth: 0 },
    ]
    const agentsSample = { ...DEMO(now), id: 'preview-agents', agents: sampleAgents }
    const allAgents = { shown: sampleAgents, hidden: [] }
    // the slot keeps the expanded height in every mode, so switching modes never moves the list below
    const agentsSlotH = drawBar(current, agentsSample, W, now, allAgents).height
    const agentsDrawn = inSlot(drawBar(current, agentsSample, W, now, applyAgentView(allAgents, view)), W, agentsSlotH, 'top')
    // every style's preview sits centred in one slot as tall as the tallest, so all tiles share one size
    const previews = new Map(STYLE_IDS.map(id => [id, drawBar(id, { ...DEMO(now), id: `preview-${id}` }, tileW, now, null)] as const))
    const previewSlotH = Math.max(...[...previews.values()].map(d => d.height))

    return (
      <Box flexDirection="column" gap={2}>
        {/* the two on/off settings side by side; save and close stays at the top right */}
        <Box key="settings-row" flexDirection="row" alignItems="flex-end" gap={3}>
          <Box flexDirection="column" gap={1}>
            <Text bold>進度條</Text>
            <Box key="bars-row" flexDirection="row" alignItems="center" gap={1}>
              {([true, false] as const).map(shown => (
                <Button
                  key={shown ? 'bars-shown' : 'bars-hidden'}
                  variant={shown === isShown ? 'primary' : 'secondary'}
                  label={shown ? '顯示' : '隱藏'}
                  onPress={() => (shown === isShown ? undefined : setShown($, shown))}
                />
              ))}
            </Box>
          </Box>
          <Box flexDirection="column" gap={1}>
            <Text bold>提示音</Text>
            <Box key="sounds-row" flexDirection="row" alignItems="center" gap={1}>
              {([true, false] as const).map(isOn => (
                <Button
                  key={isOn ? 'sounds-on' : 'sounds-off'}
                  variant={isOn === isSounding ? 'primary' : 'secondary'}
                  label={isOn ? '開' : '關'}
                  onPress={() => (isOn === isSounding ? undefined : setSounds($, isOn))}
                />
              ))}
            </Box>
          </Box>
          <Box flexGrow={1} />
          {/* every press in the pane already saved; this one only closes it */}
          <Button key="save-close" variant="primary" label="儲存並關閉" onPress={() => $.ui.close({ id: STYLE_PANE })} />
        </Box>

        <Box flexDirection="column" gap={1}>
          <Text bold>其他 session</Text>
          <Box key="cross-row" flexDirection="row" alignItems="center" gap={1}>
            {([true, false] as const).map(isOn => (
              <Button
                key={isOn ? 'cross-on' : 'cross-off'}
                variant={isOn === isCross ? 'primary' : 'secondary'}
                label={isOn ? '開' : '關'}
                onPress={() => (isOn === isCross ? undefined : setCross($, isOn))}
              />
            ))}
          </Box>
        </Box>

        <Box flexDirection="column" gap={1}>
          <Text bold>Subagent 顯示</Text>
          <Box key="agents-row" flexDirection="row" alignItems="center" gap={1}>
            {AGENT_VIEWS.map(k => (
              <Button
                key={`agents-${k}`}
                variant={k === view ? 'primary' : 'secondary'}
                label={AGENT_VIEW_LABEL[k]}
                onPress={() => (k === view ? undefined : setAgentView($, k))}
              />
            ))}
          </Box>
          {Svg ? [<Svg key="agents-preview" source={agentsDrawn.svg} alt={`subagents ${view} preview`} width={W} height={agentsDrawn.height} />] : []}
        </Box>

        {/* tiles name no width (a Box width counts cells, not pixels); the column stretches them all to the pane's width */}
        <Box key="style-list" flexDirection="column" alignItems="stretch" gap={1}>
          <Text bold>進度條樣式</Text>
          {STYLE_IDS.map(id => {
            const isCurrent = id === current
            const drawn = inSlot(previews.get(id) ?? { svg: '', height: 0 }, tileW, previewSlotH, 'center')
            const name = STYLE_INFO[id].split(':')[0]
            // black and white like the pane's buttons: the current tile's border at full strength, the rest dim
            const frame = isCurrent ? {} : { borderDimColor: true }

            return (
              <Box key={`style-${id}`} flexDirection="column" gap={1} borderStyle="round" paddingX={1} {...frame}>
                <Box flexDirection="row" alignItems="center" gap={1}>
                  <Text bold>{name}</Text>
                  <Text dimColor>{id}</Text>
                  <Box flexGrow={1} />
                  <Button
                    key={`use-${id}`}
                    variant={isCurrent ? 'primary' : 'secondary'}
                    label={isCurrent ? '✓ 使用中' : '使用'}
                    onPress={() => (isCurrent ? undefined : setStyle($, id))}
                  />
                </Box>
                {Svg ? [<Svg key={`preview-${id}`} source={drawn.svg} alt={`${id} preview`} width={tileW} height={drawn.height} />] : []}
              </Box>
            )
          })}
        </Box>
      </Box>
    )
  })
plugins/plan-progress/hooks/register.tsx lines 1230–1360 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const list = await read($, plans)
    // other sessions that finished or wait on the person, under this session's own bars
    const away: OthersView = (await read($, crossOn)) ? await read($, others) : { rows: [] }
    const hasAway = away.rows.length > 0
    const shownAway = away.rows.slice(0, MAX_OTHERS)
    const awayTitle = (r: OtherSession) => {
      const name = r.bar?.title || r.label
      return name ? `${r.folder} · ${name}` : r.folder
    }
    if ((list.length === 0 && !hasAway) || e.props.hasSurvey || !(await read($, isOpen))) return next(e)
    const t = $.ui.resolve(e)
    const { Box, Button, Text } = t
    const Svg = 'Svg' in t ? t.Svg : null
    const total = Math.max(320, (e.props.bodyColumns || 100) * 8)
    // every bar has the same width and is pinned to the right edge (fixed-width percent, close button),
    // so rows line up whatever their titles; the slack goes into the gap after the title.
    // Desktop reports ~8 CSS px per column; glyph, gaps, percent and the close button take ~126 px.
    const titleWidth = Math.min(
      Math.round(total * 0.4),
      Math.max(0, ...list.map(p => Math.round(textWidth(p.title, 6.4))), ...shownAway.map(r => Math.round(textWidth(awayTitle(r), 6.4)))),
    )
    // a button label cannot truncate itself, so every title is cut to the title column here
    const fitTitle = (s: string) => {
      let shown = s
      while (shown.length > 3 && textWidth(shown, 6.4) > titleWidth) shown = shown.slice(0, -1)
      return shown === s ? s : shown.trimEnd() + '…'
    }
    const style = await styleOf($)
    const look = style === 'original' ? null : STYLES[style]
    const view = await agentViewOf($)
    // the hairline's elapsed time is wider than a percent
    const trackW = Math.max(120, Math.min(1400, total - titleWidth - 140 - (style === 'hairline' ? 18 : 0)))
    await read($, tick)
    const now = await $.clock.now()
    // the text right of each bar sits in a column as wide as the widest of them, so every bar's left edge lines up
    const rightOf = (p: Plan) => {
      const w = where(p)
      const pct = p.state === 'done' ? 100 : Math.round((Math.min(w.pos, w.total) / Math.max(1, w.total)) * 100)
      return look && Svg ? look.right(p, now) : `${String(pct).padStart(3, FIGURE_SPACE)}%`
    }
    // one cell more than the longest text: a cell is about 8 px, a wide letter (m, %) a little more than one
    const rightCells = 1 + Math.max(4, ...list.map(p => rightOf(p).length), ...shownAway.flatMap(r => (r.bar ? [rightOf(r.bar).length] : [])))
    // a hairline between task bars, so each bar and its agent strips read as one group
    const divider = `<svg xmlns="http://www.w3.org/2000/svg" width="${total}" height="1"><rect width="${total}" height="1" fill="#808080" fill-opacity=".22"/></svg>`

    return (
      <Box flexDirection="column" gap={1}>
        {list.flatMap((p, i) => {
          const v = applyAgentView(visibleAgents(p, now), view)
          const drawn = drawBar(style, p, trackW, now, v)
          const isLeaving = Boolean(p.leavingAt)
          const source = isLeaving ? fadeOut(drawn.svg, trackW, drawn.height) : drawn.svg
          const glyph = look ? look.glyph(p) : { char: STATE_GLYPH[p.state], color: STATE_COLOR[p.state] }
          const agentsAlt = v ? `; agents: ${(p.agents ?? []).map(a => `${a.title} ${a.state}`).join(', ')}` : ''
          const line = i > 0 && Svg ? [<Svg key={`div-${p.id}`} source={divider} alt="" width={total} height={1} />] : []
          const w = where(p)
          const pct = p.state === 'done' ? 100 : Math.round((Math.min(w.pos, w.total) / Math.max(1, w.total)) * 100)
          const color = STATE_COLOR[p.state]
          const stageName = p.stages[w.stage]?.name ?? ''
          const alt =
            p.state === 'done'
              ? `${p.title}: done, ${plural(w.total, 'step')}`
              : `${p.title}: ${stageName}, step ${w.step} of ${w.stageSize}, ${pct}%${p.note ? ` — ${p.note}` : ''}${agentsAlt}`
          const bar = `${'━'.repeat(Math.round(pct / 4))}${'─'.repeat(25 - Math.round(pct / 4))}`

          return [
            ...line,
            <Box key={`bar-${p.id}`} flexDirection="row" alignItems={v || drawn.height > TRACK_H ? 'flex-start' : 'center'} gap={1}>
              {glyph ? [<Text key="glyph" color={glyph.color} dimColor={isLeaving}>{glyph.char}</Text>] : []}
              {/* a plain button like the other sessions' titles, so both start at the same place; it does nothing when pressed */}
              <Button key={`title-${p.id}`} plain dimColor={isLeaving} label={fitTitle(p.title)} onPress={() => undefined} />
              <Box flexGrow={1} />
              {Svg ? (
                <Svg source={source} alt={alt} width={trackW} height={drawn.height} />
              ) : (
                <Text>
                  <Text color={color}>{bar.replace(/─/g, '')}</Text>
                  <Text dimColor>{bar.replace(/━/g, '')}</Text>
                  <Text color={color}>{` ${stageName} ${w.step}/${w.stageSize}`}</Text>
                </Text>
              )}
              <Box width={rightCells} justifyContent="flex-end">
                <Text dimColor>{rightOf(p)}</Text>
              </Box>
              <Button key={`close-${p.id}`} plain dimColor label="✕" onPress={() => dropPlan($, p.id)} />
            </Box>,
          ]
        })}
        {[
          ...(list.length > 0 && hasAway && Svg ? [<Svg key="div-away" source={divider} alt="" width={total} height={1} />] : []),
          // each other session as one bar row: its title is the button that switches to it
          ...shownAway.map(r => {
            const asState: PlanState = r.state === 'working' ? 'running' : r.state
            // a session waiting on the person shows its bar amber even when the bar itself still says running
            const p = r.bar ? { ...r.bar, state: r.state === 'needs_input' && r.bar.state === 'running' ? ('needs_input' as const) : r.bar.state } : null
            const drawn = p ? drawBar(style, p, trackW, now, null) : null
            const source = drawn ? (r.isLeaving ? fadeOut(drawn.svg, trackW, drawn.height) : drawn.svg) : ''
            const glyph = p && look ? look.glyph(p) : { char: STATE_GLYPH[p?.state ?? asState], color: STATE_COLOR[p?.state ?? asState] }
            const status = r.state === 'done' ? '跑完了' : r.state === 'needs_input' ? '等你決定' : '在跑'
            const w = p ? where(p) : null
            const pct = p && w ? (p.state === 'done' ? 100 : Math.round((Math.min(w.pos, w.total) / Math.max(1, w.total)) * 100)) : 0
            const textBar = `${'━'.repeat(Math.round(pct / 4))}${'─'.repeat(25 - Math.round(pct / 4))}`

            return (
              <Box key={`away-${r.hostId}`} flexDirection="row" alignItems={drawn && drawn.height > TRACK_H ? 'flex-start' : 'center'} gap={1}>
                {glyph ? [<Text key="glyph" color={glyph.color} dimColor={r.isLeaving}>{glyph.char}</Text>] : []}
                <Button key={`switch-${r.hostId}`} plain dimColor={r.isLeaving} label={fitTitle(awayTitle(r))} onPress={() => switchTo($, r)} />
                <Box flexGrow={1} />
                {p && drawn && Svg ? (
                  <Svg source={source} alt={`${awayTitle(r)}: ${status}`} width={trackW} height={drawn.height} />
                ) : p ? (
                  <Text>
                    <Text color={STATE_COLOR[p.state]}>{textBar.replace(/─/g, '')}</Text>
                    <Text dimColor>{textBar.replace(/━/g, '')}</Text>
                  </Text>
                ) : (
                  <Text dimColor>{status}</Text>
                )}
                <Box width={rightCells} justifyContent="flex-end">
                  <Text dimColor>{p ? rightOf(p) : ''}</Text>
                </Box>
                <Button key={`seen-${r.hostId}`} plain dimColor label="✕" onPress={() => dismissAway($, r)} />
              </Box>
            )
          }),
          ...(away.rows.length > MAX_OTHERS ? [<Text key="away-more" dimColor>{`還有 ${away.rows.length - MAX_OTHERS} 個 session`}</Text>] : []),
        ]}
      </Box>
    )
  })
Licence text (MIT)
MIT License

Copyright (c) 2026 Kirill Serditov

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

runs programswrites filesenv varstool callsremembers

What its code shows

Read from the source at commit 1886acaf5682 on 2026-10-11. 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.plugins/plan-progress/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.2 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).plugins/plan-progress/hooks/register.tsx:805 open (not on Windows)
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.open (reaches the network)
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 environment variables, files and reaches the network
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.1 skill: text only
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 plan_progress, adds command progress, adds command progress-style, adds command progress-demo, adds command progress-sounds, adds command progress-clear
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: prompt.submit, tool.call (AskUserQuestion, ExitPlanMode), classic.Stop, command.run (progress, progress-demo, progress-style (+2)), tool.check · shapes: prompt.compose · also: turn.start, session.start, ui.render (SessionMode, Pane, AbovePrompt), agent.spawn (+2) · 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.env: HOME, CLAUDE_CODE_HOST_SESSION_ID; files: …/…, a path computed at run time
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: …/….json, …/…

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 0x5421/plan-progress
/plugin install plan-progress@fork-zycck-mods
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (1886acaf5682). 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/0x5421/plan-progress
git -C plan-progress checkout 1886acaf5682fb4e7ede1b89292d8458f4c07542
claude plugin validate plan-progress/plugins/plan-progress
claude --plugin-dir plan-progress/plugins/plan-progress

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 about it

With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:

Read the ModsCode mod "0x5421-plan-progress" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

More by Kirill Serditov

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/0x5421-plan-progress.svg)](https://modscode.com/claude-mods/mods/0x5421-plan-progress/)