ModsCode / Claude Code Mods / Ranking / agent-cockpit
agent-cockpit
The instruments around each Claude Code session: themed status line, TTSR and layered rules, AGENTS.md and APPEND_SYSTEM, an edit advisor
What it does
- Draws a pane, a band above the prompt, toasts
- Adds /dgs
- Watches Edit, Write calls and can refuse them
- Hooks prompt.compose, prompt.context, prompt.submit, session.start and 3 more
- Keeps its own state between turns
Good points
- No network calls
- Written in TypeScript
- 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-cockpit by Daniel Santana (pane, band, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/dgsantana-agent-cockpit/
// 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: "dgs settings" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Button, Text, Select } = $.ui.resolve(e)
const i = '…'
const label = '…'
const name = '…'
const kind = '…'
const source = '…'
const title = '…'
const value = '…'
const origin = '…'
const text = '…'
const label2 = '…'
const text2 = '…'
const label3 = '…'
const text3 = '…'
const segOrigin = '…'
const id = '…'
const side = '…'
const id2 = '…'
const id3 = '…'
const title2 = '…'
const label4 = '…'
const text4 = '…'
const label5 = '…'
const text5 = '…'
const label6 = '…'
const text6 = '…'
const id4 = '…'
const id5 = '…'
const id6 = '…'
const title3 = '…'
const label7 = '…'
const text7 = '…'
const label8 = '…'
const text8 = '…'
const label9 = '…'
const text9 = '…'
const id7 = '…'
const id8 = '…'
const id9 = '…'
const hint = '…'
return (
<Box flexDirection="column">
<Box gap={1}>
<Button hotkey={`${i}`} label={`${label}`} variant="primary" />
<Button hotkey={`${i}`} label={`${label}`} variant="primary" />
<Button hotkey={`${i}`} label={`${label}`} variant="primary" />
</Box>
<Box gap={1}>
<Text dimColor>
write to
</Text>
<Button label="Global" variant="primary" />
<Button label="This project" variant="primary" />
<Text dimColor />
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Button label="[ ]" plain />
<Text>
{`${name} ${kind} · ${source}`}
</Text>
</Box>
<Box gap={1}>
<Button label="[ ]" plain />
<Text>
{`${name} ${kind} · ${source}`}
</Text>
</Box>
<Box gap={1}>
<Button label="[ ]" plain />
<Text>
{`${name} ${kind} · ${source}`}
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Text bold color="suggestion">
{title}
</Text>
<Box flexDirection="column">
<Box gap={1}>
<Box>
<Text>
{label}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
family
</Text>
<Select value={`${label}`} />
<Text dimColor>
theme
</Text>
<Select value={`${value}`} />
</Box>
<Text dimColor>
{`· ${origin}`}
</Text>
<Button label="reset" plain />
</Box>
<Text color="red">
{text}
</Text>
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Box>
<Text>
{label2}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
family
</Text>
<Select value={`${label}`} />
<Text dimColor>
theme
</Text>
<Select value={`${value}`} />
</Box>
<Text dimColor>
{`· ${origin}`}
</Text>
<Button label="reset" plain />
</Box>
<Text color="red">
{text2}
</Text>
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Box>
<Text>
{label3}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
family
</Text>
<Select value={`${label}`} />
<Text dimColor>
theme
</Text>
<Select value={`${value}`} />
</Box>
<Text dimColor>
{`· ${origin}`}
</Text>
<Button label="reset" plain />
</Box>
<Text color="red">
{text3}
</Text>
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Text bold color="suggestion">
Segments
</Text>
<Text dimColor>
{`· ${segOrigin}`}
</Text>
<Button label="reset" plain />
</Box>
<Box gap={1}>
<Box>
<Text>
{id}
</Text>
</Box>
<Button label="[x]" plain />
<Button label={`${side}`} plain />
<Button label="↑" plain />
<Button label="↓" plain />
</Box>
<Box gap={1}>
<Box>
<Text>
{id2}
</Text>
</Box>
<Button label="[x]" plain />
<Button label={`${side}`} plain />
<Button label="↑" plain />
<Button label="↓" plain />
</Box>
<Box gap={1}>
<Box>
<Text>
{id3}
</Text>
</Box>
<Button label="[x]" plain />
<Button label={`${side}`} plain />
<Button label="↑" plain />
<Button label="↓" plain />
</Box>
</Box>
</Box>
<Box flexDirection="column">
<Text bold color="suggestion">
{title2}
</Text>
<Box flexDirection="column">
<Box gap={1}>
<Box>
<Text>
{label4}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
family
</Text>
<Select value={`${label}`} />
<Text dimColor>
theme
</Text>
<Select value={`${value}`} />
</Box>
<Text dimColor>
{`· ${origin}`}
</Text>
<Button label="reset" plain />
</Box>
<Text color="red">
{text4}
</Text>
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Box>
<Text>
{label5}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
family
</Text>
<Select value={`${label}`} />
<Text dimColor>
theme
</Text>
<Select value={`${value}`} />
</Box>
<Text dimColor>
{`· ${origin}`}
</Text>
<Button label="reset" plain />
</Box>
<Text color="red">
{text5}
</Text>
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Box>
<Text>
{label6}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
family
</Text>
<Select value={`${label}`} />
<Text dimColor>
theme
</Text>
<Select value={`${value}`} />
</Box>
<Text dimColor>
{`· ${origin}`}
</Text>
<Button label="reset" plain />
</Box>
<Text color="red">
{text6}
</Text>
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Text bold color="suggestion">
Segments
</Text>
<Text dimColor>
{`· ${segOrigin}`}
</Text>
<Button label="reset" plain />
</Box>
<Box gap={1}>
<Box>
<Text>
{id4}
</Text>
</Box>
<Button label="[x]" plain />
<Button label={`${side}`} plain />
<Button label="↑" plain />
<Button label="↓" plain />
</Box>
<Box gap={1}>
<Box>
<Text>
{id5}
</Text>
</Box>
<Button label="[x]" plain />
<Button label={`${side}`} plain />
<Button label="↑" plain />
<Button label="↓" plain />
</Box>
<Box gap={1}>
<Box>
<Text>
{id6}
</Text>
</Box>
<Button label="[x]" plain />
<Button label={`${side}`} plain />
<Button label="↑" plain />
<Button label="↓" plain />
</Box>
</Box>
</Box>
<Box flexDirection="column">
<Text bold color="suggestion">
{title3}
</Text>
<Box flexDirection="column">
<Box gap={1}>
<Box>
<Text>
{label7}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
family
</Text>
<Select value={`${label}`} />
<Text dimColor>
theme
</Text>
<Select value={`${value}`} />
</Box>
<Text dimColor>
{`· ${origin}`}
</Text>
<Button label="reset" plain />
</Box>
<Text color="red">
{text7}
</Text>
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Box>
<Text>
{label8}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
family
</Text>
<Select value={`${label}`} />
<Text dimColor>
theme
</Text>
<Select value={`${value}`} />
</Box>
<Text dimColor>
{`· ${origin}`}
</Text>
<Button label="reset" plain />
</Box>
<Text color="red">
{text8}
</Text>
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Box>
<Text>
{label9}
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
family
</Text>
<Select value={`${label}`} />
<Text dimColor>
theme
</Text>
<Select value={`${value}`} />
</Box>
<Text dimColor>
{`· ${origin}`}
</Text>
<Button label="reset" plain />
</Box>
<Text color="red">
{text9}
</Text>
</Box>
<Box flexDirection="column">
<Box gap={1}>
<Text bold color="suggestion">
Segments
</Text>
<Text dimColor>
{`· ${segOrigin}`}
</Text>
<Button label="reset" plain />
</Box>
<Box gap={1}>
<Box>
<Text>
{id7}
</Text>
</Box>
<Button label="[x]" plain />
<Button label={`${side}`} plain />
<Button label="↑" plain />
<Button label="↓" plain />
</Box>
<Box gap={1}>
<Box>
<Text>
{id8}
</Text>
</Box>
<Button label="[x]" plain />
<Button label={`${side}`} plain />
<Button label="↑" plain />
<Button label="↓" plain />
</Box>
<Box gap={1}>
<Box>
<Text>
{id9}
</Text>
</Box>
<Button label="[x]" plain />
<Button label={`${side}`} plain />
<Button label="↑" plain />
<Button label="↓" plain />
</Box>
</Box>
</Box>
<Text dimColor>
{hint}
</Text>
</Box>
)
})
// 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 note = '…'
return (
<Box flexDirection="column">
<Text>
<Text bold color="warning">
{"Advisor: "}
</Text>
{note}
</Text>
<Box>
<Button label="✓ Send with next prompt" />
<Text>
{" "}
</Text>
<Button label="✓ Ignore" />
</Box>
{await next(e)}
</Box>
)
})
on('session.start', async ($, e, next) => {
const fired = '…'
const model = '…'
await $.ui.toast(`agent-cockpit TTSR: ${fired}`)
await $.ui.toast(`Advisor: no price for ${model}; spend estimated at the highest known rate (set advisor.prices in config)`)
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.
plugins/agent-cockpit/hooks/register.tsx lines 707–857 · Pane
on('ui.render', { component: 'Pane', requestId: PANE_ID }, async ($, e) => {
if (e.surface === 'mobile') {
const { Text } = $.ui.resolve(e)
return <Text>dgs settings need a terminal or desktop session (pickers and inputs).</Text>
}
const { Box, Button, Input, Select, Text } = $.ui.resolve(e)
const tab: Tab = (await $.state.get(PANE_TAB)).value ?? 'statusline'
const scope = (await $.state.get(PANE_SCOPE)).value ?? 'global'
const error = (await $.state.get(PANE_ERROR)).value
const themeGroup = (await $.state.get(PANE_THEME_GROUP)).value
const hint = hintFor((await $.state.get(PANE_FOCUS)).value ?? undefined)
let snap: Snapshot
try {
snap = await snapshot($)
} catch (err) {
return <Text>agent-cockpit: settings unavailable ({errText(err)})</Text>
}
const targets = await paneTargets($, snap)
const rows = paneRows(tab, snap, await storeValues($))
const builtin = await builtinThemes($)
const themes = listThemes(builtin, snap.themeSpecs)
const statusline = sanitizeStatusline(snap.config.statusline).config
// The preview stops a cell short of the pane's frame.
const columns = e.props.bodyColumns === undefined ? undefined : e.props.bodyColumns - 1
const extra = await paneExtras($, tab, snap, statusline, builtin, e, columns)
const groups = paneGroups(settingsFor(tab))
const lw = labelWidth(groups.flatMap(g => g.settings))
const rowOf = new Map(rows.map(r => [r.setting.key, r]))
const control = (s: Setting, value: unknown) => {
const key = `set-${s.key}`
switch (s.kind) {
case 'bool':
return <Button key={key} label={value ? '[x] on' : '[ ] off'} plain onPress={() => writeSetting($, s, !value)} />
case 'enum':
return (
<Select key={key} options={s.options.map(o => ({ value: o }))} value={String(value)} onSelect={(v: string) => writeSetting($, s, v)} />
)
case 'theme': {
// Two steps: a family, then a theme in it (a Select takes at most SELECT_MAX options).
const groups = themeGroups(themes.includes(String(value)) ? themes : [String(value), ...themes])
const group = groups.find(g => g.label === themeGroup) ?? groups.find(g => g.names.includes(String(value))) ?? groups[0]
return (
<Box key={key + '-box'} gap={1}>
<Text dimColor>family</Text>
<Select
key={`${key}-group`}
options={groups.slice(0, SELECT_MAX).map(g => ({ value: g.label }))}
value={group?.label}
onSelect={(v: string) => $.state.set(PANE_THEME_GROUP, v)}
/>
<Text dimColor>theme</Text>
<Select
key={key}
options={(group?.names ?? [String(value)]).map(o => ({ value: o }))}
value={group?.names.includes(String(value)) ? String(value) : undefined}
onSelect={(v: string) => writeSetting($, s, v)}
/>
</Box>
)
}
case 'stringList':
return (
<Input
key={key}
value={Array.isArray(value) ? value.join(', ') : ''}
onSubmit={(v: string) => writeSetting($, s, parseListInput(v))}
/>
)
default:
return <Input key={key} value={value === undefined ? '' : String(value)} onSubmit={(v: string) => writeSetting($, s, v)} />
}
}
// The segment table: every segment, on or off, its side and its order.
const lists: SegmentLists = { left: statusline.left, right: statusline.right }
const segOrigin = rows.find(r => r.setting.kind === 'segments' && r.origin !== 'default')?.origin
const segmentTable = (
<Box key="group-segments" flexDirection="column">
<Box gap={1}>
<Text bold color="suggestion">Segments</Text>
{segOrigin ? <Text dimColor>{`· ${segOrigin}`}</Text> : null}
{segOrigin ? <Button key="reset-segments" label="reset" plain onPress={() => resetSegments($)} /> : null}
</Box>
{segmentRows(lists).map(r => (
<Box key={`segrow-${r.id}`} gap={1}>
<Box width={lw}>
<Text dimColor={r.side === null}>{r.id}</Text>
</Box>
<Button key={`seg-on-${r.id}`} label={r.side ? '[x]' : '[ ]'} plain onPress={() => writeSegments($, segmentToggle(lists, r.id))} />
{r.side ? <Button key={`seg-side-${r.id}`} label={r.side} plain onPress={() => writeSegments($, segmentSide(lists, r.id))} /> : null}
{r.side ? <Button key={`seg-up-${r.id}`} label="↑" plain onPress={() => writeSegments($, segmentMove(lists, r.id, 'up'))} /> : null}
{r.side ? <Button key={`seg-down-${r.id}`} label="↓" plain onPress={() => writeSegments($, segmentMove(lists, r.id, 'down'))} /> : null}
</Box>
))}
</Box>
)
return (
<Box flexDirection="column">
<Box gap={1}>
{TABS.map((t, i) => (
<Button
key={`tab-${t.id}`}
hotkey={String(i + 1)}
label={t.label}
variant={t.id === tab ? 'primary' : undefined}
onPress={() => $.state.set(PANE_TAB, t.id)}
/>
))}
</Box>
<Box gap={1}>
<Text dimColor>write to</Text>
<Button key="scope-global" label="Global" variant={scope === 'global' ? 'primary' : undefined} onPress={() => setScope($, 'global')} />
<Button
key="scope-project"
label="This project"
dimColor={!targets.project}
variant={scope === 'project' ? 'primary' : undefined}
onPress={() => setScope($, 'project')}
/>
<Text dimColor>{(scope === 'project' ? targets.project : targets.global) ?? ''}</Text>
</Box>
{extra}
{groups.map((g, gi) => (
<Box key={`group-${gi}`} flexDirection="column">
{g.title ? <Text bold color="suggestion">{g.title}</Text> : null}
{g.settings.map(setting => {
const row = rowOf.get(setting.key)
const isSet = row !== undefined && row.origin !== 'default'
return (
<Box key={`row-${setting.key}`} flexDirection="column">
<Box gap={1}>
<Box width={lw}>
<Text>{setting.label}</Text>
</Box>
{control(setting, row?.value)}
{isSet ? <Text dimColor>{`· ${row.origin}`}</Text> : null}
{isSet ? <Button key={`reset-${setting.key}`} label="reset" plain onPress={() => resetSetting($, setting)} /> : null}
</Box>
{error?.key === setting.key ? <Text color="red">{error.text}</Text> : null}
</Box>
)
})}
{tab === 'statusline' && g.title === 'Look' ? segmentTable : null}
</Box>
))}
{hint ? <Text dimColor>{hint}</Text> : null}
</Box>
)
})plugins/agent-cockpit/hooks/register.tsx lines 476–542 · Pane
async function paneExtras(
$: EngineInterface,
tab: Tab,
snap: Snapshot,
statusline: StatuslineConfig,
builtin: Record<string, Record<string, string>>,
e: Parameters<EngineInterface['ui']['resolve']>[0],
columns: number | undefined,
) {
const { Box, Button, Text } = $.ui.resolve(e)
if (tab === 'statusline') {
const resolved = resolveTheme(statusline.theme, builtin, snap.themeSpecs)
const warnings = [...sanitizeStatusline(snap.config.statusline).warnings, ...resolved.warnings]
for (const w of warnings) warnOnce($, w)
return (
<Box flexDirection="column">
<Box flexDirection="row" flexWrap="nowrap" overflow="hidden">
{(() => {
const { left, middle, right } = statusSpans(PREVIEW_DATA, statusline, resolved.theme, columns)
return [...left, ...middle, ...right].map(s => (
<Text color={s.color} backgroundColor={s.backgroundColor} wrap="truncate">
{s.text}
</Text>
))
})()}
</Box>
{warnings.map(w => (
<Text color="yellow">{`⚠ ${w}`}</Text>
))}
</Box>
)
}
if (tab === 'rules') {
const disabledSetting = SETTINGS.find(s => s.key === 'rules.disabled') as Setting
const disabled = snap.config.rules.disabled
return (
<Box flexDirection="column">
{rulesRows(snap.allRules, snap.config.rules).map(r => (
<Box key={`rulerow-${r.name}`} gap={1}>
<Button
key={`rule-${r.name}`}
label={r.disabled ? '[ ]' : '[x]'}
plain
onPress={() =>
writeSetting($, disabledSetting, disabled.includes(r.name) ? disabled.filter(n => n !== r.name) : [...disabled, r.name])
}
/>
<Text dimColor={r.disabled}>{`${r.name} ${r.kind} · ${r.source}`}</Text>
</Box>
))}
</Box>
)
}
if (tab === 'advisor') {
const session = (await $.state.get(SESSION_USD)).value ?? 0
const total = await $.store.get('advisor.totalUsd')
const lastError = (await $.state.get(LAST_ERROR)).value
return (
<Box gap={1}>
<Text>{`spent: session $${session.toFixed(3)}, total $${(typeof total === 'number' ? total : 0).toFixed(3)}`}</Text>
<Button key="advisor-reset-spend" label="Reset spend" onPress={() => $.store.set('advisor.totalUsd', 0)} />
{lastError ? <Text color="red">{`last review failed: ${lastError}`}</Text> : null}
</Box>
)
}
return null
}plugins/agent-cockpit/hooks/register.tsx lines 879–913 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
if (e.props.hasSurvey) return next(e)
let status = null
try {
status = await statusRow($, e, e.props.bodyColumns)
} catch (err) {
warnOnce($, `status line not drawn (${errText(err)})`)
}
const note = (await $.state.get(NOTE)).value
if (!note) return status ?? next(e)
const decision = (await $.state.get(DECISION)).value ?? 'accept'
const { Box, Button, Text } = $.ui.resolve(e)
return (
<Box flexDirection="column">
{status}
<Text>
<Text bold color="warning">Advisor: </Text>
{note}
</Text>
<Box>
<Button
key="advisor-accept"
label={decision === 'accept' ? '✓ Send with next prompt' : 'Send with next prompt'}
onPress={() => $.state.set(DECISION, 'accept')}
/>
<Text> </Text>
<Button
key="advisor-ignore"
label={decision === 'ignore' ? '✓ Ignore' : 'Ignore'}
onPress={() => $.state.set(DECISION, 'ignore')}
/>
</Box>
</Box>
)
})Licence text (MIT)
MIT License Copyright (c) 2026 Daniel Santana 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 callsremembers
What its code shows
Read from the source at commit 708272d30a84 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-cockpit/hooks/register.tsx |
| 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.ast-grep, git (reaches the network) |
| 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 the network |
| 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.model.complete, model.fork (sends its own transcript), adds command dgs |
| 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 (dgs), prompt.submit, tool.call (Edit, Write) · shapes: prompt.compose, prompt.context · also: session.start, turn.start, ui.render (Pane, AbovePrompt), ui.focus (+1) · 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: HOME, USERPROFILE, CLAUDE_CONFIG_DIR, CAVEMAN_STATUSLINE_SAVINGS; files: a path computed at run time, CLAUDE.md-like files above the project |
| 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 |
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 dgsantana/claude-mods/plugin install agent-cockpit@dgsantana/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (708272d30a84). 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/dgsantana/claude-modsgit -C claude-mods checkout 708272d30a84e0048f597387f08040ef4ff4cf7fclaude plugin validate claude-mods/plugins/agent-cockpitclaude --plugin-dir claude-mods/plugins/agent-cockpitThe 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 "dgsantana-agent-cockpit" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- agent-discoverkeshrath★ 7
- fanyijax★ 5
- mod-storehellosverre★ 2
- sc-toolboxSimpleCORE★ 2
- cockpitSyed Muhammad Hassaan★ 1
- devtoolsNMenzel★ 1
More from this repository
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/dgsantana-agent-cockpit/)