Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / quickbar

quickbar

Big, colorful, configurable buttons above the Claude Code prompt. Buttons and nested selects from one JSON file write (or send) your prompts.

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

What it does

  • Draws a band above the prompt, toasts
  • Adds /quickbar
  • Hooks session.end, session.start, ui.message

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 quickbar by Hugo Amadio (band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/hugoamadio-quickbar/
// 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 } = $.ui.resolve(e)
    return (
      <Box flexDirection="column">

        {await next(e)}
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const errs = '…'
    await $.ui.toast(`${errs}  (run /quickbar where)`)
    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.

plugins/quickbar/hooks/register.tsx lines 154–281 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    // Other plugins may draw in this band too: draw ours under whatever the chain beneath returns.
    const below = await next(e)
    const mine = await (async (): Promise<RenderElement | null> => {
      if (e.props.hasSurvey || (await read($, hidden))) return null

      const { Box, Button, Text } = $.ui.resolve(e)
      const cfg = await read($, config)
      const errs = await read($, errors)
      const st = resolveStyle(cfg?.style)

      // A pill is one single-row Button on a colored Box. Claude Code highlights a Button under the pointer by
      // inverting it, and only a single-row Button inverts as a whole (a taller one inverts only its first row,
      // stacked Buttons row by row), so pills are one row tall and carry no hover colors of their own.
      // A select in peek mode puts its pill in a hover scope that only reveals its options row.
      const pill = (key: string, label: string, bg: string, onPress: () => unknown, hotkey?: string, scope?: string) => {
        const pad = ' '.repeat(st.paddingX)
        // A plain Button with a hotkey is drawn as "e: label": the "e:" takes two of the left padding columns,
        // so the pill keeps its width and the label stays centered.
        const left = hotkey ? ' '.repeat(Math.max(1, st.paddingX - 2)) : pad
        return (
          <Box key={`pill-${key}`} backgroundColor={bg} marginRight={st.gap} {...(scope ? { hover: { scope } } : {})}>
            <Button key={key} plain label={`${left}${label}${pad}`} onPress={() => void onPress()} {...(hotkey ? { hotkey } : {})} />
          </Box>
        )
      }

    // Not loaded yet (drawn before session.start finished): draw nothing and make sure a load is on its way.
      if (!cfg && errs.length === 0) {
        if (!loading) loading = load($).finally(() => { loading = undefined })
        return null
      }

      if (!cfg) {
        return (
          <Box key="quickbar-error">
            {pill('error', `quickbar: ${errs.length} config error${errs.length === 1 ? '' : 's'}, press for details`, ERROR_COLOR,
              () => $.ui.toast(`${errs.slice(0, 3).join(' · ')}  (run /quickbar where)`, { timeoutMs: 10000 }))}
          </Box>
        )
      }

      const errLine = errs.length > 0 ? <Text dimColor>{`quickbar: ${errs[0]}`}</Text> : null
      const table = $.ui.resolve(e)

      // Hover navigation is opt-in: its Client tracks the pointer, which takes over text selection in the terminal.
      if (cfg.navigation === 'hover' && (e.surface === 'terminal' || e.surface === 'desktop') && 'Client' in table) {
        const { Client } = table
        const props: BarProps = { buttons: cfg.buttons, style: st, columns: e.props.bodyColumns }
        return (
          <Box key="quickbar" flexDirection="column">
            <Client key="bar" module="./bar.tsx" props={props} />
            {errLine}
          </Box>
        )
      }

      // Click navigation (the default, and VS Code): the same layout drawn with Buttons.
      const view = { open: await read($, open), path: await read($, path) }
      const l = layout(cfg.buttons, st, view, e.props.bodyColumns)
      const press = (p: Pill) => async () => {
        const act = activate(view, p)
        await update($, open, () => act.view.open)
        await update($, path, () => [...act.view.path])
        if (act.kind === 'deliver') {
          const b = cfg.buttons[act.button]
          if (b) await deliver($, b, chosen(b, act.path))
        }
      }
      const isPeek = cfg.navigation === 'peek'
      const scopeOf = (i: number) => `quickbar-select-${i}`
      const drawLine = (line: (typeof l.lines)[number], onPress: (p: Pill) => () => Promise<void>, prefix = '') => (
        <Box key={`${prefix}line-${line.y}`}>
          {line.pills.map(p => pill(`${prefix}${p.id}`, p.label, p.color, onPress(p),
            p.kind === 'button' ? cfg.buttons[p.index]?.hotkey : undefined,
            isPeek && p.kind === 'button' && p.hasChildren && view.open !== p.index ? scopeOf(p.index) : undefined))}
        </Box>
      )
      const barStart = l.lines.findIndex(line => line.pills.some(p => p.kind === 'button'))

      // Peek: each closed select's first level, hidden right above the bar and revealed by hovering the select
      // (a hover style, no pointer tracking). The revealed row shares the select's hover scope, so moving onto
      // it keeps it open; a click there works like click navigation.
      const peeks = isPeek
        ? cfg.buttons.flatMap((b, i) => {
          if (!b.options || view.open === i) return []
          const pv = { open: i, path: [] as number[] }
          const pl = layout(cfg.buttons, st, pv, e.props.bodyColumns)
          const rows = pl.lines.filter(line => line.pills.every(p => p.kind !== 'button'))
          // Right above its own select: shifted to the select's column, as far as the row still fits.
          const selectX = l.lines.flatMap(line => line.pills).find(p => p.id === `b${i}`)?.x ?? 0
          const rowWidth = Math.max(0, ...rows.map(line => {
            const last = line.pills[line.pills.length - 1]
            return last ? last.x + last.width : 0
          }))
          const shift = Math.max(0, Math.min(selectX, e.props.bodyColumns - rowWidth))
          const pressPeek = (p: Pill) => async () => {
            const act = activate(pv, p)
            await update($, open, () => act.view.open)
            await update($, path, () => [...act.view.path])
            if (act.kind === 'deliver') await deliver($, b, chosen(b, act.path))
          }
          return [(
            <Box key={`peek-${i}`} flexDirection="column" marginLeft={shift} display="none" hover={{ display: 'flex', scope: scopeOf(i) }}>
              {rows.map(line => drawLine(line, pressPeek, `p${i}-`))}
            </Box>
          )]
        })
        : []

      return (
        <Box key="quickbar" flexDirection="column">
          {l.lines.slice(0, barStart).map(line => drawLine(line, press))}
          {peeks}
          {l.lines.slice(barStart).map(line => drawLine(line, press))}
          {errLine}
        </Box>
      )
    })()
    if (!mine) return below
    const { Box } = $.ui.resolve(e)
    return (
      <Box key="quickbar-stack" flexDirection="column">
        {below}
        {mine}
      </Box>
    )
  })
Licence text (MIT)
MIT License

Copyright (c) 2026 Hugo Amadio

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: Band above the prompt, Add a slash command

What its code calls

writes filesenv varsdrives Claude

What its code shows

Read from the source at commit 53da77cdea66 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/quickbar/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.5 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 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.prompt.submit (as the person), adds command quickbar
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: command.run (quickbar) · reads: ui.message · also: session.start, ui.render (AbovePrompt), session.end · timers: 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, USERPROFILE; files: a path computed at run time, its own folder/defaults/…; 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: a path computed at run time; 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 hugoamadio/claude-quickbar
/plugin install quickbar@claude-quickbar
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (53da77cdea66). 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/hugoamadio/claude-quickbar
git -C claude-quickbar checkout 53da77cdea660dae6a87d162ba775bbcfe0ac7ea
claude plugin validate claude-quickbar/plugins/quickbar
claude --plugin-dir claude-quickbar/plugins/quickbar

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