modscode EN

modscode / 図鑑 / jevmate

jevmate

A fast decision layer for coding agents. Jev ranks files, picks the tests a change can break, sorts failures and reviews diffs by risk, so Claude reads only what matters and judges only what Jev is unsure of. Also: long output trimmed, com…

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

何をするか

  • プロンプトの上の帯・欄・トーストを描く
  • Bash・Read の呼び出しを見張る(止めることがある)
  • agent.spawn・plugin.register・prompt.submit・session.attach ほか 6 個にフックする
  • ターンをまたいで自分の状態を持つ
  • プロセスを起こす

良いところ

  • ネットワークに出ない
  • TypeScript で書かれている
  • デスクトップ専用の分岐がある
  • エラーを扱う

作り始めるためのコード

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

雛形(register.tsx)

register.tsx
import type { Register } from 'claude-code'

// Drawn like jevmate by Gaston Gelhorn (pane, band, toast), as modscode read it from the mod's code:
// https://modscode.com/gallery/gastongelhorn-jevmate/
// Written by modscode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
  // the band above the prompt; what else goes there is drawn under it
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const text = '…'
    const text2 = '…'
    const text3 = '…'
    return (
      <Box flexDirection="column">
        <Box flexDirection="row">
          <Text>
            <Text>
              {text}
            </Text>
            <Text>
              {text2}
            </Text>
            <Text>
              {text3}
            </Text>
          </Text>
          <Button label="details" plain />
          <Text dimColor>
            {" · "}
          </Text>
          <Button label="hide" plain dimColor />
        </Box>
        {await next(e)}
      </Box>
    )
  })

  // the pane: open it with $.ui.open({ id: 'my-pane', title: "jev" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    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 text10 = '…'
    const text11 = '…'
    const text12 = '…'
    const text13 = '…'
    const text14 = '…'
    const text15 = '…'
    const text16 = '…'
    const text17 = '…'
    const text18 = '…'
    const text19 = '…'
    const text20 = '…'
    const text21 = '…'
    const text22 = '…'
    const text23 = '…'
    const text24 = '…'
    const text25 = '…'
    const text26 = '…'
    const text27 = '…'
    const text28 = '…'
    const text29 = '…'
    const text30 = '…'
    const text31 = '…'
    const text32 = '…'
    const text33 = '…'
    const text34 = '…'
    const text35 = '…'
    const text36 = '…'
    const text37 = '…'
    const text38 = '…'
    const text39 = '…'
    const text40 = '…'
    const text41 = '…'
    const text42 = '…'
    const text43 = '…'
    const text44 = '…'
    const text45 = '…'
    return (
      <Box flexDirection="column">
        <Text>
          <Text>
            {text}
          </Text>
          <Text>
            {text2}
          </Text>
          <Text>
            {text3}
          </Text>
        </Text>
        <Text>
          {" "}
        </Text>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              jev
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text4}
              </Text>
              <Text>
                {text5}
              </Text>
              <Text>
                {text6}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              saved
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text7}
              </Text>
              <Text>
                {text8}
              </Text>
              <Text>
                {text9}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor />
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text10}
              </Text>
              <Text>
                {text11}
              </Text>
              <Text>
                {text12}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              {"  reading"}
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text13}
              </Text>
              <Text>
                {text14}
              </Text>
              <Text>
                {text15}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              {"  trim"}
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text16}
              </Text>
              <Text>
                {text17}
              </Text>
              <Text>
                {text18}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              {"  subagents"}
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text19}
              </Text>
              <Text>
                {text20}
              </Text>
              <Text>
                {text21}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              {"  low effort"}
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text22}
              </Text>
              <Text>
                {text23}
              </Text>
              <Text>
                {text24}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              {"  compaction"}
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text25}
              </Text>
              <Text>
                {text26}
              </Text>
              <Text>
                {text27}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              5-hour window
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text28}
              </Text>
              <Text>
                {text29}
              </Text>
              <Text>
                {text30}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              safety
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text31}
              </Text>
              <Text>
                {text32}
              </Text>
              <Text>
                {text33}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              context
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text34}
              </Text>
              <Text>
                {text35}
              </Text>
              <Text>
                {text36}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              by command
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text37}
              </Text>
              <Text>
                {text38}
              </Text>
              <Text>
                {text39}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              safety checks
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text40}
              </Text>
              <Text>
                {text41}
              </Text>
              <Text>
                {text42}
              </Text>
            </Text>
          </Box>
        </Box>
        <Box flexDirection="row">
          <Box width={18} flexShrink={0}>
            <Text dimColor>
              jev's own cost
            </Text>
          </Box>
          <Box flexGrow={1} flexShrink={1}>
            <Text>
              <Text>
                {text43}
              </Text>
              <Text>
                {text44}
              </Text>
              <Text>
                {text45}
              </Text>
            </Text>
          </Box>
        </Box>
        <Text>
          {" "}
        </Text>
        <Box flexDirection="row" columnGap={2}>
          <Button label="show the line above the prompt" />
          <Button label="refresh" />
          <Button label="close" role="dismiss" />
        </Box>
        <Text>
          {" "}
        </Text>
        <Text dimColor>
          jev pays off on reading-heavy work: large searches, logs, test suites, long diffs, many items to sort. This session had…
        </Text>
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    await $.ui.toast(`jev: the line above the prompt is back`)
    return next(e)
  })
}

Mod 自身のコード

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

hooks/jevmate.tsx 790〜840 行 · バンド
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    if (cfg.bandMode === 'off' || e.props.hasSurvey) return next(e)
    const { Box, Button, Text } = $.ui.resolve(e)
    const theirs = await next(e) // what other mods draw here stays, under ours
    const j = summary?.jev
    if (collapsed) {
      const five = summary?.plan?.windows?.five_hour?.kept_free ?? summary?.plan?.windows?.seven_day?.kept_free
      const worth = j && !isIdle(j) && savedTotal(j) >= MONEY_FLOOR
      const first = j && !isIdle(j) ? caught(j)[0] : undefined
      const down = failing(j)
      const chip: Piece[] = down
        ? [{ text: ' ' }, down[0]]
        : !j || isIdle(j)
          ? [{ text: ' ready', dim: true }]
          : worth && five !== null && five !== undefined
            ? [{ text: ` ${points(five)} of ${summary?.plan?.windows?.five_hour?.kept_free !== undefined && summary?.plan?.windows?.five_hour?.kept_free !== null ? '5h' : 'the week'} saved`, color: GOOD }]
            : worth
              ? [{ text: ` ~${money(savedTotal(j))} saved`, color: GOOD }]
              : first
                ? [{ text: ' ' }, ...first]
                : [{ text: ` ${k(j.kept_out)} tokens kept out`, dim: true }]
      return (
        <Box flexDirection="column">
          <Box flexDirection="row">
            {spans(Text, [{ text: '◆ jev', bold: true, color: ACCENT }, ...chip, { text: '  ' }], 'truncate-end')}
            <Button key="show" label="show" plain dimColor onPress={() => setCollapsed($, false)} />
          </Box>
          {theirs}
        </Box>
      )
    }
    // Cells are counted for a monospace grid; the desktop's proportional font fits about a fifth more text in them.
    const room = Math.max(24, Math.floor((e.props.bodyColumns - 26) * (e.surface === 'desktop' ? 1.2 : 1)))
    const pieces: Piece[] = [{ text: '◆ jev', bold: true, color: ACCENT }, { text: '  ' }]
    fit(segments(), room).forEach((seg, i) => {
      if (i) pieces.push({ text: ' · ', dim: true })
      pieces.push(...seg.pieces)
    })
    pieces.push({ text: '   ' })
    return (
      <Box flexDirection="column">
        <Box flexDirection="row">
          {spans(Text, pieces, 'truncate-end')}
          <Button key="details" label="details" plain onPress={() => void openPane($).catch(() => undefined)} />
          <Text dimColor> · </Text>
          <Button key="hide" label="hide" plain dimColor onPress={() => setCollapsed($, true)} />
        </Box>
        {theirs}
      </Box>
    )
  })
hooks/jevmate.tsx 198〜206 行 · バンド
function spans(Text: El, pieces: Piece[], wrap?: 'truncate-end') {
  return (
    <Text {...(wrap ? { wrap } : {})}>
      {pieces.map(p => (
        <Text {...style(p)}>{p.text}</Text>
      ))}
    </Text>
  )
}
hooks/jevmate.tsx 842〜1001 行 · ペイン
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const { Box, Button, Text } = $.ui.resolve(e)
    const terminal = e.surface === 'terminal' // bars need a monospace grid; the desktop's font is proportional
    const j = summary?.jev
    const project = summary?.cwd ? summary.cwd.split('/').filter(Boolean).pop() : ''
    const row = (label: string, pieces: Piece[]) => (
      <Box flexDirection="row">
        <Box width={LABEL} flexShrink={0}>
          <Text dimColor>{label}</Text>
        </Box>
        <Box flexGrow={1} flexShrink={1}>
          {spans(Text, pieces)}
        </Box>
      </Box>
    )
    const header = spans(Text, [
      { text: '◆ jev', bold: true, color: ACCENT },
      { text: ` · this session${project ? ` · ${project}` : ''}${refreshedAt ? ` · ${refreshedAt}` : ''}`, dim: true },
    ])
    const controls = (
      <Box flexDirection="row" columnGap={2}>
        <Button key="toggle" label={collapsed ? 'show the line above the prompt' : 'fold the line above the prompt'} onPress={() => setCollapsed($, !collapsed)} />
        <Button key="refresh" label="refresh" onPress={() => void refresh($)} />
        <Button key="close" label="close" role="dismiss" onPress={() => void $.ui.close({ id: PANE }).catch(() => undefined)} />
      </Box>
    )
    if (isIdle(j) || !j) {
      return (
        <Box flexDirection="column">
          {header}
          <Text> </Text>
          <Text dimColor>{summary ? 'Nothing went through jev yet this session. `jev sift`, `jev tests` and the hooks show up here.' : 'reading the session…'}</Text>
          <Text> </Text>
          {controls}
        </Box>
      )
    }
    const s = spent()
    const total = savedTotal(j)
    const share = s ? Math.min(1, total / s.usd) : null
    const bar = Math.max(10, Math.min(36, e.props.bodyColumns - LABEL - 8))
    const top = (labels: Record<string, number> | undefined, count: number) =>
      Object.entries(labels ?? {})
        .slice(0, count)
        .map(([name, tokens]) => `${name} ${k(tokens)}`)
        .join(' · ')
    const plan = summary?.plan?.windows
    // A plan window: what is used, then what the kept-out text would have taken on top of it (a bar on the terminal).
    const windowRow = (kind: string, w: PlanWindow) => {
      const used = Math.min(bar, Math.round((w.used / 100) * bar))
      const kept = w.kept_free === null ? 0 : Math.min(bar - used, Math.max(w.kept_free > 0 ? 1 : 0, Math.round((w.kept_free / 100) * bar)))
      const tone = w.used >= 80 ? { color: BAD } : w.used >= 60 ? { color: WARN } : { color: INFO }
      const meter: Piece[] = terminal
        ? [{ text: '█'.repeat(used), ...tone }, { text: '█'.repeat(kept), color: GOOD }, { text: `${'░'.repeat(bar - used - kept)} `, dim: true }]
        : []
      return row(w.label || kind, [
        ...meter,
        { text: `${Math.round(w.used)}% used`, bold: true, ...tone },
        w.kept_free === null ? { text: ' · measuring what a dollar of use takes', dim: true } : { text: ` · jev kept ${points(w.kept_free)} free`, color: GOOD },
        { text: `${resets(w.resets_at, kind !== 'five_hour')}${w.as_of ? ` · as of ${w.as_of}` : ''}`, dim: true },
      ])
    }
    const sf = caught(j)
    const ro = j.routing
    const sub = summary?.subagents
    const filled = share === null ? 0 : Math.round(share * bar)
    const trimOn = cfg.trimMode !== 'off'
    const subagentOn = cfg.subagentModel === 'sonnet' || cfg.subagentModel === 'haiku'
    const effortOn = cfg.routeMode === 'effort'
    const compactOn = cfg.compactMode === 'on' || cfg.compactMode === 'auto'
    const co = j.compact
    const models = sub ? Object.entries(sub.models).map(([m, count]) => `${count} on ${shortModel(m)}`).join(', ') : ''
    const down = failing(j)
    return (
      <Box flexDirection="column">
        {header}
        <Text> </Text>
        {down && j.api
          ? row('jev', [
              { text: "can't judge", bold: true, color: BAD },
              {
                text: ` · ${j.api.reason}${j.api.since ? ` since ${clock(j.api.since)}` : ''} · the hooks let everything through unchecked · jev doctor checks the key and the backend`,
                dim: true,
              },
            ])
          : null}
        {row('saved', [
          { text: `~${money(total)}`, bold: true, color: GOOD },
          { text: plan ? ' at most · a subscription is not billed per token, so this is an API equivalent' : ' at most', dim: true },
          ...(!plan && share !== null && s ? [{ text: ` · ${pct(share)} of the session's ${s.estimated ? '~' : ''}${money(s.usd)}`, dim: true } as Piece] : []),
        ])}
        {!plan && share !== null && s && terminal
          ? row('', [{ text: '█'.repeat(filled), color: GOOD }, { text: '░'.repeat(bar - filled), dim: true }])
          : null}
        {row('  reading', [
          { text: `~${money(j.saved)}`, color: GOOD },
          { text: ` · ${k(j.reads ?? j.kept_out)} tokens judged by jev instead of read · ${money(j.once ?? j.would)} once, ${money(j.reread ?? 0)} re-read until the next compaction`, dim: true },
        ])}
        {row('  trim', [
          { text: trimOn ? 'on' : 'off', bold: true, ...(trimOn ? { color: GOOD } : {}) },
          j.trimmed
            ? { text: ` · ${k(j.trimmed)} tokens of command output kept out in ${plural(j.trim_runs, 'run')}`, dim: true }
            : { text: trimOn ? ' · no command output over ~4k tokens yet' : ' · long command output reaches the context whole', dim: true },
        ])}
        {row('  subagents', [
          { text: subagentOn ? `on, ${cfg.subagentModel}` : 'off', bold: true, ...(subagentOn ? { color: GOOD } : {}) },
          ro && ro.subagents
            ? { text: ` · ${plural(ro.subagents, 'subagent')} moved to a cheaper model · ~${money(ro.subagent_saved)} saved, from their own usage`, dim: true }
            : sub && sub.count
              ? sub.could_save >= 0.01
                ? { text: ` · ${plural(sub.count, 'subagent')} ran (${models}) · ~${money(sub.could_save)} less on Sonnet`, color: WARN }
                : { text: ` · ${plural(sub.count, 'subagent')} ran (${models}) · nothing to gain from a cheaper model`, dim: true }
              : { text: ' · no subagents this session', dim: true },
        ])}
        {row('  low effort', [
          { text: effortOn ? 'on' : 'off', bold: true, ...(effortOn ? { color: GOOD } : {}) },
          {
            text:
              ro && ro.effort_turns
                ? ` · ${plural(ro.effort_turns, 'routine turn')}${ro.effort_cache === 'keeps' ? ' · the prompt cache survives it' : ro.effort_cache === 'rewrites' ? ' · it re-wrote the prompt cache, so it stopped' : ''}`
                : effortOn
                  ? effortCache === 'rewrites'
                    ? ' · stopped: lowering effort re-writes the prompt cache on this build'
                    : ' · waits for a routine prompt on a context under 100k tokens to check the cache'
                  : ' · routine turns run at the session effort',
            dim: true,
          },
        ])}
        {row('  compaction', [
          { text: compactOn ? cfg.compactMode : 'off', bold: true, ...(compactOn ? { color: GOOD } : {}) },
          co && co.runs
            ? {
                text: ` · ${plural(co.runs, 'compaction')} judged · ${plural(co.moved, 'result')} moved to disk, ${n(co.cut)} cut · read again later: ${co.rereads}${co.saved_usd ? ` · ~${money(co.saved_usd)} off the summary` : ''}${autoLine(co.auto)}`,
                dim: true,
              }
            : {
                text: compactOn
                  ? cfg.compactMode === 'auto'
                    ? ` · compacts in the background above ${k(autoMin)} tokens of context: after ${Math.round(autoIdleMs / 60_000)} min idle, before the prompt cache expires, or once a prompt has started other work`
                    : compactCache === 'pays'
                    ? ' · at the next compaction the summarizer reads the conversation with stale results moved out'
                    : ' · at the next compaction, large results are judged and saved, and what the work needs comes back after the summary'
                  : ' · Claude Code summarizes on its own',
                dim: true,
              },
        ])}
        {plan ? Object.entries(plan).map(([kind, w]) => windowRow(kind, w)) : null}
        {plan && summary?.plan?.missing?.includes('five_hour')
          ? row('5-hour window', [{ text: 'no reading yet · Claude Code reports it with its next request', dim: true }])
          : null}
        {row(
          'safety',
          sf.length
            ? [
                ...sf.flatMap((p, i) => (i ? [{ text: ' · ', dim: true } as Piece, ...p] : p)),
                { text: ` · ${n(j.safety?.checks ?? 0)} checks`, dim: true },
              ]
            : [{ text: `nothing to flag · ${n(j.safety?.checks ?? 0)} checks`, dim: true }],
        )}
        {ctxPct !== null
ライセンスの全文(MIT)
MIT License

Copyright (c) 2026 Gaston Gelhorn

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 に読んだコミット 1477ed18d7e3 のソースから。最初のまとまりが載せる条件で、残りは自分で判断するための材料です。後のコミットは、次に読むまで見ていません。

載せる条件: 確かめやすいコード
入口を読んだhooks/hooks.json が名指すモジュールをすべて読んだ。hooks/jevmate.tsx
解析できるすべてのファイルが TypeScript か JavaScript として解析できる。1 ファイルを解析
コードが 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 のホスト)がコードに書いてあるか。通信なし
プログラム起動するプログラムの名前がコードに書いてあり、シェル・インタプリタ・通信用の道具でないか。hooks/jevmate.tsx:223 実行時に決まるプログラム
読んで送るファイルや環境変数を読み、かつ通信するか。通信しない
ソースの鍵ソースに API キーや秘密鍵らしきものがあるか。ソースに鍵なし
ライセンスオープンなライセンス(MIT・Apache-2.0・BSD・ISC・Unlicense・0BSD・CC0)で全文があれば、modscode にコードを載せる。違えばリンクだけ。MIT

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

入れる

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

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

/plugin marketplace add GastonGelhorn/jevmate
/plugin install jevmate@gastongelhorn

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

Claude に聞く

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

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

Claude から探す: MCP コネクタ

似たデザイン