Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / agent-swarm

agent-swarm

Mission control for your subagents: every spawned agent becomes a live, animated card above the prompt, with its phase, effort, tools, cost and a timeline you can follow

Code you can checkTerminal + desktopBandStatus lineToastBoxButtonClientText
drives Claude, draws

What it does

  • Draws a band above the prompt, toasts
  • Adds /swarm
  • Watches tool calls
  • Hooks agent.spawn, config.set, prompt.submit, session.start and 3 more
  • Keeps its own state between turns

Good points

  • No network calls
  • Starts no processes
  • Written in TypeScript
  • Has a desktop-specific branch

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 agent-swarm by Jeff Arese (band, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/jeffarese-agent-swarm/
// 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, Button, Text, Client } = $.ui.resolve(e)
    const text = '…'
    const meta = '…'
    const status = '…'
    const detail = '…'
    const text2 = '…'
    const meta2 = '…'
    const status2 = '…'
    const detail2 = '…'
    const text3 = '…'
    const meta3 = '…'
    const status3 = '…'
    const detail3 = '…'
    const text4 = '…'
    const meta4 = '…'
    const status4 = '…'
    const detail4 = '…'
    const text5 = '…'
    const meta5 = '…'
    const status5 = '…'
    const detail5 = '…'
    const text6 = '…'
    const meta6 = '…'
    const status6 = '…'
    const detail6 = '…'
    const text7 = '…'
    const meta7 = '…'
    const status7 = '…'
    const detail7 = '…'
    const text8 = '…'
    const meta8 = '…'
    const status8 = '…'
    const detail8 = '…'
    const text9 = '…'
    const meta9 = '…'
    const status9 = '…'
    const detail9 = '…'
    return (
      <Box flexDirection="column">
        <Box gap={3}>
          <Box flexDirection="column">
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Button label={`${text}`} plain>
                  <Text bold>
                    {text}
                  </Text>
                </Button>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {meta}
                </Text>
              </Box>
            </Box>
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Text wrap="truncate-end">
                  {status}
                </Text>
                <Box position="absolute" top={0} left={0}>
                </Box>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {detail}
                </Text>
              </Box>
            </Box>
            <Box position="absolute" top={0} left={0}>
              <Client module="./hit-area.tsx" />
            </Box>
          </Box>
          <Box flexDirection="column">
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Button label={`${text}`} plain>
                  <Text bold>
                    {text2}
                  </Text>
                </Button>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {meta2}
                </Text>
              </Box>
            </Box>
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Text wrap="truncate-end">
                  {status2}
                </Text>
                <Box position="absolute" top={0} left={0}>
                </Box>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {detail2}
                </Text>
              </Box>
            </Box>
            <Box position="absolute" top={0} left={0}>
              <Client module="./hit-area.tsx" />
            </Box>
          </Box>
          <Box flexDirection="column">
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Button label={`${text}`} plain>
                  <Text bold>
                    {text3}
                  </Text>
                </Button>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {meta3}
                </Text>
              </Box>
            </Box>
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Text wrap="truncate-end">
                  {status3}
                </Text>
                <Box position="absolute" top={0} left={0}>
                </Box>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {detail3}
                </Text>
              </Box>
            </Box>
            <Box position="absolute" top={0} left={0}>
              <Client module="./hit-area.tsx" />
            </Box>
          </Box>
        </Box>
        <Box gap={3}>
          <Box flexDirection="column">
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Button label={`${text}`} plain>
                  <Text bold>
                    {text4}
                  </Text>
                </Button>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {meta4}
                </Text>
              </Box>
            </Box>
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Text wrap="truncate-end">
                  {status4}
                </Text>
                <Box position="absolute" top={0} left={0}>
                </Box>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {detail4}
                </Text>
              </Box>
            </Box>
            <Box position="absolute" top={0} left={0}>
              <Client module="./hit-area.tsx" />
            </Box>
          </Box>
          <Box flexDirection="column">
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Button label={`${text}`} plain>
                  <Text bold>
                    {text5}
                  </Text>
                </Button>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {meta5}
                </Text>
              </Box>
            </Box>
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Text wrap="truncate-end">
                  {status5}
                </Text>
                <Box position="absolute" top={0} left={0}>
                </Box>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {detail5}
                </Text>
              </Box>
            </Box>
            <Box position="absolute" top={0} left={0}>
              <Client module="./hit-area.tsx" />
            </Box>
          </Box>
          <Box flexDirection="column">
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Button label={`${text}`} plain>
                  <Text bold>
                    {text6}
                  </Text>
                </Button>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {meta6}
                </Text>
              </Box>
            </Box>
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Text wrap="truncate-end">
                  {status6}
                </Text>
                <Box position="absolute" top={0} left={0}>
                </Box>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {detail6}
                </Text>
              </Box>
            </Box>
            <Box position="absolute" top={0} left={0}>
              <Client module="./hit-area.tsx" />
            </Box>
          </Box>
        </Box>
        <Box gap={3}>
          <Box flexDirection="column">
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Button label={`${text}`} plain>
                  <Text bold>
                    {text7}
                  </Text>
                </Button>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {meta7}
                </Text>
              </Box>
            </Box>
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Text wrap="truncate-end">
                  {status7}
                </Text>
                <Box position="absolute" top={0} left={0}>
                </Box>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {detail7}
                </Text>
              </Box>
            </Box>
            <Box position="absolute" top={0} left={0}>
              <Client module="./hit-area.tsx" />
            </Box>
          </Box>
          <Box flexDirection="column">
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Button label={`${text}`} plain>
                  <Text bold>
                    {text8}
                  </Text>
                </Button>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {meta8}
                </Text>
              </Box>
            </Box>
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Text wrap="truncate-end">
                  {status8}
                </Text>
                <Box position="absolute" top={0} left={0}>
                </Box>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {detail8}
                </Text>
              </Box>
            </Box>
            <Box position="absolute" top={0} left={0}>
              <Client module="./hit-area.tsx" />
            </Box>
          </Box>
          <Box flexDirection="column">
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Button label={`${text}`} plain>
                  <Text bold>
                    {text9}
                  </Text>
                </Button>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {meta9}
                </Text>
              </Box>
            </Box>
            <Box height={1} gap={2}>
              <Box flexShrink={0}>
                <Text wrap="truncate-end">
                  {status9}
                </Text>
                <Box position="absolute" top={0} left={0}>
                </Box>
              </Box>
              <Box flexShrink={0}>
                <Text dimColor wrap="truncate-end">
                  {detail9}
                </Text>
              </Box>
            </Box>
            <Box position="absolute" top={0} left={0}>
              <Client module="./hit-area.tsx" />
            </Box>
          </Box>
        </Box>
        {await next(e)}
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    await $.ui.toast(`Agents view folded · /swarm to reopen`)
    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 1695–1784 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const t0 = performance.now()
    try {
      const [isOpen] = await Promise.all([read($, openAtom), restore($)])
      if (e.props.hasSurvey) {
        mounted.delete(e.requestId)
        fullSite = undefined

        return next(e)
      }
      if (isOpen) return await drawFull($, e)
      if (fullSite === e.requestId) fullSite = undefined
      await read($, bandRevAtom)
      const list = ordered(snapshot.filter(a => isLive(a.phase) || (a.endedAt ?? 0) >= batchStart))
      if (list.length === 0) {
        mounted.delete(e.requestId)

        return next(e)
      }
      const { Box, Text, Button } = $.ui.resolve(e)
      const Client = e.surface === 'terminal' ? $.ui.resolve(e).Client : undefined
      const Raster = e.surface === 'terminal' ? $.ui.resolve(e).Raster : undefined
      const previous = mounted.get(e.requestId)
      const icons = new Map<string, Core>()
      mounted.set(e.requestId, icons)
      const rows = compactRows(list, e.props.bodyColumns, e.props.maxRows, await $.clock.now())
      const iconCells = (id: string, color: string) => {
        const old = previous?.get(id)
        const icon: Core = old?.iconColor !== undefined ? old : { columns: 1, rows: 1 }
        icon.iconColor = color
        icon.canvas = compactIconFrame(tick, color, icon.canvas)
        icon.cells = packCells(icon.canvas)
        icons.set(id, icon)
        return icon.cells
      }
      return (
        <Box key="swarm-strip" flexDirection="column">
          {rows.map((row, i) => (
            <Box key={`band-row-${i}`} height={row[0]!.height} gap={3}>
              {row.map(item => (
                <Box key={item.id || 'more'} width={item.width} height={item.height} flexDirection="column">
                  <Box height={1} gap={2}>
                    <Box width={item.labelWidth} flexShrink={0}>
                      <Button
                        key={item.id ? `band-pick-${item.id}` : 'band-more'}
                        label={item.text}
                        plain
                        onPress={() => void (item.id ? select($, item.id, { toggle: false, open: true }) : openView($))}
                      >
                        <Text bold>{item.text}</Text>
                      </Button>
                    </Box>
                    {item.detailWidth > 0 && (
                      <Box width={item.detailWidth} flexShrink={0}>
                        <Text dimColor wrap="truncate-end">{item.meta}</Text>
                      </Box>
                    )}
                  </Box>
                  {item.height > 1 && (
                    <Box height={1} gap={2}>
                      <Box width={item.labelWidth} flexShrink={0}>
                        <Text color={item.color} wrap="truncate-end">{item.status}</Text>
                        {Raster !== undefined && item.active && (
                          <Box position="absolute" top={0} left={0}>
                            <Raster key={coreKey(item.id)} columns={1} rows={1} cells={iconCells(item.id, item.color)} />
                          </Box>
                        )}
                      </Box>
                      {item.detailWidth > 0 && (
                        <Box width={item.detailWidth} flexShrink={0}>
                          <Text dimColor wrap="truncate-end">{item.detail}</Text>
                        </Box>
                      )}
                    </Box>
                  )}
                  {Client !== undefined && item.id !== '' && (
                    <Box position="absolute" top={0} left={0}>
                      <Client key={`hit-${coreKey(item.id)}`} module="./hit-area.tsx" props={{ id: item.id }} width={item.width} height={item.height} />
                    </Box>
                  )}
                </Box>
              ))}
            </Box>
          ))}
        </Box>
      )
    } finally {
      record('render.band', performance.now() - t0)
    }
  })
hooks/register.tsx lines 836–995 · Band
async function drawFull($: EngineInterface, e: RenderInput<'AbovePrompt'>) {
  const t0 = performance.now()
  try {
    const { Box, Text, Button } = $.ui.resolve(e)
    const Raster = e.surface === 'terminal' ? $.ui.resolve(e).Raster : undefined
    const Client = e.surface === 'terminal' ? $.ui.resolve(e).Client : undefined
    /** A transparent region over the whole agent, last so it is on top: a click anywhere picks it. */
    const hitArea = (a: SwarmAgent, columns: number, rows: number, inset = 1) =>
      Client === undefined ? null : (
        <Box position="absolute" top={-inset} left={-inset}>
          <Client key={`hit-${coreKey(a.id)}`} module="./hit-area.tsx" props={{ id: a.id }} width={columns} height={rows} />
        </Box>
      )
    const [, isCompact, selectedId, now] = await Promise.all([
      read($, paneRevAtom),
      read($, compactAtom),
      read($, selectedAtom),
      $.clock.now(),
      restore($),
    ])
    const list = ordered(snapshot)
    const selected = list.find(a => a.id === selectedId)
    shownId = selected?.id ?? ''

    const bodyColumns = Math.max(8, e.props.bodyColumns - FRAME)
    const width = Math.max(MIN_CARD, bodyColumns)
    const perRow = Math.max(1, Math.min(Math.floor((width + GAP) / (MIN_CARD + GAP)), list.length || 1))
    const cardWidth = Math.floor((width - GAP * (perRow - 1)) / perRow)
    const inner = Math.max(8, cardWidth - 4)

    const live = list.filter(a => isLive(a.phase)).length
    const done = list.filter(a => a.phase === 'done').length
    const failed = list.filter(a => a.phase === 'failed' || a.phase === 'stopped').length
    const tools = list.reduce((n, a) => n + a.tools, 0)
    const cost = totalCost(list)
    const isNarrow = bodyColumns < 64
    const closesIn = closeAt === undefined ? undefined : Math.max(0, Math.ceil((closeAt - now) / 1000))

    const prevCores = mounted.get(e.requestId)
    const cores = new Map<string, Core>()
    const surfaceKey = `${e.surface}|${isLightTheme()}`
    fullSite = e.requestId
    mounted.set(e.requestId, cores)

    const heading = (a: SwarmAgent, width?: number) => {
      const isOn = isLive(a.phase)
      const { lead, effort } = headingParts(a)

      return (
        <Box width={width} flexShrink={1}>
          <Text bold={isOn} dimColor={!isOn} color={phaseColor(a.phase)} wrap="truncate-end">
            {lead}
            {effort !== '' && <Text color={effortColor(a.effortLevel)}>{effort}</Text>}
          </Text>
        </Box>
      )
    }

    const badgeOf = (a: SwarmAgent) => {
      const badge = BADGE[a.phase]

      return badge !== undefined ? (
        <Text bold color={BADGE_INK} backgroundColor={phaseColor(a.phase)}>
          {` ${badge} `}
        </Text>
      ) : (
        <Text dimColor>{a.phase.toUpperCase()}</Text>
      )
    }

    /** The agent's description as the control that opens it in the inspector; 1–9 press it. */
    const picker = (a: SwarmAgent, i: number, room: number) => {
      const hotkey = i < 9 ? String(i + 1) : undefined
      const isShown = a.id === selected?.id

      return (
        <Button
          key={`pick-${a.id}`}
          label={head(a.description || a.name || a.type, Math.max(4, room - (hotkey === undefined ? 0 : 3)))}
          hotkey={hotkey}
          plain
          dimColor={!isLive(a.phase) && !isShown}
          onPress={() => void select($, a.id)}
        />
      )
    }

    const borderOf = (a: SwarmAgent) => {
      const isOn = isLive(a.phase)
      const isShown = a.id === selected?.id

      return {
        borderStyle: isShown ? 'bold' : 'round',
        borderColor: isOn || isShown ? phaseColor(a.phase) : hex(ramp(a.phase)[2]),
        borderDimColor: !isOn && !isShown,
        hover: { borderColor: hex(ramp(a.phase)[4]), borderDimColor: false },
      }
    }

    // Compact: one line per agent, headings padded to one width so the animations line up.
    const BADGE_W = 7
    const headW = Math.min(
      Math.floor(width / 3),
      Math.max(0, ...list.map(a => headingParts(a)).map(p => p.lead.length + p.effort.length)),
    )
    const lineCore = Math.max(4, width - headW - BADGE_W - 2)

    const activityOf = (a: SwarmAgent, elapsed: number): string => {
      switch (a.phase) {
        case 'tool':
          return `▸ ${a.tool ?? 'tool'}${a.toolArg ? `  ${a.toolArg}` : ''}`
        case 'thinking':
          return `✻ thinking · step ${a.steps}`
        case 'writing':
          return `✎ writing · step ${a.steps}`
        case 'spawning':
          return `◌ starting${a.isBackground ? ' in background' : ''}…`
        default:
          return `${PHASE_GLYPH[a.phase]} ${a.phase} in ${clock(elapsed)} · ${a.steps} step${a.steps === 1 ? '' : 's'}`
      }
    }

    const line = (a: SwarmAgent, i: number) => {
      const isOn = isLive(a.phase)
      let core
      if (Raster !== undefined) {
        core = <Raster key={coreKey(a.id)} columns={lineCore} rows={1} cells={coreCells(prevCores, cores, a, lineCore, 1)} />
      } else {
        core = (
          <Text color={phaseColor(a.phase)} dimColor={!isOn} wrap="truncate-end">
            {isOn ? '· • ● • ·' : (a.description || '')}
          </Text>
        )
      }

      const elapsed = (a.endedAt ?? now) - a.startedAt
      const cost = costLabel(a)
      const stats = `${cost === undefined ? '' : `${cost} · `}⚒${a.tools} · ${clock(elapsed)}`
      const isShown = a.id === selected?.id

      return (
        <Box key={`line-${a.id}`} flexDirection="column">
          <Box gap={1}>
            {heading(a, headW)}
            <Box width={lineCore}>{core}</Box>
            <Box width={BADGE_W} justifyContent="flex-end">
              {badgeOf(a)}
            </Box>
          </Box>
          <Box paddingLeft={1}>
            <Text color={phaseColor(a.phase)}>{isShown ? '▸' : ' '}</Text>
            {picker(a, i, width - 2)}
          </Box>
          <Box justifyContent="space-between" gap={2} paddingLeft={2}>
            <Box flexShrink={1}>
              <Text color={phaseColor(a.phase)} dimColor wrap="truncate-end">
                {activityOf(a, elapsed)}
              </Text>
            </Box>
            <Box flexShrink={0}>
Licence text (MIT)
MIT License

Copyright (c) 2026 Jeff Arese

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: Band above the prompt, Deny a tool call

What its code calls

drives Claudetool callsremembers

What its code shows

Read from the source at commit 890d187b8caa 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.6 files parsed
All its code is in the modEvery import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod
ReadableNo minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs
Calls in the openNetwork and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open
For you to weigh before installing
Where it drawsThe terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both
Install lineWhether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.its repository's .claude-plugin/marketplace.json does not list it: no marketplace line to give; the page shows how to try the commit read
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.starts no programs
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 nothing outside
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 swarm
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: command.run (swarm), config.set, tool.call, prompt.submit · shapes: turn.step · reads: ui.message · also: session.start, agent.spawn, turn.complete, ui.render (SessionMode, AbovePrompt) · timers: clock.every, clock.after
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.settings (config.set)

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.

Its repository's .claude-plugin/marketplace.json does not list it, so there is no marketplace line to give.

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/jeffarese/agent-swarm
git -C agent-swarm checkout 890d187b8caaffdc83ba75b18fc9439d91baaf7d
claude plugin validate agent-swarm
claude --plugin-dir agent-swarm

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 "jeffarese-agent-swarm" 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/jeffarese-agent-swarm.svg)](https://modscode.com/claude-mods/mods/jeffarese-agent-swarm/)