modscode / Gallery / buildreel
buildreel
Turns your Claude Code session into a 30-second build-in-public video: it records the moments, films your app, and gives you an editing table before anything is shared.
What it does
- Draws a band above the prompt, a pane, toasts
- Adds /reel
- Watches tool calls
- Hooks session.append, session.start
- Starts processes
Good points
- No network calls
- 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 buildreel by Meffysto (pane, band, toast), as modscode read it from the mod's code:
// https://modscode.com/gallery/menufactory43-buildreel/
// 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 length = '…'
const shots = '…'
return (
<Box flexDirection="column">
<Box>
<Text color="red" bold>
● REC
{" "}
</Text>
<Text dimColor>
0
{" · "}
{length}
{" "}
moments
{" · "}
{`${shots}`}
{" ·"}
{" "}
</Text>
<Text>
/reel to edit
</Text>
</Box>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "Buildreel" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button, Input } = $.ui.resolve(e)
const project = '…'
const plans = '…'
const local = '…'
const status = '…'
const name = '…'
const untitled = '…'
const clockTime = '…'
const startLabel = '…'
const clockTime2 = '…'
const label = '…'
const captionOf = '…'
const caption = '…'
const value = '…'
const post = '…'
return (
<Box flexDirection="column">
<Text bold>
{project}
{" · "}
{`${plans}`}
</Text>
<Text dimColor>
{`${local}`}
</Text>
<Text color="yellow">
{status}
</Text>
<Text>
{" "}
</Text>
<Box>
<Text>
Cuts
{" "}
</Text>
<Box>
<Button variant="primary" label={`${name} ✓`} />
<Text>
{" "}
</Text>
</Box>
<Box>
<Button variant="primary" label={`${name} ✓`} />
<Text>
{" "}
</Text>
</Box>
<Box>
<Button variant="primary" label={`${name} ✓`} />
<Text>
{" "}
</Text>
</Box>
<Button label="+ New cut" />
<Text>
{" "}
</Text>
<Button label="↻ Let Claude pick" />
</Box>
<Input label="Name of the cut" value={`${untitled}`} submitLabel="keep" />
<Text>
{" "}
</Text>
<Box>
<Text>
Start
{" "}
</Text>
<Button label="◀" />
<Text>
{" "}
{clockTime}
{" "}
{startLabel}
{" "}
</Text>
<Button label="▶" />
</Box>
<Box>
<Text>
End
{" "}
</Text>
<Button label="◀" />
<Text>
{" "}
{clockTime2}
{" "}
· end of the session
{" "}
</Text>
<Button label="▶" />
</Box>
<Text>
{" "}
</Text>
<Box>
<Button plain label="[x]" />
<Button plain label={`${label}`} />
</Box>
<Box>
<Button plain label="[x]" />
<Button plain label={`${label}`} />
</Box>
<Box>
<Button plain label="[x]" />
<Button plain label={`${label}`} />
</Box>
<Text>
{" "}
</Text>
<Input label={`${captionOf}`} value={`${caption}`} submitLabel="keep" />
<Text>
{" "}
</Text>
<Box>
<Button variant="primary" label="Rendering…" />
<Text>
{" "}
</Text>
<Button label="Open" />
<Text>
{" "}
</Text>
<Button label="Show in Finder" />
</Box>
<Box flexDirection="column">
<Text>
{" "}
</Text>
<Text bold>
Post for X
</Text>
<Text>
{post}
</Text>
<Button label="Copy the post" />
</Box>
</Box>
)
})
on('session.start', async ($, e, next) => {
const recipeBy = '…'
const serverOff = '…'
await $.ui.toast(`${recipeBy}`)
await $.ui.toast(`${serverOff}`)
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.
hooks/register.tsx lines 606–623 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
const session = await read($, sessionRef)
if (!active || !session || session.moments.length === 0 || e.props.hasSurvey) return next(e)
const t = UI[lang]
const { Box, Text } = $.ui.resolve(e)
const shots = session.moments.filter(m => m.kind === 'capture').length
return (
<Box>
<Text color="red" bold>
● REC{' '}
</Text>
<Text dimColor>
{formatDuration(activeTime([session.startedAt, ...session.moments.map(m => m.at)]), lang)} · {session.moments.length} {t.moments} · {t.shots(shots)} ·{' '}
</Text>
<Text>{t.toEdit}</Text>
</Box>
)
})hooks/register.tsx lines 625–784 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const t = UI[lang]
const { Box, Text, Button } = $.ui.resolve(e)
const Input = e.surface !== 'mobile' ? $.ui.resolve(e).Input : null
const Image = e.surface === 'terminal' ? $.ui.resolve(e).Image : null
const session = await read($, sessionRef)
const edit = await read($, editRef)
if (!active) return <Text dimColor>{t.notProject}</Text>
if (!session) return <Text dimColor>{t.noSession}</Text>
const cuts = await read($, cutsRef)
const rendering = await read($, renderingRef)
const scenes = buildScenes(session, edit.from, lang, edit.to, edit.picks)
const kept = applyEdit(scenes, edit)
const selected = scenes.find(s => s.id === edit.selected) ?? scenes[0]!
const points = startPoints(session)
const start = edit.from ?? session.startedAt
const startMoment = session.moments.find(m => m.at === start)
const set = (fn: (edit: Edit) => Edit) => update($, editRef, fn)
const lastAt = session.moments.at(-1)?.at ?? session.startedAt
const moveStart = (step: number) =>
set(ed => {
const allowed = points.filter(p => ed.to === null || p < ed.to)
const i = Math.max(0, allowed.indexOf(ed.from ?? session.startedAt))
const at = allowed[Math.min(allowed.length - 1, Math.max(0, i + step))] ?? session.startedAt
return { ...ed, from: at === session.startedAt ? null : at }
})
// La fin se règle sur les mêmes repères ; tout au bout, c'est « fin de la session » (null).
const moveEnd = (step: number) =>
set(ed => {
const begin = ed.from ?? session.startedAt
const allowed = [...points.filter(p => p > begin), lastAt].filter((p, i, all) => all.indexOf(p) === i)
const i = ed.to === null ? allowed.length - 1 : Math.max(0, allowed.indexOf(ed.to))
const at = allowed[Math.min(allowed.length - 1, Math.max(0, i + step))] ?? lastAt
return { ...ed, to: at === lastAt ? null : at }
})
const endMoment = edit.to === null ? null : session.moments.find(m => m.at === edit.to)
let thumb: string | null = null
if (selected.thumb && Image) {
try {
thumb = ((await $.fs.read(selected.thumb, { as: 'bytes' })) as { base64: string }).base64
} catch {
thumb = null
}
}
const label = (scene: Scene, i: number) =>
`${scene.id === selected.id ? '›' : ' '} ${i + 1}. ${t.kind[scene.kind]}${scene.chip ? ` ${scene.chip}` : ''} · ${
edit.captions[scene.id] ?? scene.caption
}`
const startLabel =
startMoment?.kind === 'commit'
? `· ${startMoment.label}`
: start === session.startedAt
? `· ${t.sessionStart}`
: `· ${t.capture}`
return (
<Box flexDirection="column">
<Text bold>
{session.project} · {t.plans(kept.length, Math.round(runtime(kept)))}
</Text>
<Text dimColor>{t.local(tilde(session.dir))}</Text>
{edit.status && <Text color={rendering ? 'yellow' : edit.output ? 'green' : undefined}>{edit.status}</Text>}
<Text> </Text>
<Box>
<Text>{t.cuts} </Text>
{cuts.map(cut => (
<Box key={`cutbox-${cut.id}`}>
<Button
key={`cut-${cut.id}`}
variant={cut.id === edit.cutId ? 'primary' : 'secondary'}
label={`${cut.name}${cut.output ? ' ✓' : ''}`}
onPress={() => set(() => ({ ...cut, cutId: cut.id, status: cut.output ? t.ready(tilde(cut.output)) : null }))}
/>
<Text> </Text>
</Box>
))}
<Button
key="new-cut"
label={t.newCut}
onPress={async () => {
await set(() => ({ ...emptyEdit }))
void direct($)
}}
/>
<Text> </Text>
<Button key="direct" label={t.direct} onPress={() => void direct($)} />
</Box>
{Input && (
<Input
key="cut-name"
label={t.cutName}
value={edit.name ?? t.untitled(cuts.length + (edit.cutId ? 0 : 1))}
submitLabel={t.keep}
onSubmit={(value: string) => set(ed => ({ ...ed, name: value.trim() || null }))}
/>
)}
<Text> </Text>
<Box>
<Text>{t.start} </Text>
<Button key="from-prev" label="◀" onPress={() => moveStart(-1)} />
<Text>
{' '}
{clockTime(start)} {startLabel}{' '}
</Text>
<Button key="from-next" label="▶" onPress={() => moveStart(1)} />
</Box>
<Box>
<Text>{t.end} </Text>
<Button key="to-prev" label="◀" onPress={() => moveEnd(-1)} />
<Text>
{' '}
{clockTime(edit.to ?? lastAt)}{' '}
{edit.to === null
? `· ${t.sessionEnd}`
: endMoment?.kind === 'commit'
? `· ${endMoment.label}`
: `· ${t.capture}`}{' '}
</Text>
<Button key="to-next" label="▶" onPress={() => moveEnd(1)} />
</Box>
<Text> </Text>
{scenes.map((scene, i) => {
const isKept = !edit.dropped.includes(scene.id)
return (
<Box key={`row-${scene.id}`}>
<Button
key={`keep-${scene.id}`}
plain
label={isKept ? '[x]' : '[ ]'}
onPress={() =>
set(ed => ({
...ed,
dropped: isKept ? [...ed.dropped, scene.id] : ed.dropped.filter(id => id !== scene.id),
}))
}
/>
<Button
key={`sel-${scene.id}`}
plain
label={label(scene, i)}
onPress={() => set(ed => ({ ...ed, selected: scene.id }))}
/>
</Box>
)
})}
<Text> </Text>
{Input && (
<Input
key="caption"
label={t.captionOf(scenes.indexOf(selected) + 1)}
value={edit.captions[selected.id] ?? selected.caption}
submitLabel={t.keep}
onSubmit={(value: string) =>
set(ed => ({ ...ed, captions: { ...ed.captions, [selected.id]: value.trim() } }))
}Licence text (MIT)
MIT License Copyright (c) 2026 Meffysto 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
runs programswrites filesenv varsdrives Claudetool calls
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 a137942df71b 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.hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.2 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.listed in its repository's .claude-plugin/marketplace.json: installs from there |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).hooks/register.tsx:797 open (not on Windows); hooks/register.tsx:800 open (not on Windows) |
| Network | Whether every fetch names its https host in the code.no network |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.hooks/register.tsx:255 node (a shell or interpreter); hooks/register.tsx:300 node (a shell or interpreter); hooks/register.tsx:338 node (a shell or interpreter); hooks/register.tsx:368 node (a shell or interpreter); hooks/register.tsx:461 node (a shell or interpreter) |
| 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 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 menufactory43/buildreel/plugin install buildreel@buildreelThis installs the marketplace's latest commit, which may not be the one read here (a137942df71b). Compare them before you install.
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 "menufactory43-buildreel" with its code and make me a pane like itSearch them from Claude: the MCP connector
Similar designs
-
Ask Claude…2h 10m · █████░░░✓ build ✓ build ✓ buildJavaKotlin3 Python■ ok 3 ■ ok 3 ■ ok 3 Razor proven 3 Razor proven 3 Razor proven 3Phases ──────── 3/3build Pythonbuild Pythonbuild Python… 3 more phasesLua ──────── 3/Kotlin■ the whole upgrade Ruby■ build build Ruby■ build build Ruby■ build build Ruby … 3 moreNext ──────── PythonRuby (by hand)Podsclick a button, or ctrl+x tab then Tab, EnterAttention ──────── 3! Scala ! Scala ! Scala … 3 moreSession ──────── okJava
-
slop Edit1 of 3accepteditrejectAsk Claude…
-
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
-
Ask Claude…agent-discoverbuildbuildbuildRefreshMCP Browse/3Tab / shift+Tab move · Enter presses · ↑↓ scroll · Esc back to the promptBrowse...Audit asks:DeclineAcceptDeclineCancelAudit asks:DeclineAcceptDeclineCancelAudit asks:DeclineAcceptDeclineCancel
-
Ask Claude…Fanyi settingsOnAPI · OpusenOn this MacAPIHost src/ SaveKey K · paste a new one, Enter SaveOpus↻ RefreshCustom model model id, for an API that lists none UseFanyi settingsHostClose
-
Ask Claude…Glossary BrowserGlossary openContextsContextsContexts▲ prevWrite1/Glossary▼ nextContexts