ModsCode / Claude Code Mods / Ranking / foreman
foreman
Live view of a foreman program: lanes, agents, stalls, what needs you, and memory
What it does
- Draws a band above the prompt, a pane, toasts
- Adds /lanes
- Watches mcp__foreman__report calls
- Hooks prompt.compose, session.end, session.start, turn.complete
- Starts processes
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 foreman by Stella Inwood (pane, band, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/kodingdev-foreman/
// 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 item = '…'
const item2 = '…'
const item3 = '…'
const hiddenCount = '…'
return (
<Box flexDirection="column">
<Text color="yellow" wrap="truncate-end">
{item}
</Text>
<Text color="yellow" wrap="truncate-end">
{item2}
</Text>
<Text color="yellow" wrap="truncate-end">
{item3}
</Text>
<Box>
<Text dimColor>
+
{hiddenCount}
{" more "}
</Text>
<Button label="Open lanes" />
<Button label="Clear denials" />
</Box>
{await next(e)}
</Box>
)
})
// the pane: open it with $.ui.open({ id: 'my-pane', title: "Foreman" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button, Markdown } = $.ui.resolve(e)
const countOf = '…'
const eta = '…'
const name = '…'
const need = '…'
const need2 = '…'
const need3 = '…'
const lane = '…'
const title = '…'
const eta2 = '…'
const status = '…'
const formatElapsed = '…'
const formatElapsed2 = '…'
const doneCount = '…'
const length = '…'
const summary = '…'
const TODO_MARKS = '…'
const text = '…'
const eta3 = '…'
const TODO_MARKS2 = '…'
const text2 = '…'
const eta4 = '…'
const TODO_MARKS3 = '…'
const text3 = '…'
const eta5 = '…'
const label = '…'
const value = '…'
const label2 = '…'
const value2 = '…'
const label3 = '…'
const value3 = '…'
const footer = '…'
const lane2 = '…'
const title2 = '…'
const eta6 = '…'
const status2 = '…'
const formatElapsed3 = '…'
const formatElapsed4 = '…'
const doneCount2 = '…'
const length2 = '…'
const TODO_MARKS4 = '…'
const text4 = '…'
const eta7 = '…'
const TODO_MARKS5 = '…'
const text5 = '…'
const eta8 = '…'
const TODO_MARKS6 = '…'
const text6 = '…'
const eta9 = '…'
const label4 = '…'
const value4 = '…'
const label5 = '…'
const value5 = '…'
const label6 = '…'
const value6 = '…'
const footer2 = '…'
const lane3 = '…'
const title3 = '…'
const eta10 = '…'
const status3 = '…'
const formatElapsed5 = '…'
const formatElapsed6 = '…'
const doneCount3 = '…'
const length3 = '…'
const TODO_MARKS7 = '…'
const text7 = '…'
const eta11 = '…'
const TODO_MARKS8 = '…'
const text8 = '…'
const eta12 = '…'
const TODO_MARKS9 = '…'
const text9 = '…'
const eta13 = '…'
const label7 = '…'
const value7 = '…'
const label8 = '…'
const value8 = '…'
const label9 = '…'
const value9 = '…'
const footer3 = '…'
const formatElapsed7 = '…'
const name2 = '…'
const formatElapsed8 = '…'
const name3 = '…'
const formatElapsed9 = '…'
const tool = '…'
const formatElapsed10 = '…'
const reason = '…'
const tool2 = '…'
const formatElapsed11 = '…'
const reason2 = '…'
const tool3 = '…'
const formatElapsed12 = '…'
const reason3 = '…'
const totalRssGb = '…'
return (
<Box flexDirection="column" gap={1}>
<Box justifyContent="space-between">
<Text bold wrap="truncate-end">
No program
</Text>
<Text dimColor>
{countOf}
<Text color="cyan">
{" ETA "}
{eta}
</Text>
</Text>
</Box>
<Box gap={1}>
<Text dimColor>
switch
</Text>
<Button label={`${name}`} plain />
<Button label={`${name}`} plain />
<Button label={`${name}`} plain />
</Box>
<Box flexDirection="column" borderStyle="round" borderColor="yellow" paddingX={1}>
<Text bold color="yellow">
Needs you
</Text>
<Text wrap="truncate-end">
{need}
</Text>
<Text wrap="truncate-end">
{need2}
</Text>
<Text wrap="truncate-end">
{need3}
</Text>
</Box>
<Text dimColor>
No lanes yet. Agents send them with the report tool.
</Text>
<Box flexDirection="column" borderStyle="round" borderColor="red" paddingX={1}>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text bold>
{lane}
</Text>
<Text dimColor>
{" "}
{title}
</Text>
</Text>
<Text color="cyan">
{eta2}
</Text>
</Box>
<Text wrap="truncate-end">
<Text color="red">
{status}
</Text>
<Text dimColor>
{" "}
{"for "}
{formatElapsed}
{", updated "}
{formatElapsed2}
{" ago"}
</Text>
</Text>
<Text>
<Text color="green">
########........
</Text>
<Text dimColor>
{" "}
{doneCount}
/
{length}
{" done"}
</Text>
</Text>
<Box marginTop={1}>
<Markdown text={`${summary}`} />
</Box>
<Box flexDirection="column" marginTop={1}>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text color="cyan">
{TODO_MARKS}
</Text>
{" "}
{text}
</Text>
<Text dimColor>
{eta3}
</Text>
</Box>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text color="cyan">
{TODO_MARKS2}
</Text>
{" "}
{text2}
</Text>
<Text dimColor>
{eta4}
</Text>
</Box>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text color="cyan">
{TODO_MARKS3}
</Text>
{" "}
{text3}
</Text>
<Text dimColor>
{eta5}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text wrap="truncate-end">
<Text dimColor>
{label}
{" "}
</Text>
{value}
<Text dimColor>
{" seen"}
</Text>
</Text>
<Text wrap="truncate-end">
<Text dimColor>
{label2}
{" "}
</Text>
{value2}
<Text dimColor>
{" seen"}
</Text>
</Text>
<Text wrap="truncate-end">
<Text dimColor>
{label3}
{" "}
</Text>
{value3}
<Text dimColor>
{" seen"}
</Text>
</Text>
</Box>
<Box marginTop={1}>
<Text dimColor wrap="truncate-end">
{footer}
</Text>
</Box>
</Box>
<Box flexDirection="column" borderStyle="round" borderColor="red" paddingX={1}>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text bold>
{lane2}
</Text>
<Text dimColor>
{" "}
{title2}
</Text>
</Text>
<Text color="cyan">
{eta6}
</Text>
</Box>
<Text wrap="truncate-end">
<Text color="red">
{status2}
</Text>
<Text dimColor>
{" "}
{"for "}
{formatElapsed3}
{", updated "}
{formatElapsed4}
{" ago"}
</Text>
</Text>
<Text>
<Text color="green">
########........
</Text>
<Text dimColor>
{" "}
{doneCount2}
/
{length2}
{" done"}
</Text>
</Text>
<Box marginTop={1}>
<Markdown text={`${summary}`} />
</Box>
<Box flexDirection="column" marginTop={1}>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text color="cyan">
{TODO_MARKS4}
</Text>
{" "}
{text4}
</Text>
<Text dimColor>
{eta7}
</Text>
</Box>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text color="cyan">
{TODO_MARKS5}
</Text>
{" "}
{text5}
</Text>
<Text dimColor>
{eta8}
</Text>
</Box>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text color="cyan">
{TODO_MARKS6}
</Text>
{" "}
{text6}
</Text>
<Text dimColor>
{eta9}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text wrap="truncate-end">
<Text dimColor>
{label4}
{" "}
</Text>
{value4}
<Text dimColor>
{" seen"}
</Text>
</Text>
<Text wrap="truncate-end">
<Text dimColor>
{label5}
{" "}
</Text>
{value5}
<Text dimColor>
{" seen"}
</Text>
</Text>
<Text wrap="truncate-end">
<Text dimColor>
{label6}
{" "}
</Text>
{value6}
<Text dimColor>
{" seen"}
</Text>
</Text>
</Box>
<Box marginTop={1}>
<Text dimColor wrap="truncate-end">
{footer2}
</Text>
</Box>
</Box>
<Box flexDirection="column" borderStyle="round" borderColor="red" paddingX={1}>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text bold>
{lane3}
</Text>
<Text dimColor>
{" "}
{title3}
</Text>
</Text>
<Text color="cyan">
{eta10}
</Text>
</Box>
<Text wrap="truncate-end">
<Text color="red">
{status3}
</Text>
<Text dimColor>
{" "}
{"for "}
{formatElapsed5}
{", updated "}
{formatElapsed6}
{" ago"}
</Text>
</Text>
<Text>
<Text color="green">
########........
</Text>
<Text dimColor>
{" "}
{doneCount3}
/
{length3}
{" done"}
</Text>
</Text>
<Box marginTop={1}>
<Markdown text={`${summary}`} />
</Box>
<Box flexDirection="column" marginTop={1}>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text color="cyan">
{TODO_MARKS7}
</Text>
{" "}
{text7}
</Text>
<Text dimColor>
{eta11}
</Text>
</Box>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text color="cyan">
{TODO_MARKS8}
</Text>
{" "}
{text8}
</Text>
<Text dimColor>
{eta12}
</Text>
</Box>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text color="cyan">
{TODO_MARKS9}
</Text>
{" "}
{text9}
</Text>
<Text dimColor>
{eta13}
</Text>
</Box>
</Box>
<Box flexDirection="column" marginTop={1}>
<Text wrap="truncate-end">
<Text dimColor>
{label7}
{" "}
</Text>
{value7}
<Text dimColor>
{" seen"}
</Text>
</Text>
<Text wrap="truncate-end">
<Text dimColor>
{label8}
{" "}
</Text>
{value8}
<Text dimColor>
{" seen"}
</Text>
</Text>
<Text wrap="truncate-end">
<Text dimColor>
{label9}
{" "}
</Text>
{value9}
<Text dimColor>
{" seen"}
</Text>
</Text>
</Box>
<Box marginTop={1}>
<Text dimColor wrap="truncate-end">
{footer3}
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Text bold>
Other agents
</Text>
<Text color="red" wrap="truncate-end">
{name}
{" "}
stalled
{", active "}
{formatElapsed7}
{" ago"}
</Text>
<Text color="red" wrap="truncate-end">
{name2}
{" "}
stalled
{", active "}
{formatElapsed8}
{" ago"}
</Text>
<Text color="red" wrap="truncate-end">
{name3}
{" "}
stalled
{", active "}
{formatElapsed9}
{" ago"}
</Text>
</Box>
<Box flexDirection="column">
<Text bold color="red">
Permission denials
</Text>
<Text wrap="truncate-end">
<Text color="red">
{tool}
</Text>
<Text dimColor>
{" "}
{formatElapsed10}
{" ago "}
{reason}
</Text>
</Text>
<Text wrap="truncate-end">
<Text color="red">
{tool2}
</Text>
<Text dimColor>
{" "}
{formatElapsed11}
{" ago "}
{reason2}
</Text>
</Text>
<Text wrap="truncate-end">
<Text color="red">
{tool3}
</Text>
<Text dimColor>
{" "}
{formatElapsed12}
{" ago "}
{reason3}
</Text>
</Text>
</Box>
<Text dimColor>
{"Machine memory in use: "}
{totalRssGb}
{" GB"}
</Text>
</Box>
)
})
on('session.start', async ($, e, next) => {
const name = '…'
const formatElapsed = '…'
const where = '…'
const rssGb = '…'
await $.ui.toast(`lanes: ${name} has made no tool call for ${formatElapsed}`)
await $.ui.toast(`lanes: ${where} uses ${rssGb} GB of memory`)
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.
mods/foreman/hooks/register.tsx lines 249–284 · Band
on('ui.render', { component: 'AbovePrompt' }, async ($, e, next) => {
const current = await read($, view)
const asked = await read($, waiting)
const denied = await read($, denials)
const needs = [...(current?.needs ?? []), ...asked]
const stalled = (current?.agents ?? []).filter(agent => agent.isStalled)
const isQuiet = needs.length === 0 && stalled.length === 0 && denied.length === 0
if (e.props.hasSurvey || isQuiet) {
return next(e)
}
const { Box, Button, Text } = $.ui.resolve(e)
const lastDenial = denied.at(-1)
const items = [
...needs.map(need => `needs you: ${need}`),
...stalled.map(agent => `stalled: ${agent.name}`),
...(lastDenial === undefined ? [] : [`${countOf(denied.length, 'permission denial')} (last: ${lastDenial.tool})`]),
]
const hiddenCount = items.length - 3
return (
<Box flexDirection="column">
{items.slice(0, 3).map(item => (
<Text color="yellow" wrap="truncate-end">
{item}
</Text>
))}
<Box>
{hiddenCount > 0 && <Text dimColor>+{hiddenCount} more </Text>}
<Button key="open" label="Open lanes" onPress={() => void $.ui.open({ id: PANE, title: PANE_TITLE })} />
{denied.length > 0 && <Button key="clear" label="Clear denials" onPress={() => update($, denials, () => [])} />}
</Box>
</Box>
)
})mods/foreman/hooks/register.tsx lines 286–373 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const elements = $.ui.resolve(e)
const { Box, Button, Text } = elements
const now = await $.clock.now()
const selected = await read($, program)
const current = await read($, view)
const known = await read($, programs)
const asked = await read($, waiting)
const denied = await read($, denials)
const others = known.filter(name => name !== selected)
const lanes = current?.lanes ?? []
const agents = current?.agents ?? []
const laneAgents = new Set(lanes.map(lane => lane.agent))
const looseAgents = agents.filter(agent => agent.id !== MAIN_ID && !laneAgents.has(agent.name))
const needs = [...(current?.needs ?? []), ...asked]
const labelWidth = Math.max(0, ...lanes.flatMap(lane => [...lane.resources, ...(current?.usage[lane.lane]?.ports ?? [])].map(resource => resource.label.length)))
return (
<Box flexDirection="column" gap={1}>
<Box justifyContent="space-between">
<Text bold wrap="truncate-end">
{selected ?? 'No program'}
</Text>
<Text dimColor>
{current !== null && countOf(current.sessionCount, 'session')}
{current?.eta !== undefined && <Text color="cyan"> ETA {current.eta}</Text>}
</Text>
</Box>
{others.length > 0 && (
<Box gap={1}>
<Text dimColor>switch</Text>
{others.map(name => (
<Button key={`program-${name}`} label={name} plain onPress={() => void selectProgram($, name)} />
))}
</Box>
)}
{needs.length > 0 && (
<Box flexDirection="column" borderStyle="round" borderColor="yellow" paddingX={1}>
<Text bold color="yellow">
Needs you
</Text>
{needs.map(need => (
<Text wrap="truncate-end">{need}</Text>
))}
</Box>
)}
{lanes.length === 0 && <Text dimColor>No lanes yet. Agents send them with the report tool.</Text>}
{lanes.map(lane => {
const worker = agents.find(agent => agent.name === lane.agent)
return laneCard(elements, lane, worker, current?.usage[lane.lane], labelWidth, now)
})}
{looseAgents.length > 0 && (
<Box flexDirection="column">
<Text bold>Other agents</Text>
{looseAgents.map(agent => (
<Text color={agent.isStalled ? 'red' : undefined} dimColor={!agent.isStalled} wrap="truncate-end">
{agent.name} {agent.isStalled ? 'stalled' : (AGENT_STATUS_LABELS[agent.status] ?? agent.status)}, active {formatElapsed(now, agent.lastSeen)} ago
</Text>
))}
</Box>
)}
{denied.length > 0 && (
<Box flexDirection="column">
<Text bold color="red">
Permission denials
</Text>
{denied.slice(-5).map(denial => (
<Text wrap="truncate-end">
<Text color="red">{denial.tool}</Text>
<Text dimColor>
{' '}
{formatElapsed(now, denial.at)} ago {denial.reason}
</Text>
</Text>
))}
</Box>
)}
{current !== null && current.totalRssGb > 0 && <Text dimColor>Machine memory in use: {current.totalRssGb.toFixed(1)} GB</Text>}
</Box>
)
})mods/foreman/hooks/lane-card.tsx lines 34–119 · Pane
export const laneCard = (
{ Box, Markdown, Text }: CardElements,
lane: Lane,
worker: AgentRow | undefined,
used: LaneUsage | undefined,
labelWidth: number,
now: number,
) => {
const doneCount = lane.todos.filter(todo => todo.state === 'done').length
const openTodos = lane.todos.filter(todo => todo.state !== 'done')
const resources = [...lane.resources, ...(used?.ports ?? [])]
const isStalled = worker?.isStalled === true
const hasEnded = lane.agent !== undefined && worker === undefined
const workerState = isStalled ? 'stalled' : (AGENT_STATUS_LABELS[worker?.status ?? ''] ?? worker?.status)
const footer = [
hasEnded ? `${lane.agent} ended; /lanes close ${lane.lane} removes the lane` : '',
worker === undefined ? '' : `${worker.name} ${workerState}, active ${formatElapsed(now, worker.lastSeen)} ago`,
used === undefined ? '' : `${used.rssGb.toFixed(1)} GB ${Math.round(used.cpuPercent)}% CPU ${countOf(used.processCount, 'process', 'processes')}`,
worker === undefined || worker.tokenCount === 0 ? '' : `${formatTokens(worker.tokenCount)} tokens`,
].filter(part => part.length > 0)
return (
<Box key={`lane-${lane.lane}`} flexDirection="column" borderStyle="round" borderColor={isStalled ? 'red' : 'gray'} borderDimColor={hasEnded} paddingX={1}>
<Box justifyContent="space-between">
<Text wrap="truncate-end">
<Text bold>{lane.lane}</Text>
<Text dimColor> {lane.title}</Text>
</Text>
{lane.eta !== undefined && <Text color="cyan">{lane.eta}</Text>}
</Box>
<Text wrap="truncate-end">
<Text color={isStalled ? 'red' : 'green'} dimColor={hasEnded}>
{lane.status}
</Text>
<Text dimColor>
{' '}
for {formatElapsed(now, lane.statusSince)}, updated {formatElapsed(now, lane.reportedAt)} ago
</Text>
</Text>
{lane.todos.length > 0 && (
<Text>
<Text color="green">{progressBar(doneCount, lane.todos.length, PROGRESS_WIDTH)}</Text>
<Text dimColor>
{' '}
{doneCount}/{lane.todos.length} done
</Text>
</Text>
)}
{lane.summary !== undefined && (
<Box marginTop={1}>
<Markdown key={`summary-${lane.lane}`} text={lane.summary} />
</Box>
)}
{openTodos.length > 0 && (
<Box flexDirection="column" marginTop={1}>
{openTodos.map(todo => (
<Box justifyContent="space-between">
<Text dimColor={todo.state === 'pending'} wrap="truncate-end">
<Text color={todo.state === 'active' ? 'cyan' : undefined}>{TODO_MARKS[todo.state]}</Text> {todo.text}
</Text>
{todo.eta !== undefined && <Text dimColor>{todo.eta}</Text>}
</Box>
))}
</Box>
)}
{resources.length > 0 && (
<Box flexDirection="column" marginTop={1}>
{resources.map(resource => (
<Text wrap="truncate-end">
<Text dimColor>{resource.label.padEnd(labelWidth)} </Text>
{resource.value}
{resource.isObserved === true && <Text dimColor> seen</Text>}
</Text>
))}
</Box>
)}
{footer.length > 0 && (
<Box marginTop={1}>
<Text dimColor wrap="truncate-end">
{footer.join(' | ')}
</Text>
</Box>
)}
</Box>
)
}Licence text (MIT)
MIT License Copyright (c) 2026 Stella Inwood 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 callscalls tools
What its code shows
Read from the source at commit 9a3dda35b8db 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.mods/foreman/hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.7 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).mods/foreman/hooks/register.tsx:615 rm (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.mods/foreman/hooks/register.tsx:469 a program named at run time; mods/foreman/hooks/register.tsx:469 a program named at run time; mods/foreman/hooks/register.tsx:469 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, 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).tool.call: TaskStop |
| 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 lanes, adds tool report |
| 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 (lanes), tool.call (mcp__foreman__report) · shapes: prompt.compose · 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.env: CLAUDE_PLUGIN_DATA, CLAUDE_CONFIG_DIR, HOME; 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: …/….json |
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 KodingDev/skills/plugin install foreman@kodingdev/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (9a3dda35b8db). 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/KodingDev/skillsgit -C skills checkout 9a3dda35b8db88c8efc6b332e3881ede4471a528claude plugin validate skills/mods/foremanclaude --plugin-dir skills/mods/foremanThe 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 "kodingdev-foreman" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- streamsMacleod Labs★ 2
- a2a-modAliasgar Khimani★ 1
- engram-statusEma★ 1
- fresh-startmako-code★ 1
- gh-inboxmako-code★ 1
- pr-pulseGerric Chaplin★ 1
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/kodingdev-foreman/)