Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / quackpit

quackpit

A cockpit above your Claude Code prompt. The duck reads the gauges: task progress, pace, context, plan limits, checks and cost in one instrument panel, with a rubber duck as Master Caution. Zero model tokens, no network, no processes, noth…

Code you can checkTerminal + desktopPaneBandToastBoxButtonMarkdownText
writes files, drives Claude, draws

What it does

  • Draws a band above the prompt, a pane
  • Adds /quackpit, /quack
  • Watches tool calls and can refuse them
  • Hooks classic.Stop, config.describe, config.set, prompt.submit and 7 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 quackpit by SeongBeen Im (pane, band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/imsungbin-quackpit/
// 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 band above the prompt; what else goes there is drawn under it
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const { Box, Text } = $.ui.resolve(e)
    const text = '…'
    const text2 = '…'
    const text3 = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="column">
          <Box flexDirection="row" gap={0} />
          <Box flexDirection="row" gap={0} />
          <Box flexDirection="row" gap={0} />
          <Text>
            <Text>
              {text}
            </Text>
            <Text>
              {text2}
            </Text>
            <Text>
              {text3}
            </Text>
          </Text>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  // the pane: open it with $.ui.open({ id: 'my-pane', title: "quackpit" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button, Markdown } = $.ui.resolve(e)
    const text = '…'
    const text2 = '…'
    const text3 = '…'
    const write = '…'
    const copy = '…'
    const close = '…'
    const text4 = '…'
    const text5 = '…'
    const text6 = '…'
    const text7 = '…'
    const text8 = '…'
    const text9 = '…'
    const text10 = '…'
    const text11 = '…'
    const text12 = '…'
    const text13 = '…'
    const text14 = '…'
    const text15 = '…'
    const text16 = '…'
    const text17 = '…'
    const text18 = '…'
    const historyTitle = '…'
    const text19 = '…'
    const text20 = '…'
    const text21 = '…'
    const text22 = '…'
    const text23 = '…'
    const text24 = '…'
    const text25 = '…'
    const text26 = '…'
    const text27 = '…'
    const text28 = '…'
    const text29 = '…'
    const text30 = '…'
    const layoutTitle = '…'
    const id = '…'
    const handoverTitle = '…'
    const handover = '…'
    return (
      <Box flexDirection="column" gap={1}>
        <Box flexDirection="row" gap={1}>
          <Box flexGrow={1}>
            <Text>
              <Text>
                {text}
              </Text>
              <Text>
                {text2}
              </Text>
              <Text>
                {text3}
              </Text>
            </Text>
          </Box>
          <Button variant="primary" label={`${write}`} />
          <Button label={`${copy}`} />
          <Button role="dismiss" label={`${close}`} />
        </Box>
        <Box flexDirection="column" />
        <Box flexDirection="column">
          <Text>
            <Text>
              {text4}
            </Text>
            <Text>
              {text5}
            </Text>
            <Text>
              {text6}
            </Text>
          </Text>
          <Text>
            <Text>
              {text7}
            </Text>
            <Text>
              {text8}
            </Text>
            <Text>
              {text9}
            </Text>
          </Text>
        </Box>
        <Box flexDirection="column">
          <Text>
            <Text>
              {text10}
            </Text>
            <Text>
              {text11}
            </Text>
            <Text>
              {text12}
            </Text>
          </Text>
          <Text>
            <Text>
              {text13}
            </Text>
            <Text>
              {text14}
            </Text>
            <Text>
              {text15}
            </Text>
          </Text>
          <Text>
            <Text>
              {text16}
            </Text>
            <Text>
              {text17}
            </Text>
            <Text>
              {text18}
            </Text>
          </Text>
        </Box>
        <Box flexDirection="column">
          <Text dimColor bold>
            {historyTitle}
          </Text>
          <Text>
            <Text>
              {text19}
            </Text>
            <Text>
              {text20}
            </Text>
            <Text>
              {text21}
            </Text>
          </Text>
          <Button plain>
            <Text>
              {text22}
            </Text>
            <Text>
              {text23}
            </Text>
            <Text>
              {text24}
            </Text>
          </Button>
          <Button plain>
            <Text>
              {text25}
            </Text>
            <Text>
              {text26}
            </Text>
            <Text>
              {text27}
            </Text>
          </Button>
          <Button plain>
            <Text>
              {text28}
            </Text>
            <Text>
              {text29}
            </Text>
            <Text>
              {text30}
            </Text>
          </Button>
        </Box>
        <Box flexDirection="column">
          <Text dimColor bold>
            {layoutTitle}
          </Text>
          <Box flexDirection="row" flexWrap="wrap" gap={1}>
            <Button plain>
              <Text dimColor>
                01.
              </Text>
              <Text dimColor>
                {" ×"}
              </Text>
            </Button>
            <Button plain>
              <Text dimColor>
                01.
              </Text>
              <Text dimColor>
                {" ×"}
              </Text>
            </Button>
            <Button plain>
              <Text dimColor>
                01.
              </Text>
              <Text dimColor>
                {" ×"}
              </Text>
            </Button>
            <Button plain dimColor>
              {`+ ${id}`}
            </Button>
            <Button plain dimColor>
              {`+ ${id}`}
            </Button>
            <Button plain dimColor>
              {`+ ${id}`}
            </Button>
          </Box>
        </Box>
        <Box flexDirection="column">
          <Text dimColor bold>
            {handoverTitle}
          </Text>
          <Markdown text={`${handover}`} dimColor />
        </Box>
      </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.

hooks/register.tsx lines 1323–1323 · Band
  on('ui.render', { component: 'AbovePrompt' }, renderBand)
hooks/register.tsx lines 1101–1171 · Band
export const renderBand: MatchedHook<'ui.render', { readonly component: 'AbovePrompt' }> = async ($, e, next) => {
  // Asked once, and first: each further call would run every hook beneath again.
  // Beneath is the band another mod drew there, or the engine's own empty one;
  // a dispatch that failed beneath reads as the empty one.
  const below = await attempt(() => next(e), ENGINE_OWN)
  if (e.props.hasSurvey || (e.surface !== 'terminal' && e.surface !== 'desktop')) return below
  try {
    const at = await now($)
    const ui = await readUi($)
    const c = await shownCockpit($, ui, at)
    const r = readingsOf(c, contextFor(ui, at))
    const width = e.props.bodyColumns
    // A tile's click opens the pane at the width the terminal has: the band's own column and the engine's five.
    terminalColumns = e.viewport?.columns ?? width + 5
    // Another mod's band beneath shares the rows; quackpit cannot measure it, so it takes fewer.
    const isShared = !drawsNothing(below)
    const rows = isShared ? sharedRows(ui.layout.rows, e.props.maxRows) : Math.min(ui.layout.rows, e.props.maxRows)
    if (rows < 1) return below
    // The demo's tag: a word in the dense row, 5 columns at the end of the grid's first line.
    const isDense = width < DENSE_BELOW || rows < 2
    // Until the picture probe has answered, its 1x1 Image needs a column of the first line too.
    const withProbe = e.surface === 'terminal' && settings.graphics === 'auto' && ui.graphics === 'unknown'
    const reserved = (ui.demo && !isDense ? 5 : 0) + (withProbe ? (isDense ? 2 : 1) : 0)
    const plan = planBand({
      readings: r,
      tiles: ui.layout.tiles,
      width: width - reserved,
      rows,
      maxRows: rows,
      withDuck: ui.layout.duck,
      ...(ui.demo ? { tag: 'demo' } : {}),
    })
    if (!planDraws(plan)) return below
    let kit: Kit
    if (e.surface === 'terminal') {
      bandRequestId = e.requestId
      const pixels = settings.graphics === 'pixels' || (settings.graphics === 'auto' && ui.graphics === 'pixels')
      if (withProbe) scheduleProbe($)
      kit = { surface: 'terminal', T: $.ui.resolve(e), pixels }
      // A caution just announced: draw the duck still idle, then let it quack (blits, no redraws).
      // Settled before it was drawn (acknowledged, or its cause gone), there is nothing to quack about.
      const duck = plan.kind === 'grid' ? plan.lines[0]?.find(f => f.id === 'duck') : undefined
      if (quackDue && r.duck.pose !== 'alert') quackDue = false
      if (quackDue && duck?.graphic?.kind === 'duck') {
        quackDue = false
        duck.graphic = { ...duck.graphic, pose: 'idle' }
        playQuackFrames($, pixels)
      }
    } else {
      kit = { surface: 'desktop', T: $.ui.resolve(e) }
    }
    const mine = drawBand(
      kit,
      plan,
      { openPane: () => void openPane($), acknowledge: () => safely($, 'acknowledge', () => acknowledgeNow($)) },
      { isDemo: Boolean(ui.demo) && plan.kind === 'grid', withProbe, probeSource: probeImage(), width },
    )
    if (!isShared) return mine
    // Both bands, quackpit's rows nearest the prompt.
    const { Box } = kit.T
    return (
      <Box flexDirection="column">
        {below}
        {mine}
      </Box>
    )
  } catch (err) {
    debugLog($, 'band', err)
    return below
  }
}
hooks/draw.tsx lines 177–234 · Band
export function drawBand(kit: Kit, plan: BandPlan, act: BandHandlers, o: BandOptions): RenderElement {
  const { Box, Text, Button } = kit.T
  const extras: RenderElement[] = []
  if (o.isDemo) extras.push(<Text dimColor> demo</Text>)
  if (kit.surface === 'terminal' && o.withProbe && o.probeSource) {
    const { Image } = kit.T
    extras.push(<Image key="qp-probe" source={o.probeSource} columns={1} rows={1} alt=" " />)
  }
  if (plan.kind === 'dense') {
    let duck: RenderElement | null = null
    if (plan.withDuck) {
      if (kit.surface === 'terminal') {
        const { Raster } = kit.T
        const cells = duckCells('idle', 1)
        duck = <Raster key="duck-mini" columns={cells.columns} rows={cells.rows} cells={cells.cells} />
      } else {
        const { Svg } = kit.T
        duck = <Svg source={duckSvg('idle', 18)} alt="duck" width={18} height={18} />
      }
    }
    return (
      <Box flexDirection="row" gap={1}>
        {duck}
        <Button key="band-dense" plain onPress={() => act.openPane()}>
          {buttonChildren(kit, plan.line)}
        </Button>
        {extras}
      </Box>
    )
  }
  const rows: RenderElement[] = plan.lines.map((faces, i) => {
    const children: RenderElement[] = []
    faces.forEach((f, j) => {
      if (j > 0) children.push(gutter(kit, 2))
      children.push(faceElement(kit, f, act))
    })
    if (i === 0) children.push(...extras)
    if (i === plan.lines.length - 1 && plan.overflow.length > 0 && !plan.strip) {
      children.push(
        gutter(kit, 2),
        <Button key="band-more" plain dimColor onPress={() => act.openPane()}>
          {`+${plan.overflow.length}`}
        </Button>,
      )
    }
    return (
      <Box flexDirection="row" gap={0}>
        {children}
      </Box>
    )
  })
  return (
    <Box flexDirection="column">
      {rows}
      {plan.strip ? lineText(kit, plan.strip) : null}
    </Box>
  )
}
hooks/draw.tsx lines 52–55 · Band
function buttonChildren(kit: Kit, line: Line): RenderElement[] {
  const { Text } = kit.T
  return line.map(span => <Text {...spanProps(span)}>{span.text}</Text>)
}
hooks/draw.tsx lines 46–49 · Band
export function lineText(kit: Kit, line: Line, wrap: 'truncate-end' | 'wrap' = 'truncate-end'): RenderElement {
  const { Text } = kit.T
  return <Text wrap={wrap}>{line.map(span => <Text {...spanProps(span)}>{span.text}</Text>)}</Text>
}
hooks/register.tsx lines 1324–1324 · Pane
  on('ui.render', { component: 'Pane', requestId: 'quackpit' }, renderPane)
Licence text (MIT)
MIT License

Copyright (c) 2026 SeongBeen Im

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 filesenv varsdrives Claudetool callsremembers

What its code shows

Read from the source at commit 3c2dda1331b1 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.hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.32 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.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 environment variables, files, the transcript, 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).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 command quackpit, adds command quack
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, tool.check, classic.Stop, command.run (quackpit, quack), config.set · shapes: turn.step · also: session.start, session.end, turn.start, turn.complete (+4) · 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: CLAUDE_CONFIG_DIR, HOME, FORCE_PROMPT_CACHING_5M, CLAUDE_CODE_PROMPT_CACHE_TTL, ENABLE_PROMPT_CACHING_1H; files: a path computed at run time; the transcript; 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.files: a path computed at run time; the clipboard

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 imsungbin/quackpit-mod
/plugin install quackpit@quackpit
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (3c2dda1331b1). 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/imsungbin/quackpit-mod
git -C quackpit-mod checkout 3c2dda1331b10b6a141999fde7660e8ddf3bdbc2
claude plugin validate quackpit-mod
claude --plugin-dir quackpit-mod

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 "imsungbin-quackpit" with its code and make me one like it

Search them from Claude: the MCP connector

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