Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / code-buddy

code-buddy

A rubber duck in your Claude Code session: a quiet second opinion on each turn, a guard for risky commands, reminders, and lessons about your codebase

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

What it does

  • Draws a pane, a band above the prompt, toasts
  • Adds /code-buddy
  • Watches tool calls and can refuse them
  • Hooks classic.PreToolUse, prompt.submit, session.measure, session.start and 2 more
  • Keeps its own state between turns

Good points

  • No network calls
  • Written in TypeScript
  • Handles errors
  • Writes no files

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 code-buddy by Aether Technical (pane, band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/aether-technical-code-buddy/
// 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: "code-buddy" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const name = '…'
    const level = '…'
    const lookName = '…'
    const text = '…'
    const text2 = '…'
    const text3 = '…'
    const text4 = '…'
    const text5 = '…'
    const text6 = '…'
    const text7 = '…'
    const text8 = '…'
    const text9 = '…'
    const line = '…'
    const concern = '…'
    const concern2 = '…'
    const concern3 = '…'
    const evidence = '…'
    const fmtWhen = '…'
    const text10 = '…'
    const fmtWhen2 = '…'
    const text11 = '…'
    const fmtWhen3 = '…'
    const text12 = '…'
    const topic = '…'
    const lesson = '…'
    const topic2 = '…'
    const lesson2 = '…'
    const topic3 = '…'
    const lesson3 = '…'
    const STATUS_GLYPH = '…'
    const claim = '…'
    const STATUS_GLYPH2 = '…'
    const claim2 = '…'
    const STATUS_GLYPH3 = '…'
    const claim3 = '…'
    const STATUS_GLYPH4 = '…'
    const ago = '…'
    const claim4 = '…'
    const STATUS_GLYPH5 = '…'
    const ago2 = '…'
    const claim5 = '…'
    const STATUS_GLYPH6 = '…'
    const ago3 = '…'
    const claim6 = '…'
    return (
      <Box flexDirection="column" paddingX={1}>
        <Text bold>
          {name}
        </Text>
        <Text dimColor wrap="truncate-end">
          {"lv "}
          {level}
          {" · "}
          {lookName}
          {" · muted"}
        </Text>
        <Box flexDirection="column">
          <Box flexDirection="row">
            <Text>
              {text}
            </Text>
            <Text>
              {text2}
            </Text>
            <Text>
              {text3}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text>
              {text4}
            </Text>
            <Text>
              {text5}
            </Text>
            <Text>
              {text6}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text>
              {text7}
            </Text>
            <Text>
              {text8}
            </Text>
            <Text>
              {text9}
            </Text>
          </Box>
        </Box>
        <Text italic>
          "
          {line}
          "
        </Text>
        <Box flexDirection="column" marginTop={1}>
          <Text bold>
            What I looked at
          </Text>
          <Text dimColor>
            Nothing yet.
          </Text>
          <Text>
            {"✓ "}
            {concern}
          </Text>
          <Text>
            {"✓ "}
            {concern2}
          </Text>
          <Text>
            {"✓ "}
            {concern3}
          </Text>
          <Text dimColor>
            {"evidence: "}
            {evidence}
          </Text>
          <Box>
            <Button label="back" hotkey="w" />
          </Box>
        </Box>
        <Box flexDirection="column" marginTop={1}>
          <Text dimColor>
            ── reminders ──
          </Text>
          <Text dimColor wrap="truncate-end">
            {fmtWhen}
            {" ↻"}
            {": "}
            {text10}
          </Text>
          <Text dimColor wrap="truncate-end">
            {fmtWhen2}
            {" ↻"}
            {": "}
            {text11}
          </Text>
          <Text dimColor wrap="truncate-end">
            {fmtWhen3}
            {" ↻"}
            {": "}
            {text12}
          </Text>
        </Box>
        <Box flexDirection="column" marginTop={1}>
          <Text dimColor>
            ── lessons ──
          </Text>
          <Text wrap="truncate-end">
            {topic}
            {": "}
            {lesson}
          </Text>
          <Text wrap="truncate-end">
            {topic2}
            {": "}
            {lesson2}
          </Text>
          <Text wrap="truncate-end">
            {topic3}
            {": "}
            {lesson3}
          </Text>
        </Box>
        <Box flexDirection="column" marginTop={1}>
          <Text dimColor>
            ── earlier ──
          </Text>
          <Text dimColor wrap="truncate-end">
            {STATUS_GLYPH}
            {" "}
            {claim}
          </Text>
          <Text dimColor wrap="truncate-end">
            {STATUS_GLYPH2}
            {" "}
            {claim2}
          </Text>
          <Text dimColor wrap="truncate-end">
            {STATUS_GLYPH3}
            {" "}
            {claim3}
          </Text>
        </Box>
        <Box flexDirection="column" marginTop={1}>
          <Text dimColor>
            ── past sessions ──
          </Text>
          <Text dimColor wrap="truncate-end">
            {STATUS_GLYPH4}
            {" "}
            {ago}
            {": "}
            {claim4}
          </Text>
          <Text dimColor wrap="truncate-end">
            {STATUS_GLYPH5}
            {" "}
            {ago2}
            {": "}
            {claim5}
          </Text>
          <Text dimColor wrap="truncate-end">
            {STATUS_GLYPH6}
            {" "}
            {ago3}
            {": "}
            {claim6}
          </Text>
        </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 text = '…'
    const text2 = '…'
    const text3 = '…'
    const text4 = '…'
    const text5 = '…'
    const text6 = '…'
    const text7 = '…'
    const text8 = '…'
    const text9 = '…'
    const level = '…'
    const lookName = '…'
    const percent = '…'
    const line = '…'
    const text10 = '…'
    const ago = '…'
    const fmtEvery = '…'
    const waiting = '…'
    return (
      <Box flexDirection="column">
        <Text dimColor wrap="truncate-end">
          ────────
        </Text>
        <Box flexDirection="row" gap={1}>
          <Box flexDirection="column" flexShrink={0} width={15}>
            <Box flexDirection="row">
              <Text color="#f5c518">
                {text}
              </Text>
              <Text color="#f5c518">
                {text2}
              </Text>
              <Text color="#f5c518">
                {text3}
              </Text>
            </Box>
            <Box flexDirection="row">
              <Text color="#f5c518">
                {text4}
              </Text>
              <Text color="#f5c518">
                {text5}
              </Text>
              <Text color="#f5c518">
                {text6}
              </Text>
            </Box>
            <Box flexDirection="row">
              <Text color="#f5c518">
                {text7}
              </Text>
              <Text color="#f5c518">
                {text8}
              </Text>
              <Text color="#f5c518">
                {text9}
              </Text>
            </Box>
          </Box>
          <Box flexDirection="column" flexGrow={1} flexShrink={1}>
            <Box flexDirection="row" gap={1}>
              <Box flexGrow={1} flexShrink={1}>
                <Text wrap="truncate-end">
                  <Text bold>
                    an egg
                  </Text>
                  <Text dimColor>
                    {" lv "}
                    {level}
                    {" · "}
                    {lookName}
                  </Text>
                  <Text dimColor>
                    {" · ctx "}
                    {percent}
                    %
                  </Text>
                  <Text italic>
                    {" \""}
                    {line}
                    "
                  </Text>
                </Text>
              </Box>
              <Box flexDirection="row" gap={1} flexShrink={0}>
                <Button label="relay" hotkey="r" variant="primary" />
                <Button label="dismiss" hotkey="d" />
                <Button label="why?" hotkey="w" />
              </Box>
            </Box>
            <Box flexDirection="column">
              <Box height={2} overflow="hidden">
                <Text>
                  <Text color="#d4a72c">
                    {"reminder · "}
                  </Text>
                  <Text bold>
                    {text10}
                  </Text>
                </Text>
              </Box>
              <Text dimColor wrap="truncate-end">
                {"due "}
                12am
                {" ("}
                {ago}
                )
                {` · ${fmtEvery}`}
                {` · +${waiting} more`}
              </Text>
            </Box>
          </Box>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const name = '…'
    const text = '…'
    await $.ui.toast(`${name}: ${text}`)
    return next(e)
  })
}

The mod's own code

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

hooks/register.tsx lines 1008–1148 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const d = await read($, duckA)
    const mood = await read($, moodA)
    const frame = await read($, frameA)
    const line = await read($, quipA)

    if (!d) {
      const egg = sprite(rollDuck(0), 'hatching', frame % 3)
      return (
        <Box flexDirection="column" paddingX={1}>
          {egg.map(row => <Text color={EGG_COLOR}>{row.map(s => s.text).join('')}</Text>)}
          <Text dimColor italic>{line || 'something is hatching…'}</Text>
        </Box>
      )
    }

    const objections = await read($, objectionsA)
    const current = objections.find(o => o.status === 'open') ?? null
    const lastCheck = await read($, lastCheckA)
    const isChecking = await read($, isCheckingA)
    const isMuted = await read($, isMutedA)
    const isWhy = await read($, isWhyA)
    const now = await $.clock.now()
    const history = objections.filter(o => o.status !== 'open' && !o.isPast).slice(0, 5)
    const past = objections.filter(o => o.isPast).slice(0, 8)
    const zone = await read($, zoneA)
    const upcoming = [...(await read($, remindersA))].sort((a, b) => a.dueAt - b.dueAt).slice(0, 5)
    const lessons = (await read($, lessonsA)).slice(0, 4)
    const considered = current?.considered ?? lastCheck?.considered ?? []

    return (
      <Box flexDirection="column" paddingX={1}>
        <Text bold>{d.name}</Text>
        <Text dimColor wrap="truncate-end">
          lv {level(d)} · {lookName(d)}{isMuted ? ' · muted' : ''}
        </Text>
        <Box flexDirection="column">
          {sprite(d, mood, frame).map(row => (
            <Box flexDirection="row">
              {row.map(s => <Text color={colorOf(d, mood, s.part)}>{s.text}</Text>)}
            </Box>
          ))}
        </Box>
        {line !== '' && <Text italic>"{line}"</Text>}

        {isWhy ? (
          <Box flexDirection="column" marginTop={1}>
            <Text bold>What I looked at</Text>
            {considered.length === 0 && <Text dimColor>Nothing yet.</Text>}
            {considered.map(c => (
              <Text dimColor={c.already_addressed}>
                {c.already_addressed ? '✓ ' : '• '}{c.concern}
              </Text>
            ))}
            {current && <Text dimColor>evidence: {current.evidence}</Text>}
            <Box>
              <Button key="back" label="back" hotkey="w" onPress={noop} />
            </Box>
          </Box>
        ) : current ? (
          <Box flexDirection="column" marginTop={1}>
            <Text>
              <Text color={SEV_COLOR[current.severity]}>● </Text>
              {current.claim}
            </Text>
            <Text dimColor>evidence: {current.evidence}</Text>
            <Box flexDirection="row" gap={1} flexWrap="wrap">
              <Button key="relay" label="relay" hotkey="r" variant="primary" onPress={noop} />
              <Button key="dismiss" label="dismiss" hotkey="d" onPress={noop} />
              <Button key="why" label="why?" hotkey="w" onPress={noop} />
            </Box>
          </Box>
        ) : (
          <Box flexDirection="column" marginTop={1}>
            <Text dimColor>
              {isMuted
                ? 'Muted. /code-buddy loud to wake me.'
                : isChecking
                  ? 'Reading the last turn…'
                  : lastCheck
                    ? lastCheck.note || `Checked ${ago(now - lastCheck.at)}: nothing worth raising.`
                    : 'Watching.'}
            </Text>
            {!isMuted && !isChecking && (
              <Box flexDirection="row" gap={1} flexWrap="wrap">
                <Button key="check" label="check" hotkey="c" onPress={noop} />
                {lastCheck && lastCheck.considered.length > 0 && (
                  <Button key="why" label="why quiet?" hotkey="w" onPress={noop} />
                )}
              </Box>
            )}
          </Box>
        )}

        {upcoming.length > 0 && (
          <Box flexDirection="column" marginTop={1}>
            <Text dimColor>── reminders ──</Text>
            {upcoming.map(r => (
              <Text dimColor wrap="truncate-end">
                {fmtWhen(r.dueAt, now, zone)}{r.everyMs ? ' ↻' : ''}: {r.text}
              </Text>
            ))}
          </Box>
        )}

        {lessons.length > 0 && (
          <Box flexDirection="column" marginTop={1}>
            <Text dimColor>── lessons ──</Text>
            {lessons.map(l => (
              <Text dimColor={l.status !== 'new'} wrap="truncate-end">
                {l.topic}: {l.lesson}
              </Text>
            ))}
          </Box>
        )}

        {history.length > 0 && (
          <Box flexDirection="column" marginTop={1}>
            <Text dimColor>── earlier ──</Text>
            {history.map(o => (
              <Text dimColor wrap="truncate-end">
                {STATUS_GLYPH[o.status]} {o.claim}
              </Text>
            ))}
          </Box>
        )}

        {past.length > 0 && (
          <Box flexDirection="column" marginTop={1}>
            <Text dimColor>── past sessions ──</Text>
            {past.map(o => (
              <Text dimColor wrap="truncate-end">
                {STATUS_GLYPH[o.status]} {ago(now - o.at)}: {o.claim}
              </Text>
            ))}
          </Box>
        )}
      </Box>
    )
  })
hooks/register.tsx lines 1151–1310 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    if (e.props.hasSurvey) return next(e)
    const reminders = await read($, remindersA)
    const reminder = showingReminder(reminders)
    // muting silences the critic, not reminders you set yourself
    const nudge = await read($, compactNudgeA)
    // muting quiets the critic and educator, not reminders or the compact nudge
    if ((await read($, isMutedA)) && !reminder && !nudge) return next(e)
    const d = await read($, duckA)
    const mood = await read($, moodA)
    const frame = await read($, frameA)
    const line = await read($, quipA)
    const current = (await read($, objectionsA)).find(o => o.status === 'open') ?? null
    const lastCheck = await read($, lastCheckA)
    const isChecking = await read($, isCheckingA)
    const isWhy = await read($, isWhyA)
    const lessons = await read($, lessonsA)
    const lesson = lessons.find(l => l.status === 'new') ?? null
    const ctx = await read($, contextA)
    const quiz = await read($, quizA)
    const quizLesson = quiz ? (lessons.find(l => l.id === quiz.lessonId) ?? null) : null
    const guarded = await read($, guardedA)
    const now = await $.clock.now()
    const zone = await read($, zoneA)
    const { Box, Text, Button } = $.ui.resolve(e)
    const waiting = reminders.filter(r => r.firedAt !== undefined).length - 1

    const rows = d ? spriteCompact(d, mood, frame) : spriteCompact(rollDuck(0), 'hatching', frame % 3)
    const considered = current?.considered ?? lastCheck?.considered ?? []
    const status = isChecking
      ? 'Reading the last turn…'
      : lastCheck
        ? lastCheck.note || `Checked ${ago(now - lastCheck.at)}: nothing worth raising.`
        : 'Watching.'

    return (
      <Box flexDirection="column">
      {/* a rule to set the strip apart from the spinner and tip lines above it */}
      <Text dimColor wrap="truncate-end">{'─'.repeat(Math.max(1, e.props.bodyColumns))}</Text>
      <Box flexDirection="row" gap={1}>
        <Box flexDirection="column" flexShrink={0} width={15}>
          {rows.map(row => (
            <Box flexDirection="row">
              {row.map(seg => <Text color={d ? colorOf(d, mood, seg.part) : EGG_COLOR}>{seg.text}</Text>)}
            </Box>
          ))}
        </Box>
        <Box flexDirection="column" flexGrow={1} flexShrink={1}>
          <Box flexDirection="row" gap={1}>
            <Box flexGrow={1} flexShrink={1}>
              <Text wrap="truncate-end">
                <Text bold>{d?.name ?? 'an egg'}</Text>
                {d && <Text dimColor> lv {level(d)} · {lookName(d)}</Text>}
                {ctx && ctx.percent >= 50 && <Text dimColor> · ctx {ctx.percent}%</Text>}
                {line !== '' && <Text italic>  "{line}"</Text>}
              </Text>
            </Box>
            {guarded && !reminder ? (
              <Button key="runanyway" label="run anyway" hotkey="y" onPress={noop} />
            ) : reminder ? (
              <Box flexDirection="row" gap={1} flexShrink={0}>
                <Button key="ok" label="ok" hotkey="o" variant="primary" onPress={noop} />
                <Button key="snooze" label="snooze 10m" hotkey="s" onPress={noop} />
              </Box>
            ) : isWhy ? (
              <Button key="back" label="back" hotkey="w" onPress={noop} />
            ) : current ? (
              <Box flexDirection="row" gap={1} flexShrink={0}>
                <Button key="relay" label="relay" hotkey="r" variant="primary" onPress={noop} />
                <Button key="dismiss" label="dismiss" hotkey="d" onPress={noop} />
                <Button key="why" label="why?" hotkey="w" onPress={noop} />
              </Box>
            ) : nudge ? (
              <Box flexDirection="row" gap={1} flexShrink={0}>
                <Button key="compact" label="compact" hotkey="p" variant="primary" onPress={noop} />
                <Button key="later" label="later" hotkey="l" onPress={noop} />
              </Box>
            ) : lesson ? (
              <Box flexDirection="row" gap={1} flexShrink={0}>
                <Button key="gotit" label="got it" hotkey="g" variant="primary" onPress={noop} />
                <Button key="ask" label="ask" hotkey="a" onPress={noop} />
              </Box>
            ) : quiz && quizLesson ? (
              <Box flexDirection="row" gap={1} flexShrink={0}>
                {quiz.isRevealed ? (
                  <>
                    <Button key="knew" label="knew it" hotkey="k" variant="primary" onPress={noop} />
                    <Button key="didnt" label="didn't" hotkey="n" onPress={noop} />
                  </>
                ) : (
                  <>
                    <Button key="show" label="show" hotkey="s" variant="primary" onPress={noop} />
                    <Button key="skip" label="skip" hotkey="x" onPress={noop} />
                  </>
                )}
              </Box>
            ) : d && !isChecking ? (
              <Box flexDirection="row" gap={1} flexShrink={0}>
                <Button key="check" label="check" hotkey="c" onPress={noop} />
                {considered.length > 0 && <Button key="why" label="why quiet?" hotkey="w" onPress={noop} />}
              </Box>
            ) : null}
          </Box>
          {guarded && !reminder ? (
            <Box flexDirection="column">
              <Text wrap="truncate-end">
                <Text color="#e5534b">guard · </Text>
                held: this {guarded.reason}. The agent was told to wait for you.
              </Text>
              <Box height={2} overflow="hidden">
                <Text dimColor>{guarded.command}</Text>
              </Box>
            </Box>
          ) : reminder ? (
            <Box flexDirection="column">
              <Box height={2} overflow="hidden">
                <Text>
                  <Text color="#d4a72c">reminder · </Text>
                  <Text bold>{reminder.text}</Text>
                </Text>
              </Box>
              <Text dimColor wrap="truncate-end">
                due {fmtClock(reminder.dueAt, zone)} ({ago(now - reminder.dueAt)})
                {reminder.everyMs ? ` · ${fmtEvery(reminder.everyMs)}` : ''}
                {waiting > 0 ? ` · +${waiting} more` : ''}
              </Text>
            </Box>
          ) : isWhy ? (
            considered.slice(0, 3).map(c => (
              <Text dimColor={c.already_addressed} wrap="truncate-end">
                {c.already_addressed ? '✓ ' : '• '}{c.concern}
              </Text>
            ))
          ) : current ? (
            <Box flexDirection="column">
              {/* two lines for the claim, then cut off */}
              <Box height={2} overflow="hidden">
                <Text>
                  <Text color={SEV_COLOR[current.severity]}>● </Text>
                  {current.claim}
                </Text>
              </Box>
              <Text dimColor wrap="truncate-end">evidence: {current.evidence}</Text>
            </Box>
          ) : nudge ? (
            <Box flexDirection="column">
              <Text wrap="truncate-end">
                <Text color={nudge.level === 2 ? '#e5534b' : '#d4a72c'}>context · </Text>
                {ctx?.isAuto === false
                  ? `${nudge.percent}% of the context limit`
                  : `${nudge.percent}% of the way to auto-compact`}
                {ctx ? ` (${Math.round(ctx.tokens / 1000)}k of ${Math.round(ctx.limit / 1000)}k)` : ''}.{' '}
                {nudge.level === 2
                  ? ctx?.isAuto === false
                    ? 'The context is nearly full; compacting now lets you say what to keep.'
                    : 'Auto-compact is close; compacting now lets you say what to keep.'
                  : 'A /compact now, with a note on what to keep, beats an automatic one later.'}
              </Text>
              <Text dimColor wrap="truncate-end">compact fills the prompt with /compact; add what matters, then press enter.</Text>
            </Box>
Licence text (MIT)
MIT License

Copyright (c) 2026 Aether Technical, LLC

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 filesdrives Claudetool callsremembers

What its code shows

Read from the source at commit a960d0dba421 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.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).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.git (reaches the network)
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 files, the prompt box 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).calls no tool, MCP server or command
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 code-buddy, model.fork (sends its own transcript)
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: prompt.submit, classic.PreToolUse, tool.call, command.run (code-buddy) · reads: ui.press · also: session.start, session.measure, turn.complete, ui.render (Pane, AbovePrompt) · timers: clock.after, clock.every
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.files: a path computed at run time; the prompt box
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); 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 Aether-Technical/code-buddy
/plugin install code-buddy@code-buddy
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (a960d0dba421). 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/Aether-Technical/code-buddy
git -C code-buddy checkout a960d0dba421f724c7fb70a1f6c337527e7fa5e4
claude plugin validate code-buddy
claude --plugin-dir code-buddy

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 "aether-technical-code-buddy" 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/aether-technical-code-buddy.svg)](https://modscode.com/claude-mods/mods/aether-technical-code-buddy/)