Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / red-alert

red-alert

Audible alerts for Claude Code: Claude sounds normal/yellow/red alerts on your server's speakers, with an LCARS status band and alert animations.

Code you can checkTerminal + desktopPaneBandStatus lineToastBoxButtonInputText
network, draws

What it does

  • Draws a band above the prompt, a pane, the status line, toasts
  • Adds /alert
  • Watches tool calls and can refuse them
  • Hooks classic.Notification, prompt.compose, prompt.submit, session.end and 1 more
  • Keeps its own state between turns

Good points

  • 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 red-alert by dukechain2333 (pane, band, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/dukechain2333-red-alert/
// 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 label = '…'
    const name = '…'
    const lastText = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="row">
          <Text>
            ▐
          </Text>
          <Text color="#000000" bold>
            {` ${label} `}
          </Text>
          <Text>
            ▌
          </Text>
          <Text>
            {" "}
          </Text>
          <Text>
            ━━━━━━━━
          </Text>
          <Text>
            {" "}
          </Text>
          <Text>
            ▐
          </Text>
          <Text color="#000000" bold>
            {` ${label} `}
          </Text>
          <Text>
            ▌
          </Text>
          <Text>
            {" "}
          </Text>
          <Text>
            {" "}
          </Text>
          <Text bold>
            {"● "}
          </Text>
          <Button label={`${name}`} plain />
          <Text>
            {" "}
          </Text>
          <Text bold>
            {"● "}
          </Text>
          <Button label={`${name}`} plain />
          <Text>
            {" "}
          </Text>
          <Text bold>
            {"● "}
          </Text>
          <Button label={`${name}`} plain />
          <Text color="#CC9966">
            {`  ${lastText}`}
          </Text>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  // the pane: open it with $.ui.open({ id: 'my-pane', title: "Alert console" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button, Input } = $.ui.resolve(e)
    const title = '…'
    const message = '…'
    const from = '…'
    const secondsLeft = '…'
    const system = '…'
    const label = '…'
    const muteLabel = '…'
    const priority = '…'
    const style = '…'
    const lengthText = '…'
    const description = '…'
    const description2 = '…'
    const description3 = '…'
    const clockText = '…'
    const level = '…'
    const status = '…'
    const source = '…'
    const level2 = '…'
    const status2 = '…'
    const level3 = '…'
    const status3 = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="column">
          <Box flexDirection="row">
            <Text>
              ████████
            </Text>
            <Text>
              ████████
            </Text>
            <Text>
              ████████
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text bold>
              {title}
            </Text>
            <Box flexGrow={1} flexShrink={1}>
              <Text wrap="truncate">
                {` ${message}${from} `}
              </Text>
            </Box>
            <Text>
              {` ${secondsLeft}s `}
            </Text>
            <Button label="Silence" hotkey="0" plain />
            <Text>
              {" "}
            </Text>
          </Box>
          <Box flexDirection="row">
            <Text>
              ████████
            </Text>
            <Text>
              ████████
            </Text>
            <Text>
              ████████
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row" marginTop={1}>
          <Text color="#FFCC99" bold>
            {"SYSTEM     "}
          </Text>
          <Text color="#66DD99" wrap="truncate">
            {system}
          </Text>
        </Box>
        <Box flexDirection="row">
          <Text color="#FFCC99" bold>
            {"CONDITION  "}
          </Text>
          <Text bold>
            {label}
          </Text>
          <Text color="#FF9966">
            {`  · ${muteLabel}`}
          </Text>
        </Box>
        <Box flexDirection="row" marginTop={1}>
          <Text>
            ▐
          </Text>
          <Text color="#000000" bold>
            {" MANUAL ALERT "}
          </Text>
          <Text>
            ▌
          </Text>
          <Text>
            {" "}
          </Text>
          <Text>
            ━━━━━━━━
          </Text>
        </Box>
        <Input label="Message " placeholder="optional; Enter, then a level's number" value={`${message}`} submitLabel="pick a level" />
        <Text dimColor>
          No levels yet: the daemon has not answered.
        </Text>
        <Box flexDirection="row">
          <Button label="Sound" plain dimColor />
          <Text>
            {" "}
          </Text>
          <Text>
            ▐
          </Text>
          <Text color="#000000" bold>
            {` ${label} `}
          </Text>
          <Text>
            ▌
          </Text>
          <Text color="#CC9966">
            {` p${priority}${style}${lengthText}`}
          </Text>
          <Box flexShrink={1}>
            <Text dimColor wrap="truncate">
              {description}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Button label="Sound" plain dimColor />
          <Text>
            {" "}
          </Text>
          <Text>
            ▐
          </Text>
          <Text color="#000000" bold>
            {` ${label} `}
          </Text>
          <Text>
            ▌
          </Text>
          <Text color="#CC9966">
            {` p${priority}${style}${lengthText}`}
          </Text>
          <Box flexShrink={1}>
            <Text dimColor wrap="truncate">
              {description2}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Button label="Sound" plain dimColor />
          <Text>
            {" "}
          </Text>
          <Text>
            ▐
          </Text>
          <Text color="#000000" bold>
            {` ${label} `}
          </Text>
          <Text>
            ▌
          </Text>
          <Text color="#CC9966">
            {` p${priority}${style}${lengthText}`}
          </Text>
          <Box flexShrink={1}>
            <Text dimColor wrap="truncate">
              {description3}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row" marginTop={1}>
          <Text>
            ▐
          </Text>
          <Text color="#000000" bold>
            {" LOG "}
          </Text>
          <Text>
            ▌
          </Text>
          <Text>
            {" "}
          </Text>
          <Text>
            ━━━━━━━━
          </Text>
        </Box>
        <Text dimColor>
          No alerts yet.
        </Text>
        <Box flexDirection="row">
          <Text dimColor>
            {`${clockText}  `}
          </Text>
          <Text bold>
            {level}
          </Text>
          <Text color="#CC9966">
            {status}
          </Text>
          <Box flexShrink={1}>
            <Text wrap="truncate">
              {`${message}  · ${source}`}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Text dimColor>
            {`${clockText}  `}
          </Text>
          <Text bold>
            {level2}
          </Text>
          <Text color="#CC9966">
            {status2}
          </Text>
          <Box flexShrink={1}>
            <Text wrap="truncate">
              {`${message}  · ${source}`}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Text dimColor>
            {`${clockText}  `}
          </Text>
          <Text bold>
            {level3}
          </Text>
          <Text color="#CC9966">
            {status3}
          </Text>
          <Box flexShrink={1}>
            <Text wrap="truncate">
              {`${message}  · ${source}`}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row" marginTop={1} gap={1}>
          <Button label="Silence" hotkey="0" />
          <Button label="Mute 30m" hotkey="m" />
          <Button label="Unmute" hotkey="u" />
          <Button label="Start daemon" hotkey="d" variant="primary" />
          <Button label="Refresh" hotkey="r" />
          <Button label="Close" hotkey="x" role="dismiss" />
        </Box>
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const title = '…'
    const from = '…'
    const message = '…'
    await $.ui.status(`○ alert system offline · /alert start`)
    await $.ui.toast(`${title}${from}: ${message}`)
    await $.ui.toast(`The alert system is offline.`)
    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.

plugin/hooks/register.tsx lines 909–926 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    if (e.props.hasSurvey) return next(e)
    const [current, shown, list, log, now] = await Promise.all([
      read($, link),
      read($, active),
      read($, levels),
      read($, history),
      $.clock.now(),
    ])
    const t = $.ui.resolve(e)
    // the engine draws its own collapse mark, ` [-]`, at the band's right edge
    const width = Math.max(20, e.props.bodyColumns - 4)
    if (shown) {
      return alertBanner($, t, width, Math.max(1, e.props.maxRows - 1), shown, now)
    }
    if (!settings.isIdleBandShown) return next(e)
    return idleStrip($, t, width, current, list, log, now)
  })
plugin/hooks/register.tsx lines 650–720 · Band
function alertBanner($: EngineInterface, t: Table, width: number, maxRows: number, shown: ActiveAlert, now: number) {
  const { Box, Text, Button } = t
  const ms = now - shown.startedAt
  const isAnimating = frameTimer !== undefined || now < shown.animateUntil
  const colors = bannerColors(shown.style, shown.color, ms, !isAnimating)
  const Raster = 'Raster' in t ? t.Raster : undefined

  const wanted = shown.style === 'klaxon' ? 2 : 1
  const spare = Math.max(0, maxRows - 1)
  const top = isAnimating ? Math.min(wanted, shown.style === 'sweep' ? spare : Math.floor(spare / 2)) : 0
  const bottom = isAnimating && shown.style !== 'sweep' ? Math.min(wanted, spare - top) : 0

  const bars = (rows: number, edge: 'top' | 'bottom') => {
    if (rows <= 0) return null
    if (Raster) {
      return (
        <Raster
          key={`bars:${edge}`}
          columns={width}
          rows={rows}
          cells={barCells(shown.style, shown.color, width, rows, ms, edge)}
        />
      )
    }
    const runs = barRuns(shown.style, shown.color, Math.max(8, Math.floor(width / 4)), ms)
    const run = Math.floor(width / runs.length)
    return (
      <Box flexDirection="row">
        {runs.map((color, i) => (
          <Text color={color}>{'█'.repeat(i === runs.length - 1 ? width - run * (runs.length - 1) : run)}</Text>
        ))}
      </Box>
    )
  }

  const title =
    shown.style === 'klaxon' && isAnimating
      ? ` ${chevrons(ms, 'left')}  ${shown.title}  ${chevrons(ms, 'right')} `
      : shown.style === 'sweep'
        ? ` ◉ INCOMING · ${shown.title} `
        : ` ◆ ${shown.title} ◆ `
  const from =
    shown.origin === 'remote' ? `  · ${shown.source || 'elsewhere'}` : shown.origin === 'manual' ? '  · manual' : ''
  const secondsLeft = shown.duration > 0 ? Math.ceil((shown.startedAt + shown.duration * 1000 - now) / 1000) : 0

  return (
    <Box flexDirection="column">
      {bars(top, 'top')}
      <Box flexDirection="row" width={width} backgroundColor={colors.background}>
        <Text backgroundColor={colors.background} color={colors.foreground} bold>{title}</Text>
        <Box flexGrow={1} flexShrink={1}>
          <Text backgroundColor={colors.background} color={colors.foreground} wrap="truncate">
            {` ${shown.message}${from} `}
          </Text>
        </Box>
        {secondsLeft > 0 && (
          <Text backgroundColor={colors.background} color={colors.foreground}>{` ${secondsLeft}s `}</Text>
        )}
        <Button
          key="band:silence"
          label={isAnimating ? 'Silence' : 'Dismiss'}
          hotkey={SILENCE_KEY}
          plain
          onPress={() => void silenceQuietly($)}
        />
        <Text backgroundColor={colors.background}> </Text>
      </Box>
      {bars(bottom, 'bottom')}
    </Box>
  )
}
plugin/hooks/register.tsx lines 603–647 · Band
function idleStrip(
  $: EngineInterface,
  t: Table,
  width: number,
  current: DaemonLink | null,
  list: readonly AlertLevel[],
  log: readonly AlertRecord[],
  now: number,
) {
  const { Box, Text, Button } = t
  const status = statusPill(current, now)

  // the status and the levels first; then the brand, the rule and the last alert where room is left
  const levelsWidth = list.reduce((n, level) => n + level.name.length + 2, 0) + 2 * Math.max(0, list.length - 1)
  const fixed = 1 + 1 + status.label.length + 4 + (list.length > 0 ? 2 + levelsWidth : 0)
  const brand = width - fixed - 18 >= 4 ? '◉ ALERT SYSTEM' : '◉'
  let used = brand.length + 4 + fixed
  const last = log[0]
  const lastText = last ? `LAST ${last.level.toUpperCase()} ${ago(now / 1000 - last.time)} AGO` : ''
  const isLastShown = lastText !== '' && width - used - 4 >= lastText.length + 2
  if (isLastShown) used += lastText.length + 2

  return (
    <Box flexDirection="row">
      {pill(t, brand, LCARS.orange)}
      <Text> </Text>
      {rule(t, width - used, LCARS.lavender)}
      <Text> </Text>
      {pill(t, status.label, status.color)}
      {list.length > 0 && <Text>  </Text>}
      {list.map((level, i) => [
        i > 0 ? <Text>  </Text> : null,
        <Text color={level.color} bold>● </Text>,
        <Button
          key={`band:level:${level.name}`}
          label={level.name.toUpperCase()}
          plain
          {...(i === 0 ? { autoFocus: true } : {})}
          onPress={() => void soundFromBand($, level.name)}
        />,
      ])}
      {isLastShown && <Text color={LCARS.tan}>{`  ${lastText}`}</Text>}
    </Box>
  )
}
plugin/hooks/register.tsx lines 575–582 · Band
function pill(t: Table, label: string, color: string) {
  const { Text } = t
  return [
    <Text color={color}>▐</Text>,
    <Text backgroundColor={color} color={LCARS.ink} bold>{` ${label} `}</Text>,
    <Text color={color}>▌</Text>,
  ]
}
plugin/hooks/register.tsx lines 584–587 · Band
function rule(t: Table, width: number, color: string) {
  const { Text } = t
  return <Text color={color}>{'━'.repeat(Math.max(1, width))}</Text>
}
plugin/hooks/register.tsx lines 928–1028 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const [current, shown, list, log, message, now] = await Promise.all([
      read($, link),
      read($, active),
      read($, levels),
      read($, history),
      read($, draft),
      $.clock.now(),
    ])
    const t = $.ui.resolve(e)
    const { Box, Text, Button } = t
    const Input = 'Input' in t ? t.Input : undefined
    const width = Math.max(30, e.props.bodyColumns)
    const rows = e.viewport?.rows ?? 30
    const ordered = [...list].sort((a, b) => a.priority - b.priority)

    const condition = shown
      ? { label: `${shown.level.toUpperCase()} ALERT`, color: shown.color }
      : current?.online
        ? { label: 'GREEN · STANDING BY', color: LCARS.green }
        : { label: 'NO CONTACT', color: LCARS.red }
    const system = current?.online
      ? `● ONLINE  ${current.url} · v${current.version} · ${current.hostname} · up ${ago(current.uptimeS ?? 0).toLowerCase()} · ${current.player}`
      : `○ OFFLINE  ${current?.url ?? settings.url}${current?.error ? ` · ${current.error}` : ''}`
    const logRoom = Math.max(1, rows - ordered.length - 15)

    return (
      <Box flexDirection="column">
        {shown ? alertBanner($, t, width, 5, shown, now) : consoleHeader(t, width)}
        <Box flexDirection="row" marginTop={1}>
          <Text color={LCARS.sand} bold>{'SYSTEM     '}</Text>
          <Text color={current?.online ? LCARS.green : LCARS.red} wrap="truncate">{system}</Text>
        </Box>
        <Box flexDirection="row">
          <Text color={LCARS.sand} bold>{'CONDITION  '}</Text>
          <Text color={condition.color} bold>{condition.label}</Text>
          {current?.mute && <Text color={LCARS.peach}>{`  · ${muteLabel(current.mute, now)}`}</Text>}
        </Box>

        {section(t, width, 'MANUAL ALERT', LCARS.violet)}
        {Input && (
          <Input
            key="manual:message"
            label="Message "
            placeholder="optional; Enter, then a level's number"
            value={message}
            submitLabel="pick a level"
            onInput={value => void update($, draft, () => value)}
            onSubmit={value => void update($, draft, () => value).then(() => focusFirstSound($))}
          />
        )}
        {ordered.length === 0 && <Text dimColor>No levels yet: the daemon has not answered.</Text>}
        {ordered.map((level, i) => (
          <Box flexDirection="row">
            <Button
              key={`sound:${level.name}`}
              label="Sound"
              {...(i < 9 ? { hotkey: String(i + 1) } : {})}
              plain
              dimColor
              onPress={() => void soundDraft($, level.name)}
            />
            <Text> </Text>
            {pill(t, level.name.toUpperCase().padEnd(8), level.color)}
            <Text color={LCARS.tan}>
              {` p${String(level.priority).padEnd(4)}${level.style.padEnd(7)}${lengthText(level.duration).padEnd(6)}`}
            </Text>
            <Box flexShrink={1}>
              <Text dimColor wrap="truncate">
                {level.soundReady ? level.description : `(sound not cached yet) ${level.description}`}
              </Text>
            </Box>
          </Box>
        ))}

        {section(t, width, 'LOG', LCARS.peach)}
        {log.length === 0 && <Text dimColor>No alerts yet.</Text>}
        {log.slice(0, logRoom).map(alert => (
          <Box flexDirection="row">
            <Text dimColor>{`${clockText(alert.time)}  `}</Text>
            <Text color={alert.color} bold>{alert.level.toUpperCase().padEnd(8)}</Text>
            <Text color={LCARS.tan}>{alert.status.padEnd(11)}</Text>
            <Box flexShrink={1}>
              <Text wrap="truncate">{`${alert.message || '-'}${alert.source ? `  · ${alert.source}` : ''}`}</Text>
            </Box>
          </Box>
        ))}

        <Box flexDirection="row" marginTop={1} gap={1}>
          <Button key="silence" label="Silence" hotkey={SILENCE_KEY} onPress={() => void silenceQuietly($, true)} />
          <Button key="mute" label="Mute 30m" hotkey="m" onPress={() => void mute($, 30).catch(() => null)} />
          <Button key="unmute" label="Unmute" hotkey="u" onPress={() => void unmute($).catch(() => null)} />
          {current !== null && current.checkedAt > 0 && !current.online && (
            <Button key="start" label="Start daemon" hotkey="d" variant="primary" onPress={() => void startAndToast($)} />
          )}
          <Button key="refresh" label="Refresh" hotkey="r" onPress={() => void refresh($)} />
          <Button key="close" label="Close" hotkey="x" role="dismiss" onPress={() => void $.ui.close({ id: PANE })} />
        </Box>
      </Box>
    )
  })
Licence text (MIT)
MIT License

Copyright (c) 2026 William Qian

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

networkruns programstool callsremembers

What its code shows

Read from the source at commit f67804f2731a 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.plugin/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.3 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.plugin/hooks/register.tsx:265 fetch(endpoint(settings.url, path))
ProgramsWhether every program it starts is named in the code and is not a shell, an interpreter or a network tool.systemctl
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).reaches the network, but reads no files, no environment variables and no transcript
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 tool ?, adds command alert
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, tool.check, tool.call, command.run (alert) · shapes: tool.describe, prompt.compose · reads: classic.Notification · also: session.start, session.end, ui.render (AbovePrompt, Pane, ToolUse) · timers: 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.reads no files, environment variables, settings or transcript
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.writes no files, environment variables, settings or conversation rows

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 dukechain2333/red-alert
/plugin install red-alert@red-alert
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (f67804f2731a). 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/dukechain2333/red-alert
git -C red-alert checkout f67804f2731a7f6150a30ab3ca015a6581c3c82d
claude plugin validate red-alert/plugin
claude --plugin-dir red-alert/plugin

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 "dukechain2333-red-alert" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

More by dukechain2333

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/dukechain2333-red-alert.svg)](https://modscode.com/claude-mods/mods/dukechain2333-red-alert/)