/changelog writes the entry for the next version into CHANGELOG.md from the commits since the last tag, after asking

An instrument panel for Claude Code. 309 mods for the terminal: 52 panels that stay in sight and switch on and off in /cockpit, plus guards, prompt automations, instant commands and focus helpers. Every mod is a small plugin you install with one line.
/plugin marketplace add MatheusChiodi/cockpit
/plugin install git-band@cockpit
/cockpit
Mods are TypeScript functions that run inside Claude Code and change how it behaves: they intercept tool calls, rewrite prompts, draw panes and bands, and register slash commands. They need Claude Code 2.1.287 or newer (built against 2.1.296).
From GitHub, inside Claude Code:
/plugin marketplace add MatheusChiodi/cockpit
/plugin install <mod>@cockpit
From a local folder:
git clone https://github.com/MatheusChiodi/cockpit
claude plugin marketplace add ./cockpit
claude plugin install git-guard@cockpit
Just to try one, without installing:
claude --plugin-dir ./cockpit/mods/turn-timer
Remove a mod with /plugin uninstall <mod>@cockpit. Turn every mod off at once with claude --safe-mode.
The 52 mods under Always visible are panels: bands above the prompt or status line entries that update on their own (git, context, cost, tests, CI, tasks, deadline, weather). None needs a command to show up.
The cockpit mod is their settings pane, and it comes along as a dependency of any panel.
| To | Do |
|---|---|
| Open the settings pane | /cockpit — Tab and arrows move, Enter or a click toggles, Esc closes |
| Switch a panel off or on | /cockpit off git-band · /cockpit on git-band |
| Switch all of them | /cockpit off all · /cockpit on all |
| Change the language | /cockpit lang en · /cockpit lang pt · /cockpit lang es |
Both choices are kept between sessions. A band disappears or returns at once; a status line entry disappears at once and returns on its next update. A panel switched off stays installed and simply does not draw.
Bands stack in the order the mods load, and the status line holds one entry per mod. With many panels on, the terminal gets crowded: start with four or five and adjust in /cockpit.
Every mod speaks English by default and can switch to Brazilian Portuguese or Spanish. The language is set once, in /cockpit, and every installed mod follows it: band labels, status line words, command output, guard messages, toasts and notifications. Without the cockpit mod installed, mods stay in English.
Slash command descriptions in the typeahead are read when a session starts, so they follow a language change on the next session. To make Claude itself answer in the chosen language, install reply-language.
| Always visible | 53 | cockpit git-band todo-band usage-band files-band error-band goal-band agents-band activity-status test-status ci-status stash-status uncommitted-band pr-status main-warning-band conflict-band project-status ports-band deps-status todo-count-status quality-status model-status cost-ticker idle-clock turn-progress last-prompt-band compact-nudge session-diff-band shield-band reset-countdown spend-today focus-band deadline-band pin-band clock-status day-timer commits-today dolar-status weather-status api-status terminal-pet runtime-band docker-band env-drift-band deploy-status todo-new-status release-status license-status install-status db-port-status migration-status env-ignore-status build-size-status |
| Security | 42 | rm-guard env-guard git-guard secret-scan prompt-secret-guard lockfile-guard path-jail main-branch-guard generated-guard sql-guard prod-guard install-ask pipe-shell-guard big-read-guard sudo-guard chmod-guard docker-guard kill-guard credential-file-guard upload-guard env-dump-guard registry-guard persistence-guard dotfile-guard ci-config-guard test-skip-guard suppress-guard migration-guard large-write-guard tunnel-guard hardcoded-secret-guard private-host-guard dynamic-exec-guard sql-concat-guard tls-off-guard cors-open-guard debug-flag-guard script-mode-guard dep-source-guard weak-crypto-guard gitignore-guard archive-add-guard |
| Interface | 34 | turn-timer tool-tally file-trail cmd-log git-status-line context-meter rate-limit-watch session-clock diff-pane turn-history prompt-history agent-pane token-chart cost-pane error-pane context-pane read-pane links-pane git-pane branch-pane stash-pane code-todo-pane deps-pane scripts-pane env-keys-pane test-pane slow-toast deny-toast big-output-toast timeline tool-clock result-fold group-peek prompt-stamp |
| Prompt and model | 30 | concise-mode persona prompt-shortcuts tldr git-context stack-context commit-style reply-language time-context os-context test-first explain-mode plan-first no-comments minimal-diff ask-first verify-claims paste-fence file-mention-hint trace-helper branch-naming pr-style a11y-rules security-rules react-rules tailwind-rules rn-rules java-rules oracle-rules answer-format |
| Commands | 42 | quick-notes pomodoro copy-last session-stats quote-selection git-peek git-branch git-stash git-undo run-script open-path ports kill-port tree find-file last-error env-check outdated json-tool uuid timestamp base64 hash calc color-tool regex-test http-probe snippets export-session standup loc-count big-files recent-files symbol-def file-author head-file file-diff path-size ignore-check file-compare churn hit-count |
| Focus and notifications | 42 | turn-notify break-reminder daily-streak error-notify needs-you-notify agent-done-notify long-cmd-notify tests-notify ci-notify pr-review-notify rate-limit-notify hydrate posture eye-rest stand-up alarms remind timebox session-cap late-night intent-check daily-target weekly-recap breathe budget-alert daily-budget-alert turn-toast milestone-toast push-reminder idle-commit-nudge topic-switch scatter-toast long-turn-toast step-back branch-drift edits-no-commit day-close quiet-window parking-lot file-churn resume-line wandering |
| Git and GitHub | 24 | commit-review wip-commit-guard marker-guard amend-guard stage-guard git-stage git-fixup git-sync behind-toast git-switch git-tag staged-status pr-open pr-checks pr-comments review-queue issue-context issue-link draft-nag pr-diff merge-ready release-notes changelog-entry merged-branches |
| Quality | 12 | untested-turn-toast red-turn-toast debugger-guard leftovers-toast any-guard long-file-toast dup-block-guard untested coverage-status empty-test-guard snapshot-update-guard catch-swallow-guard |
| Stacks | 12 | pm-guard script-guard missing-import-guard client-env-guard next-boundary-guard esm-guard alias-import-guard dev-server-guard ts-config-context env-undeclared-toast node-version-status pm-command |
| Context and cost | 18 | reread-guard grep-limit read-cap git-log-limit paste-size-toast cat-guard explore-nudge fill-toast cache-cold-toast flood-note heavy-calls tree-flood-guard agent-cap agent-straggler cost-per-hour cost-trend priciest-turn runout-projection |
Every panel is drawn the same way, so several of them read as one instrument:
━━━━───) instead of block bars.label state detail, as in tests ✓ 14:32 · 3.1s.kit/kit.tsx, copied into each mod at build time.| For | Mods |
|---|---|
| An everyday dashboard | git-band usage-band todo-band error-band test-status |
| Git without surprises | git-band conflict-band uncommitted-band main-warning-band pr-status ci-status |
| An eye on spend | usage-band cost-ticker spend-today reset-countdown compact-nudge |
| A seat belt | rm-guard git-guard env-guard secret-scan pipe-shell-guard prod-guard shield-band |
| Less typing | stack-context git-context commit-style prompt-shortcuts git-peek |
| Focus | focus-band deadline-band pin-band turn-notify break-reminder |
hooks/register.ts before installing it; every one here is short.prod-guard, install-ask and the others that say so force the confirmation prompt even when the command was already allowed.dolar-status (AwesomeAPI), weather-status (wttr.in, located by IP), api-status (Anthropic's status page), ports-band (localhost only).ci-status and pr-status need an authenticated gh.$.audio.play only plays on macOS, so notifications use the native channel.npm install
npm run build # manifests, the hub's panel list, previews and the three READMEs
npm run check # tsc + claude plugin validate on every mod + claude plugin test where tests exist
node scripts/mod.mjs <mod> # the same loop for one mod, without touching shared files
mods.json is the single source: name, category, descriptions in three languages and the preview lines of every mod.
mods/<name>/
hooks/register.ts(x) the mod
hooks/strings.ts every user-facing text, in en, pt and es
types/index.d.ts the $.state contract, for mods that draw
tests/ run by `claude plugin test`
plugin.json, hooks.json and each mod's copy of the kit are generated.
Adding mods with the agent. The repository ships a Claude Code agent, cockpit-mod-builder (.claude/agents/), that knows the conventions: the language pattern, the visual kit, the engine rules that trip people up, and the one-mod loop. Open Claude Code in the repository and ask for it by name, giving a category and the mods you want.
The type check uses the API declarations Claude Code itself writes. They are not in the repository: run a mod with claude --plugin-dir mods/<name> and copy mods/<name>/.claude-plugin/types/claude-code/index.d.ts plus claude-code-tools/index.d.ts into engine-types/.
Surveyed on 2026-10-13 through gh api and the official documentation. Star counts are from that day.
| Community collection | Stars | Known for |
|---|---|---|
| karanb192/awesome-claude-code-mods | 560 | A catalog of 3,836 mods across 1,987 repositories |
| YeonwooSung/my-claude-code-mods | 514 | agent-profiler, context-inspector, time-machine |
| hamzafer/claude-code-mods | 227 | context-bar, blast-radius, merge-gate |
| zenbu-labs/terminal-browser | 3,854 | A browser inside the terminal |
| jarrodwatts/claude-image-view | 222 | Images in the terminal |
Other ways people customize Claude Code, which are not mods: claude-hud and ccstatusline (status line scripts), ccusage (a CLI over the transcripts), tweakcc (patches the install), cc-safety-net (a PreToolUse hook).
MIT
hooks/register.ts 117 lines1import type { EngineInterface, Register } from 'claude-code'
2
3import { STRINGS } from './strings'
4
5// cockpit: the language set in /cockpit (English when the hub is not installed)
6const LANG = { plugin: 'cockpit', key: 'lang' } as const
7
8const strings = async ($: EngineInterface) => STRINGS[(await $.state.get(LANG)).value ?? 'en']
9
10const git = ($: EngineInterface, args: readonly string[]) =>
11 $.process.run(['git', '--no-pager', ...args], { timeoutMs: 15000 }).catch(() => undefined)
12
13const SEMVER = /^v?(\d+)\.(\d+)\.(\d+)$/
14const VERSION = /^v?(\d+\.\d+\.\d+[\w.-]*)$/
15const CONVENTIONAL = /^(\w+)(\([^)]*\))?(!)?:\s*(.+)$/
16const MAX_SHOWN = 12
17
18// The sections follow keepachangelog.com, so they stay in English in every language.
19const group = (subject: string): { section: string; text: string; breaking: boolean } => {
20 const found = CONVENTIONAL.exec(subject)
21 const type = found?.[1]?.toLowerCase()
22 const text = found?.[4] ?? subject
23 const breaking = found?.[3] === '!' || /BREAKING/.test(subject)
24
25 return { section: type === 'feat' ? 'Added' : type === 'fix' ? 'Fixed' : 'Changed', text, breaking }
26}
27
28const nextVersion = (latest: string | undefined, entries: ReturnType<typeof group>[]): string => {
29 const found = latest === undefined ? null : SEMVER.exec(latest)
30
31 if (found === null) {
32 return '0.1.0'
33 }
34
35 const [major = 0, minor = 0, patch = 0] = found.slice(1).map(Number)
36
37 if (entries.some(entry => entry.breaking)) {
38 return `${major + 1}.0.0`
39 }
40
41 return entries.some(entry => entry.section === 'Added') ? `${major}.${minor + 1}.0` : `${major}.${minor}.${patch + 1}`
42}
43
44const writing = async ($: EngineInterface, typed: string): Promise<{ text: string }> => {
45 const s = await strings($)
46 const typedVersion = VERSION.exec(typed)
47
48 if (typed !== '' && typedVersion === null) {
49 return { text: s.usage }
50 }
51
52 const head = await git($, ['rev-parse', '--short', 'HEAD'])
53
54 if (head === undefined || head.exitCode !== 0) {
55 return { text: s.noGit }
56 }
57
58 const described = await git($, ['describe', '--tags', '--abbrev=0'])
59 const latest = described?.exitCode === 0 ? described.stdout.trim() : undefined
60 const log = await git($, ['log', '--no-merges', '--format=%s', ...(latest === undefined ? ['-n', '30'] : [`${latest}..HEAD`])])
61 const entries = (log?.exitCode === 0 ? log.stdout.split('\n') : []).filter(line => line.trim() !== '').map(group)
62
63 if (entries.length === 0) {
64 return { text: s.nothing(latest ?? 'HEAD') }
65 }
66
67 const version = typedVersion?.[1] ?? nextVersion(latest, entries)
68 const root = await $.session.root()
69 const path = `${root}/CHANGELOG.md`
70 const current = await $.fs.read(path).catch(() => undefined)
71 const file = typeof current === 'string' ? current : ''
72
73 if (file.includes(`## [${version}]`)) {
74 return { text: s.exists(version) }
75 }
76
77 const date = new Date(await $.clock.now()).toISOString().slice(0, 10)
78 const sections = ['Added', 'Fixed', 'Changed']
79 .map(section => ({ section, items: entries.filter(entry => entry.section === section) }))
80 .filter(found => found.items.length > 0)
81 .map(found => `### ${found.section}\n\n${found.items.map(entry => `- ${entry.text}`).join('\n')}\n`)
82 const entry = `## [${version}] - ${date}\n\n${sections.join('\n')}`
83 const shown = entry.split('\n').filter(line => line.trim() !== '')
84 const preview = [...shown.slice(0, MAX_SHOWN), ...(shown.length > MAX_SHOWN ? ['…'] : [])].map(line => ` ${line}`).join('\n')
85 const answer = await $.ui.ask(s.confirm(preview), [s.yes, s.no]).catch(() => s.no)
86
87 if (answer !== s.yes) {
88 return { text: s.cancelled }
89 }
90
91 // New entries go above the newest existing one, or after the title of a file that has none.
92 const at = file.search(/^## /m)
93 const next =
94 file === ''
95 ? `# Changelog\n\n${entry}`
96 : at >= 0
97 ? `${file.slice(0, at)}${entry}\n${file.slice(at)}`
98 : `${file.trimEnd()}\n\n${entry}`
99 const saved = await $.fs.write(path, next).then(
100 () => true,
101 () => false,
102 )
103
104 return { text: saved ? s.added(version) : s.failed }
105}
106
107export const register: Register = on => {
108 on('session.start', async ($, e, next) => {
109 const s = await strings($)
110 await $.command.register({ name: 'changelog', description: s.command, argumentHint: s.hint })
111
112 return next(e)
113 })
114
115 on('command.run', { command: 'changelog' }, ($, e) => writing($, e.args.trim()))
116}
117hooks/strings.ts 49 lines1const en = {
2 command: 'Write the entry for the next version into CHANGELOG.md from the commits since the last tag, after asking',
3 hint: '[version]',
4 usage: 'Usage: /changelog [version]',
5 noGit: 'Not a git repository (or git is not available).',
6 nothing: (tag: string) => `No commits since ${tag}: nothing to add.`,
7 exists: (version: string) => `CHANGELOG.md already has an entry for ${version}.`,
8 confirm: (entry: string) => `Add to CHANGELOG.md?\n${entry}`,
9 yes: 'yes',
10 no: 'no',
11 cancelled: 'Cancelled.',
12 added: (version: string) => `CHANGELOG.md now has the entry for ${version}.`,
13 failed: 'Could not write CHANGELOG.md.',
14}
15
16type Strings = typeof en
17
18const pt: Strings = {
19 command: 'Escreve no CHANGELOG.md a entrada da próxima versão a partir dos commits desde a última tag, depois de perguntar',
20 hint: '[versão]',
21 usage: 'Uso: /changelog [versão]',
22 noGit: 'Não é um repositório git (ou o git não está disponível).',
23 nothing: tag => `Nenhum commit desde ${tag}: nada para adicionar.`,
24 exists: version => `O CHANGELOG.md já tem uma entrada para ${version}.`,
25 confirm: entry => `Adicionar ao CHANGELOG.md?\n${entry}`,
26 yes: 'sim',
27 no: 'não',
28 cancelled: 'Cancelado.',
29 added: version => `O CHANGELOG.md agora tem a entrada de ${version}.`,
30 failed: 'Não foi possível escrever o CHANGELOG.md.',
31}
32
33const es: Strings = {
34 command: 'Escribe en CHANGELOG.md la entrada de la próxima versión a partir de los commits desde la última tag, tras preguntar',
35 hint: '[versión]',
36 usage: 'Uso: /changelog [versión]',
37 noGit: 'No es un repositorio git (o git no está disponible).',
38 nothing: tag => `Ningún commit desde ${tag}: nada que agregar.`,
39 exists: version => `CHANGELOG.md ya tiene una entrada para ${version}.`,
40 confirm: entry => `¿Agregar a CHANGELOG.md?\n${entry}`,
41 yes: 'sí',
42 no: 'no',
43 cancelled: 'Cancelado.',
44 added: version => `CHANGELOG.md ahora tiene la entrada de ${version}.`,
45 failed: 'No se pudo escribir CHANGELOG.md.',
46}
47
48export const STRINGS = { en, pt, es }
49