Ranking|Claude Code Mods

ModsCode / Claude Code Mods / Ranking / sysop

sysop

A small, autonomous delivery toolkit: contract-first changes carried to a checked, independently reviewed, landed state, alone or as a parallel fleet across claude, agy and pi (free models included).

Code you can checkTerminal + desktopPaneBandToastBoxButtonText
writes files, runs programs, draws

What it does

  • Draws a band above the prompt, a pane, toasts
  • Adds /sysop
  • Watches Bash calls and can refuse them
  • Hooks session.measure, session.start, turn.complete, turn.start
  • Starts processes

Good points

  • No network calls
  • Handles errors

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 sysop by 0xctx (pane, band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/0xctx-sysop/
// 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 bandText = '…'
    return (
      <Box flexDirection="column">
        <Box>
          <Text dimColor>
            {bandText}
            {" "}
          </Text>
          <Button label="board" hotkey="1" plain />
          <Text>
            {" "}
          </Text>
          <Button label="land ready" hotkey="2" plain />
        </Box>
        {await next(e)}
      </Box>
    )
  })

  // the pane: open it with $.ui.open({ id: 'my-pane', title: "sysop board" })
  on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
    const { Box, Text, Button } = $.ui.resolve(e)
    const bandText = '…'
    const title = '…'
    const length = '…'
    const name = '…'
    const status = '…'
    const report = '…'
    const name2 = '…'
    const status2 = '…'
    const report2 = '…'
    const name3 = '…'
    const status3 = '…'
    const report3 = '…'
    const title2 = '…'
    const length2 = '…'
    const name4 = '…'
    const status4 = '…'
    const report4 = '…'
    const name5 = '…'
    const status5 = '…'
    const report5 = '…'
    const name6 = '…'
    const status6 = '…'
    const report6 = '…'
    const title3 = '…'
    const length3 = '…'
    const name7 = '…'
    const status7 = '…'
    const report7 = '…'
    const name8 = '…'
    const status8 = '…'
    const report8 = '…'
    const name9 = '…'
    const status9 = '…'
    const report9 = '…'
    const value = '…'
    const plan = '…'
    return (
      <Box flexDirection="column">
        <Box>
          <Text dimColor>
            {bandText}
            {" "}
          </Text>
          <Button label="Land all ready" variant="primary" />
        </Box>
        <Box flexDirection="column">
          <Text bold>
            {title}
            {" ("}
            {length}
            )
          </Text>
          <Box flexDirection="column">
            <Box>
              <Text>
                {name}
                {" "}
              </Text>
              <Text dimColor>
                (
                {status}
                {") "}
              </Text>
              <Button label="Land" variant="primary" />
              <Button label="Why" />
              <Button label="Halt repo" />
            </Box>
            <Text dimColor>
              {" "}
              no log yet
            </Text>
            <Text dimColor>
              {" report: "}
              {report}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Box>
              <Text>
                {name2}
                {" "}
              </Text>
              <Text dimColor>
                (
                {status2}
                {") "}
              </Text>
              <Button label="Land" variant="primary" />
              <Button label="Why" />
              <Button label="Halt repo" />
            </Box>
            <Text dimColor>
              {" "}
              no log yet
            </Text>
            <Text dimColor>
              {" report: "}
              {report2}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Box>
              <Text>
                {name3}
                {" "}
              </Text>
              <Text dimColor>
                (
                {status3}
                {") "}
              </Text>
              <Button label="Land" variant="primary" />
              <Button label="Why" />
              <Button label="Halt repo" />
            </Box>
            <Text dimColor>
              {" "}
              no log yet
            </Text>
            <Text dimColor>
              {" report: "}
              {report3}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="column">
          <Text bold>
            {title2}
            {" ("}
            {length2}
            )
          </Text>
          <Box flexDirection="column">
            <Box>
              <Text>
                {name4}
                {" "}
              </Text>
              <Text dimColor>
                (
                {status4}
                {") "}
              </Text>
              <Button label="Land" variant="primary" />
              <Button label="Why" />
              <Button label="Halt repo" />
            </Box>
            <Text dimColor>
              {" "}
              no log yet
            </Text>
            <Text dimColor>
              {" report: "}
              {report4}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Box>
              <Text>
                {name5}
                {" "}
              </Text>
              <Text dimColor>
                (
                {status5}
                {") "}
              </Text>
              <Button label="Land" variant="primary" />
              <Button label="Why" />
              <Button label="Halt repo" />
            </Box>
            <Text dimColor>
              {" "}
              no log yet
            </Text>
            <Text dimColor>
              {" report: "}
              {report5}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Box>
              <Text>
                {name6}
                {" "}
              </Text>
              <Text dimColor>
                (
                {status6}
                {") "}
              </Text>
              <Button label="Land" variant="primary" />
              <Button label="Why" />
              <Button label="Halt repo" />
            </Box>
            <Text dimColor>
              {" "}
              no log yet
            </Text>
            <Text dimColor>
              {" report: "}
              {report6}
            </Text>
          </Box>
        </Box>
        <Box flexDirection="column">
          <Text bold>
            {title3}
            {" ("}
            {length3}
            )
          </Text>
          <Box flexDirection="column">
            <Box>
              <Text>
                {name7}
                {" "}
              </Text>
              <Text dimColor>
                (
                {status7}
                {") "}
              </Text>
              <Button label="Land" variant="primary" />
              <Button label="Why" />
              <Button label="Halt repo" />
            </Box>
            <Text dimColor>
              {" "}
              no log yet
            </Text>
            <Text dimColor>
              {" report: "}
              {report7}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Box>
              <Text>
                {name8}
                {" "}
              </Text>
              <Text dimColor>
                (
                {status8}
                {") "}
              </Text>
              <Button label="Land" variant="primary" />
              <Button label="Why" />
              <Button label="Halt repo" />
            </Box>
            <Text dimColor>
              {" "}
              no log yet
            </Text>
            <Text dimColor>
              {" report: "}
              {report8}
            </Text>
          </Box>
          <Box flexDirection="column">
            <Box>
              <Text>
                {name9}
                {" "}
              </Text>
              <Text dimColor>
                (
                {status9}
                {") "}
              </Text>
              <Button label="Land" variant="primary" />
              <Button label="Why" />
              <Button label="Halt repo" />
            </Box>
            <Text dimColor>
              {" "}
              no log yet
            </Text>
            <Text dimColor>
              {" report: "}
              {report9}
            </Text>
          </Box>
        </Box>
        <Text dimColor>
          {"No tickets. Next: "}
          {value}
        </Text>
        <Text dimColor>
          {plan}
        </Text>
      </Box>
    )
  })

  on('session.start', async ($, e, next) => {
    const TIERS = '…'
    const session_model = '…'
    const split = '…'
    await $.ui.toast(`sysop: this session runs on ${TIERS}; the preset suggests ${session_model} (/model)`)
    await $.ui.toast(`sysop: ${split}`)
    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/sysop.mod.jsx lines 360–366 · Band
  on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
    const b = await read($, board)
    if (e.props.hasSurvey || !b) return next(e)
    const { working, needs, ready } = counts(b.tickets)
    if (!working && !needs && !ready) return next(e)
    return band($, e, b)
  })
hooks/sysop.mod.jsx lines 217–228 · Band
function band($, e, b) {
  const { Box, Button, Text } = $.ui.resolve(e)
  const waiting = b.tickets.some(r => r.actions.includes('land'))
  return (
    <Box key="sysop-band">
      <Text dimColor>{bandText(b)} </Text>
      <Button key="open-board" label="board" hotkey="1" plain onPress={() => $.ui.open({ id: BOARD, title: 'sysop board' })} />
      {waiting && <Text> </Text>}
      {waiting && <Button key="land-ready" label="land ready" hotkey="2" plain onPress={() => landReady($)} />}
    </Box>
  )
}
hooks/sysop.mod.jsx lines 368–394 · Pane
  on('ui.render', { component: 'Pane', requestId: BOARD }, async ($, e) => {
    const { Box, Button, Text } = $.ui.resolve(e)
    const b = await read($, board)
    const open = await read($, why)
    if (!b) return <Text>sysop: reading the board…</Text>
    return (
      <Box flexDirection="column">
        <Box>
          <Text dimColor>{bandText(b)} </Text>
          {b.tickets.some(r => r.actions.includes('land')) && (
            <Button key="land-all" label="Land all ready" variant="primary" onPress={() => landReady($)} />
          )}
        </Box>
        {Object.entries(TITLES).map(([column, title]) => {
          const rows = b.tickets.filter(r => r.column === column)
          return rows.length === 0 ? null : (
            <Box key={`col:${column}`} flexDirection="column">
              <Text bold>{title} ({rows.length})</Text>
              {rows.map(r => row($, e, r, open))}
            </Box>
          )
        })}
        {b.tickets.length === 0 && <Text dimColor>No tickets. Next: {b.next}</Text>}
        {b.plan && <Text dimColor>{b.plan}</Text>}
      </Box>
    )
  })
hooks/sysop.mod.jsx lines 232–253 · Pane
function row($, e, r, open) {
  const { Box, Button, Text } = $.ui.resolve(e)
  const id = `${r.repo}:${r.id}`
  return (
    <Box key={`row:${id}`} flexDirection="column">
      <Box>
        <Text>{r.name} </Text>
        <Text dimColor>({r.status}) </Text>
        {r.actions.includes('land') && (
          <Button key={`land:${id}`} label="Land" variant="primary"
            onPress={() => press($, ['land', `${r.repo}:sysop/${r.id}`, '--land'])} />
        )}
        <Button key={`why:${id}`} label="Why" onPress={() => update($, why, w => (w === id ? null : id))} />
        {r.actions.includes('halt') && (
          <Button key={`halt:${id}`} label="Halt repo" onPress={() => press($, ['--cwd', r.repo, 'halt', '--reason', `halted from the board at ${r.name}`])} />
        )}
      </Box>
      {open === id && <Text dimColor>  {r.last || 'no log yet'}</Text>}
      {open === id && r.report && <Text dimColor>  report: {r.report}</Text>}
    </Box>
  )
}
Licence text (MIT)
MIT License

Copyright (c) 2026 0xctx

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 programswrites filesenv varsdrives Claudetool callssettings hooks

What its code shows

Read from the source at commit e134f5474b89. 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/sysop.mod.jsx
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.listed in its repository's .claude-plugin/marketplace.json: installs from there
Programs on WindowsWhether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks
NetworkWhether every fetch names its https host in the code.no network
ProgramsWhether every program it starts is named in the code and is not a shell, an interpreter or a network tool.hooks/sysop.mod.jsx:91 python3 (a shell or interpreter); hooks/sysop.mod.jsx:178 a program named at run time; hooks/sysop.mod.jsx:206 a program named at run time; hooks/sysop.mod.jsx:212 a program named at run time; hooks/sysop.mod.jsx:275 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 environment variables, 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 $.PreToolUse: python3 (through a shell); SessionStart: python3 (through a shell); Stop: python3 (through a shell)
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.skill batch: allowed-tools Bash(python3 ${CLAUDE_PLUGIN_ROOT}/scripts/sysop.…; skill batch: runs a command before Claude reads it; skill build: allowed-tools Bash(python3 ${CLAUDE_PLUGIN_ROOT}/scripts/sysop.…; skill build: runs a command before Claude reads it; skill check: allowed-tools Bash(python3 ${CLAUDE_PLUGIN_ROOT}/scripts/sysop.…; skill check: runs a command before Claude reads it; skill debug: allowed-tools Bash(python3 ${CLAUDE_PLUGIN_ROOT}/scripts/sysop.…; skill debug: runs a command before Claude reads it
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.prompt.submit (as the person), adds command sysop
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: tool.check (Bash), tool.call, command.run (sysop) · also: turn.start, ui.render (AbovePrompt, Pane), session.measure, turn.complete (+1) · timers: clock.every
Reads, by nameThe environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: HOME, XDG_CACHE_HOME; files: …/.sysop/approvals.jsonl, 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.files: …/claude-usage.json, …/mod-….json, …/.sysop/approvals.jsonl

This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen

Install it

Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.

From its marketplace

Its repository is its marketplace. Add that marketplace (in the terminal with these commands, or in the desktop app's plugin settings) and install the mod from it:

/plugin marketplace add 0xctx/sysop
/plugin install sysop@sysop
/reload-plugins

This installs the marketplace's latest commit, which may not be the one read here (e134f5474b89). Compare them before you install. /reload-plugins loads it into a session that is already open.

Try the commit ModsCode read

No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:

git clone https://github.com/0xctx/sysop
git -C sysop checkout e134f5474b89b1d1d58286ec270fdce5422187ce
claude plugin validate sysop
claude --plugin-dir sysop

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 or ChatGPT about it

With ModsCode added as a connector, Claude or ChatGPT can read this mod's code, what it reaches and how its controls are wired, and build on them. Ask it like this:

Read the ModsCode mod "0xctx-sysop" with its code and make me one like it

Add the ModsCode MCP to Claude or ChatGPT

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