ModsCode / Claude Code Mods / Ranking / snitch
snitch
Claude가 한 일을 전부 일러바치는 Claude Code mod: 상태줄(모델, effort, 요금제 한도, 세션 작업량), 대시보드 패널(/snitch, 에이전트 현황, 변경 파일별 변경 이유, 커밋별 누적, 전체화면이면 우측에 자동 표시)
What it does
- Draws a pane
- Watches tool calls and can refuse them
- Hooks agent.spawn, prompt.compose, prompt.submit, session.measure and 5 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 snitch by yuntaengtaeng (pane, status), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/yuntaengtaeng-snitch/
// 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: "‹PANE_TITLE›" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Link } = $.ui.resolve(e)
const label = '…'
const bar = '…'
const remaining = '…'
const bar2 = '…'
const bar3 = '…'
const STATE_ICON = '…'
const titleOf = '…'
const timeText = '…'
const line = '…'
const line2 = '…'
const line3 = '…'
const STATE_ICON2 = '…'
const timeText2 = '…'
const line4 = '…'
const line5 = '…'
const line6 = '…'
const STATE_ICON3 = '…'
const timeText3 = '…'
const line7 = '…'
const line8 = '…'
const line9 = '…'
const fileUrl = '…'
const name = '…'
const CONFLICT_LABEL = '…'
const added = '…'
const deleted = '…'
const reason = '…'
const place = '…'
const name2 = '…'
const reason2 = '…'
const place2 = '…'
const name3 = '…'
const reason3 = '…'
const place3 = '…'
const hash = '…'
const subject = '…'
return (
<Box flexDirection="column" paddingX={1}>
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text bold>
snitch
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text>
<Text>
<Text color="inactive">
{` ${label} `}
</Text>
<Text>
{bar}
</Text>
<Text color="inactive">
{` ${remaining}%`}
</Text>
</Text>
<Text>
<Text color="inactive">
{` ${label} `}
</Text>
<Text>
{bar2}
</Text>
<Text color="inactive">
{` ${remaining}%`}
</Text>
</Text>
<Text>
<Text color="inactive">
{` ${label} `}
</Text>
<Text>
{bar3}
</Text>
<Text color="inactive">
{` ${remaining}%`}
</Text>
</Text>
</Text>
</Box>
</Box>
<Text color="inactive">
────────
</Text>
<Box marginTop={1} flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text bold>
에이전트
</Text>
<Text color="inactive">
{" 0"}
</Text>
</Box>
<Box flexShrink={0} marginLeft={1} />
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text wrap="truncate-end">
<Text>
{STATE_ICON}
</Text>
<Text color="inactive">
{` ${titleOf}`}
</Text>
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text color="inactive">
{timeText}
</Text>
</Box>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{line}
</Text>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{line2}
</Text>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{line3}
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text wrap="truncate-end">
<Text>
{STATE_ICON2}
</Text>
<Text color="inactive">
{` ${titleOf}`}
</Text>
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text color="inactive">
{timeText2}
</Text>
</Box>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{line4}
</Text>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{line5}
</Text>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{line6}
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text wrap="truncate-end">
<Text>
{STATE_ICON3}
</Text>
<Text color="inactive">
{` ${titleOf}`}
</Text>
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text color="inactive">
{timeText3}
</Text>
</Box>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{line7}
</Text>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{line8}
</Text>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{line9}
</Text>
</Box>
</Box>
<Box marginTop={1} flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text bold>
변경 파일
</Text>
<Text color="inactive">
{" 0"}
</Text>
</Box>
<Box flexShrink={0} marginLeft={1} />
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text wrap="truncate-end">
<Text color="success">
A
</Text>
<Text>
{" "}
</Text>
<Link href={`${fileUrl}`}>
<Text bold>
{name}
</Text>
</Link>
<Text color="warning">
{` ${CONFLICT_LABEL}`}
</Text>
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text>
<Text color="inactive">
{`+${added}`}
</Text>
<Text>
{" "}
</Text>
<Text color="inactive">
{`−${deleted}`}
</Text>
</Text>
</Box>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{reason}
</Text>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{place}
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text wrap="truncate-end">
<Text color="success">
A
</Text>
<Text>
{" "}
</Text>
<Link href={`${fileUrl}`}>
<Text bold>
{name2}
</Text>
</Link>
<Text color="warning">
{` ${CONFLICT_LABEL}`}
</Text>
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text>
<Text color="inactive">
{`+${added}`}
</Text>
<Text>
{" "}
</Text>
<Text color="inactive">
{`−${deleted}`}
</Text>
</Text>
</Box>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{reason2}
</Text>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{place2}
</Text>
</Box>
</Box>
<Box flexDirection="column">
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text wrap="truncate-end">
<Text color="success">
A
</Text>
<Text>
{" "}
</Text>
<Link href={`${fileUrl}`}>
<Text bold>
{name3}
</Text>
</Link>
<Text color="warning">
{` ${CONFLICT_LABEL}`}
</Text>
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text>
<Text color="inactive">
{`+${added}`}
</Text>
<Text>
{" "}
</Text>
<Text color="inactive">
{`−${deleted}`}
</Text>
</Text>
</Box>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{reason3}
</Text>
</Box>
<Box paddingLeft={2}>
<Text color="inactive" wrap="truncate-end">
{place3}
</Text>
</Box>
</Box>
<Box marginTop={1} flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text bold>
커밋
</Text>
<Text color="inactive">
{" 0"}
</Text>
</Box>
<Box flexShrink={0} marginLeft={1} />
</Box>
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text color="inactive" wrap="truncate-end">
{`● ${hash} ${subject}`}
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text>
<Text color="inactive">
{`+${added}`}
</Text>
<Text>
{" "}
</Text>
<Text color="inactive">
{`−${deleted}`}
</Text>
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text color="inactive" wrap="truncate-end">
{`● ${hash} ${subject}`}
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text>
<Text color="inactive">
{`+${added}`}
</Text>
<Text>
{" "}
</Text>
<Text color="inactive">
{`−${deleted}`}
</Text>
</Text>
</Box>
</Box>
<Box flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text color="inactive" wrap="truncate-end">
{`● ${hash} ${subject}`}
</Text>
</Box>
<Box flexShrink={0} marginLeft={1}>
<Text>
<Text color="inactive">
{`+${added}`}
</Text>
<Text>
{" "}
</Text>
<Text color="inactive">
{`−${deleted}`}
</Text>
</Text>
</Box>
</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 275–278 · Pane
on('ui.render', { component: 'Pane' }, ($, e, next) => {
if (e.requestId !== C.PANE_ID) return next(e)
return renderDashboard($.ui.resolve(e), dashboard(), Math.max(20, e.props.bodyColumns))
})hooks/pane/dashboard.tsx lines 79–219 · Pane
export function renderDashboard(ui: Ui, view: DashboardView, width: number) {
const { Box, Text, Link } = ui
const { agents, files } = view
const { repoRoot, commits, current } = files
const all = V.totalsOf(current)
/** +추가 −삭제, 0 이거나 dim 이면 흐리게 */
const stat = (f: { added: number | null; deleted: number | null }, dim = false) =>
f.added === null || f.deleted === null ? (
<Text color="inactive">bin</Text>
) : (
<Text>
<Text color={dim || f.added === 0 ? 'inactive' : 'diffAddedWord'}>{`+${f.added}`}</Text>
<Text> </Text>
<Text color={dim || f.deleted === 0 ? 'inactive' : 'diffRemovedWord'}>{`−${f.deleted}`}</Text>
</Text>
)
/** 왼쪽은 남는 너비를 채우고 오른쪽은 끝에 붙는 한 줄 */
const row = (key: string, left: RenderChildren, right: RenderChildren) => (
<Box key={key} flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
{left}
</Box>
<Box flexShrink={0} marginLeft={1}>
{right}
</Box>
</Box>
)
/** 들여 쓴 보조 한 줄 */
const detail = (key: string, text: string, color?: 'inactive', italic = false) => (
<Box key={key} paddingLeft={2}>
<Text color={color} italic={italic} wrap="truncate-end">
{text}
</Text>
</Box>
)
/** 개수가 붙은 구역 제목, right 는 오른쪽 끝에 붙는 요약 */
const section = (key: string, title: string, count: number, right?: RenderChildren) => (
<Box key={key} marginTop={1} flexDirection="row">
<Box flexGrow={1} flexShrink={1}>
<Text bold>{title}</Text>
<Text color="inactive">{` ${count}`}</Text>
</Box>
{right ? (
<Box flexShrink={0} marginLeft={1}>
{right}
</Box>
) : (
<Text />
)}
</Box>
)
const agentRows = agents.agents.map(a => (
<Box key={`a-${a.id}`} flexDirection="column">
{row(
`ar-${a.id}`,
<Text wrap="truncate-end">
<Text color={STATE_COLOR[a.state]}>{R.STATE_ICON[a.state]}</Text>
<Text bold={a.state === 'working'} color={a.state === 'waiting' ? 'inactive' : undefined}>
{` ${R.titleOf(a)}`}
</Text>
</Text>,
<Text color="inactive">{R.timeText(a, agents.now)}</Text>,
)}
{R.detailLines(a).map((line, i) => detail(`ad-${a.id}-${i}`, line, 'inactive'))}
</Box>
))
const fileRows = current.map(f => {
const name = splitPath(f.path).name
const letter = V.statusLetter(f)
const { reason, place, isExplaining } = noteOf(view, f.path)
return (
<Box key={`f-${f.path}`} flexDirection="column">
{row(
`fr-${f.path}`,
<Text wrap="truncate-end">
<Text color={letter === 'A' ? 'success' : 'inactive'}>{letter}</Text>
<Text> </Text>
{repoRoot && C.PANE_FILE_LINKS ? (
<Link href={fileUrl(repoRoot, f.path)}>
<Text bold>{name}</Text>
</Link>
) : (
<Text bold>{name}</Text>
)}
{f.otherSessions ? <Text color="warning">{` ${V.CONFLICT_LABEL}`}</Text> : <Text />}
</Text>,
stat(f),
)}
{reason ? detail(`fn-${f.path}`, reason, isExplaining ? 'inactive' : undefined, isExplaining) : <Text />}
{place ? detail(`fp-${f.path}`, place, 'inactive') : <Text />}
</Box>
)
})
const commitRows = commits.map(c =>
row(
`c-${c.hash}`,
<Text color="inactive" wrap="truncate-end">{`● ${c.hash} ${c.subject}`}</Text>,
stat(V.totalsOf(c.files), true),
),
)
return (
<Box flexDirection="column" paddingX={1} backgroundColor={C.PANE_BACKGROUND ?? undefined}>
{row(
'header',
<Text bold>snitch</Text>,
<Text>
{gaugesOf(view).map((g, i) => (
<Text key={`g-${g.label}`}>
<Text color="inactive">{`${i > 0 ? ' ' : ''}${g.label} `}</Text>
<Text color={GAUGE_COLOR[g.level]}>{g.bar}</Text>
<Text color="inactive">{` ${g.remaining}%`}</Text>
</Text>
))}
</Text>,
)}
<Text key="divider" color="inactive">
{'─'.repeat(Math.max(1, width - 2))}
</Text>
{showsAgents(view) ? section('s-agents', '에이전트', agents.agents.length) : <Text key="na" />}
{showsAgents(view) ? agentRows : <Text key="nar" />}
{section('s-files', '변경 파일', current.length, current.length > 0 ? stat(all) : undefined)}
{current.length === 0 ? (
<Text key="empty" color="inactive">
없음
</Text>
) : (
fileRows
)}
{commits.length > 0 ? section('s-commits', '커밋', commits.length) : <Text key="nc" />}
{commitRows}
</Box>
)
}Licence text (MIT)
MIT License Copyright (c) 2026 yuntaengtaeng 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 f3f71decad7d 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.18 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.tsx:18 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 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.model.complete, 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, prompt.submit, tool.call · shapes: turn.step, prompt.compose · also: session.start, turn.start, agent.spawn, turn.complete (+3) · 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 yuntaengtaeng/snitch/plugin install snitch@snitch/reload-pluginsThis installs the marketplace's latest commit, which may not be the one read here (f3f71decad7d). 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/yuntaengtaeng/snitchgit -C snitch checkout f3f71decad7dbf29a1882f216b88e821f1ad7c11claude plugin validate snitchclaude --plugin-dir snitchThe 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 "yuntaengtaeng-snitch" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- explain-asSumit Paul★ 20
- cc-pr-trackerSeza Akgün★ 5
- tracenadav-grs★ 3
- pr-inbox2bo★ 2
- ci-autopilotmako-code★ 1
- gh-inboxmako-code★ 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/yuntaengtaeng-snitch/)