Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / savvy-progress

savvy-progress

Fork of johnnyvizz/claude-kit savvy-progress 1.2.0: the /savvy-flow bar and /agents-info panel, plus omd-lite runs this session launched (mcode / claude -p / pi) with a pixel MiniMax.

Code you can checkTerminal + desktopPaneBandBoxButtonSvgText
runs programs, draws

What it does

  • Draws a pane, a band above the prompt
  • Adds /agents-info
  • Watches Bash, Agent calls
  • Hooks agent.spawn, session.start, turn.complete, turn.step
  • Starts processes

Good points

  • No network calls
  • Written in TypeScript
  • Has a desktop-specific branch
  • 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 savvy-progress by johnnyvizz (original); claude-lead-harness contributors (om… (pane, band), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/abysscn-savvy-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: "Agents" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const title = '…'
    const fmtCost = '…'
    const fmtTokens = '…'
    const fmtTime = '…'
    const length = '…'
    const length2 = '…'
    const omdTitle = '…'
    const n = '…'
    const title2 = '…'
    const tier = '…'
    const after = '…'
    const n2 = '…'
    const title3 = '…'
    const tier2 = '…'
    const n3 = '…'
    const title4 = '…'
    const tier3 = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="row" justifyContent="space-between">
          <Text bold wrap="truncate-end">
            {title}
          </Text>
          <Button label="Expand" plain />
        </Box>
        <Text dimColor>
          ≈
          {fmtCost}
          {" · "}
          {fmtTokens}
          {" "}
          tokens
          {" · "}
          {fmtTime}
        </Text>
        <Box flexDirection="column" marginTop={1}>
          <Text dimColor>
            No subagents yet.
          </Text>
          <Text dimColor>
            Running
            {" · "}
            {length}
          </Text>
          <Button label={`▸ Finished · ${length}`} plain />
          <Text dimColor>
            Planned
            {" · "}
            {length2}
          </Text>
          <Text dimColor>
            {omdTitle}
          </Text>
          <Box flexDirection="column" marginBottom={1}>
            <Text dimColor wrap="truncate-end">
              <Text>
                ▢
              </Text>
              {" "}
              {n}
              {". "}
              {title2}
              {" ◷"}
            </Text>
            <Text dimColor wrap="truncate-end">
              {"  "}
              {tier}
              {" · "}
              {` · after ${after}`}
            </Text>
          </Box>
          <Box flexDirection="column" marginBottom={1}>
            <Text dimColor wrap="truncate-end">
              <Text>
                ▢
              </Text>
              {" "}
              {n2}
              {". "}
              {title3}
              {" ◷"}
            </Text>
            <Text dimColor wrap="truncate-end">
              {"  "}
              {tier2}
              {" · "}
              {` · after ${after}`}
            </Text>
          </Box>
          <Box flexDirection="column" marginBottom={1}>
            <Text dimColor wrap="truncate-end">
              <Text>
                ▢
              </Text>
              {" "}
              {n3}
              {". "}
              {title4}
              {" ◷"}
            </Text>
            <Text dimColor wrap="truncate-end">
              {"  "}
              {tier3}
              {" · "}
              {` · after ${after}`}
            </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 title = '…'
    const label = '…'
    const percent = '…'
    const crew = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="row" gap={2}>
          <Box flexShrink={0}>
            <Text color="#5fbf8f">
              {"● "}
            </Text>
            <Text wrap="truncate-end">
              {title}
            </Text>
          </Box>
          <Text color="#5fbf8f">
            ████████░░░░░░░░
          </Text>
          <Text bold>
            {label}
          </Text>
          <Text dimColor>
            {percent}
          </Text>
          <Text color="#D97757">
            ▣
          </Text>
          <Button label={`×${crew}`} plain />
          <Button label="✕" plain role="dismiss" />
        </Box>
        {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.

mods/savvy-progress/hooks/register.tsx lines 1123–1282 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const s = tr()
    const ui = $.ui.resolve(e)
    const { Box, Text, Button } = ui
    const list = await read($, agents)
    const f = await read($, flow)
    const p: Panel = await read($, panel)
    const runs = await read($, omd)
    const at = Math.max(await read($, now), ...list.map(a => a.startedAt), ...runs.map(r => r.startedAt), 0)
    const omdRunning = runs.filter(r => r.status === 'running').reverse()
    const omdEnded = runs.filter(r => r.status !== 'running').reverse()

    const running = list.filter(a => a.status === 'running').reverse()
    const finished = list.filter(a => a.status !== 'running').reverse()
    const planned = plannedOf(f, list)
    const t = totals(list, at)
    // The pane's title says "Agents"; inside, only the flow's own name.
    const title = f && !f.isFinished ? f.title : ''

    const toggleCompact = (
      <Button
        key="compact"
        label={p.isCompact ? s.expand : s.collapse}
        plain
        onPress={() => update($, panel, prev => ({ ...prev, isCompact: !prev.isCompact }))}
      />
    )
    const toggleDone = (
      <Button
        key="done"
        label={`${p.isDoneCollapsed ? '▸' : '▾'} ${s.finished} · ${finished.length}`}
        plain
        onPress={() => update($, panel, prev => ({ ...prev, isDoneCollapsed: !prev.isDoneCollapsed }))}
      />
    )
    const isEmpty = list.length === 0 && planned.length === 0 && runs.length === 0
    const omdTitle = `${s.omd} · ${omdRunning.length ? `${omdRunning.length} ${s.isRunning}` : runs.length}`
    const summary = `≈${fmtCost(t.cost)}, ${fmtTokens(t.tokens)} ${s.tokensWord}, ${fmtTime(t.time)}`

    if (e.surface === 'desktop' && 'Svg' in ui) {
      const { Svg } = ui
      const W = Math.max(240, Math.min(900, (e.props.bodyColumns || 40) * 8 - 8))
      const section = (key: string, text: string) => (
        <Text key={key} dimColor>
          {text}
        </Text>
      )

      if (p.isCompact) {
        return (
          <Box flexDirection="column" gap={1}>
            <Svg source={compactSvg(W, list, planned, t)} alt={`${list.length} ${s.agentsCount}, ${summary}`} width={W} height={32} />
            {runs.length > 0 && <Text dimColor>{omdTitle}</Text>}
            {toggleCompact}
          </Box>
        )
      }
      return (
        <Box flexDirection="column">
          <Svg source={headerSvg(W, title, t)} alt={title ? `${title}: ${summary}` : summary} width={W} height={headerHeight(title)} />
          {toggleCompact}
          {isEmpty && <Text dimColor>{s.empty}</Text>}
          {running.length > 0 && section('h-run', `${s.running} · ${running.length}`)}
          {running.map(a => (
            <Svg key={a.id} source={agentSvg(W, a, at)} alt={`${a.description}: ${modelName(a.model)}, ${s.isRunning}`} width={W} height={66} />
          ))}
          {finished.length > 0 && toggleDone}
          {!p.isDoneCollapsed &&
            finished.map(a => (
              <Svg key={a.id} source={agentSvg(W, a, at)} alt={`${a.description}: ${modelName(a.model)}, ${s.isFinished}`} width={W} height={66} />
            ))}
          {planned.length > 0 && section('h-plan', `${s.planned} · ${planned.length}`)}
          {planned.map(pl => (
            <Svg key={`plan-${pl.n}`} source={plannedSvg(W, pl)} alt={`${pl.n}. ${pl.title}: ${s.isPlanned}`} width={W} height={46} />
          ))}
          {runs.length > 0 && section('h-omd', omdTitle)}
          {[...omdRunning, ...(p.isDoneCollapsed ? [] : omdEnded)].map(r => (
            <Svg key={r.id} source={omdSvg(W, r, at)} alt={`${r.label}: ${omdMeta(r)}`} width={W} height={66} />
          ))}
        </Box>
      )
    }

    // Terminal: the same content in text rows.
    const cols = Math.max(24, e.props.bodyColumns || 40)
    const barW = Math.max(6, Math.min(20, cols - 34))
    const row = (a: AgentRun) => {
      const tier = tierOf(a.type)
      const color = colorOf(tier)
      const ctx = ctxOf(a)
      const progress = progressOf(a)
      const model = a.effort ? `${modelName(a.model)} · ${a.effort}` : modelName(a.model)
      const steps = a.stepTotal ? `${a.stepDone ?? 0}/${a.stepTotal}${a.stepNote ? ' ' + a.stepNote : ''} · ` : ''
      const crabPx = CRAB_PIXELS(a.status === 'running' ? Math.floor(at / 500) : 0, tier !== 'other')
      return (
        <Box key={a.id} flexDirection="row" gap={1} marginBottom={1}>
          {halfBlocks(ui as TermUi, crabPx, { ...CRAB_COLORS, t: color }, `crab-${a.id}`)}
          <Box flexDirection="column" flexGrow={1}>
          <Box flexDirection="row" gap={1}>
            <Text bold wrap="truncate-end">
              {a.description || a.type}
            </Text>
            <Text color={a.status === 'failed' ? 'red' : a.status === 'done' ? 'green' : color}>{STATUS_GLYPH[a.status]}</Text>
          </Box>
          <Text dimColor wrap="truncate-end">
            {tier === 'other' ? a.type : tier} · {model}
            {a.round > 1 ? ` · ${s.round} ${a.round}` : ''}
          </Text>
          <Text wrap="truncate-end">
            {progress === null ? <Text dimColor>{ctxBar(ctx, barW)}</Text> : <Text color={color}>{ctxBar(progress * 100, barW)}</Text>}
            <Text dimColor>
              {' '}
              {steps}ctx {ctx}% · {fmtTokens(a.contextTokens)} ≈{fmtCost(a.costUsd)} {fmtTime(elapsed(a, at))}
            </Text>
          </Text>
          </Box>
        </Box>
      )
    }

    const omdRow = (r: OmdRun) => {
      const color = r.status === 'done' ? 'green' : r.status === 'failed' ? 'red' : omdColor(r)
      const sprite = isMinimax(r)
        ? halfBlocks(ui as TermUi, MM_PIXELS(r.status === 'running' ? Math.floor(at / 500) : 0), MM_COLORS, `mm-${r.id}`)
        : <Text color={omdColor(r)}>▣</Text>
      const detail = r.status === 'running' ? r.lastTool : r.message
      return (
        <Box key={r.id} flexDirection="row" gap={1} marginBottom={1}>
          {sprite}
          <Box flexDirection="column" flexGrow={1}>
            <Box flexDirection="row" gap={1}>
              <Text bold wrap="truncate-end">
                {r.label}
              </Text>
              <Text color={color}>{STATUS_GLYPH[r.status]}</Text>
            </Box>
            <Text dimColor wrap="truncate-end">
              {omdMeta(r)}
            </Text>
            <Text wrap="truncate-end">
              <Text color={color}>{ctxBar(omdRatio(r) * 100, Math.max(4, Math.min(8, barW)))}</Text>
              <Text dimColor>
                {' '}
                {omdStats(r, at, false)}
                {detail ? ` · ${detail}` : ''}
              </Text>
            </Text>
          </Box>
        </Box>
      )
    }

    return (
      <Box flexDirection="column">
        <Box flexDirection="row" justifyContent="space-between">
          <Text bold wrap="truncate-end">
            {title}
          </Text>
          {toggleCompact}
        </Box>
mods/savvy-progress/hooks/register.tsx lines 1395–1449 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const f = await read($, flow)
    if (f === null || e.props.hasSurvey) return next(e)

    const ui = $.ui.resolve(e)
    const { Box, Text, Button } = ui
    const list = await read($, agents)
    const crew = list.length + plannedOf(f, list).length
    const isWorking = list.some(a => a.status === 'running')
    const crewButton = (
      <Button key="savvy-agents" label={`×${crew}`} plain onPress={() => void togglePane($)} />
    )
    const percent = `${Math.round(ratio(f) * 100)}%`
    const dismiss = (
      <Button
        key="savvy-dismiss"
        label="✕"
        plain
        role="dismiss"
        onPress={() => update($, flow, () => null)}
      />
    )

    if ('Svg' in ui) {
      const { Svg } = ui
      // About 8 CSS px per reported column; the rest is the count, the dismiss
      // and their gaps. No floor above the slot: a row wider than it would wrap.
      const width = Math.max(180, Math.min(1600, (e.props.bodyColumns || 100) * 8 - 96))
      return (
        <Box flexDirection="row" alignItems="center" gap={1}>
          <Svg source={rowSvg(f, width, isWorking)} alt={`${f.title}: ${label(f)}, ${percent}`} width={width} height={H} />
          {crewButton}
          {dismiss}
        </Box>
      )
    }

    const cols = e.props.bodyColumns
    const titleW = Math.max(8, Math.min(30, f.title.length + 2, Math.floor(cols / 3)))
    const width = Math.max(6, Math.min(40, cols - titleW - 32))
    return (
      <Box flexDirection="row" gap={2}>
        <Box width={titleW} flexShrink={0}>
          <Text color={f.isFinished ? DONE : ACCENT}>● </Text>
          <Text wrap="truncate-end">{f.title}</Text>
        </Box>
        <Text color={f.isFinished ? DONE : ACCENT}>{barText(f, width)}</Text>
        <Text bold>{label(f)}</Text>
        <Text dimColor>{percent}</Text>
        <Text color={CLAY}>▣</Text>
        {crewButton}
        {dismiss}
      </Box>
    )
  })
Licence text (MIT)
MIT License

Copyright (c) 2026 AbyssCN

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 programsenv varstool callsships servers

What its code shows

Read from the source at commit 0d3f68fe531c 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.mods/savvy-progress/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.1 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, with its own branch for the desktop
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.mods/savvy-progress/hooks/register.tsx:864 node (a shell or interpreter)
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, settings.json, 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).bin/: omd-scan.mjs, omd-scan.spec.mjs on the Bash tool's PATH
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 progress, adds tool step, adds command agents-info
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 (Bash, Agent), command.run (agents-info) · shapes: turn.step · also: session.start, agent.spawn, turn.complete, ui.render (Pane, AbovePrompt) · timers: clock.every, clock.after
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: LC_ALL, LC_MESSAGES, LANG; settings.json
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.writes no files, environment variables, settings or conversation rows

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 AbyssCN/claude-lead-harness
/plugin install savvy-progress@claude-lead-harness
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (0d3f68fe531c). 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/AbyssCN/claude-lead-harness
git -C claude-lead-harness checkout 0d3f68fe531cf6ead6d3d09a887d78a3ea9dff95
claude plugin validate claude-lead-harness/mods/savvy-progress
claude --plugin-dir claude-lead-harness/mods/savvy-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 "abysscn-savvy-progress" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

More from this repository

See all 8 mods in this repository

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