A live pane listing every file Claude changed this session, with +/- line counts.

Eleven mods for Claude Code. Install the ones you want; each is independent.

repo-radar draws your repo as a live map of rectangles, one per folder. Reads glow cyan, edits amber, failures red, and each subagent gets its own colour, so you can watch parallel agents work across your codebase. Glows fade like a radar trace; files touched this session keep a faint tint. /radar opens it. More →
/plugin marketplace add lakmadev/claude-mods
/plugin install repo-radar@claude-mods
![]()
| Mod | What it does |
|---|---|
| pixel-pet | A tiny animated pixel pet above your prompt. It sleeps (snoring) when things are quiet and wakes slowly when you type. It narrates what Claude is doing with a sliding status line, hatches half-size helpers in their own colours for each subagent that slide into the meter line one by one and wave bye when done. It watches you type, and you click it to pet it. A gradient context meter with your 5-hour and weekly usage sits beside it, details on hover. 28 colours via /pet color <name>. |
| code-wrapped | /wrapped opens your Claude Code Wrapped: a GitHub-style activity heatmap, hours, lines, streaks, top files and tools, your coding personality (Night Owl 🦉, Refactorer 🧹, Shell Wizard 🧙…) and 14 unlockable achievements that pop as toasts. Copy share text puts a one-line brag on your clipboard. |
| lofi-mode | Soft lo-fi beats start when Claude has been working for a few seconds and stop when it finishes. The loop is original and synthesized for this mod. /lofi toggles it. macOS audio. |
| Mod | What it does | |
|---|---|---|
| context-meter | A plain status line: ctx 62% · 5h 85% resets 1h52m · week 40% on a Claude plan (the reset shows once a window passes 70%), or ctx 62% · $1.84 billed (API) when you pay per token. Toasts when context passes 80% or a plan window passes 90%. | |
| safety-net | Refuses catastrophic commands (rm -rf ~, mkfs, dd of=/dev/disk, fork bombs). Asks before risky ones (force-push, reset --hard, `curl \ | sh, DROP TABLE, terraform destroy, sudo, …) and before edits to .env, keys, ~/.ssh, .git/` or shell rc files. |
| changes-pane | Side pane listing every file Claude changed this session with +/- line counts. /changes opens it. | |
| done-notifier | Chime, toast and desktop notification when a turn longer than 30s finishes or Claude is waiting for you. | |
| prompt-booster | Short prompts ("fix it") get your branch, changed files and recent commits as hidden context. Adds /fix-tests, /explain-code, /review-changes, /write-tests, /commit-msg. | |
| session-journal | Logs each turn (project, prompt, files touched) across sessions. /journal [days] lists it; /standup [days] writes a Done / In progress / Blockers update. | |
| secrets-redactor | Replaces API keys, tokens, private keys and connection-string passwords with [REDACTED:kind] in your prompts and in tool output before the model sees them, and blocks writing a placeholder back over a real secret. |
Requires Claude Code 2.1.293 or later: mods are an early-access feature and gain events with each release. Check with claude --version; update with claude update.
In a Claude Code terminal session:
/plugin marketplace add lakmadev/claude-mods
/plugin install pixel-pet@claude-mods
The first line adds this repo as a plugin marketplace (once); the second installs a mod from it. Repeat the second line with any other mod name from the table.
Each mod's options show in /config once it is installed:
contextWarnPercent (80), rateLimitWarnPercent (90)strict (off). Turns every "ask" into a refusal. Turn it on if you run in auto or bypass-permissions mode, where an ask can be approved without you.autoOpen (on). The pane opens on its own only in terminals 144+ columns wide.minSeconds (30), sound (on), desktop (on)autoContext (on), maxWords (15)retentionDays (30), model (haiku)aggressive (off). Also redacts quoted password = "…"-style assignments.name (Bit), color (teal)volume (0.35), delaySeconds (4)eval, base64, aliases) get through.osascript (macOS) or notify-send (Linux)./standup sends the log to the model you configure.Each mod lives in plugins/<name>/: hooks/register.ts(x) is the code and tests/ holds its tests.
claude plugin validate plugins/<name>
claude plugin test plugins/<name>
claude --plugin-dir plugins/<name>
MIT, see LICENSE.
hooks/register.tsx 91 lines1import { atom, read, update } from 'claude-code'
2import type { Register } from 'claude-code'
3
4import type { Change } from '../types'
5
6const PANE = 'changes'
7const files = atom({ plugin: 'changes-pane', key: 'files' } as const, [])
8
9const lineCount = (text: string) => (text === '' ? 0 : text.split('\n').length)
10
11// Newest change first; a file edited again moves to the top with its counts summed.
12export function record(list: readonly Change[], path: string, added: number, removed: number): Change[] {
13 const before = list.find(one => one.path === path)
14 const merged: Change = {
15 path,
16 added: (before?.added ?? 0) + added,
17 removed: (before?.removed ?? 0) + removed,
18 edits: (before?.edits ?? 0) + 1,
19 }
20 return [merged, ...list.filter(one => one.path !== path)].slice(0, 500)
21}
22
23export const register: Register = (on, options) => {
24 on('session.start', async ($, e, next) => {
25 await $.command.register({ name: 'changes', description: 'Show the files Claude changed this session' })
26 return next(e)
27 })
28
29 on('command.run', { command: 'changes' }, async $ => {
30 await $.ui.open({ id: PANE, title: 'Changed files' })
31 const list = await read($, files)
32 return { text: `${list.length} file(s) changed this session.` }
33 })
34
35 // Each file tool: run the call, record it only if it went through.
36 on('tool.call', { tool: 'Edit' }, async ($, e, next) => {
37 const ran = await next(e)
38 if (ran.deny !== undefined || ran.isError === true) return ran
39 const isFirst = (await read($, files)).length === 0
40 await update($, files, list => record(list, e.file_path, lineCount(e.new_string), lineCount(e.old_string)))
41 if (isFirst && options.autoOpen !== false) $.ui.open({ id: PANE, title: 'Changed files' }).catch(() => undefined)
42 return ran
43 })
44
45 on('tool.call', { tool: 'Write' }, async ($, e, next) => {
46 const ran = await next(e)
47 if (ran.deny !== undefined || ran.isError === true) return ran
48 const isFirst = (await read($, files)).length === 0
49 await update($, files, list => record(list, e.file_path, lineCount(e.content), 0))
50 if (isFirst && options.autoOpen !== false) $.ui.open({ id: PANE, title: 'Changed files' }).catch(() => undefined)
51 return ran
52 })
53
54 on('tool.call', { tool: 'NotebookEdit' }, async ($, e, next) => {
55 const ran = await next(e)
56 if (ran.deny !== undefined || ran.isError === true) return ran
57 await update($, files, list => record(list, e.notebook_path, lineCount(e.new_source), 0))
58 return ran
59 })
60
61 on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
62 const { Box, Text, Button } = $.ui.resolve(e)
63 const list = await read($, files)
64 const cwd = await $.session.cwd()
65 const room = Math.max(1, (e.viewport?.rows ?? 24) - 6)
66 const added = list.reduce((sum, one) => sum + one.added, 0)
67 const removed = list.reduce((sum, one) => sum + one.removed, 0)
68
69 if (list.length === 0) return <Text dimColor>No files changed yet this session.</Text>
70
71 return (
72 <Box flexDirection="column">
73 <Box gap={1}>
74 <Text bold>{list.length} files</Text>
75 <Text color="diffAdded">+{added}</Text>
76 <Text color="diffRemoved">-{removed}</Text>
77 </Box>
78 {list.slice(0, room).map(one => (
79 <Box gap={1}>
80 <Text color="diffAdded">+{one.added}</Text>
81 <Text color="diffRemoved">-{one.removed}</Text>
82 <Text wrap="truncate-start">{one.path.startsWith(cwd + '/') ? one.path.slice(cwd.length + 1) : one.path}</Text>
83 </Box>
84 ))}
85 {list.length > room && <Text dimColor>…and {list.length - room} more</Text>}
86 <Button key="clear" label="Clear" onPress={() => update($, files, () => [])} />
87 </Box>
88 )
89 })
90}
91types/index.d.ts 8 lines1export type Change = { path: string; added: number; removed: number; edits: number }
2
3declare module 'claude-code' {
4 interface PluginState {
5 'changes-pane': { files: Change[] }
6 }
7}
8