ModsCode / Claude Code Mods / Ranking / downrange
downrange
A band, pane, and /downrange table: progress, ETA, and last output for Claude Code background shells and Monitor watches, tool activity for subagents, state for workflows, and the next /loop wakeup.
What it does
- Draws a band above the prompt, a pane
- Watches Bash, Monitor, Agent, Workflow calls and can refuse them
- Hooks classic.SessionStart, classic.Stop, classic.SubagentStop, prompt.submit and 4 more
- Keeps its own state between turns
- Starts processes
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)
import type { Register } from 'claude-code'
// Drawn like downrange by dot-agi (pane, band), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/dot-agi-downrange/
// 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 text = '…'
const text2 = '…'
const text3 = '…'
return (
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Box flexGrow={1}>
<Text wrap="truncate-end">
<Text>
{text}
</Text>
<Text>
{text2}
</Text>
<Text>
{text3}
</Text>
</Text>
</Box>
<Button label="Open" hotkey="j" />
<Button label="Hide" hotkey="h" dimColor />
</Box>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "Jobs" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button } = $.ui.resolve(e)
const glyph = '…'
const title = '…'
const kind = '…'
const age = '…'
const bar = '…'
const progress = '…'
const eta = '…'
const flag = '…'
const note = '…'
const last = '…'
const glyph2 = '…'
const title2 = '…'
const kind2 = '…'
const age2 = '…'
const bar2 = '…'
const progress2 = '…'
const eta2 = '…'
const flag2 = '…'
const note2 = '…'
const glyph3 = '…'
const title3 = '…'
const kind3 = '…'
const age3 = '…'
const bar3 = '…'
const progress3 = '…'
const eta3 = '…'
const flag3 = '…'
const note3 = '…'
const glyph4 = '…'
const title4 = '…'
const kind4 = '…'
const age4 = '…'
const bar4 = '…'
const progress4 = '…'
const eta4 = '…'
const flag4 = '…'
const note4 = '…'
const glyph5 = '…'
const title5 = '…'
const kind5 = '…'
const age5 = '…'
const bar5 = '…'
const progress5 = '…'
const eta5 = '…'
const flag5 = '…'
const note5 = '…'
const glyph6 = '…'
const title6 = '…'
const kind6 = '…'
const age6 = '…'
const bar6 = '…'
const progress6 = '…'
const eta6 = '…'
const flag6 = '…'
const note6 = '…'
return (
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Box flexGrow={1}>
<Text wrap="wrap">
No background work yet. Jobs show here when Claude runs a command in the background, starts a Monitor, a background age…
</Text>
</Box>
<Button label="Clear finished" hotkey="c" dimColor />
<Button label="Close" hotkey="x" role="dismiss" />
</Box>
<Text bold dimColor>
Running
</Text>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text>
{glyph}
</Text>
<Text bold wrap="truncate-end">
{title}
</Text>
<Text dimColor>
{kind}
</Text>
<Text>
{age}
</Text>
<Text color="cyan">
{bar}
</Text>
<Text>
{progress}
</Text>
<Text>
{eta}
</Text>
<Text color="yellow">
{flag}
</Text>
<Text dimColor>
{note}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{` └ ${last}`}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text>
{glyph2}
</Text>
<Text bold wrap="truncate-end">
{title2}
</Text>
<Text dimColor>
{kind2}
</Text>
<Text>
{age2}
</Text>
<Text color="cyan">
{bar2}
</Text>
<Text>
{progress2}
</Text>
<Text>
{eta2}
</Text>
<Text color="yellow">
{flag2}
</Text>
<Text dimColor>
{note2}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{` └ ${last}`}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text>
{glyph3}
</Text>
<Text bold wrap="truncate-end">
{title3}
</Text>
<Text dimColor>
{kind3}
</Text>
<Text>
{age3}
</Text>
<Text color="cyan">
{bar3}
</Text>
<Text>
{progress3}
</Text>
<Text>
{eta3}
</Text>
<Text color="yellow">
{flag3}
</Text>
<Text dimColor>
{note3}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{` └ ${last}`}
</Text>
</Box>
<Text bold dimColor>
Finished
</Text>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text>
{glyph4}
</Text>
<Text bold wrap="truncate-end">
{title4}
</Text>
<Text dimColor>
{kind4}
</Text>
<Text>
{age4}
</Text>
<Text color="cyan">
{bar4}
</Text>
<Text>
{progress4}
</Text>
<Text>
{eta4}
</Text>
<Text color="yellow">
{flag4}
</Text>
<Text dimColor>
{note4}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{` └ ${last}`}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text>
{glyph5}
</Text>
<Text bold wrap="truncate-end">
{title5}
</Text>
<Text dimColor>
{kind5}
</Text>
<Text>
{age5}
</Text>
<Text color="cyan">
{bar5}
</Text>
<Text>
{progress5}
</Text>
<Text>
{eta5}
</Text>
<Text color="yellow">
{flag5}
</Text>
<Text dimColor>
{note5}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{` └ ${last}`}
</Text>
</Box>
<Box flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text>
{glyph6}
</Text>
<Text bold wrap="truncate-end">
{title6}
</Text>
<Text dimColor>
{kind6}
</Text>
<Text>
{age6}
</Text>
<Text color="cyan">
{bar6}
</Text>
<Text>
{progress6}
</Text>
<Text>
{eta6}
</Text>
<Text color="yellow">
{flag6}
</Text>
<Text dimColor>
{note6}
</Text>
</Box>
<Text dimColor wrap="truncate-end">
{` └ ${last}`}
</Text>
</Box>
</Box>
)
})
}
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 626–639 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
if (options.band === false || e.props.hasSurvey) return next(e)
const [{ now, jobs, wakeup: { pending: wakeup } }, hiddenAt] = await Promise.all([stateNow($), read($, BAND_HIDDEN_AT)])
if (!isLive(jobs, wakeup, now) || isBandHidden(jobs, hiddenAt)) return next(e)
const actions = {
open: () => {
void pressed($, 'Open')
},
hide: () => {
void pressed($, 'Hide')
},
}
return bandTree($.ui.resolve(e), bandOf(jobs, wakeup, now, e.props.bodyColumns), actions, await next(e))
}).catch(($, e, next) => passOn($, 'ui.render{component=AbovePrompt}', e, next))hooks/drawing.tsx lines 14–32 · Band
export function bandTree(ui: Ui, parts: readonly BandPart[], actions: { open: () => void; hide: () => void }, below: RenderElement): RenderElement {
const { Box, Text, Button } = ui
return (
<Box flexDirection="column">
<Box key="band" flexDirection="row" gap={1}>
<Box flexGrow={1}>
<Text wrap="truncate-end">
{parts.map(part => (
<Text {...PART_STYLES[part.tone]}>{part.text}</Text>
))}
</Text>
</Box>
<Button key="open" label="Open" hotkey="j" onPress={actions.open} />
<Button key="hide" label="Hide" hotkey="h" dimColor onPress={actions.hide} />
</Box>
{below}
</Box>
)
}hooks/register.tsx lines 641–652 · Pane
on('ui.render', { component: 'Pane', requestId: PANE_ID }, async ($, e) => {
const { now, jobs, wakeup: { pending: wakeup } } = await stateNow($)
const actions = {
clear: () => {
void pressed($, 'Clear finished')
},
close: () => {
void pressed($, 'Close')
},
}
return paneTree($.ui.resolve(e), paneModelOf(jobs, wakeup, now, e.props.bodyColumns), actions)
}).catch(($, e, next) => {hooks/drawing.tsx lines 71–103 · Pane
export function paneTree(ui: Ui, model: PaneModel, actions: { clear: () => void; close: () => void }): RenderElement {
const { Box, Text, Button } = ui
const isEmpty = model.header === '' && model.running.length === 0 && model.ended.length === 0
return (
<Box flexDirection="column">
<Box key="header" flexDirection="row" gap={1}>
<Box flexGrow={1}>
{isEmpty ? (
<Text wrap="wrap">{EMPTY}</Text>
) : (
<Text bold wrap="truncate-end">
{model.header}
</Text>
)}
</Box>
<Button key="clear" label="Clear finished" hotkey="c" dimColor onPress={actions.clear} />
<Button key="close" label="Close" hotkey="x" role="dismiss" onPress={actions.close} />
</Box>
{model.running.length === 0 ? null : (
<Text bold dimColor>
Running
</Text>
)}
{model.running.map(row => rowTree(ui, row))}
{model.ended.length === 0 ? null : (
<Text bold dimColor>
Finished
</Text>
)}
{model.ended.map(row => rowTree(ui, row))}
</Box>
)
}hooks/drawing.tsx lines 44–68 · Pane
function rowTree(ui: Ui, row: Row): RenderElement {
const { Box, Text } = ui
return (
<Box key={`job:${row.id}`} flexDirection="column">
<Box flexDirection="row" gap={1}>
<Text {...TONE_STYLES[row.tone]}>{row.glyph}</Text>
<Text bold wrap="truncate-end">
{row.title}
</Text>
<Text dimColor>{row.kind}</Text>
<Text>{row.age}</Text>
{row.bar === undefined ? null : <Text color="cyan">{row.bar}</Text>}
{row.progress === undefined ? null : <Text>{row.progress}</Text>}
{row.eta === undefined ? null : <Text {...(row.isSlow ? { color: 'yellow' } : {})}>{row.eta}</Text>}
{row.flag === undefined ? null : <Text color="yellow">{row.flag}</Text>}
{row.note === undefined ? null : <Text dimColor>{row.note}</Text>}
</Box>
{row.last === undefined ? null : (
<Text dimColor wrap="truncate-end">
{` └ ${row.last}`}
</Text>
)}
</Box>
)
}Licence text (MIT)
MIT License Copyright (c) 2026 dot-agi 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 a13e287d638c 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.tsx |
| Parses | Every file parses as TypeScript or JavaScript.10 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).hooks/register.tsx:298 tail (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.tail |
| 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 files, 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.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 $.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 ? |
| 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, tool.call (Bash, Monitor, Agent (+3)), session.append, prompt.submit, classic.Stop, classic.SubagentStop · reads: classic.SessionStart · also: session.start, session.end, turn.complete, ui.render (AbovePrompt, Pane) · timers: 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.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.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.
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 dot-agi/downrange/plugin install downrange@downrange/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (a13e287d638c). 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/dot-agi/downrangegit -C downrange checkout a13e287d638c6adfb0c3a633fb647c3490c28a7bclaude plugin validate downrangeclaude --plugin-dir downrangeThe 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 "dot-agi-downrange" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- blast-radiusdeepseek-ai★ 247,289
- replay-theaterdeepseek-ai★ 247,289
- code-modernizationAnthropic★ 37,653
- seo-cockpitAgrici Daniel★ 18,364
- crit-tuiTomasz Tomczyk★ 1,196
- ai-maestro-secrets23blocks-OS★ 817
More by dot-agi
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/dot-agi-downrange/)