Chime, toast and desktop notification when a long turn finishes or Claude needs you.

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.ts 46 lines1import type { EngineInterface, PluginOptions, Register } from 'claude-code'
2
3const TITLE = 'Claude Code'
4
5export function finishedMessage(durationMs: number, answer: string): string {
6 const seconds = Math.round(durationMs / 1000)
7 const took = seconds >= 120 ? `${Math.round(seconds / 60)}m` : `${seconds}s`
8 const firstLine = answer.trim().split('\n')[0] ?? ''
9 const gist = firstLine.length > 80 ? `${firstLine.slice(0, 79)}…` : firstLine
10 return gist ? `Done in ${took}: ${gist}` : `Done in ${took}`
11}
12
13// osascript reads the text from argv, so nothing needs escaping.
14const MAC = ['osascript', '-e', 'on run argv', '-e', 'display notification (item 1 of argv) with title (item 2 of argv)', '-e', 'end run']
15
16let hasDesktop = true
17
18async function notify($: EngineInterface, options: PluginOptions, message: string, title = TITLE) {
19 $.ui.toast(message)
20 if (options.sound !== false) await $.audio.play({ asset: 'assets/chime.wav' }).catch(() => undefined)
21 if (options.desktop === false || !hasDesktop) return
22 const mac = await $.process.run([...MAC, message, title], { timeoutMs: 3000 }).catch(() => undefined)
23 if (mac?.exitCode === 0) return
24 const linux = await $.process.run(['notify-send', title, message], { timeoutMs: 3000 }).catch(() => undefined)
25 hasDesktop = linux?.exitCode === 0
26}
27
28export const register: Register = (on, options) => {
29 const minMs = Number(options.minSeconds ?? 30) * 1000
30
31 on('turn.complete', async ($, e, next) => {
32 const done = await next(e)
33 if (e.agentId === undefined && !e.isAborted && e.durationMs >= minMs) {
34 await notify($, options, finishedMessage(e.durationMs, e.answer))
35 }
36 return done
37 })
38
39 // Claude is waiting on a permission prompt, or has sat idle waiting for input.
40 on('classic.Notification', async ($, e, next) => {
41 const result = await next(e)
42 await notify($, options, e.message, e.title)
43 return result
44 })
45}
46