Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / glanceflow

glanceflow

GlanceFlow: see what Claude is doing, at a glance. Hides tool rows and shows one plain-English checklist above the prompt, with progress, helpers, history, a team report, pause and continue, and a password guard.

Code you can checkTerminal + desktopPaneBandToastBoxButtonMarkdownSelectText
runs programs, drives Claude, draws

What it does

  • Draws a pane, a band above the prompt, toasts
  • Watches tool calls and can refuse them
  • Hooks agent.spawn, classic.Notification, classic.Stop, classic.StopFailure and 8 more
  • Keeps its own state between turns
  • Starts processes

Good points

  • No network calls
  • Written in TypeScript
  • Has a desktop-specific branch
  • Handles errors

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 glanceflow by Antreas-Strb (pane, band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/antreas-strb-glanceflow/
// 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 pane: open it with $.ui.open({ id: 'my-pane', title: "History · ‹projectName›" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const projectName = '…'
    const longDay = '…'
    const dayLabel = '…'
    const title = '…'
    const clockTime = '…'
    const stepsDone = '…'
    const stepsTotal = '…'
    const filter = '…'
    const files = '…'
    const title2 = '…'
    const clockTime2 = '…'
    const files2 = '…'
    const title3 = '…'
    const clockTime3 = '…'
    const files3 = '…'
    const total = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="column" marginBottom={1}>
          <Text bold wrap="truncate-end">
            {`${projectName} · ${longDay}`}
          </Text>
          <Box flexDirection="row" gap={1} alignItems="center">
            <Button label="Previous day" />
            <Text bold>
              {dayLabel}
            </Text>
            <Button label="Next day" />
            <Button label="Today" />
          </Box>
        </Box>
        <Box flexDirection="column" marginBottom={1}>
          <Box flexDirection="row" gap={1}>
            <Box flexGrow={1} flexShrink={1} minWidth={0}>
              <Text wrap="truncate-end">
                {title}
              </Text>
            </Box>
            <Box flexShrink={0}>
              <Text dimColor>
                {clockTime}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" gap={1}>
            <Box flexShrink={1}>
              <Text dimColor wrap="wrap">
                {`${stepsDone} of ${stepsTotal} steps · ${filter}`}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" gap={1}>
            <Box flexShrink={1}>
              <Text dimColor wrap="wrap">
                {files}
              </Text>
            </Box>
          </Box>
        </Box>
        <Box flexDirection="column" marginBottom={1}>
          <Box flexDirection="row" gap={1}>
            <Box flexGrow={1} flexShrink={1} minWidth={0}>
              <Text wrap="truncate-end">
                {title2}
              </Text>
            </Box>
            <Box flexShrink={0}>
              <Text dimColor>
                {clockTime2}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" gap={1}>
            <Box flexShrink={1}>
              <Text dimColor wrap="wrap">
                {`${stepsDone} of ${stepsTotal} steps · ${filter}`}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" gap={1}>
            <Box flexShrink={1}>
              <Text dimColor wrap="wrap">
                {files2}
              </Text>
            </Box>
          </Box>
        </Box>
        <Box flexDirection="column" marginBottom={1}>
          <Box flexDirection="row" gap={1}>
            <Box flexGrow={1} flexShrink={1} minWidth={0}>
              <Text wrap="truncate-end">
                {title3}
              </Text>
            </Box>
            <Box flexShrink={0}>
              <Text dimColor>
                {clockTime3}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" gap={1}>
            <Box flexShrink={1}>
              <Text dimColor wrap="wrap">
                {`${stepsDone} of ${stepsTotal} steps · ${filter}`}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="row" gap={1}>
            <Box flexShrink={1}>
              <Text dimColor wrap="wrap">
                {files3}
              </Text>
            </Box>
          </Box>
        </Box>
        <Box marginTop={0}>
          <Text dimColor wrap="wrap">
            {`Total: ${total}`}
          </Text>
        </Box>
        <Box flexDirection="row" gap={1} marginTop={1}>
          <Button variant="secondary" label="Week report" />
          <Button label="All projects this week" />
          <Button label="Close" role="dismiss" />
        </Box>
      </Box>
    )
  })

  // 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 leadOf = '…'
    const TOUR_VECTOR = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="column">
          <Box flexDirection="row" justifyContent="space-between" alignItems="center" columnGap={2}>
            <Box flexShrink={1} flexGrow={1} minWidth={0}>
              <Box flexDirection="row" alignItems="center" gap={1}>
                <Text bold wrap="truncate-end">
                  {leadOf}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="row" alignItems="center" columnGap={1} flexShrink={0} />
          </Box>
          <Box flexDirection="row" alignItems="center" gap={1}>
            <Box flexGrow={1} flexShrink={1} minWidth={0}>
              <Text wrap="wrap">
                {TOUR_VECTOR}
              </Text>
            </Box>
            <Box flexShrink={0} />
          </Box>
          <Box flexDirection="row" alignItems="center" justifyContent="space-between" columnGap={2} rowGap={1} flexWrap="wrap" marginTop={1}>
            <Box flexDirection="row" alignItems="center" columnGap={1}>
              ≣
              ⚙
            </Box>
            <Box flexDirection="row" alignItems="center" justifyContent="flex-end" columnGap={1} flexGrow={1}>
              <Box alignItems="center" marginLeft={1} marginRight={1} />
              <Button label="Skip" />
              <Button variant="primary" label="Got it" />
            </Box>
          </Box>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    await $.ui.toast(`Nothing is running right now.`)
    await $.ui.toast(`Paused. Press Continue to pick up where Claude stopped.`)
    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.

glanceflow/hooks/glance.tsx lines 2533–2692 · Pane
  on('ui.render', { component: 'Pane', requestId: HISTORY_PANE }, async ($, e) => {
    const table = $.ui.resolve(e)
    const { Box, Text, Button } = table
    const kit = kitOf(table, e.surface)
    const vector = kit.isVector
    const view = await read($, historyAtom)
    const columns = Math.max(30, e.props.bodyColumns)
    const today = dayKey(await now($))
    // The app draws a panel's own close control; the terminal's panel needs the button.
    const close = vector ? null : <Button key="close" label="Close" role="dismiss" onPress={() => $.ui.close({ id: HISTORY_PANE })} />
    if (view === null) {
      return (
        <Box flexDirection="column">
          <Text dimColor>Type /glanceflow history to see today's tasks.</Text>
          {close}
        </Box>
      )
    }

    // Day picker: earlier, a drop-down of saved days, later, and today.
    const dayLabel = (day: string) => (vector ? (day === today ? `Today · ${longDay(day)}` : longDay(day)) : day === today ? `Today, ${day}` : day)
    const picker = (
      <Box key="picker" flexDirection="column" marginBottom={1}>
        {/* The app titles the panel "History · <folder>"; the terminal's panel shows the day here too. */}
        {!vector && (
          <Text key="heading" bold wrap="truncate-end">
            {`${projectName(view.project)} · ${longDay(view.day)}`}
          </Text>
        )}
        <Box key="controls" flexDirection="row" gap={1} alignItems={vector ? 'center' : undefined}>
          <Button key="earlier" label={vector ? 'Previous day' : '◀ Earlier'} onPress={() => showHistory($, shiftDay(view.day, -1), false)} />
          {'Select' in table && table.Select ? (
            <table.Select
              key="day"
              // The terminal's Select draws "label: value" itself, so the label carries no colon. The desktop's value
              // already starts with the day ("Today · …"): a label there would stutter.
              label={vector ? undefined : 'Day'}
              value={view.day}
              options={view.days.map(day => ({ value: day, label: dayLabel(day) }))}
              onSelect={day => void showHistory($, day, false)}
            />
          ) : (
            <Text bold>{dayLabel(view.day)}</Text>
          )}
          {view.day < today && (
            <Button key="later" label={vector ? 'Next day' : 'Later ▶'} onPress={() => showHistory($, shiftDay(view.day, 1), false)} />
          )}
          {view.day !== today && <Button key="today" label="Today" onPress={() => showHistory($, today, false)} />}
        </Box>
      </Box>
    )

    const report = reportOf(view)
    if (view.isReportShown) {
      const copy = <Button key="copy" variant="primary" label="Copy report" onPress={() => showReport($, true, report, e.surface)} />
      return (
        <Box flexDirection="column" width={columns}>
          {picker}
          {vector && (
            <Text key="caption" dimColor>
              What you'll paste
            </Text>
          )}
          <Box
            key="report"
            flexDirection="column"
            borderStyle={vector ? 'round' : undefined}
            borderDimColor={vector || undefined}
            paddingX={vector ? 1 : undefined}
            paddingY={vector ? 1 : undefined}
            marginTop={vector ? 1 : undefined}
          >
            {report.split('\n').map((line, index, lines) => (
              // On vector surfaces a section's label (a line a list starts under) reads bold too.
              <Text key={`report-${index}`} bold={index === 0 || (vector && line !== '' && !/^[\s•]/.test(line) && /^•/.test(lines[index + 1] ?? ''))} wrap="wrap">
                {line || ' '}
              </Text>
            ))}
          </Box>
          <Box key="report-actions" flexDirection="row" gap={1} marginTop={1}>
            {vector && <Button key="back" label="Back to the list" onPress={() => showReport($, false, report, e.surface)} />}
            {!vector && copy}
            {view.reportSpan === 'mine' ? null : view.reportSpan === 'week' ? (
              <Button key="span" label={vector ? 'Day report' : 'This day'} onPress={() => showReportSpan($, 'day', e.surface)} />
            ) : (
              <Button key="span" label={vector ? 'Week report' : 'This week'} onPress={() => showReportSpan($, 'week', e.surface)} />
            )}
            {!vector && <Button key="back" label="Back to the list" onPress={() => showReport($, false, report, e.surface)} />}
            {/* Elsewhere than the terminal the main button comes last, as a dialog's does. */}
            {vector && copy}
            {close}
          </Box>
        </Box>
      )
    }

    if (view.entries.length === 0) {
      const words = 'No tasks saved for this project on that day yet.'
      return (
        <Box flexDirection="column" width={columns}>
          {picker}
          {vector ? (
            <Box flexDirection="row" gap={1}>
              {kit.icon('plan', 'quiet', NOTICE)}
              <Text dimColor wrap="wrap">
                {words}
              </Text>
            </Box>
          ) : (
            <Text dimColor>{words}</Text>
          )}
          <Box key="actions" flexDirection="row" gap={1} marginTop={1}>
            <Button key="mine" label={vector ? 'All projects this week' : 'Your week'} onPress={() => showReportSpan($, 'mine', e.surface)} />
            {close}
          </Box>
        </Box>
      )
    }

    const marks: Record<GlanceHistoryEntry['outcome'], [string, string | undefined]> = {
      done: ['✓', 'green'],
      stopped: ['■', undefined],
      stuck: ['⚠', 'yellow'],
      waiting: ['‖', 'yellow'],
      background: ['◷', 'cyan'],
      working: ['▶', 'cyan'],
    }
    const outcomeMark = (outcome: GlanceHistoryEntry['outcome']) =>
      outcome === 'done'
        ? kit.icon('done', 'ok', 'Done')
        : outcome === 'stopped'
          ? kit.badge('stop', 'quiet', 'Stopped')
          : outcome === 'stuck'
            ? kit.badge('bang', 'alert', 'Stuck')
            : outcome === 'waiting'
              ? kit.badge('bell', 'warn', 'Waiting')
              : outcome === 'background'
                ? kit.icon('clock', 'active', 'In the background')
                : kit.ring(null, 0, 'Working')
    const titleWidth = Math.max(12, Math.min(MAX_NAME, columns - 9 - 36))
    const rows = view.entries.map(one => {
      const [mark, color] = marks[one.outcome]
      // Elsewhere than the terminal times read as the report says them ("13 min"), so one job reads one way.
      const took = one.finishedAt === null ? 'not finished' : (vector ? plainDuration : formatDuration)(one.finishedAt - one.startedAt)
      const details = [
        `${one.stepsDone}/${one.stepsTotal}`,
        took,
        tokenNote(one.newTokens + one.cachedTokens, one.cachedTokens),
        typeof one.costUsd === 'number' ? formatCost(one.costUsd) : '',
      ]
        .filter(Boolean)
        .join(' · ')
      const files = filesNote(entryFiles(one))
      if (vector) {
        return (
          <Box key={`job-${one.jobId}`} flexDirection="column" marginBottom={1}>
            <Box key="row" flexDirection="row" gap={1} width={columns}>
              {outcomeMark(one.outcome)}
              <Box flexGrow={1} flexShrink={1} minWidth={0}>
                <Text bold={one.outcome !== 'stopped'} dimColor={one.outcome === 'stopped'} wrap="truncate-end">
glanceflow/hooks/glance.tsx lines 2787–2946 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    if (e.props.hasSurvey) {
      return next(e)
    }
    // Other mods draw in this band too (an approval card, prompt buttons): keep theirs, under ours.
    const beneath = await next(e).catch(() => null)
    const table = $.ui.resolve(e)
    const { Box, Text, Button } = table
    // The desktop app, VS Code and the phone set text in a proportional font and draw vectors: there the band is
    // flex rows with SVG marks and one slim bar. The terminal lines its columns up by cells, with glyphs.
    const kit = kitOf(table, e.surface)
    const vector = kit.isVector
    const isEnabled = await read($, enabledAtom)
    const list = isEnabled ? await read($, checklistAtom) : null
    // Another mod's buttons (Replay, say) sit with GlanceFlow's own actions at the bottom right, in every state of the
    // band; anything else it draws stays under it.
    const lifted = vector && isEnabled ? liftButtons(beneath) : { buttons: [], rest: beneath }
    const kept = lifted.rest as RenderElement | null
    // What is beneath may be the engine's own node, which can't sit under a Box with a width: wrap, don't nest.
    const withBeneath = (tree: RenderElement): RenderElement =>
      kept ? (
        <Box flexDirection="column">
          {tree}
          {kept}
        </Box>
      ) : (
        tree
      )
    const tick = list ? await read($, tickAtom) : 0
    const usage = isEnabled ? await read($, usageAtom) : NO_USAGE
    const isDetailed = isEnabled && (await read($, detailAtom)) === 'detailed'
    const isCalm = isEnabled && (await read($, calmAtom))
    const handoff = isEnabled ? await read($, handoffAtom) : 'idle'
    const armed = isEnabled ? await read($, armedAtom) : null
    const canShip = isEnabled && (await read($, shipOnGithubAtom)) && (await read($, hasGithubAtom))
    const columns = Math.max(20, e.props.bodyColumns)
    const current = await now($)

    // A line of the band on vector surfaces: a mark, then what it says, then anything kept to the right.
    // A box that holds a cut line needs minWidth 0: in the desktop app's flex rows, it would otherwise push past the edge.
    const line = (key: string, mark: RenderChildren, body: RenderChildren, right?: RenderChildren) => (
      <Box key={key} flexDirection="row" alignItems="center" gap={1} width={columns}>
        {mark}
        <Box flexGrow={1} flexShrink={1} minWidth={0}>
          {body}
        </Box>
        {right !== undefined && <Box flexShrink={0}>{right}</Box>}
      </Box>
    )

    // Plan usage, always in view; it turns yellow, then red, as a window fills.
    const warnings: RenderChildren[] = []
    // The other chats on this computer: one that needs the person, in amber, else how many are at work, quietly.
    const others = isEnabled && (await read($, showsOthersAtom)) ? await read($, othersAtom) : []
    const otherWords = otherChatsWords(others)
    // Who needs the person comes first and is never left out for the shorter count after it: cut to whole words instead.
    const otherLine = (room: number) => wholePieces(widthOf(otherWords[0] ?? '') <= room ? otherWords : otherWords.slice(0, 1), room)
    if (otherWords.length > 0) {
      const needsYou = others.some(one => one.needsYou)
      warnings.push(
        vector
          ? line(
              'others',
              kit.icon(needsYou ? 'bell' : 'eye', needsYou ? 'warn' : 'quiet', NOTICE),
              <Text wrap="truncate-end" dimColor={!needsYou}>
                {otherLine(Math.floor(columns / 0.8) - 3)}
              </Text>,
            )
          : (
              <Box key="others" width={columns}>
                <Text wrap="truncate-end" color={needsYou ? 'yellow' : undefined} dimColor={!needsYou}>
                  {needsYou ? `${GLYPH.bell} ${otherLine(columns - 2)}` : otherLine(columns)}
                </Text>
              </Box>
            ),
      )
    }
    // Last row: open the history, or hand this chat off to a fresh one (a second press confirms).
    const list0 = isEnabled ? await read($, checklistAtom) : null
    const canPause =
      runningTurn !== undefined &&
      list0 !== null &&
      (list0.phase === 'working' || list0.phase === 'needsYou') &&
      list0.needsYouReason !== WAITING &&
      list0.approval !== 'waiting'
    // Claude asked something: elsewhere than the terminal Continue would read as a yes, so only an answer moves on.
    const canContinue =
      list0 !== null &&
      (list0.phase === 'stopped' ||
        list0.phase === 'stuck' ||
        (list0.phase === 'needsYou' && list0.needsYouReason === WAITING && !(vector && list0.question)))
    // An action: on the terminal its glyph leads the label. Elsewhere it is the app's own button, so it reads as one
    // at a glance; the one that matters now (Continue, Start) is the primary one.
    const action = (key: string, icon: IconName, label: string, onPress: () => unknown, short?: string, isMain = false) =>
      vector ? (
        <Button key={key} variant={isMain ? 'primary' : 'secondary'} label={label} onPress={onPress} />
      ) : (
        <Button key={key} plain label={short ?? `${GLYPH[icon]} ${label}`} onPress={onPress} />
      )
    const handoffLabel =
      armed === 'handoff' ? 'Press again to start a fresh chat' : handoff === 'working' ? 'Writing a handoff note…' : 'Fresh chat'
    // What steers the job (Pause, Start, Continue); elsewhere than the terminal it sits beside the job's status.
    // Elsewhere than the terminal a stuck job is tried again, and a usage limit won't lift for a press, so that
    // button stays quiet.
    const isStuck = list0?.phase === 'stuck'
    const pauseLabel = 'Pause'
    const isLimitStuck = isStuck && /limit/i.test(list0?.stuckReason ?? '')
    // Beside "try again later" a usage limit's button checks whether it has lifted.
    const continueLabel = vector && isStuck ? (isLimitStuck ? 'Check again' : 'Try again') : 'Continue'
    const controls = isEnabled
      ? [
          canPause && action('pause', 'pause', pauseLabel, () => pauseJob($)),
          list0?.approval === 'waiting' && action('start', 'play', 'Start', () => startPlan($), undefined, true),
          canContinue && action('continue', 'play', continueLabel, () => continueJob($), undefined, !(vector && isLimitStuck)),
        ].filter(Boolean)
      : []
    const tidyAt = isEnabled ? await read($, tidyAtAtom) : 0
    const isChatFull = usage.contextPercent !== null && tidyAt > 0 && usage.contextPercent >= tidyAt
    // A fresh chat ends this one. Elsewhere than the terminal it stands apart from the places to go, and only once the
    // job has stopped or finished (mid-job, Tidy up now is the way to make room), or while a first press waits.
    // While a stopped job's chat is full, Tidy up now is the one way offered to make room.
    const handoffItem =
      list0 !== null &&
      (!vector || list0.phase === 'done' || (list0.phase === 'stopped' && !isChatFull) || handoff === 'working' || armed === 'handoff') &&
      action('handoff', 'fresh', handoffLabel, () => pressHandoff($), handoffLabel === 'Fresh chat' && columns < 40 ? '↻ Fresh' : undefined)
    // Finish on GitHub: once the job is done, one press closes it out; a merged pull request archives the chat.
    const shipItem =
      canShip &&
      (list0?.phase === 'done' || armed === 'ship') &&
      action('ship', 'ship', armed === 'ship' ? 'Press again to ship' : 'Ship it', () => pressTwice($, 'ship', () => shipIt($)), undefined, armed !== 'ship')
    // Where to go from here: the plan, the history, the settings.
    const places = isEnabled
      ? [
          list0?.hasPlan && action('plan', 'plan', 'Plan', () => showPlan($)),
          // ≣, not ☰: Unicode 16 made ☰ two cells wide, and the row shifted in newer terminals.
          action('history', 'history', 'History', () => showHistory($, dayKey(current), true)),
          action('settings', 'sliders', 'Settings', () => showSettings($), columns < 60 ? '⚙' : undefined),
          !vector && handoffItem,
          !vector && shipItem,
        ].filter(Boolean)
      : []
    const actionItems = isEnabled ? [...controls, ...places] : null
    const chatPart = usage.contextPercent === null ? '' : `chat ${Math.round(usage.contextPercent)}% full`
    const usageParts = [
      ...usage.limits.map(one => `${one.label} ${Math.round(one.percent)}%`),
      // On the terminal the line below says how full the chat is, with the button to tidy it up: not twice.
      isChatFull && !vector ? '' : chatPart,
    ].filter(Boolean)
    const top = usage.limitPercent ?? 0
    const isHigh = top >= LIMIT_WARN
    const reset = isHigh ? resetTime(usage.limitResetsAt, await now($)) : null
    const tidy = <Button key="compact" label={vector ? 'Tidy up now' : 'Tidy it up'} onPress={() => tidyUp($)} />
    if (vector) {
      // One quiet row: the details view always shows usage; the simple view only near a limit or with the chat past the
      // tidy-up mark, whose button sits with the other actions. The icon carries the colour, as the app's own notices do.
      if (usageParts.length > 0 && (isDetailed || isHigh || isChatFull)) {
        const words = isHigh
          ? [`You've used ${Math.round(top)}% of your ${usage.limitLabel ?? 'plan'} limit`, reset === null ? '' : `resets ${reset}`, isChatFull ? chatPart : '']
          : isDetailed
            ? [`Usage: ${usageParts[0] ?? ''}`, ...usageParts.slice(1)]
Licence text (MIT)
MIT License

Copyright (c) 2026 Antreas-Strb

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

runs programsreads filesenv varsdrives Claudetool callsrememberscalls tools

What its code shows

Read from the source at commit 8732c468fe4f 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.glanceflow/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.7 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).glanceflow/hooks/glance.tsx:331 uname (not on Windows); glanceflow/hooks/glance.tsx:400 notify-send (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.glanceflow/hooks/glance.tsx:341 a program named at run time; glanceflow/hooks/glance.tsx:397 osascript (a shell or interpreter)
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 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
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).command.run: /clear; command.run: /compact
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.model.complete, prompt.submit (as the person), model.fork (sends its own transcript), adds tool plan_steps, adds tool report_progress, adds command glanceflow
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, prompt.submit, classic.Stop, tool.call · shapes: prompt.compose, turn.step · reads: classic.Notification, classic.StopFailure · also: session.end, session.start, session.measure, ui.render (UserMessage, AssistantMessage, SessionMode (+3)) (+3) · 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: OS, CLAUDE_CONFIG_DIR, HOME; files: …/plugins/store, …/…, a path computed at run time
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.speech (the system synthesizer); the clipboard; 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 Antreas-Strb/glanceflow
/plugin install glanceflow@claude-mods
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (8732c468fe4f). 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/Antreas-Strb/glanceflow
git -C glanceflow checkout 8732c468fe4f8030e1f9da3912c4a5eb8fbd520e
claude plugin validate glanceflow/glanceflow
claude --plugin-dir glanceflow/glanceflow

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