Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / fleet

fleet

A pane of this session's agents grouped by the epics and tickets of GitHub project boards: ticket status, epic completion, each ticket's agents with their sub-agents folded

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

What it does

  • Draws a pane, toasts
  • Adds /fleet
  • Watches tool calls
  • Hooks agent.spawn, session.start, turn.complete, ui.close
  • Keeps its own state between turns

Good points

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

Code to start from

A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.

Starter (register.tsx)

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

// Drawn like fleet by neonelemental (pane, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/neonelemental-fleet/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
  // the pane: open it with $.ui.open({ id: 'my-pane', title: "Fleet" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const plural = '…'
    const missing = '…'
    const problem = '…'
    const problem2 = '…'
    const problem3 = '…'
    const error = '…'
    const label = '…'
    const running = '…'
    const glyph = '…'
    const type = '…'
    const when = '…'
    const doing = '…'
    const age = '…'
    const glyph2 = '…'
    const type2 = '…'
    const glyph3 = '…'
    const type3 = '…'
    return (
      <Box flexDirection="column">
        <Box gap={1} justifyContent="space-between">
          <Text bold>
            {`${plural} running`}
          </Text>
          <Button label="Refresh" />
        </Box>
        <Text wrap="wrap">
          {missing}
        </Text>
        <Text color="yellow" wrap="wrap">
          {problem}
        </Text>
        <Text color="yellow" wrap="wrap">
          {problem2}
        </Text>
        <Text color="yellow" wrap="wrap">
          {problem3}
        </Text>
        <Text color="red" wrap="wrap">
          {`GitHub: ${error}`}
        </Text>
        <Text dimColor wrap="wrap">
          No agents yet. An agent joins a ticket by naming its id or its #number in its description.
        </Text>
        <Box flexDirection="column" marginTop={1}>
          <Text bold>
            Not in an epic
          </Text>
        </Box>
        <Box flexDirection="column" marginTop={1}>
          <Box flexDirection="column">
            <Box paddingLeft="0">
              <Button plain dimColor label={`▾ ${label} · ${running} running`} />
            </Box>
            <Box flexDirection="column">
              <Box gap={1}>
                <Text>
                  {glyph}
                </Text>
                <Box flexShrink={1}>
                  <Text wrap="truncate-end">
                    {type}
                  </Text>
                </Box>
                <Box flexShrink={0}>
                  <Text dimColor>
                    {`${type} · ${when} · on screen`}
                  </Text>
                </Box>
              </Box>
              <Box paddingLeft={2}>
                <Text dimColor wrap="truncate-end">
                  {`↳ ${doing} · ${age} ago`}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="column">
              <Box gap={1}>
                <Text>
                  {glyph2}
                </Text>
                <Box flexShrink={1}>
                  <Text wrap="truncate-end">
                    {type2}
                  </Text>
                </Box>
                <Box flexShrink={0}>
                  <Text dimColor>
                    {`${type} · ${when} · on screen`}
                  </Text>
                </Box>
              </Box>
              <Box paddingLeft={2}>
                <Text dimColor wrap="truncate-end">
                  {`↳ ${doing} · ${age} ago`}
                </Text>
              </Box>
            </Box>
            <Box flexDirection="column">
              <Box gap={1}>
                <Text>
                  {glyph3}
                </Text>
                <Box flexShrink={1}>
                  <Text wrap="truncate-end">
                    {type3}
                  </Text>
                </Box>
                <Box flexShrink={0}>
                  <Text dimColor>
                    {`${type} · ${when} · on screen`}
                  </Text>
                </Box>
              </Box>
              <Box paddingLeft={2}>
                <Text dimColor wrap="truncate-end">
                  {`↳ ${doing} · ${age} ago`}
                </Text>
              </Box>
            </Box>
          </Box>
        </Box>
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    await $.ui.toast(`Fleet: type /fleet to open the pane`)
    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.

fleet/hooks/register.tsx lines 941–1100 · Pane
  on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
    const { Box, Text, Button, Link } = $.ui.resolve(e)
    const v = await read($, view)
    const shown = await read($, open)
    const width = Math.max(40, e.props.bodyColumns)
    const viewing = e.props.view?.agentId
    const toggle = (key: string, byDefault = false) => () =>
      update($, open, m => ({ ...m, [key]: !(m[key] ?? byDefault) }))

    if (!v) return <Text dimColor>Reading this session's agents…</Text>

    const agentLine = (a: FleetAgent, indent: number) => {
      const mark = MARKS[a.status] ?? { glyph: '·' }
      const when = isActive(a.status)
        ? a.startedAt
          ? `running ${age(v.now - a.startedAt)}`
          : 'running'
        : a.endedAt
          ? `${a.status} ${age(v.now - a.endedAt)} ago`
          : a.status
      const onScreen = a.id === viewing
      return (
        <Box key={`a-${a.id}`} flexDirection="column" paddingLeft={indent}>
          <Box gap={1}>
            <Text {...tint(mark.color)}>{mark.glyph}</Text>
            <Box flexShrink={1}>
              <Text bold={onScreen} wrap="truncate-end">
                {a.description || a.type}
              </Text>
            </Box>
            <Box flexShrink={0}>
              <Text dimColor>{`${a.type} · ${when}${onScreen ? ' · on screen' : ''}`}</Text>
            </Box>
          </Box>
          {!!a.doing && (
            <Box paddingLeft={2}>
              <Text dimColor wrap="truncate-end">{`↳ ${a.doing} · ${age(v.now - (a.doingAt ?? v.now))} ago`}</Text>
            </Box>
          )}
        </Box>
      )
    }

    const folded = (key: string, label: string, indent: number, agents: FleetAgent[]) => {
      const isOpen = shown[key] === true
      const running = agents.filter(a => isActive(a.status)).length
      return (
        <Box key={`f-${key}`} flexDirection="column">
          <Box paddingLeft={indent}>
            <Button
              key={key}
              plain
              dimColor
              label={`${isOpen ? '▾' : '▸'} ${label}${running ? ` · ${running} running` : ''}`}
              onPress={toggle(key)}
            />
          </Box>
          {isOpen && agents.map(a => agentLine(a, indent + 2 * a.depth))}
        </Box>
      )
    }

    const ticketBlock = (t: FleetTicket) => {
      const tone = toneOf(t.status)
      const key = `fold-${t.id}`
      // a completed ticket starts folded, unless an agent under it still runs
      const byDefault = !t.isDone || t.running > 0
      const isOpen = shown[key] ?? byDefault
      return (
        <Box key={`t-${t.id}`} flexDirection="column" paddingLeft={2}>
          <Box gap={1}>
            <Button key={key} plain dimColor label={isOpen ? '▾' : '▸'} onPress={toggle(key, byDefault)} />
            <Text {...tint(tone.color)}>{tone.glyph}</Text>
            <Box flexShrink={0}>{t.url ? <Link href={t.url} label={t.id} /> : <Text bold>{t.id}</Text>}</Box>
            <Box flexShrink={0}>
              <Text {...tint(tone.color)}>{t.isDone ? 'Complete' : t.status}</Text>
            </Box>
            <Box flexShrink={1}>
              <Text wrap="truncate-end">{t.title}</Text>
            </Box>
            {!isOpen && (
              <Box flexShrink={0}>
                <Text dimColor>{plural(t.leads.length + t.subs.length, 'agent')}</Text>
              </Box>
            )}
          </Box>
          {isOpen && t.leads.map(a => agentLine(a, 2))}
          {isOpen && t.subs.length > 0 && folded(`sub-${t.id}`, plural(t.subs.length, 'sub-agent'), 2, t.subs)}
        </Box>
      )
    }

    const epicBlock = (ep: FleetEpic) => {
      const pct = ep.total ? Math.round((100 * ep.done) / ep.total) : 0
      const bar = Math.max(10, Math.min(24, width - 40))
      const filled = Math.round((bar * pct) / 100)
      return (
        <Box key={`e-${ep.key}`} flexDirection="column" marginTop={1}>
          <Box gap={1}>
            <Box flexShrink={0}>
              <Link href={ep.url} label={ep.id} />
            </Box>
            <Box flexShrink={1}>
              <Text bold wrap="truncate-end">
                {ep.title}
              </Text>
            </Box>
          </Box>
          <Box gap={1}>
            <Box flexShrink={0}>
              {filled > 0 && <Text color="green">{'█'.repeat(filled)}</Text>}
              {filled < bar && <Text dimColor>{'░'.repeat(bar - filled)}</Text>}
            </Box>
            <Box flexShrink={0}>
              <Text bold>{`${pct}%`}</Text>
            </Box>
            <Box flexShrink={1}>
              <Text dimColor wrap="truncate-end">
                {`${ep.done} of ${ep.total} done${ep.running ? ` · ${plural(ep.running, 'agent')} running` : ''}`}
              </Text>
            </Box>
          </Box>
          {ep.tickets.map(ticketBlock)}
          {ep.own.length > 0 &&
            folded(`own-${ep.key}`, `${plural(ep.own.length, 'agent')} on the epic itself`, 2, ep.own)}
          {ep.waiting.length > 0 && (
            <Box paddingLeft={2}>
              <Text dimColor wrap="wrap">
                {`No agent yet: ${ep.waiting.map(w => `${w.id} (${w.status})`).join(', ')}`}
              </Text>
            </Box>
          )}
        </Box>
      )
    }

    const nothing = v.epics.length === 0 && v.loose.length === 0 && v.other.length === 0
    return (
      <Box flexDirection="column">
        <Box gap={1} justifyContent="space-between">
          <Text bold>{`${plural(v.running, 'agent')} running`}</Text>
          <Button key="refresh" label="Refresh" onPress={() => void refreshAll()} />
        </Box>
        {settings.missing ? (
          <Text wrap="wrap">{settings.missing}</Text>
        ) : (
          <Text dimColor>{v.boardAt ? `Boards read ${age(v.now - v.boardAt)} ago` : 'Reading the boards…'}</Text>
        )}
        {settings.problems.map((problem, i) => (
          <Text key={`problem-${i}`} color="yellow" wrap="wrap">
            {problem}
          </Text>
        ))}
        {!!v.error && (
          <Text color="red" wrap="wrap">
            {`GitHub: ${v.error}`}
          </Text>
        )}
        {nothing && (
          <Text dimColor wrap="wrap">
Licence text (MIT)
MIT License

Copyright (c) 2026 neonelemental

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

How to build this: Pane (panel), Deny a tool call

What its code calls

runs programsreads filesdrives Claudetool callsremembers

What its code shows

Read from the source at commit c7ba1db04db8. 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.fleet/hooks/register.tsx
ParsesEvery file parses as TypeScript or JavaScript.1 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.fleet/hooks/register.tsx:870 a program named at run time
Reads and sendsWhether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reads files, but 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 fleet
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 (fleet), tool.call · also: session.start, ui.close, agent.spawn, turn.complete (+1) · timers: clock.after, clock.every
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.files: a path computed at run time
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.

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/neonelemental/claude-code-board-mods
git -C claude-code-board-mods checkout c7ba1db04db84a8ac27c3590c480a6e521eabc0c
claude plugin validate claude-code-board-mods/fleet
claude --plugin-dir claude-code-board-mods/fleet

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 "neonelemental-fleet" with its code and make me one like it

Search them from Claude: the MCP connector

Similar mods

More from this repository

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