ModsCode / Claude Code Mods / Ranking / agent-ui
agent-ui
A /workers pane of this session's child runs with a live tail, and the session's pinned asks above the prompt with their context on click; a right-click drops an ask.
What it does
- Draws a pane, a band above the prompt
- Adds /workers
- Hooks session.start, ui.message
- Starts processes
Good points
- No network calls
- Written in TypeScript
- Has a desktop-specific branch
- 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)
import type { Register } from 'claude-code'
// Drawn like agent-ui by Nut S. (pane, band), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/znut-agent-ui/
// 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: "Workers" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Button, Text, Link, Markdown } = $.ui.resolve(e)
const sha = '…'
const state = '…'
const running = '…'
const queued = '…'
const top = '…'
const bottom = '…'
const map = '…'
const map2 = '…'
const map3 = '…'
const map4 = '…'
const map5 = '…'
const map6 = '…'
const map7 = '…'
const map8 = '…'
const map9 = '…'
const one = '…'
const length = '…'
const title = '…'
const summary = '…'
const error = '…'
const label = '…'
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 summary2 = '…'
const error2 = '…'
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 summary3 = '…'
const error3 = '…'
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 href = '…'
const number = '…'
const result = '…'
const n = '…'
const get = '…'
const MARK = '…'
const kind = '…'
const model = '…'
const duration = '…'
const status = '…'
const line = '…'
const line2 = '…'
const line3 = '…'
const lastMessage = '…'
const head = '…'
const name = '…'
const nums = '…'
const name2 = '…'
const nums2 = '…'
const name3 = '…'
const nums3 = '…'
const head2 = '…'
const name4 = '…'
const nums4 = '…'
const name5 = '…'
const nums5 = '…'
const name6 = '…'
const nums6 = '…'
const head3 = '…'
const name7 = '…'
const nums7 = '…'
const name8 = '…'
const nums8 = '…'
const name9 = '…'
const nums9 = '…'
const line4 = '…'
const line5 = '…'
const line6 = '…'
const line7 = '…'
const line8 = '…'
const line9 = '…'
const line10 = '…'
const line11 = '…'
const line12 = '…'
const line13 = '…'
const line14 = '…'
const line15 = '…'
const line16 = '…'
const line17 = '…'
const line18 = '…'
const line19 = '…'
const line20 = '…'
const line21 = '…'
const line22 = '…'
const line23 = '…'
const line24 = '…'
const line25 = '…'
const line26 = '…'
const line27 = '…'
const line28 = '…'
const line29 = '…'
const line30 = '…'
return (
<Box flexDirection="column">
<Box flexDirection="row">
<Button plain dimColor label={`▾ main ${sha} · `} />
<Text>
{state}
</Text>
<Text dimColor>
{" · preview "}
</Text>
<Text color="green">
{running}
</Text>
<Text dimColor>
/
</Text>
<Text color="red">
{queued}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" height={6}>
<Box width={6} height={6} flexDirection="column" justifyContent="space-between">
<Text dimColor>
{top}
</Text>
<Text dimColor>
{bottom}
</Text>
</Box>
<Box width={2} height={6} flexDirection="column">
<Text>
{map}
</Text>
<Text>
{map2}
</Text>
<Text>
{map3}
</Text>
</Box>
<Box width={2} height={6} flexDirection="column">
<Text>
{map4}
</Text>
<Text>
{map5}
</Text>
<Text>
{map6}
</Text>
</Box>
<Box width={2} height={6} flexDirection="column">
<Text>
{map7}
</Text>
<Text>
{map8}
</Text>
<Text>
{map9}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box flexDirection="row">
<Text dimColor>
{" · "}
</Text>
<Button plain label={`${one}`} />
</Box>
<Box flexDirection="row">
<Text dimColor>
{" · "}
</Text>
<Button plain label={`${one}`} />
</Box>
<Box flexDirection="row">
<Text dimColor>
{" · "}
</Text>
<Button plain label={`${one}`} />
</Box>
</Box>
<Text dimColor>
{`last ${length} runs · line = load · red = retry`}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Button plain label={`▾ ${title}`} />
<Text dimColor>
{summary}
</Text>
</Box>
<Box marginLeft={2}>
<Text dimColor>
{error}
</Text>
</Box>
<Box flexDirection="column" marginLeft={2}>
<Box flexDirection="row">
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
</Box>
<Box flexDirection="row">
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
</Box>
<Box flexDirection="row">
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
</Box>
<Box flexDirection="row">
<Text>
{text}
</Text>
<Text>
{text2}
</Text>
<Text>
{text3}
</Text>
</Box>
<Box>
<Text dimColor>
no data
</Text>
</Box>
<Box flexDirection="row">
<Text>
{text4}
</Text>
<Text>
{text5}
</Text>
<Text>
{text6}
</Text>
</Box>
<Box flexDirection="row">
<Text>
{text7}
</Text>
<Text>
{text8}
</Text>
<Text>
{text9}
</Text>
</Box>
<Box flexDirection="row">
<Text>
{text10}
</Text>
<Text>
{text11}
</Text>
<Text>
{text12}
</Text>
</Box>
<Text dimColor />
</Box>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Button plain label={`▾ ${title}`} />
<Text dimColor>
{summary2}
</Text>
</Box>
<Box marginLeft={2}>
<Text dimColor>
{error2}
</Text>
</Box>
<Box flexDirection="column" marginLeft={2}>
<Box flexDirection="row">
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
</Box>
<Box flexDirection="row">
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
</Box>
<Box flexDirection="row">
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
</Box>
<Box flexDirection="row">
<Text>
{text13}
</Text>
<Text>
{text14}
</Text>
<Text>
{text15}
</Text>
</Box>
<Box>
<Text dimColor>
no data
</Text>
</Box>
<Box flexDirection="row">
<Text>
{text16}
</Text>
<Text>
{text17}
</Text>
<Text>
{text18}
</Text>
</Box>
<Box flexDirection="row">
<Text>
{text19}
</Text>
<Text>
{text20}
</Text>
<Text>
{text21}
</Text>
</Box>
<Box flexDirection="row">
<Text>
{text22}
</Text>
<Text>
{text23}
</Text>
<Text>
{text24}
</Text>
</Box>
<Text dimColor />
</Box>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Button plain label={`▾ ${title}`} />
<Text dimColor>
{summary3}
</Text>
</Box>
<Box marginLeft={2}>
<Text dimColor>
{error3}
</Text>
</Box>
<Box flexDirection="column" marginLeft={2}>
<Box flexDirection="row">
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
</Box>
<Box flexDirection="row">
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
</Box>
<Box flexDirection="row">
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
<Box flexDirection="row">
<Text>
{" "}
</Text>
<Button plain label={`${label}`} />
</Box>
</Box>
<Box flexDirection="row">
<Text>
{text25}
</Text>
<Text>
{text26}
</Text>
<Text>
{text27}
</Text>
</Box>
<Box>
<Text dimColor>
no data
</Text>
</Box>
<Box flexDirection="row">
<Text>
{text28}
</Text>
<Text>
{text29}
</Text>
<Text>
{text30}
</Text>
</Box>
<Box flexDirection="row">
<Text>
{text31}
</Text>
<Text>
{text32}
</Text>
<Text>
{text33}
</Text>
</Box>
<Box flexDirection="row">
<Text>
{text34}
</Text>
<Text>
{text35}
</Text>
<Text>
{text36}
</Text>
</Box>
<Text dimColor />
</Box>
</Box>
<Box flexDirection="column" marginBottom={1}>
<Text bold>
Needs you
</Text>
<Box>
<Text color="#CBA6F7">
<Link href={`${href}`} label={`#${number}`} />
</Text>
<Text>
{` ${title} ${result} ⚡ conflict`}
</Text>
</Box>
<Box>
<Text color="#CBA6F7">
<Link href={`${href}`} label={`#${number}`} />
</Text>
<Text>
{` ${title} ${result} ⚡ conflict`}
</Text>
</Box>
<Box>
<Text color="#CBA6F7">
<Link href={`${href}`} label={`#${number}`} />
</Text>
<Text>
{` ${title} ${result} ⚡ conflict`}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginBottom={1}>
<Box flexDirection="row">
<Box flexDirection="row">
<Text dimColor>
{" → "}
</Text>
<Text color="green">
<Link href={`${href}`} label={`#${n}`} />
{" ✓"}
</Text>
</Box>
<Box flexDirection="row">
<Text dimColor>
{" → "}
</Text>
<Text color="green">
<Link href={`${href}`} label={`#${n}`} />
{" ✓"}
</Text>
</Box>
<Box flexDirection="row">
<Text dimColor>
{" → "}
</Text>
<Text color="green">
<Link href={`${href}`} label={`#${n}`} />
{" ✓"}
</Text>
</Box>
<Box display="none">
<Text dimColor wrap="truncate-end">
{` ${get}`}
</Text>
</Box>
<Box display="none">
<Text dimColor wrap="truncate-end">
{` ${get}`}
</Text>
</Box>
<Box display="none">
<Text dimColor wrap="truncate-end">
{` ${get}`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box flexDirection="row">
<Text dimColor>
{" → "}
</Text>
<Text color="green">
<Link href={`${href}`} label={`#${n}`} />
{" ✓"}
</Text>
</Box>
<Box flexDirection="row">
<Text dimColor>
{" → "}
</Text>
<Text color="green">
<Link href={`${href}`} label={`#${n}`} />
{" ✓"}
</Text>
</Box>
<Box flexDirection="row">
<Text dimColor>
{" → "}
</Text>
<Text color="green">
<Link href={`${href}`} label={`#${n}`} />
{" ✓"}
</Text>
</Box>
<Box display="none">
<Text dimColor wrap="truncate-end">
{` ${get}`}
</Text>
</Box>
<Box display="none">
<Text dimColor wrap="truncate-end">
{` ${get}`}
</Text>
</Box>
<Box display="none">
<Text dimColor wrap="truncate-end">
{` ${get}`}
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box flexDirection="row">
<Text dimColor>
{" → "}
</Text>
<Text color="green">
<Link href={`${href}`} label={`#${n}`} />
{" ✓"}
</Text>
</Box>
<Box flexDirection="row">
<Text dimColor>
{" → "}
</Text>
<Text color="green">
<Link href={`${href}`} label={`#${n}`} />
{" ✓"}
</Text>
</Box>
<Box flexDirection="row">
<Text dimColor>
{" → "}
</Text>
<Text color="green">
<Link href={`${href}`} label={`#${n}`} />
{" ✓"}
</Text>
</Box>
<Box display="none">
<Text dimColor wrap="truncate-end">
{` ${get}`}
</Text>
</Box>
<Box display="none">
<Text dimColor wrap="truncate-end">
{` ${get}`}
</Text>
</Box>
<Box display="none">
<Text dimColor wrap="truncate-end">
{` ${get}`}
</Text>
</Box>
</Box>
</Box>
<Text bold>
Workers
</Text>
<Box>
<Text dimColor>
set childrenDir in /config
</Text>
</Box>
<Box flexDirection="row">
<Text dimColor>
{" └ "}
</Text>
<Box>
<Text>
{`${MARK} `}
</Text>
</Box>
<Text>
{" "}
</Text>
<Button plain label={`${kind} ${label} ${model} ${duration} ${status} ▾${length}`} />
</Box>
<Box flexDirection="row">
<Text dimColor>
{" └ "}
</Text>
<Box>
<Text>
{`${MARK} `}
</Text>
</Box>
<Text>
{" "}
</Text>
<Button plain label={`${kind} ${label} ${model} ${duration} ${status} ▾${length}`} />
</Box>
<Box flexDirection="row">
<Text dimColor>
{" └ "}
</Text>
<Box>
<Text>
{`${MARK} `}
</Text>
</Box>
<Text>
{" "}
</Text>
<Button plain label={`${kind} ${label} ${model} ${duration} ${status} ▾${length}`} />
</Box>
<Box flexDirection="column" marginTop={1}>
<Text bold>
{`${label} (${status})`}
</Text>
<Text dimColor>
No output yet.
</Text>
<Text wrap="truncate-end">
{line}
</Text>
<Text wrap="truncate-end">
{line2}
</Text>
<Text wrap="truncate-end">
{line3}
</Text>
<Box flexDirection="column" marginTop={1}>
<Text bold>
last message
</Text>
<Markdown text={`${lastMessage}`} />
</Box>
</Box>
<Box top={2}>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#e1e1e6" wrap="truncate-end">
{head}
</Text>
</Box>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#9a9cab" wrap="truncate-end">
{name}
</Text>
<Text color="#9a9cab" wrap="truncate-end">
{nums}
</Text>
</Box>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#9a9cab" wrap="truncate-end">
{name2}
</Text>
<Text color="#9a9cab" wrap="truncate-end">
{nums2}
</Text>
</Box>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#9a9cab" wrap="truncate-end">
{name3}
</Text>
<Text color="#9a9cab" wrap="truncate-end">
{nums3}
</Text>
</Box>
</Box>
<Box top={2}>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#e1e1e6" wrap="truncate-end">
{head2}
</Text>
</Box>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#9a9cab" wrap="truncate-end">
{name4}
</Text>
<Text color="#9a9cab" wrap="truncate-end">
{nums4}
</Text>
</Box>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#9a9cab" wrap="truncate-end">
{name5}
</Text>
<Text color="#9a9cab" wrap="truncate-end">
{nums5}
</Text>
</Box>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#9a9cab" wrap="truncate-end">
{name6}
</Text>
<Text color="#9a9cab" wrap="truncate-end">
{nums6}
</Text>
</Box>
</Box>
<Box top={2}>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#e1e1e6" wrap="truncate-end">
{head3}
</Text>
</Box>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#9a9cab" wrap="truncate-end">
{name7}
</Text>
<Text color="#9a9cab" wrap="truncate-end">
{nums7}
</Text>
</Box>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#9a9cab" wrap="truncate-end">
{name8}
</Text>
<Text color="#9a9cab" wrap="truncate-end">
{nums8}
</Text>
</Box>
<Box flexDirection="row" flexWrap="nowrap">
<Text color="#9a9cab" wrap="truncate-end">
{name9}
</Text>
<Text color="#9a9cab" wrap="truncate-end">
{nums9}
</Text>
</Box>
</Box>
<Box>
<Text color="#e1e1e6">
{line4}
</Text>
<Text color="#e1e1e6">
{line5}
</Text>
<Text color="#e1e1e6">
{line6}
</Text>
</Box>
<Box>
<Text color="#e1e1e6">
{line7}
</Text>
<Text color="#e1e1e6">
{line8}
</Text>
<Text color="#e1e1e6">
{line9}
</Text>
</Box>
<Box>
<Text color="#e1e1e6">
{line10}
</Text>
<Text color="#e1e1e6">
{line11}
</Text>
<Text color="#e1e1e6">
{line12}
</Text>
</Box>
<Box>
<Text color="#e1e1e6">
{line13}
</Text>
<Text color="#e1e1e6">
{line14}
</Text>
<Text color="#e1e1e6">
{line15}
</Text>
</Box>
<Box>
<Text color="#e1e1e6">
{line16}
</Text>
<Text color="#e1e1e6">
{line17}
</Text>
<Text color="#e1e1e6">
{line18}
</Text>
</Box>
<Box>
<Text color="#e1e1e6">
{line19}
</Text>
<Text color="#e1e1e6">
{line20}
</Text>
<Text color="#e1e1e6">
{line21}
</Text>
</Box>
<Box>
<Text color="#e1e1e6">
{line22}
</Text>
<Text color="#e1e1e6">
{line23}
</Text>
<Text color="#e1e1e6">
{line24}
</Text>
</Box>
<Box>
<Text color="#e1e1e6">
{line25}
</Text>
<Text color="#e1e1e6">
{line26}
</Text>
<Text color="#e1e1e6">
{line27}
</Text>
</Box>
<Box>
<Text color="#e1e1e6">
{line28}
</Text>
<Text color="#e1e1e6">
{line29}
</Text>
<Text color="#e1e1e6">
{line30}
</Text>
</Box>
</Box>
)
})
// the band above the prompt; what else goes there is drawn under it
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
const { Box, Client, Text, Link } = $.ui.resolve(e)
const issueHref = '…'
const issue = '…'
const trailingHref = '…'
const linkLabel = '…'
return (
<Box flexDirection="column">
<Box flexDirection="column">
<Box flexDirection="row">
<Client module="./ask-line.tsx" />
<Text>
{" "}
</Text>
<Text color="#CBA6F7">
<Link href={`${issueHref}`} label={`#${issue}`} />
</Text>
<Text color="#CBA6F7" underline>
<Link href={`${trailingHref}`} label={`${linkLabel}`} />
</Text>
</Box>
<Box flexDirection="column" marginLeft={2} />
</Box>
{await next(e)}
</Box>
)
})
}
The mod's own code
Its licence text was not found at the commit read, so only the places in the source are linked.
plugins/agent-ui/hooks/register.tsxlines 889–1048plugins/agent-ui/hooks/register.tsxlines 1177–1280
How to build this: Pane (panel), Add a slash command
What its code calls
runs programsreads filesenv varsdrives Claude
What its code shows
Read from the source at commit 8edd080389e5 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 read | Every module hooks/hooks.json names was read.plugins/agent-ui/hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.6 files parsed |
| All its code is in the mod | Every import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod |
| Readable | No 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 open | Network 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 draws | The 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 line | Whether 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 Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).plugins/agent-ui/hooks/register.tsx:119 tail (not on Windows); plugins/agent-ui/hooks/register.tsx:213 ps (not on Windows) |
| Network | Whether every fetch names its https host in the code.no network |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.plugins/agent-ui/hooks/register.tsx:455 a program named at run time; plugins/agent-ui/hooks/register.tsx:777 perl (a shell or interpreter) |
| Reads and sends | Whether 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, the transcript, but reaches nothing outside |
| Keys in the source | Whether the source holds what looks like an API key or a private key.no keys in the source |
| Licence | An open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.no licence |
| Settings hooks | Hooks 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 ships | MCP 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, agents | What 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 MCP | Whether 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 model | Completions it runs ($.model.complete, fork, classify), subagents it spawns, prompts it submits as you, and the tools, commands and agents it adds.adds command workers |
| Events it hooks | By 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 (workers) · reads: ui.message · also: session.start, ui.render (Pane, AbovePrompt) · timers: clock.after, clock.every |
| Reads, by name | The environment variables and files it names, and whether it reads the transcript, settings.json, the prompt box or the mouse selection.env: HOME; files: …/gate/pr-…/…-….json; the transcript |
| Writes, by name | The 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.the prompt box |
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/znut/agent-skillsgit -C agent-skills checkout 8edd080389e5c8308dcf9c399de94937aa3c3476claude plugin validate agent-skills/plugins/agent-uiclaude --plugin-dir agent-skills/plugins/agent-uiThe 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 "znut-agent-ui" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- chimaera-ui-probemartinappberg★ 4
- claudelingoKeisuke Yoda★ 2
- pr-commentsaguiddir★ 2
- a2a-modAliasgar Khimani★ 1
- gh-inboxmako-code★ 1
- acp-uiNguyễn Thế Huy★ 0
Badge for your README
If this is your mod, paste this into your README. It links to this page.
[](https://modscode.com/claude-mods/mods/znut-agent-ui/)