Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / plain-view

plain-view

A quiet transcript: tool rows step aside and the agent's plan shows as a card above the prompt, with the current step, progress bars and a summary when the turn ends

Code you can checkTerminal + desktopPaneBandToastBoxButtonText
drives Claude, draws

What it does

  • Draws a band above the prompt, a pane
  • Watches tool calls and can refuse them
  • Hooks agent.spawn, config.set, prompt.compose, session.start and 3 more

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 plain-view by Lucas Fernandes (pane, band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/ice-lfernandes-plain-view/
// 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 = '…'
    const ch = '…'
    const ch2 = '…'
    const ch3 = '…'
    const more = '…'
    const time = '…'
    const line = '…'
    const glyph = '…'
    const doing = '…'
    const label = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="column" borderStyle="round" borderColor="claude" paddingX={1}>
          <Box flexDirection="column">
            <Box flexDirection="row" justifyContent="space-between">
              <Box flexDirection="row">
                <Text>
                  <Text bold inverse color="success">
                    {` ${text} `}
                  </Text>
                  <Text>
                    {" "}
                  </Text>
                  <Text bold>
                    <Text>
                      {ch}
                    </Text>
                    <Text>
                      {ch2}
                    </Text>
                    <Text>
                      {ch3}
                    </Text>
                  </Text>
                  <Text dimColor>
                    {more}
                  </Text>
                </Text>
                <Text>
                  {" "}
                </Text>
                <Button plain dimColor label={14} />
              </Box>
              <Text dimColor>
                {time}
              </Text>
            </Box>
            <Text>
              {`  ${line}`}
            </Text>
            <Text>
              {`  ${line}`}
            </Text>
            <Text>
              {`  ${line}`}
            </Text>
          </Box>
          <Box flexDirection="row" gap={2}>
            <Text>
              <Text color="claude">
                {`${glyph} `}
              </Text>
              <Text bold>
                {doing}
              </Text>
            </Text>
            <Text>
              <Text color="success">
                ████████
              </Text>
              <Text dimColor>
                ░░░░░░░░
              </Text>
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text>
              <Text color="claude">
                {"◇ "}
              </Text>
              <Text>
                {text}
              </Text>
              <Text dimColor>
                {` · ${label} · ${time}`}
              </Text>
            </Text>
            <Text>
              {" "}
            </Text>
            <Button plain dimColor label="/watch" />
          </Box>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  // the pane: open it with $.ui.open({ id: 'my-pane', title: "plain-view" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const saved = '…'
    const name = '…'
    const labels = '…'
    const whatOf = '…'
    const whatOf2 = '…'
    const whatOf3 = '…'
    const labels2 = '…'
    const whatOf4 = '…'
    const whatOf5 = '…'
    const whatOf6 = '…'
    const labels3 = '…'
    const whatOf7 = '…'
    const whatOf8 = '…'
    const whatOf9 = '…'
    const text = '…'
    const ch = '…'
    const ch2 = '…'
    const ch3 = '…'
    const more = '…'
    const time = '…'
    const line = '…'
    const glyph = '…'
    const doing = '…'
    const label = '…'
    return (
      <Box flexDirection="column" paddingX={1} gap={1}>
        <Box flexDirection="column">
          <Text color="claude" bold>
            ✻ plain-view · settings
          </Text>
          <Text dimColor>
            Applies to every session. Saved in /config → plain-view.
          </Text>
          <Text color="success">
            {`${saved}`}
          </Text>
        </Box>
        <Box flexDirection="row" flexWrap="wrap">
          <Box flexDirection="row">
            <Text dimColor>
              {" · "}
            </Text>
            <Text color="claude" bold>
              {`▸ ${name}`}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text dimColor>
              {" · "}
            </Text>
            <Text color="claude" bold>
              {`▸ ${name}`}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text dimColor>
              {" · "}
            </Text>
            <Text color="claude" bold>
              {`▸ ${name}`}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="column">
          <Text bold>
            {labels}
          </Text>
          <Box flexDirection="row">
            <Box width={12}>
              <Text color="inactive">
                14
              </Text>
            </Box>
            <Text>
              {" "}
            </Text>
            <Text color="inactive">
              {whatOf}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Box width={12}>
              <Text color="inactive">
                14
              </Text>
            </Box>
            <Text>
              {" "}
            </Text>
            <Text color="inactive">
              {whatOf2}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Box width={12}>
              <Text color="inactive">
                14
              </Text>
            </Box>
            <Text>
              {" "}
            </Text>
            <Text color="inactive">
              {whatOf3}
            </Text>
          </Box>
          <Text color="inactive">
            🔒 set by your organization
          </Text>
          <Text dimColor>
            Comes from managed settings. It does not change here or in /config.
          </Text>
        </Box>
        <Box flexDirection="column">
          <Text bold>
            {labels2}
          </Text>
          <Box flexDirection="row">
            <Box width={12}>
              <Text color="inactive">
                14
              </Text>
            </Box>
            <Text>
              {" "}
            </Text>
            <Text color="inactive">
              {whatOf4}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Box width={12}>
              <Text color="inactive">
                14
              </Text>
            </Box>
            <Text>
              {" "}
            </Text>
            <Text color="inactive">
              {whatOf5}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Box width={12}>
              <Text color="inactive">
                14
              </Text>
            </Box>
            <Text>
              {" "}
            </Text>
            <Text color="inactive">
              {whatOf6}
            </Text>
          </Box>
          <Text color="inactive">
            🔒 set by your organization
          </Text>
          <Text dimColor>
            Comes from managed settings. It does not change here or in /config.
          </Text>
        </Box>
        <Box flexDirection="column">
          <Text bold>
            {labels3}
          </Text>
          <Box flexDirection="row">
            <Box width={12}>
              <Text color="inactive">
                14
              </Text>
            </Box>
            <Text>
              {" "}
            </Text>
            <Text color="inactive">
              {whatOf7}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Box width={12}>
              <Text color="inactive">
                14
              </Text>
            </Box>
            <Text>
              {" "}
            </Text>
            <Text color="inactive">
              {whatOf8}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Box width={12}>
              <Text color="inactive">
                14
              </Text>
            </Box>
            <Text>
              {" "}
            </Text>
            <Text color="inactive">
              {whatOf9}
            </Text>
          </Box>
          <Text color="inactive">
            🔒 set by your organization
          </Text>
          <Text dimColor>
            Comes from managed settings. It does not change here or in /config.
          </Text>
        </Box>
        <Box flexDirection="column">
          <Text bold>
            Preview
          </Text>
          <Box flexDirection="column" borderStyle="round" borderColor="claude" paddingX={1}>
            <Box flexDirection="column">
              <Box flexDirection="row" justifyContent="space-between">
                <Box flexDirection="row">
                  <Text>
                    <Text bold inverse color="success">
                      {` ${text} `}
                    </Text>
                    <Text>
                      {" "}
                    </Text>
                    <Text bold>
                      <Text>
                        {ch}
                      </Text>
                      <Text>
                        {ch2}
                      </Text>
                      <Text>
                        {ch3}
                      </Text>
                    </Text>
                    <Text dimColor>
                      {more}
                    </Text>
                  </Text>
                  <Text>
                    {" "}
                  </Text>
                  <Button plain dimColor label={14} />
                </Box>
                <Text dimColor>
                  {time}
                </Text>
              </Box>
              <Text>
                {`  ${line}`}
              </Text>
              <Text>
                {`  ${line}`}
              </Text>
              <Text>
                {`  ${line}`}
              </Text>
            </Box>
            <Box flexDirection="row" gap={2}>
              <Text>
                <Text color="claude">
                  {`${glyph} `}
                </Text>
                <Text bold>
                  {doing}
                </Text>
              </Text>
              <Text>
                <Text color="success">
                  ████████
                </Text>
                <Text dimColor>
                  ░░░░░░░░
                </Text>
              </Text>
            </Box>
            <Box flexDirection="row">
              <Text>
                <Text color="claude">
                  {"◇ "}
                </Text>
                <Text>
                  {text}
                </Text>
                <Text dimColor>
                  {` · ${label} · ${time}`}
                </Text>
              </Text>
              <Text>
                {" "}
              </Text>
              <Button plain dimColor label="/watch" />
            </Box>
          </Box>
        </Box>
      </Box>
    )
  })
}

The mod's own code

Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.

plain-view/hooks/register.tsx lines 488–522 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    if (e.props.hasSurvey) return next(e)
    const t = await read($, turn)
    if (!isOn && !t?.isDemo) return next(e)
    // A demo's card shows no agents.
    const team = t?.isDemo ? [] : await read($, agents)
    const view = { mode: requestMode, isOpen: await read($, unfolded) }
    const card = cardOf(t, await read($, items), await $.clock.now(), lang, agentText === 'card', team, view)
    if (!card) return next(e)
    const n = await read($, tick)
    const isWorking = (t !== null && t.end === undefined) || runningOf(team).length > 0
    // Rasters only on the terminal; another surface's table draws one as an empty box.
    const all = $.ui.resolve(e)
    const ui = { Box: all.Box, Text: all.Text, Button: all.Button, Raster: e.surface === 'terminal' ? (all as Elements['terminal']).Raster : undefined }
    const mine = drawCard(ui, card, {
      stops: animate ? stopsOf(palette, theme) : null,
      tick: animate && isWorking ? n : null,
      columns: e.props.bodyColumns || e.viewport?.columns || 80,
      icons: style,
      answerLabel: WORDS[lang].answer,
      ...(hasWatch ? { onWatch: () => quietly($.command.run({ command: WATCH, args: '' })) } : {}),
      request: { more: WORDS[lang].moreLines, show: WORDS[lang].showRequest, fold: WORDS[lang].foldRequest },
      onRequest: () => quietly(update($, unfolded, v => !v)),
    })
    const { Box } = $.ui.resolve(e)
    const theirs = await next(e)
    return theirs ? (
      <Box flexDirection="column">
        {mine}
        {theirs}
      </Box>
    ) : (
      mine
    )
  })
plain-view/hooks/card.tsx lines 112–271 · Band
export function drawCard(ui: Ui, card: Card, o: DrawOptions) {
  const { Box, Text, Raster, Button } = ui
  const inner = Math.max(30, o.columns - 4)
  const L = layoutOf(inner)
  const gradient = o.stops !== null && Raster !== undefined

  const bar = (key: string, n: number, frac: number, mode: BarMode) => {
    if (gradient) return <Raster key={key} columns={n} rows={1} cells={rasterCells(barCells(n, frac, mode, o.stops!, o.tick))} />
    if (mode === 'comet') return <Text key={key} color="claude">{'░'.repeat(n)}</Text>
    const f = Math.max(0, Math.min(n, Math.round(n * frac)))
    return (
      <Text key={key}>
        <Text color={mode === 'ok' ? 'success' : mode === 'off' ? 'inactive' : 'claude'}>{'█'.repeat(f)}</Text>
        <Text dimColor>{'░'.repeat(n - f)}</Text>
      </Text>
    )
  }

  // The figures take the color of the bar's filled end.
  const tone = (state: string) =>
    o.stops ? hex(state === 'done' ? o.stops.k2 : state === 'stopped' ? o.stops.off : o.stops.g2) : state === 'done' ? 'success' : state === 'stopped' ? 'inactive' : 'claude'

  const title = (text: string, room: number, pal: 'work' | 'ok' | 'off') => {
    const shown = clip(text, Math.max(8, room))
    if (!o.stops || pal === 'off') return <Text bold dimColor={pal === 'off'} color={pal === 'off' ? undefined : pal === 'ok' ? 'success' : 'claude'}>{shown}</Text>
    const s = o.stops
    const last = Math.max(1, shown.length - 1)
    return (
      <Text bold>
        {[...shown].map((ch, i) => (
          <Text key={`t${i}`} color={hex(pal === 'ok' ? mix(s.k1, s.k2, i / last) : titleColor(s, i / last))}>{ch}</Text>
        ))}
      </Text>
    )
  }

  // One row for the main loop's agents: `◇ 1 agente rodando · code-review · 3m 12s   /watch`.
  const agentsLine = (a: AgentsRow) => {
    const onWatch = o.onWatch
    const watch = onWatch !== undefined && Button !== undefined
    const room = inner - a.text.length - (a.time ? a.time.length + 3 : 0) - (watch ? 9 : 0) - 6
    return (
      <Box key="agents" flexDirection="row">
        <Text>
          <Text color={a.isRunning ? 'claude' : 'success'}>◇ </Text>
          <Text bold={a.isRunning}>{a.text}</Text>
          <Text dimColor>{` · ${clip(a.label, Math.max(8, room))}${a.time ? ` · ${a.time}` : ''}`}</Text>
        </Text>
        {watch ? <Text>   </Text> : null}
        {onWatch && Button ? <Button key="watch" plain dimColor label="/watch" onPress={() => onWatch()} /> : null}
      </Box>
    )
  }

  // A request of several lines: `+5 linhas` after the title, the button that unfolds the request
  // (only when something is left out), and its lines under the title.
  const request: RequestView | undefined = card.request
  const words = o.request
  const titled = (text: string, room: number, pal: 'work' | 'ok' | 'off', badge?: { text: string; state: 'done' | 'stopped' }) => {
    const label = (request?.isOpen ? words?.fold : words?.show) ?? ''
    const onRequest = o.onRequest
    // A narrow card keeps the title: the button goes first, then the count.
    let more = request && request.more > 0 && words ? `  ${words.more(request.more)}` : ''
    let hasButton =
      request !== undefined && words !== undefined && onRequest !== undefined && Button !== undefined && (request.canOpen || (request.isJoined && text.length > room - more.length))
    if (hasButton && room - more.length - label.length - 6 < MIN_TITLE) hasButton = false
    if (room - more.length < MIN_TITLE) more = ''
    return (
      <Box flexDirection="row">
        <Text>
          {badge ? <Text bold inverse color={badge.state === 'done' ? 'success' : 'inactive'}>{` ${badge.text} `}</Text> : <Text color="claude">✦</Text>}
          <Text> </Text>
          {title(text, room - more.length - (hasButton ? label.length + 6 : 0), pal)}
          {more ? <Text dimColor>{more}</Text> : null}
        </Text>
        {hasButton ? <Text>  </Text> : null}
        {hasButton && onRequest ? <Button key="request" plain dimColor label={label} onPress={() => onRequest()} /> : null}
      </Box>
    )
  }
  const requestRows = () => request?.rest.map((line, i) => <Text key={`request${i}`} dimColor={line.startsWith('⟨')}>{`  ${clip(line, inner - 2)}`}</Text>)

  const titleRow = (text: string, time: string) => (
    <Box flexDirection="column">
      <Box flexDirection="row" justifyContent="space-between">
        {titled(text, inner - 10, 'work')}
        <Text dimColor>{time}</Text>
      </Box>
      {requestRows()}
    </Box>
  )

  if (card.kind === 'phrase') {
    return (
      <Box key="plain-view" flexDirection="column" borderStyle="round" borderColor="claude" paddingX={1}>
        {titleRow(card.title, card.time)}
        <Box flexDirection="row" gap={2}>
          <Text>
            <Text color="claude">{`${glyph(o.icons, ICONS.now)} `}</Text>
            <Text bold>{clip(card.doing, Math.max(10, inner - L.item - 6))}</Text>
          </Text>
          {bar('doing', L.item, 0, 'comet')}
        </Box>
        {card.agents !== undefined && agentsLine(card.agents)}
      </Box>
    )
  }

  if (card.kind === 'waiting') {
    return (
      <Box key="plain-view" flexDirection="column" borderStyle="round" borderColor="claude" paddingX={1}>
        {titleRow(card.title, card.time)}
        <Box flexDirection="row" gap={2}>
          <Text>
            <Text color="claude">◐ </Text>
            <Text bold>{card.text}</Text>
          </Text>
          {bar('waiting', L.item, 0, 'comet')}
        </Box>
        {agentsLine(card.agents)}
      </Box>
    )
  }

  // A badge, then the title in the end's colors.
  const badged = (badge: string, state: 'done' | 'stopped', text: string) =>
    titled(text, inner - badge.length - 18, state === 'done' ? 'ok' : 'off', { text: badge, state })

  const answerLine = (answer: string | undefined) =>
    answer !== undefined && (
      <Text>
        <Text dimColor>{`  ${o.answerLabel ?? ''}`}</Text>
        <Text>{answer}</Text>
      </Text>
    )

  if (card.kind === 'summary') {
    return (
      <Box key="plain-view" flexDirection="column" borderStyle="round" borderColor={card.state === 'done' ? 'success' : 'inactive'} paddingX={1}>
        <Box flexDirection="row" justifyContent="space-between">
          {badged(card.badge, card.state, card.title)}
          <Text dimColor>{card.time}</Text>
        </Box>
        {requestRows()}
        {card.detail !== undefined && <Text dimColor>{`  ${card.detail}`}</Text>}
        {answerLine(card.answer)}
      </Box>
    )
  }

  const pal = card.state === 'done' ? 'ok' : card.state === 'stopped' ? 'off' : 'work'
  const border = card.state === 'done' ? 'success' : card.state === 'stopped' ? 'inactive' : 'claude'
  const head = card.badge && card.state !== 'work' ? badged(card.badge, card.state, card.title) : titled(card.title, inner - 12, pal)

  const row = (r: Row, i: number) => {
    const icon = r.kind === 'done' ? ICONS.done : r.kind === 'now' ? ICONS.now : r.kind === 'halted' ? ICONS.halted : ICONS.wait
    const iconColor = r.kind === 'done' ? 'success' : r.kind === 'now' ? 'claude' : undefined
    const mode: BarMode = r.kind === 'done' ? 'ok' : r.kind === 'now' ? 'work' : 'off'
    const isNow = r.kind === 'now'
    return (
plain-view/hooks/register.tsx lines 611–712 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const all = $.ui.resolve(e)
    const { Box, Text, Button } = all
    const Raster = e.surface === 'terminal' ? (all as Elements['terminal']).Raster : undefined
    const w = WORDS[lang]
    const p = w.pane
    const s = await settingsNow($)
    const shown = tabOf(await read($, tab))
    const said = await read($, flash)
    const columns = Math.max(30, (e.props.bodyColumns || e.viewport?.columns || 80) - 2)
    const isDark = !/light/i.test(String(theme ?? ''))
    const nameOf = (v: SettingValue) => (v === true ? p.yes : v === false ? p.no : String(v))
    const whatOf = (key: SettingKey, v: SettingValue) =>
      key === 'palette' ? (PALETTES.find(x => x.id === v)?.hint[lang] ?? '') : (p.values[key][String(v)] ?? '')

    const option = (key: SettingKey, cur: Setting) => (
      <Box key={`opt:${key}`} flexDirection="column">
        <Text bold>{p.labels[key]}</Text>
        {SETTINGS[key].values.map(v => {
          const isCur = v === cur.value
          const label = `${isCur ? '●' : '○'} ${nameOf(v)}`
          const pal = key === 'palette' ? PALETTES.find(x => x.id === v) : undefined
          return (
            <Box key={`val:${key}:${String(v)}`} flexDirection="row">
              <Box width={12}>
                {isCur || cur.isLocked ? (
                  <Text bold={isCur} color={cur.isLocked ? 'inactive' : 'claude'}>{label}</Text>
                ) : (
                  <Button key={`set:${key}:${String(v)}`} plain label={label} onPress={() => quietly(choose($, key, v))} />
                )}
              </Box>
              {pal && Raster ? <Raster key={`swatch:${pal.id}`} columns={6} rows={1} cells={rasterCells(barCells(6, 1, 'work', isDark ? pal.dark : pal.light, null))} /> : null}
              {pal && Raster ? <Text> </Text> : null}
              <Text dimColor={!cur.isLocked} color={cur.isLocked ? 'inactive' : undefined}>{whatOf(key, v)}</Text>
            </Box>
          )
        })}
        {cur.isLocked && <Text color="inactive">{p.locked}</Text>}
        {cur.isLocked && <Text dimColor>{p.lockedWhy}</Text>}
      </Box>
    )

    // The card tab's preview: the demo's second step, in the palette and animation the pane shows.
    const now = await $.clock.now()
    const preview = () => {
      const demo = demoOf(1, now - 12_000, lang)
      const sample = cardOf(demo.turn, demo.items, now, lang)
      if (!sample) return null
      const stops = s.animation.value === true ? stopsOf(paletteOf(s.palette.value), theme) : null
      return (
        <Box key="preview" flexDirection="column">
          <Text bold>{p.preview}</Text>
          {drawCard({ Box, Text, Raster }, sample, { stops, tick: null, columns, icons: style })}
        </Box>
      )
    }

    const line =
      said === null ? null : said.kind === 'saved' ? (
        <Text color="success">{p.saved(p.labels[said.key as SettingKey] ?? said.key, nameOf(said.value))}</Text>
      ) : said.kind === 'denied' ? (
        <Text color="warning">{p.denied(said.why)}</Text>
      ) : said.kind === 'reset' ? (
        <Text color="success">{p.reset}</Text>
      ) : (
        <Text dimColor>{p.resetNone}</Text>
      )

    return (
      <Box flexDirection="column" paddingX={1} gap={1}>
        <Box flexDirection="column">
          <Text color="claude" bold>{p.heading}</Text>
          <Text dimColor>{p.hint}</Text>
          {line}
        </Box>

        <Box flexDirection="row" flexWrap="wrap">
          {p.tabs.map((name, i) => (
            <Box key={`tabs:${i}`} flexDirection="row">
              {i > 0 && <Text dimColor> · </Text>}
              {i === shown ? (
                <Text color="claude" bold>{`▸ ${name}`}</Text>
              ) : (
                <Button key={`tab:${i}`} plain label={name} onPress={() => quietly(update($, tab, () => i).then(() => update($, flash, () => null)))} />
              )}
            </Box>
          ))}
        </Box>

        {TABS[shown]!.map(key => option(key, s[key]))}
        {shown === 1 && preview()}

        <Box flexDirection="column" alignItems="flex-start">
          {verbRow({ Box, Text, Button }, COMMAND, PANE_VERBS, v => quietly(pressVerb($, v)))}
          <Box flexDirection="row" gap={1}>
            <Button key="reset" label={p.defaults} onPress={() => quietly(askReset($))} />
            <Button key="close" role="dismiss" label={p.close} onPress={() => quietly($.ui.close({ id: PANE }))} />
          </Box>
        </Box>
      </Box>
    )
  })
Licence text (MIT)
MIT License

Copyright (c) 2026 Lucas Fernandes

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

env varsdrives Claudetool callscalls tools

What its code shows

Read from the source at commit b03955fc8e5f. 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.plain-view/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.8 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).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, 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).command.run: /?
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.adds command ?
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: config.set, tool.call, command.run · shapes: turn.step, prompt.compose · also: session.start, turn.start, agent.spawn, turn.complete (+1) · 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: LANG, TERMINAL_EMULATOR
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.settings (config.set)

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 ice-lfernandes/claude-code-mods
/plugin install plain-view@lfernandes-mods
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (b03955fc8e5f). 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/ice-lfernandes/claude-code-mods
git -C claude-code-mods checkout b03955fc8e5f59734e36f58e84c2ab9959e40ce6
claude plugin validate claude-code-mods/plain-view
claude --plugin-dir claude-code-mods/plain-view

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 "ice-lfernandes-plain-view" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

More from this repository

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/ice-lfernandes-plain-view.svg)](https://modscode.com/claude-mods/mods/ice-lfernandes-plain-view/)