lubbdubb
LubbDubb at your keyboard: its skills, its desktop tool channel, and a notice board above the prompt.
What it does
- Draws a band above the prompt, a pane, toasts
- Adds /board, /panel
- Hooks session.end, session.start, ui.close
- Keeps its own state between turns
- Calls the network
Good points
- Starts no processes
- Written in TypeScript
- Has a desktop-specific branch
- Handles errors
Code to start from
Two kinds: a starter modscode writes from the design above, and the lines of the mod's own code that draw it.
Starter (register.tsx)
import type { Register } from 'claude-code'
// Drawn like lubbdubb by AdamAwan (pane, band, toast), as modscode read it from the mod's code:
// https://modscode.com/gallery/adamawan-lubbdubb/
// 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, Button } = $.ui.resolve(e)
const text = '…'
return (
<Box flexDirection="column">
<Box borderStyle="round" borderDimColor paddingX={1} gap={1}>
<Text color="yellow">
■
</Text>
<Text bold>
LubbDubb
</Text>
<Text>
{`${text}`}
</Text>
<Text>
{`${text}`}
</Text>
<Text>
{`${text}`}
</Text>
<Button plain label="Work through asks" />
<Button plain dimColor label="Hide panel" />
<Button plain dimColor label="Hide" />
</Box>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "LubbDubb" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Svg, Text, Button, Link } = $.ui.resolve(e)
const logoSvg = '…'
const length = '…'
const cap = '…'
const mark = '…'
const href = '…'
const label = '…'
const meta = '…'
const mark2 = '…'
const meta2 = '…'
const mark3 = '…'
const meta3 = '…'
const length2 = '…'
const mark4 = '…'
const meta4 = '…'
const mark5 = '…'
const meta5 = '…'
const mark6 = '…'
const meta6 = '…'
const running = '…'
const waiting = '…'
const mark7 = '…'
const meta7 = '…'
const mark8 = '…'
const meta8 = '…'
const mark9 = '…'
const meta9 = '…'
const length3 = '…'
const mark10 = '…'
const meta10 = '…'
const mark11 = '…'
const meta11 = '…'
const mark12 = '…'
const meta12 = '…'
return (
<Box flexDirection="column" gap={1}>
<Box gap={2} alignItems="center">
<Svg source={`${logoSvg}`} alt="LubbDubb" width={44} height={44} isInteractive />
<Box flexDirection="column" flexGrow={1}>
<Text bold>
Lubb
<Text color="red">
Dubb
</Text>
</Text>
<Box justifyContent="space-between">
<Box gap={1}>
<Text color="yellow">
■
</Text>
<Text bold>
Paused
</Text>
<Text dimColor>
{`· ${length} of ${cap} slots`}
</Text>
</Box>
<Button hotkey="p" label="Resume" />
</Box>
</Box>
</Box>
<Box flexDirection="column">
<Box justifyContent="space-between">
<Box gap={1}>
<Text bold>
Needs you
</Text>
<Text dimColor>
{length}
</Text>
</Box>
<Button hotkey="n" variant="primary" label="Work through asks" />
</Box>
<Text dimColor>
Nothing waiting on you.
</Text>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark2}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta2}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark3}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta3}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Text dimColor>
{` +${length} more`}
</Text>
</Box>
<Box flexDirection="column">
<Box justifyContent="space-between">
<Box gap={1}>
<Text bold>
Features
</Text>
<Text dimColor>
{`${length} in progress`}
</Text>
</Box>
</Box>
</Box>
<Box flexDirection="column">
<Box justifyContent="space-between">
<Box gap={1}>
<Text bold>
Pull requests
</Text>
<Text dimColor>
{length2}
</Text>
</Box>
</Box>
<Text dimColor>
No open pull requests.
</Text>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark4}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta4}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark5}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta5}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark6}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta6}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Text dimColor>
{` +${length} more`}
</Text>
</Box>
<Box flexDirection="column">
<Box justifyContent="space-between">
<Box gap={1}>
<Text bold>
Fleet
</Text>
<Text dimColor>
{`${running} running · ${waiting} waiting`}
</Text>
</Box>
</Box>
<Text dimColor>
No agents out.
</Text>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark7}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta7}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark8}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta8}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark9}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta9}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
</Box>
<Box flexDirection="column">
<Box justifyContent="space-between">
<Box gap={1}>
<Text bold>
Up next
</Text>
<Text dimColor>
{length3}
</Text>
</Box>
</Box>
<Text dimColor>
Queue is empty.
</Text>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark10}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta10}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark11}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta11}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
<Box justifyContent="space-between">
<Box gap={1}>
<Text>
{mark12}
</Text>
<Text>
<Link href={`${href}`} label={`${label}`} />
</Text>
</Box>
<Box gap={1}>
<Text>
{meta12}
</Text>
<Button plain dimColor label={`${label}`} />
</Box>
</Box>
</Box>
</Box>
)
})
on('session.start', async ($, e, next) => {
const title = '…'
await $.ui.toast(`LubbDubb: ${title}`)
await $.ui.toast(`LubbDubb: the prompt box did not take it`)
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.
plugin/hooks/register.tsx lines 208–246 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
const now = await read($, board)
if (e.props.hasSurvey || now === null || (await read($, isHidden))) return next(e)
const { Box, Button, Text } = $.ui.resolve(e)
const paneOpen = await read($, isPaneOpen)
const theirs = await next(e)
return (
<Box flexDirection="column">
<Box key="band" borderStyle="round" borderDimColor paddingX={1} gap={1}>
<Text color={now.paused ? 'yellow' : 'green'}>{now.paused ? '■' : '●'}</Text>
<Text bold>LubbDubb</Text>
{bandParts(now).map((part, i) => {
const color = part.tone === undefined ? undefined : TONE[part.tone].color
return (
<Text key={`part-${i}`} color={color} dimColor={color === undefined}>
{`${i === 0 ? '' : '· '}${part.text}`}
</Text>
)
})}
{now.notices.length > 0 && (
<Button key="next" plain label="Work through asks" onPress={draft($, '/lubbdubb:next')} />
)}
<Button
key="toggle-panel"
plain
dimColor
label={paneOpen ? 'Hide panel' : 'Show panel'}
onPress={() =>
void act($, paneOpen ? 'LubbDubb panel hidden' : 'LubbDubb panel opened', () =>
paneOpen ? closePane($) : openPane($),
)
}
/>
<Button key="hide" plain dimColor label="Hide" onPress={() => update($, isHidden, () => true)} />
</Box>
{theirs}
</Box>
)
})plugin/hooks/register.tsx lines 248–407 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const { Box, Text, Button, Link } = $.ui.resolve(e)
const now = await read($, board)
const width = Math.max(24, e.props.bodyColumns)
const logo = (alive: boolean) => {
if (width < LOGO_MIN_WIDTH) return null
if (e.surface === 'terminal') {
const { Raster } = $.ui.resolve(e)
return <Raster key={LOGO_KEY} columns={LOGO_COLUMNS} rows={LOGO_ROWS} cells={logoCells(alive ? beat : null)} />
}
const { Svg } = $.ui.resolve(e)
return <Svg source={logoSvg(alive)} alt="LubbDubb" width={44} height={44} isInteractive />
}
const wordmark = (
<Text bold>
Lubb<Text color="red">Dubb</Text>
</Text>
)
if (now === null) {
return (
<Box gap={2} alignItems="center">
{logo(false)}
<Text dimColor>{`LubbDubb is not answering at ${where.url}.`}</Text>
</Box>
)
}
const header = (label: string, count: string, action?: unknown) => (
<Box justifyContent="space-between">
<Box gap={1}>
<Text bold>{label}</Text>
<Text dimColor>{count}</Text>
</Box>
{action}
</Box>
)
const row = (r: {
id: string
mark: string
markColor?: string
title: string
meta: string
metaColor?: string
onPress?: () => void
href?: string | null
action?: { label: string; onPress: () => void }
}) => {
const room = Math.max(8, width - r.meta.length - (r.action ? r.action.label.length + 1 : 0) - 4)
const label = clip(r.title, room)
return (
<Box key={r.id} justifyContent="space-between">
<Box gap={1}>
<Text color={r.markColor} dimColor={r.markColor === undefined}>
{r.mark}
</Text>
{r.href ? (
<Text>
<Link href={r.href} label={label} />
</Text>
) : r.onPress ? (
<Button key={`${r.id}-go`} plain label={label} onPress={r.onPress} />
) : (
<Text>{label}</Text>
)}
</Box>
<Box gap={1}>
<Text color={r.metaColor} dimColor={r.metaColor === undefined}>
{r.meta}
</Text>
{r.action && <Button key={`${r.id}-action`} plain dimColor label={r.action.label} onPress={r.action.onPress} />}
</Box>
</Box>
)
}
const featureRow = (f: Feature) => {
const filled = Math.round((f.delivered / f.total) * BAR)
const going = Math.min(BAR - filled, Math.round((f.inFlight / f.total) * BAR))
const tally = `${f.delivered}/${f.total}`
const room = Math.max(8, width - BAR - tally.length - 5)
return (
<Box key={`feature-${f.number}`} justifyContent="space-between">
<Box gap={1}>
<Text color={f.blocked > 0 ? 'red' : undefined} dimColor={f.blocked === 0}>
{f.blocked > 0 ? '!' : '·'}
</Text>
<Button
key={`feature-${f.number}-ask`}
plain
label={clip(f.title, room)}
onPress={draft($, `/lubbdubb:feature ${f.number}`)}
/>
</Box>
<Box gap={1}>
<Text>
<Text color="green">{'━'.repeat(filled)}</Text>
<Text color="yellow">{'━'.repeat(going)}</Text>
<Text dimColor>{'─'.repeat(BAR - filled - going)}</Text>
</Text>
<Text dimColor>{tally}</Text>
</Box>
</Box>
)
}
const waiting = now.agents.filter(a => a.isWaiting).length
const running = now.agents.length - waiting
return (
<Box flexDirection="column" gap={1}>
<Box gap={2} alignItems="center">
{logo(true)}
<Box flexDirection="column" flexGrow={1}>
{wordmark}
<Box justifyContent="space-between">
<Box gap={1}>
<Text color={now.paused ? 'yellow' : 'green'}>{now.paused ? '■' : '●'}</Text>
<Text bold>{now.paused ? 'Paused' : 'Running'}</Text>
<Text dimColor>{`· ${now.agents.length} of ${now.cap} slots`}</Text>
</Box>
<Button
key="pause"
hotkey="p"
label={now.paused ? 'Resume' : 'Pause'}
onPress={() =>
void act($, now.paused ? 'Fleet resumed' : 'Fleet paused', () => setPaused($, where, !now.paused))
}
/>
</Box>
</Box>
</Box>
<Box flexDirection="column">
{header(
'Needs you',
String(now.notices.length),
now.notices.length > 0 && (
<Button
key="next"
hotkey="n"
variant="primary"
label="Work through asks"
onPress={draft($, '/lubbdubb:next')}
/>
),
)}
{now.notices.length === 0 && <Text dimColor>Nothing waiting on you.</Text>}
{now.notices.slice(0, 5).map(n =>
row({
id: `ask-${n.id}`,
mark: n.urgent ? '!' : '·',
markColor: n.urgent ? 'red' : undefined,
title: n.title,
meta: n.kind,
onPress: draft($, `/lubbdubb:next ${n.id}`),
}),
)}Licence text (MIT)
MIT License Copyright (c) 2026 Adam Awan 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.
What its code calls
networkreads filesenv varsremembers
The design, read from code
Drawn from the mod's source at the commit read, not from a run: a list is drawn three times, a condition takes its first branch that draws in the desktop app, and a value only the run time knows is shown as a made-up sample (dotted underline) or left out. Colours and type are this site's.
What its code shows
Read from the source at commit c0c2440388d8 on 2026-10-06. 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 read | Every module hooks/hooks.json names was read.plugin/hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.3 files parsed |
| All its code is in the mod | Every import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod |
| Readable | No 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 open | Network 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 draws | The 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 line | Whether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.its repository's .claude-plugin/marketplace.json does not list it: no install line to give |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks |
| Network | Whether every fetch names its https host in the code.plugin/hooks/register.tsx:55 fetch(`${where.url}/api/state?sections=asks,control,flee); plugin/hooks/register.tsx:56 fetch(`${where.url}/api/features`); plugin/hooks/register.tsx:113 fetch(`${where.url}/api/control`) |
| Programs | Whether 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 sends | Whether it both reads files or environment variables and reaches the network.reads environment variables and files and reaches the network |
| Keys in the source | Whether the source holds what looks like an API key or a private key.no keys in the source |
| Licence | An 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 |
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 the code below (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.
Its repository's .claude-plugin/marketplace.json does not list it, so there is no install line to give. Read it as code, or follow its author's README.
Ask Claude about it
With the modscode connector added, Claude can read this design, what its code reaches and its code, and build on them. Ask it like this:
Read the modscode design "adamawan-lubbdubb" with its code and make me a pane like itSearch them from Claude: the MCP connector
Similar designs
-
Ask Claude…Fix loginRemoveCopy markdownacme/app · mainCopy linkCopy markdownbuild2h 10mbuild2h 10mbuild2h 10mHosted on uploads.sh, not committed to the repo.They will appear in a comment on the pull request once opened.
-
✦ explain as pick how Claude answers×3 ● build3 ● build3 ● build▸ VideoAsk Claude…
-
Ask Claude…YouTube Side Player1 Player2 Position (top-right)3 build4 buildScreen Radar: [top-right]Inline · unknown: not detected yetInstall inline video (yt-dlp + ffmpeg, ~100 MB) [i] i● PLAYING INLINE · TOP-RIGHT () · MEDIUMFix loginChannel: alex · ID: a1b2c3dOpen on YouTube
-
Ask Claude…Session inboxK build 3K build 3K build 3Nothing is waiting on you.Running 3● build example.com● build example.com● build example.com▸ Fix login 3✓ Done✓ Done✓ Done▸ Fix login 3OpportunityOpportunityOpportunityokupdate failed, retries after the next reply
-
What it does
- Draws a band above the prompt, a pane
- Adds /progress
- Watches tool calls and can refuse them
- Hooks classic.SessionStart, prompt.compose, prompt.submit, session.start and 2 more
-
Ask Claude…Skins0 Your promptadd rate limiting to the hub api0 Tool rows: finished, running, failedYour prompt Spinner0 Folded group of reads and searches●main · note 3 · note 3 · note 30 Edit diff cardDesktop only; the terminal keeps Claude Code's diff.0 Shell output cardDesktop only.0 Code block cardDesktop only; the terminal keeps Claude Code's markdown.0 TableAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentCopyAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentCopyAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentAccentCopy0 SpinnerAccent SpinnerSpinnerSpinner… 2h 10m0 Band above the prompt: normal, then nudging to compact█████░░░ 42% build█████░░░ 42% build█████░░░ 42% buildContext is 42% full0 Compact now0 Band above a questionTable BashBashBash0 Turn footer (terminal)3 build in 2h 10m · Grep · +3 −3