A live sidebar of every file Claude touched this session, with +/- line counts.

A Claude Code plugin marketplace, and the single home for Claude customizations that stay the same on every device: ten mods, the Claritymaxx skill, the sync-home skill, and the karpathy-guidelines and python-standards coding skills. To add something, ask Claude to put it "on all my devices". The sync-home skill and CLAUDE.md tell it how.
| Plugin | Command | What it does |
|---|---|---|
| usage-forecast | /forecast, /forecast hide, /forecast show | A band above the prompt. 5-hour and Weekly plan limits as coloured bars (green, then yellow from 70%, red from 90%) with the percent used, a reset countdown and the reset time (↻ resets in 1h 12m · 15:40), and ⚠ at this pace, out in 40m when you would run out before the reset. Below it, the context window as weather with a 12-turn sparkline and turns left. Replaces token-weather. |
| blast-radius | /blast-radius, /blast-radius <command> (dry run) | Catches rm -rf, git reset --hard, force pushes, git clean -f, git checkout ., git branch -D, git stash drop/clear, DROP/TRUNCATE, mkfs, dd of=/dev/.... It shows what the command would touch in a pane and forces a permission prompt. A deny from your settings is never loosened. |
| replay-theater | /replay, /replay 2 | Records each turn's Edit and Write calls. In the pane, n/p step through the diffs, o/w change turn, and Esc closes it. |
| changed-files | /changed-files | A live sidebar of every file touched this session, with +/- counts, edit counts and a new tag. It opens by itself on the first edit. |
| session-meter | /meter | The status line shows elapsed time, tool calls and files edited. A toast appears when a turn takes 60 s or more; change it with /plugin configure session-meter@harshit-mods. |
| claritymaxx | /claritymaxx:explain <topic>, or ask "explain..." | Third-party skill from v60samurai/claritymaxx. Builds a mental model first, then explains it as text, a diagram or a small HTML page. |
| fork-explorer | /fork <what if...>, or type in the pane | Runs a side question over the current session and shows 2-3 alternative approaches as cards side by side, with pros, cons and effort. "use this" puts the choice in your prompt box to edit and send. Nothing is added to your conversation. |
| mission-control | /mission | A live pane of what Claude is executing: each tool call with its input, status badge (✓ ✗ ⊘ ●), duration and output; subagents in their own lanes with tool and token counts; a network-tab style waterfall; time spent in the model between tools. v switches between the timeline and the outputs. Observe-only; it never changes a call. |
| diff-minimap | automatic | A thin strip beside each Edit and Write row in the transcript. Green, red and yellow ticks show where in the file the change sits, with the line range and the file length. |
| codebase-atlas | /atlas, /atlas changes, /atlas components <file>, /atlas calls <name>, /atlas decisions, /atlas rescan | One pane with six tabs. Map: folders as boxes in dependency layers (entry points on top, foundations at the bottom), lit yellow when Claude edits and cyan when it reads; select one for what it imports and what uses it. Changes: every uncommitted change mapped to the functions and classes it added, modified or removed, with call-site counts, the layers crossed and the files that import what changed. Components: a file's classes, functions and methods with size bars, what each calls, and which changed. Calls: callers and callees of any function; type a name or select one in the transcript, then walk the graph. Decisions: a timeline of decisions a small model pulls from each turn (turn off with extractDecisions). Explain: side-question explanations of a folder, a function or the session's changes that never enter your conversation. Works with or without git: in a git repo, changes are measured against the last commit; in a plain folder, against the files as Atlas first read them that session (dependencies, virtual environments and build output are skipped). Reads Python and JS/TS. |
| workbench | /wb, /wb changes [file], /wb preview <file>, /wb artifacts, /wb map, /wb usage, /wb calls <name>, /wb forecast, /wb workbench, /wb hud off | One workspace. A one-line band above the prompt with two slides, switched with ◀ ▶: Workbench (session time, tool calls, files changed with +/−, new files, plan limits and context on wide terminals, then the running tool or the last edit and its functions) and Forecast (5-hour and weekly limits with bars, reset times and pace, plus the context forecast; it shows the usage-forecast mod's band when that mod is on). A pane with six tabs on one row: Now, the turn's tool calls with status and timing, failures with their error, and subagents nested under the call that started them; Changes, every file with a change bar and the functions it touched, then a file's changed functions and highlighted diff since Claude first touched it, then each edit (replay with n/p); Preview, a live render of the file being edited (Markdown, CSV table, JSON tree, HTML screenshot, PNG, code) with recent files one press away; Artifacts, files created this session by Claude ✦ or its commands, with preview and copy path; Map, architecture layers with folder sizes and imports, a file's components, and the call graph; Usage, limits with reset times and pace, context, and cost per turn. Works with or without git. Claude Code's own diff panel sits above mod panes: run /diff to hide it if it covers the workbench. |
| crew | /crew, /crew auto off, /crew close | An Agents side pane, like a mission board for subagents. Three cards on top total the session's cost, tokens and time. Each subagent is a little pixel crew member whose hat shows its effort (heavy, careful, medium, light), with its model and effort level, context used with a bar, tokens, its share of the cost and how long it ran; it walks while it works and shows the tool it is running. Sections: Running, Completed (✓ done, ✗ failed, ⊘ stopped; folds) and Planned, the tasks from Claude's task or todo list with what each still waits for ("after 1, 3"). Click an agent for its task, tool count and answer. Opens by itself when the first subagent starts; /crew auto off stops that. |
| explainer-page | /explainer-page:explainer-page, or ask for a visual or interactive explainer page | A skill for textbook-style HTML pages that teach one concept: each idea in words, maths, a figure and code, with colour-coded notation (inputs blue, outputs orange, parameters green, functions violet, probabilities pink) kept identical everywhere; tables and figures (3D bars, node diagrams) drawn from one data source and highlighted together on hover; sliders where a parameter is the point; code cells with their real output; margin notes, callouts and check-yourself questions; light and dark themes and a contents sidebar. Publishes as a claude.ai artifact when that tool is available, otherwise writes an .html file. Triggers only on an explicit request for such a page. |
| savvy-flow | /savvy-flow:savvy-flow <task> | A copy of savvy-flow from johnnyvizz/claude-kit with one change: the top tier, savvy-fable, runs on Opus at max effort instead of the Fable model, so it works without Fable access. The session model plans the task, delegates pieces to five tiered worker agents (savvy-fable, savvy-heavy, savvy-careful, savvy-medium, savvy-light) and reviews what they return. tools/sync-savvy-flow.sh refreshes the copy from upstream and reapplies the change; the Sync savvy-flow GitHub Action runs it daily and commits when upstream changed. |
| savvy-progress | /agents-info | From the same repo, following its main branch the same way. A progress bar above the prompt driven by savvy-flow, and an agents panel with model, effort, step progress, context, estimated cost and time. Animated crabs draw in the desktop app; the terminal shows text rows (crew draws its sprites in both). |
| sync-home | (automatic) or ask "add X to all my devices" | A skill that tells Claude this repository is where plugins, mods, skills and other customizations go so they sync to every device. Claude adds them under plugins/, validates, pushes and tells you what to turn on. |
| karpathy-guidelines | /karpathy-guidelines:clean-code, or automatic on any coding task | Guidelines from Andrej Karpathy's notes on LLM coding mistakes: think before coding, simplicity first, surgical changes, goal-driven execution, with worked examples in EXAMPLES.md. |
| python-standards | /python-standards:python-standards, or automatic on Python work | Python standards: SOLID, DRY, KISS and YAGNI; FastAPI project layout; naming; OWASP-aligned secure coding; linting and testing setup. |
Add this marketplace to your claude.ai account once:
harshitmywork17/claude-mods. If the repository is private, your GitHub account must be connected to Claude.sync-home too, so every session knows to put new synced customizations here.Plugins on your account sync at session start, on every machine where you sign in to Claude Code with that account. Mods need Claude Code v2.1.287 or later (claude --version, then claude update). After you push a change here, press Check for updates on the marketplace in claude.ai, and turn on any new plugin. Then start a new session.
If a command such as /wb is missing on a machine:
claude --version must be 2.1.287 or later.claude plugin list should show workbench@synced. If it doesn't, the sync hasn't picked it up: check for updates in claude.ai, or install on that machine as below.claude plugin test run in an empty folder should say no hooks module to load. Any other message means mods are turned off there.Mods run in Claude Code only: the terminal, the desktop app's Code tab, IDE extensions and cloud sessions set up as below. Claude chat on the web, desktop and mobile shows no mod UI. Claritymaxx is a skill, so it also works in Claude chat and Cowork.
Cloud sessions at claude.ai/code don't load account plugins or the plugins a repository lists in .claude/settings.json. They do load plugin folders named in CLAUDE_CODE_PLUGIN_DIRS. Set it once on the cloud environment:
CLAUDE_CODE_PLUGIN_DIRS=/home/user/claude-mods/plugins ``harshitmywork17/claude-mods alongside the repository you're working on. It is cloned to /home/user/claude-mods, and every plugin in plugins/ loads, including new ones.A cloud session can only clone the repositories selected for it, because this repository is private. In a session without it, the variable points at a missing folder, which Claude Code skips.
claude plugin marketplace add harshitmywork17/claude-mods
claude plugin install workbench@harshit-mods # repeat for each plugin
Or run every plugin from a local clone, picking up changes with git pull: add "env": { "CLAUDE_CODE_PLUGIN_DIRS": "<path to clone>/plugins" } to ~/.claude/settings.json. Don't combine this with account sync on the same machine: when two copies share a name, only the first one loads.
Each mod has tests: claude plugin test plugins/<mod>. Check a mod with claude plugin validate plugins/<mod>. Increase version in a mod's plugin.json when you change it, because installed copies are cached by version.
hooks/register.tsx 93 lines1import { atom, read, update } from 'claude-code'
2import type { Register } from 'claude-code'
3
4import { changeOf } from './diff'
5import type { FileResult } from './diff'
6import { merge } from './merge'
7
8const PANE = 'changed-files'
9const files = atom({ plugin: 'changed-files', key: 'files' } as const, [])
10const cwd = atom({ plugin: 'changed-files', key: 'cwd' } as const, '')
11
12export const register: Register = on => {
13 on('session.start', async ($, e, next) => {
14 await $.command.register({
15 name: 'changed-files',
16 description: 'Changed Files: open the sidebar of files Claude touched this session',
17 immediate: true,
18 })
19 await update($, cwd, () => e.cwd)
20
21 return next(e)
22 })
23
24 on('tool.call', async ($, e, next) => {
25 if (e.tool !== 'Edit' && e.tool !== 'Write') return next(e)
26
27 const ran = await next(e)
28 if (ran.deny !== undefined || ran.isError === true) return ran
29
30 const change = changeOf(ran.result as FileResult, await read($, cwd))
31 if (change !== null) {
32 const wasEmpty = (await read($, files)).length === 0
33 await update($, files, list => merge(list, change))
34 if (wasEmpty) void $.ui.open({ id: PANE, title: 'Changed files' })
35 }
36
37 return ran
38 })
39
40 on('session.end', async ($, e, next) => {
41 if (e.reason === 'clear') await update($, files, () => [])
42
43 return next(e)
44 })
45
46 on('command.run', { command: 'changed-files' }, async $ => {
47 await $.ui.open({ id: PANE, title: 'Changed files' })
48 const count = (await read($, files)).length
49
50 return { text: `Changed Files: ${count} file${count === 1 ? '' : 's'} touched this session.` }
51 })
52
53 on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
54 const { Box, Button, Text } = $.ui.resolve(e)
55 const list = await read($, files)
56
57 if (list.length === 0) {
58 return <Text dimColor>No files touched yet this session.</Text>
59 }
60
61 const added = list.reduce((sum, one) => sum + one.added, 0)
62 const removed = list.reduce((sum, one) => sum + one.removed, 0)
63 const width = Math.max(...list.map(one => `+${one.added}`.length + `−${one.removed}`.length + 1))
64
65 return (
66 <Box flexDirection="column">
67 <Box flexDirection="row" gap={1}>
68 <Text bold>
69 {list.length} file{list.length === 1 ? '' : 's'}
70 </Text>
71 <Text color="green">+{added}</Text>
72 <Text color="red">−{removed}</Text>
73 </Box>
74 {list.map(one => (
75 <Box flexDirection="row" gap={1}>
76 <Box width={width} flexShrink={0}>
77 <Text color="green">+{one.added}</Text>
78 <Text> </Text>
79 <Text color="red">−{one.removed}</Text>
80 </Box>
81 <Text wrap="truncate-start">{one.path}</Text>
82 {one.isNew && <Text color="cyan">new</Text>}
83 {one.edits > 1 && <Text dimColor>×{one.edits}</Text>}
84 </Box>
85 ))}
86 <Box marginTop={1}>
87 <Button key="reset" label="reset" onPress={() => update($, files, () => [])} />
88 </Box>
89 </Box>
90 )
91 })
92}
93hooks/diff.ts 99 lines1export type Hunk = {
2 oldStart: number
3 oldLines: number
4 newStart: number
5 newLines: number
6 lines: readonly string[]
7}
8
9/** The parts of an Edit or Write result a diff is built from. */
10export type FileResult = {
11 filePath: string
12 structuredPatch: readonly Hunk[]
13 originalFile: string | null
14 content?: string
15 type?: 'create' | 'update'
16 staged?: boolean
17}
18
19export type Change = {
20 file: string
21 kind: 'edit' | 'create' | 'overwrite'
22 diff: string
23 added: number
24 removed: number
25 isCut: boolean
26}
27
28/** Code renders at most 10000 characters; leave room for the hunk headers. */
29const MAX_SOURCE = 9000
30
31function header(hunk: Hunk): string {
32 return `@@ -${hunk.oldStart},${hunk.oldLines} +${hunk.newStart},${hunk.newLines} @@`
33}
34
35function recount(hunk: Hunk, lines: readonly string[]): Hunk {
36 const oldLines = lines.filter(line => !line.startsWith('+')).length
37 const newLines = lines.filter(line => !line.startsWith('-')).length
38 return { ...hunk, oldLines, newLines, lines }
39}
40
41/** Joins hunks into unified-diff text, cutting whole lines (headers kept valid) past the limit. */
42export function toSource(hunks: readonly Hunk[], limit = MAX_SOURCE): { source: string; isCut: boolean } {
43 let source = ''
44 for (const hunk of hunks) {
45 const whole = `${header(hunk)}\n${hunk.lines.join('\n')}\n`
46 if (source.length + whole.length <= limit) {
47 source += whole
48 continue
49 }
50 if (source === '') {
51 const kept: string[] = []
52 let size = 40
53 for (const line of hunk.lines) {
54 if (size + line.length + 1 > limit) break
55 kept.push(line)
56 size += line.length + 1
57 }
58 const cut = recount(hunk, kept)
59 source = `${header(cut)}\n${kept.join('\n')}\n`
60 }
61 return { source, isCut: true }
62 }
63 return { source, isCut: false }
64}
65
66function creationHunk(content: string): Hunk {
67 const lines = content.split('\n')
68 if (lines.length > 0 && lines[lines.length - 1] === '') lines.pop()
69 return { oldStart: 0, oldLines: 0, newStart: 1, newLines: lines.length, lines: lines.map(line => `+${line}`) }
70}
71
72export function relative(path: string, cwd: string | undefined): string {
73 if (cwd === undefined || cwd === '') return path
74 const root = cwd.endsWith('/') ? cwd : `${cwd}/`
75 return path.startsWith(root) ? path.slice(root.length) : path
76}
77
78/** The change an Edit or Write made, or null when it wrote nothing (staged for review). */
79export function changeOf(result: FileResult, cwd?: string): Change | null {
80 if (result.staged === true) return null
81
82 const isCreate = result.type === 'create' || (result.type !== undefined && result.originalFile === null)
83 const hunks =
84 result.structuredPatch.length === 0 && isCreate && result.content !== undefined
85 ? [creationHunk(result.content)]
86 : result.structuredPatch
87 const lines = hunks.flatMap(hunk => hunk.lines)
88 const { source, isCut } = toSource(hunks)
89
90 return {
91 file: relative(result.filePath, cwd),
92 kind: result.type === undefined ? 'edit' : isCreate ? 'create' : 'overwrite',
93 diff: source,
94 added: lines.filter(line => line.startsWith('+')).length,
95 removed: lines.filter(line => line.startsWith('-')).length,
96 isCut,
97 }
98}
99hooks/merge.ts 16 lines1import type { ChangedFile } from '../types'
2import type { Change } from './diff'
3
4/** Adds one change to the list, moving its file to the top. */
5export function merge(list: readonly ChangedFile[], change: Change): ChangedFile[] {
6 const before = list.find(one => one.path === change.file)
7 const next: ChangedFile = {
8 path: change.file,
9 added: (before?.added ?? 0) + change.added,
10 removed: (before?.removed ?? 0) + change.removed,
11 edits: (before?.edits ?? 0) + 1,
12 isNew: before?.isNew ?? change.kind === 'create',
13 }
14 return [next, ...list.filter(one => one.path !== change.file)]
15}
16types/index.d.ts 18 lines1export type ChangedFile = {
2 path: string
3 added: number
4 removed: number
5 edits: number
6 isNew: boolean
7}
8
9declare module 'claude-code' {
10 interface PluginState {
11 'changed-files': {
12 /** Most recently touched first. */
13 files: ChangedFile[]
14 cwd: string
15 }
16 }
17}
18