modscode JA

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.

Code you can checkTerminal + desktopPaneBandToastBoxButtonInputText

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)

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 readEvery module hooks/hooks.json names was read.hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.2 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, the same in both
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).hooks/register.tsx:797 open (not on Windows); hooks/register.tsx:800 open (not on Windows)
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.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 sendsWhether it both reads files or environment variables and reaches the network.reads environment variables and files and reaches the network
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

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@buildreel

This 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 it

Search them from Claude: the MCP connector

Similar designs