modscode EN

modscode / 図鑑 / 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.

確かめやすいコードターミナル+デスクトップペインバンドステータスライントーストBoxButtonInputText

何をするか

  • プロンプトの上の帯・欄・ステータス行・トーストを描く
  • /alert を足す
  • ツールの呼び出しを見張る(止めることがある)
  • classic.Notification・prompt.compose・prompt.submit・session.end ほか 1 個にフックする
  • ターンをまたいで自分の状態を持つ

良いところ

  • TypeScript で書かれている
  • エラーを扱う
  • ファイルを書かない

作り始めるためのコード

2 種類あります。上のデザインから modscode が書いた雛形と、その Mod 自身のコードのうち描いている部分です。

雛形(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/gallery/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)
  })
}

Mod 自身のコード

Mod のライセンス(MIT)に従って載せています。全文は下にあります。写すときは著作権表示を残してください。

plugin/hooks/register.tsx 909〜926 行 · バンド
  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 650〜720 行 · バンド
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 603〜647 行 · バンド
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 575〜582 行 · バンド
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 584〜587 行 · バンド
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 928〜1028 行 · ペイン
  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>
    )
  })
ライセンスの全文(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.

コードが呼ぶもの

通信プログラム起動ツール呼び出し保存

コードから読み取ったデザイン

読み取ったコミットのソースから描いたもので、動かした結果ではありません。一覧は 3 回描き、条件はデスクトップアプリで描く最初の分岐を取り、動かしたときにだけ決まる値は仮の例(点線の下線)にするか省きます。色と書体はこのサイトのものです。

コードから読めること

2026-10-06 に読んだコミット f67804f2731a のソースから。最初のまとまりが載せる条件で、残りは自分で判断するための材料です。後のコミットは、次に読むまで見ていません。

載せる条件: 確かめやすいコード
入口を読んだhooks/hooks.json が名指すモジュールをすべて読んだ。plugin/hooks/register.tsx
解析できるすべてのファイルが TypeScript か JavaScript として解析できる。3 ファイルを解析
コードが Mod の中で完結import は Mod 自身のファイルかエンジンのモジュールだけ。パッケージも require もない。コードはすべて Mod の中
読める圧縮した行・eval・new Function・計算した道の import()・符号化した塊がない。圧縮・eval・符号化した塊なし
呼び出しが見える通信とプログラム起動はその場で $.http.fetch・$.process.run と書き、他へ渡さない。外への呼び出しはすべてその場の $ で
入れる前に自分で判断する材料
描く場所コードから読んだ、描く先。ターミナル・デスクトップアプリ・両方・何も描かない(フックだけ: 見張りやプロンプトの書き換え)のどれか。出すだけで、外す理由にはしない。ターミナルとデスクトップアプリに同じように描く
入れる手順リポジトリ自身の .claude-plugin/marketplace.json にこの Mod が載っていて、ページに書いた手順でそのマーケットプレイスから入れられるか。リポジトリの .claude-plugin/marketplace.json に載っており、そこから入れられる
Windows のプログラム$.process で起動するプログラムが Windows にあるか(tail・date・open・osascript・/usr/… などは無い)。Windows にないプログラムを使わない
通信fetch の送り先(https のホスト)がコードに書いてあるか。plugin/hooks/register.tsx:265 fetch(endpoint(settings.url, path))
プログラム起動するプログラムの名前がコードに書いてあり、シェル・インタプリタ・通信用の道具でないか。systemctl
読んで送るファイルや環境変数を読み、かつ通信するか。通信するが、ファイルも環境変数も読まない
ソースの鍵ソースに API キーや秘密鍵らしきものがあるか。ソースに鍵なし
ライセンスオープンなライセンス(MIT・Apache-2.0・BSD・ISC・Unlicense・0BSD・CC0)で全文があれば、modscode にコードを載せる。違えばリンクだけ。MIT

コードの文面を読んだだけで、安全の審査ではありません。動かしてはおらず、起動するプログラムの中で何が起きるかも見えません。入れる前の確認はあなたの役目です。 載せる条件

入れる

入れる前に、必ず自分で確かめてください。Mod はサンドボックスなしで、あなたの権限で動きます。modscode はこのコードの安全を保証しません。下のコードを読み(またはフォルダーで claude plugin validate .)、触るものを見て、読んだコミットを入れてください。

リポジトリがそのままマーケットプレイスです。このマーケットプレイスを足し(ターミナルでは次のコマンド、デスクトップアプリではプラグインの設定)、そこから Mod を入れます。

/plugin marketplace add dukechain2333/red-alert
/plugin install red-alert@red-alert

入るのはマーケットプレイスの最新のコミットで、ここで読んだもの(f67804f2731a)と違うことがあります。入れる前に見比べてください。

Claude に聞く

modscode のコネクタを入れると、Claude がこのデザイン・コードが触るもの・コードを読んで、それをもとに作れます。たとえば:

modscode のデザイン「dukechain2333-red-alert」をコードごと読んで、同じようなペインを作って

Claude から探す: MCP コネクタ

似たデザイン