ModsCode / Claude Code Mods / Ranking / agentille
agentille
One command for Claude Code: /agt plans, builds and reviews with the right model per step, steps aside on small tasks, and ends on one short card. Zero setup.
What it does
- Draws a band above the prompt, a pane, toasts
- Adds /agt-deck, /agt-tell, /agt-routing, /agt-spawn
- Watches mcp__agentille__spawn_pane, mcp__agentille__close_pane, Write calls and can refuse them
- Hooks agent.spawn, prompt.autocomplete, prompt.submit, session.measure and 6 more
- Keeps its own state between turns
Good points
- No network calls
- 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 agentille by Systown AI Lab (pane, band, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/hasuwini77-agentille/
// 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 } = $.ui.resolve(e)
const text = '…'
const arrow = '…'
const ago = '…'
return (
<Box flexDirection="column">
<Text color="#f85149" wrap="truncate">
{`⚑ ${text}`}
</Text>
<Text color="#f85149" wrap="truncate">
{`⚑ ${text}`}
</Text>
<Text color="#f85149" wrap="truncate">
{`⚑ ${text}`}
</Text>
<Text wrap="truncate">
<Text>
{`⇄ ${arrow} `}
</Text>
{text}
<Text dimColor>
{` ${ago}`}
</Text>
</Text>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "agentille" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text } = $.ui.resolve(e)
const tree = '…'
const glyph = '…'
const role = '…'
return (
<Box flexDirection="column">
<Text dimColor>
{tree}
</Text>
<Text>
{glyph}
</Text>
<Text>
{role}
</Text>
</Box>
)
})
on('session.start', async ($, e, next) => {
const name = '…'
const state = '…'
const text = '…'
await $.ui.toast(`agt ⚑ ${name} ${state} with no report. ${text}`)
await $.ui.toast(`agt ⚑ ${name} ${state}, not harvested`)
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.js lines 1131–1163 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
if (e.props.hasSurvey) return next(e)
const now = Date.now()
const staged = stage({ agents: live, panes, routes: paneRoutes, run: lastRun, now })
const focus = focusLines(now)
const wire = wireRow(wireLog, now)
if (staged.rows.length === 0 && !selfName && !worker && focus.length === 0 && !wire) return next(e)
const els = $.ui.resolve(e)
const kids = focus.map((l) => focusRow(els, l))
if (worker) kids.push(...workerBand(els, e, await $.clock.now()))
else if (selfName) kids.push(els.Text({ color: hex(MODEL_COLOR.opus), children: ['agentille worker · ' + selfName] }))
const theirs = await next(e)
// No agent rows: the newest wire message alone, no frame.
if (staged.rows.length === 0) return els.Box({ flexDirection: 'column', children: [...kids, ...(wire ? [wireLine(els, wire)] : []), theirs] })
const rows = nest(linkPieces(cast(staged, live, lastRun)))
const cols = (e.props.bodyColumns ?? 80) - 4
const view = boardRows(rows, { now, tick, cols, wire: wireStatus, transport, view: e.props.view?.agentId ?? null })
const sw = swarm({ agents: live, routes: paneRoutes, run: lastRun, tick })
const room = Math.max(1, (e.props.maxRows ?? 10) - 4 - kids.length - (wire ? 1 : 0) - (sw ? 1 : 0))
const waiting = rows.filter((r) => r.state === 'working').length
const inner = [boardHeader(els, header({ run: lastRun, formation: runs.get(lastRun)?.formation, squads: squads.map((q) => q.name), loops: loopText(runs.get(lastRun)) }), runningVersion)]
if (sw) inner.push(swarmLine(els, sw))
if (rows.length) inner.push(leadRow(els, leadLine({ model: leadModel, busy: e.props.isWorking, waiting })))
const shown = view.slice(0, room)
const argvs = shown.map((r) => (r.pane ? focusArgv(transport, rows.find((x) => x.id === r.id)) : null))
const slot = argvs.some(Boolean)
shown.forEach((r, i) => inner.push(boardRow(els, r, argvs[i] ? () => { $.process.run(argvs[i], PROBE).catch(() => {}) } : null, slot)))
if (view.length > room) inner.push(els.Text({ dimColor: true, children: [' +' + (view.length - room) + ' more · /agt-deck'] }))
if (wire) inner.push(wireLine(els, wire))
const board = els.Box({ flexDirection: 'column', borderStyle: 'round', borderColor: hex(FRAME_COLOR), paddingX: 1, children: inner })
return els.Box({ flexDirection: 'column', children: [...kids, board, theirs] })
})hooks/register.js lines 522–522 · Band
const focusRow = (els, text) => els.Text({ color: FOCUS_COLOR.flag, wrap: 'truncate', children: ['⚑ ' + text] })hooks/register.js lines 634–637 · Band
function wireLine(els, w) {
const { Text } = els
return Text({ wrap: 'truncate', children: [Text({ color: hex(WIRE_COLOR), children: ['⇄ ' + w.arrow + ' '] }), w.text, Text({ dimColor: true, children: [' ' + w.ago] })] })
}hooks/register.js lines 1166–1203 · Pane
on('ui.render', { component: 'Pane', requestId: DECK }, async ($, e) => {
const els = $.ui.resolve(e)
const { Box, Text } = els
const now = Date.now()
const staged = stage({ agents: live, panes, routes: paneRoutes, run: lastRun, now })
const all = [...staged.rows, ...[...live.values()].filter((a) => a.run === lastRun && !staged.rows.includes(a))]
const rows = cast({ rows: all.map((r) => (r.kind === 'pane' && !r.model ? { ...r, model: wireStatus.get(r.name)?.model ?? null } : r)), tally: { working: 0 } }, live, lastRun)
const cols = e.props.bodyColumns ?? 80
const kids = [boardHeader(els, header({ run: lastRun, formation: runs.get(lastRun)?.formation, squads: squads.map((q) => q.name), loops: loopText(runs.get(lastRun)) }), runningVersion)]
if (rows.length === 0 && decisions.length === 0 && wireLog.length === 0) {
kids.push(Text({ dimColor: true, children: ['No agents yet. Type /agt "task": every dispatch shows up here.'] }))
return Box({ flexDirection: 'column', children: kids })
}
if (rows.length) {
kids.push(rule(els, 'cast'))
const c = castColumns(rows, { cols, tick: tick >> 1, frameOf: frame, moodOf: (r) => (r.kind === 'sub' ? agentMood(r, now) : r.state === 'working' ? 'working' : 'bye') })
const orange = hex(MASCOT_COLOR)
const line = (pick) => Box({ flexDirection: 'row', children: c.cells.map(pick) })
for (const i of [0, 1, 2]) kids.push(line((m) => Text({ color: orange, dimColor: m.dim, children: [m.lines[i]] })))
kids.push(line((m) => Text({ dimColor: m.dim, children: [(m.glyph + ' ' + m.role).padEnd(14)] })))
kids.push(line((m) => Box({ width: 14, children: [m.model ? Text({ color: INK, backgroundColor: colorOf(m.model), children: [chip(m.model)] }) : Text({ dimColor: true, children: ['pane'] })] })))
if (c.more > 0) kids.push(Text({ dimColor: true, children: ['+' + c.more + ' more'] }))
}
if (wireLog.length) {
kids.push(rule(els, 'conversation'))
for (const w of wireLines(wireLog)) kids.push(Text({ wrap: 'truncate', children: [Text({ dimColor: true, children: [w.at + ' '] }), Text({ color: w.sub ? undefined : hex(WIRE_COLOR), children: [w.arrow + ' '] }), Text({ dimColor: true, children: [w.kind + ' '] }), w.text] }))
}
if (decisions.length) {
kids.push(rule(els, 'routing'))
for (const d of routingLines(decisions)) kids.push(Text({ wrap: 'truncate', children: [Text({ dimColor: true, children: [d.at + ' '] }), d.who + ' ', Text({ color: d.color, children: [d.route] }), Text({ color: d.escalated ? colorOf('fable') : d.drift ? 'warning' : undefined, dimColor: !d.escalated && !d.drift, children: [d.reason] })] }))
}
const bars = tokenBars(ledger(live, lastRun, paneRoutes), Math.max(8, Math.min(30, cols - 30)))
if (bars.length) {
kids.push(rule(els, 'tokens'))
for (const b of bars) kids.push(Text({ children: [b.name + ' ', Text({ color: hex(ACCENT), children: [b.bar] }), Text({ dimColor: true, children: [' ' + b.tok] })] }))
}
return Box({ flexDirection: 'column', children: kids })
})Licence text (MIT)
MIT License Copyright (c) 2026 Systown AI Lab 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 callsrememberssettings hooks
What its code shows
Read from the source at commit 02e95c4ec6ce 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.hooks/register.js |
| Parses | Every file parses as TypeScript or JavaScript.17 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.listed in its repository's .claude-plugin/marketplace.json: installs from there |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks |
| 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.hooks/register.js:114 a program named at run time; hooks/register.js:327 a program named at run time; hooks/register.js:333 a program named at run time; hooks/register.js:352 a program named at run time; hooks/register.js:356 a program named at run time |
| 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 and reaches another session |
| 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.MIT |
| 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 $.SessionStart: agentille-update-check.sh (through a shell) |
| 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.4 skills, 11 agents: text only |
| 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 agt-deck, adds command agt-tell, adds command agt-routing, adds command agt-spawn, adds command agt-ledger, adds command agt-highlight, adds command agt-focus, adds tool ? |
| 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 (agt-deck, agt-tell, agt-routing (+4)), tool.call (mcp__agentille__spawn_p…, mcp__agentille__close_p…, Write), prompt.submit · shapes: skill.prompt, turn.step · reads: prompt.autocomplete, session.receive · also: session.start, session.measure, agent.spawn, turn.start (+2) · timers: clock.every, clock.after |
| 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: HERDR_ENV, TMUX, HOME, HERDR_PANE_ID, TMUX_PANE (+4); files: a path computed at run time |
| 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.files: a path computed at run time; another session |
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 hasuwini77/agentille/plugin install agentille@hasuwini77-agentille/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (02e95c4ec6ce). 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/hasuwini77/agentillegit -C agentille checkout 02e95c4ec6cea1bc8b9e48ebc5c062b2896d0d5bclaude plugin validate agentilleclaude --plugin-dir agentilleThe 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 "hasuwini77-agentille" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- code-modernizationAnthropic★ 37,653
- lean-ctxThinkery / Yves Gugger★ 3,872
- crit-tuiTomasz Tomczyk★ 1,196
- remctlFederico Viticci★ 595
- task-orchestrator-modJeff Picklyk★ 208
- localvoxtral-modlocalvoxtral★ 59
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/hasuwini77-agentille/)