modscode JA

modscode / Gallery / outputs-pane

outputs-pane

Side pane listing files Claude writes or edits, split into planning, code and scratch, with a filter; click one to open it in your editor

Code you can checkTerminal + desktopPaneToastBoxButtonInputText

What it does

  • Draws a pane, toasts
  • Adds /outputs
  • Watches Write, Edit calls
  • Hooks session.start
  • Starts processes

Good points

  • No network calls
  • Small: 294 lines
  • Written in TypeScript
  • Writes no files

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 outputs-pane by Russell Pope (pane, toast), as modscode read it from the mod's code:
// https://modscode.com/gallery/russellpope-outputs-pane/
// 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: "Outputs" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Input, Button } = $.ui.resolve(e)
    const length = '…'
    const created = '…'
    const typed = '…'
    const glyph = '…'
    const label = '…'
    const length2 = '…'
    const glyph2 = '…'
    const name = '…'
    const dir = '…'
    const clock = '…'
    const glyph3 = '…'
    const dir2 = '…'
    const clock2 = '…'
    const glyph4 = '…'
    const dir3 = '…'
    const clock3 = '…'
    const glyph5 = '…'
    const length3 = '…'
    const glyph6 = '…'
    const dir4 = '…'
    const clock4 = '…'
    const glyph7 = '…'
    const dir5 = '…'
    const clock5 = '…'
    const glyph8 = '…'
    const dir6 = '…'
    const clock6 = '…'
    const glyph9 = '…'
    const length4 = '…'
    const glyph10 = '…'
    const dir7 = '…'
    const clock7 = '…'
    const glyph11 = '…'
    const dir8 = '…'
    const clock8 = '…'
    const glyph12 = '…'
    const dir9 = '…'
    const clock9 = '…'
    const editor = '…'
    return (
      <Box flexDirection="column" paddingX={1}>
        <Box flexDirection="column">
          <Box flexDirection="row" justifyContent="space-between" alignItems="center" marginBottom={1}>
            <Text bold color="#61afef">
              
              {" outputs"}
            </Text>
            <Box flexDirection="row" flexShrink={0}>
              <Text dimColor>
                {`${length} of ${length}`}
              </Text>
              <Text>
                <Text color="#98c379">
                  
                  {" "}
                  {created}
                </Text>
                <Text dimColor>
                  {" "}
                </Text>
                <Text color="#e5c07b">
                  
                  {" "}
                  {length}
                </Text>
              </Text>
            </Box>
          </Box>
          <Box marginBottom={1}>
            <Input label=" " placeholder="filter" value={`${typed}`} submitLabel="open" />
          </Box>
          <Box flexDirection="column" alignItems="center" marginTop={1}>
            <Text dimColor>
              
              {" nothing written yet"}
            </Text>
            <Text dimColor italic>
              files Claude writes or edits land here
            </Text>
          </Box>
          <Box flexDirection="column" marginBottom={1}>
            <Box flexDirection="row">
              <Text>
                
                {" "}
                {glyph}
                {" "}
              </Text>
              <Button plain label={`${label}`} />
              <Text dimColor>
                {" "}
                {length2}
              </Text>
            </Box>
            <Text dimColor italic>
              {" none yet"}
            </Text>
            <Box flexDirection="row">
              <Box flexShrink={0}>
                <Text>
                  {" "}
                </Text>
                <Text color="#98c379">
                  {" "}
                </Text>
                <Text>
                  {glyph2}
                  {" "}
                </Text>
              </Box>
              <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                <Button plain label={`${name}`} />
                <Text dimColor wrap="truncate-start">
                  {" "}
                  {dir}
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor>
                  {" "}
                  {clock}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="row">
              <Box flexShrink={0}>
                <Text>
                  {" "}
                </Text>
                <Text color="#98c379">
                  {" "}
                </Text>
                <Text>
                  {glyph3}
                  {" "}
                </Text>
              </Box>
              <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                <Button plain label={`${name}`} />
                <Text dimColor wrap="truncate-start">
                  {" "}
                  {dir2}
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor>
                  {" "}
                  {clock2}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="row">
              <Box flexShrink={0}>
                <Text>
                  {" "}
                </Text>
                <Text color="#98c379">
                  {" "}
                </Text>
                <Text>
                  {glyph4}
                  {" "}
                </Text>
              </Box>
              <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                <Button plain label={`${name}`} />
                <Text dimColor wrap="truncate-start">
                  {" "}
                  {dir3}
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor>
                  {" "}
                  {clock3}
                </Text>
              </Box>
            </Box>
          </Box>
          <Box flexDirection="column" marginBottom={1}>
            <Box flexDirection="row">
              <Text>
                
                {" "}
                {glyph5}
                {" "}
              </Text>
              <Button plain label={`${label}`} />
              <Text dimColor>
                {" "}
                {length3}
              </Text>
            </Box>
            <Text dimColor italic>
              {" none yet"}
            </Text>
            <Box flexDirection="row">
              <Box flexShrink={0}>
                <Text>
                  {" "}
                </Text>
                <Text color="#98c379">
                  {" "}
                </Text>
                <Text>
                  {glyph6}
                  {" "}
                </Text>
              </Box>
              <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                <Button plain label={`${name}`} />
                <Text dimColor wrap="truncate-start">
                  {" "}
                  {dir4}
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor>
                  {" "}
                  {clock4}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="row">
              <Box flexShrink={0}>
                <Text>
                  {" "}
                </Text>
                <Text color="#98c379">
                  {" "}
                </Text>
                <Text>
                  {glyph7}
                  {" "}
                </Text>
              </Box>
              <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                <Button plain label={`${name}`} />
                <Text dimColor wrap="truncate-start">
                  {" "}
                  {dir5}
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor>
                  {" "}
                  {clock5}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="row">
              <Box flexShrink={0}>
                <Text>
                  {" "}
                </Text>
                <Text color="#98c379">
                  {" "}
                </Text>
                <Text>
                  {glyph8}
                  {" "}
                </Text>
              </Box>
              <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                <Button plain label={`${name}`} />
                <Text dimColor wrap="truncate-start">
                  {" "}
                  {dir6}
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor>
                  {" "}
                  {clock6}
                </Text>
              </Box>
            </Box>
          </Box>
          <Box flexDirection="column" marginBottom={1}>
            <Box flexDirection="row">
              <Text>
                
                {" "}
                {glyph9}
                {" "}
              </Text>
              <Button plain label={`${label}`} />
              <Text dimColor>
                {" "}
                {length4}
              </Text>
            </Box>
            <Text dimColor italic>
              {" none yet"}
            </Text>
            <Box flexDirection="row">
              <Box flexShrink={0}>
                <Text>
                  {" "}
                </Text>
                <Text color="#98c379">
                  {" "}
                </Text>
                <Text>
                  {glyph10}
                  {" "}
                </Text>
              </Box>
              <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                <Button plain label={`${name}`} />
                <Text dimColor wrap="truncate-start">
                  {" "}
                  {dir7}
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor>
                  {" "}
                  {clock7}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="row">
              <Box flexShrink={0}>
                <Text>
                  {" "}
                </Text>
                <Text color="#98c379">
                  {" "}
                </Text>
                <Text>
                  {glyph11}
                  {" "}
                </Text>
              </Box>
              <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                <Button plain label={`${name}`} />
                <Text dimColor wrap="truncate-start">
                  {" "}
                  {dir8}
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor>
                  {" "}
                  {clock8}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="row">
              <Box flexShrink={0}>
                <Text>
                  {" "}
                </Text>
                <Text color="#98c379">
                  {" "}
                </Text>
                <Text>
                  {glyph12}
                  {" "}
                </Text>
              </Box>
              <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                <Button plain label={`${name}`} />
                <Text dimColor wrap="truncate-start">
                  {" "}
                  {dir9}
                </Text>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor>
                  {" "}
                  {clock9}
                </Text>
              </Box>
            </Box>
          </Box>
        </Box>
        <Box marginTop={1}>
          <Text dimColor wrap="truncate-end">
            
            {" click a name for "}
            {editor}
          </Text>
        </Box>
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const editor = '…'
    const path = '…'
    const text = '…'
    await $.ui.toast(`${editor} ← ${path}`)
    await $.ui.toast(`no file matches ${text}`)
    return next(e)
  })
}

The mod's own code

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

outputs-pane/hooks/register.tsx lines 112–237 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const elements = $.ui.resolve(e)
    const { Box, Text, Button } = elements
    // The mobile app draws no Input yet; there the pane goes without the filter.
    const Input = 'Input' in elements ? elements.Input : undefined
    const list = await read($, files)
    const cwd = await $.session.cwd()
    const home = cwd.match(/^\/(Users|home)\/[^/]+/)?.[0] ?? ''
    const shut = await read($, folded)
    const typed = await read($, query)
    const scratch = scratchPatterns(options.scratch)

    const editor = editorArgv(options.editor, '')[0]?.split('/').pop() ?? DEFAULT_EDITOR

    const open = async (path: string) => {
      const argv = editorArgv(options.editor, path)
      const ran = await $.process.run(argv).catch((error: unknown) => ({ exitCode: -1, stderr: String(error) }))
      const { exitCode, stderr } = ran
      $.ui.toast(exitCode === 0 ? `${editor} ← ${shorten(path, cwd, home)}` : `${editor} failed: ${stderr.slice(0, 80)}`)
    }

    // Matches for a filter, in the order the sections draw them.
    const hitsFor = (text: string) => SECTIONS.flatMap(section =>
      list.filter(file => sectionOf(file.path, scratch) === section.id && matches(shorten(file.path, cwd, home), text)))

    const filter = (text: string) => void update($, query, () => text)
      .then(() => $.ui.scroll({ in: PANE, to: 'start' }))
      .catch(() => undefined)

    // Enter opens the first match, a folded section's included.
    const openFirst = async (text: string) => {
      await update($, query, () => text)
      const first = hitsFor(text)[0]
      if (first) await open(first.path)
      else $.ui.toast(`no file matches ${text.trim()}`)
    }

    const isFiltering = typed.trim() !== ''
    const hits = hitsFor(typed)
    const created = list.filter(file => file.kind === 'new').length
    // Scratch shows only once something lands in it; a filter hides the sections it empties.
    const drawn = SECTIONS.filter(section => {
      const count = hits.filter(file => sectionOf(file.path, scratch) === section.id).length

      return count > 0 || (!isFiltering && section.id !== 'scratch')
    })

    return (
      <Box flexDirection="column" paddingX={1}>
        <Box flexDirection="column">
          <Box flexDirection="row" justifyContent="space-between" alignItems="center" marginBottom={1}>
            <Text bold color={ACCENT}>{''}  outputs</Text>
            <Box flexDirection="row" flexShrink={0}>
              {list.length > 0 && isFiltering && <Text dimColor>{`${hits.length} of ${list.length}`}</Text>}
              {list.length > 0 && !isFiltering && (
                <Text>
                  <Text color={NEW}>{''} {created}</Text>
                  <Text dimColor>  </Text>
                  <Text color={EDIT}>{''} {list.length - created}</Text>
                </Text>
              )}
            </Box>
          </Box>

          {list.length > 0 && Input && (
            <Box marginBottom={1}>
              <Input key="filter" label={' '} placeholder="filter" value={typed} submitLabel="open"
                onInput={filter} onSubmit={text => void openFirst(text)} />
            </Box>
          )}

          {list.length === 0 && (
            <Box flexDirection="column" alignItems="center" marginTop={1}>
              <Text dimColor>{''}  nothing written yet</Text>
              <Text dimColor italic>files Claude writes or edits land here</Text>
            </Box>
          )}

          {list.length > 0 && drawn.map(section => {
            const inSection = hits.filter(file => sectionOf(file.path, scratch) === section.id)
            const isShut = shut.includes(section.id)
            const toggle = () => void update($, folded, now =>
              now.includes(section.id) ? now.filter(id => id !== section.id) : [...now, section.id])

            return (
              <Box flexDirection="column" key={`section:${section.id}`} marginBottom={1}>
                <Box flexDirection="row" key={`head:${section.id}`} hover={{ backgroundColor: HOVER_BG }}>
                  <Text color={section.color}>{isShut ? '' : ''} {section.glyph} </Text>
                  <Button plain key={`fold:${section.id}`} label={section.label} hover={{ color: section.color, bold: true }} onPress={toggle} />
                  <Text dimColor> {inSection.length}</Text>
                </Box>
                {!isShut && inSection.length === 0 && <Text dimColor italic>    none yet</Text>}
                {!isShut && inSection.map(file => {
                  const icon = iconFor(file.path)
                  const { dir, name } = splitPath(shorten(file.path, cwd, home))

                  return (
                    <Box flexDirection="row" key={`row:${file.path}`} hover={{ backgroundColor: HOVER_BG }}>
                      <Box flexShrink={0}>
                        <Text>  </Text>
                        <Text color={file.kind === 'new' ? NEW : EDIT}>{file.kind === 'new' ? ' ' : ' '}</Text>
                        <Text color={icon.color}>{icon.glyph} </Text>
                      </Box>
                      <Box flexGrow={1} flexShrink={1} flexDirection="row" overflow="hidden">
                        <Button plain key={`open:${file.path}`} label={name} hover={{ color: ACCENT, bold: true, underline: true }} onPress={() => void open(file.path)} />
                        {dir && <Text dimColor wrap="truncate-start" hover={{ dimColor: false }}> {dir}</Text>}
                      </Box>
                      <Box flexShrink={0}>
                        <Text dimColor> {clock(file.at)}</Text>
                      </Box>
                    </Box>
                  )
                })}
              </Box>
            )
          })}
        </Box>

        {list.length > 0 && (
          <Box marginTop={1}>
            <Text dimColor wrap="truncate-end">{''} click a name for {editor}</Text>
          </Box>
        )}
      </Box>
    )
  })
Licence text (Apache-2.0)
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

What its code calls

runs programstool 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 4b76abb1e6ee 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.outputs-pane/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.its repository's .claude-plugin/marketplace.json does not list it: no install line to give
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.outputs-pane/hooks/register.tsx:128 a program named at run time
Reads and sendsWhether it both reads files or environment variables and reaches the network.reaches no 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.Apache-2.0

This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen

Install it

Check it yourself before you install it. Mods run unsandboxed, with your permissions, and modscode does not vouch for what this code does. Read the code below (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.

Its repository's .claude-plugin/marketplace.json does not list it, so there is no install line to give. Read it as code, or follow its author's README.

Ask Claude about it

With the modscode connector added, Claude can read this design, what its code reaches and its code, and build on them. Ask it like this:

Read the modscode design "russellpope-outputs-pane" with its code and make me a pane like it

Search them from Claude: the MCP connector

Similar designs