cc-code-format-mod

by lixinghui · ★ 0 · updated 14 days ago

ToastsCommandswarnings

0

Rewrites every fenced code block in an LLM response so it conforms to the language's standard style (Prettier for the web stack, black for Python, gofmt / rustfmt / shfmt where installed).

install cc-code-format-mod

Install

/plugin marketplace add kukaka/cc-mods
/plugin install cc-code-format-mod@cc-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runsession.append
API calls
$.command.register$.fs.read$.fs.write$.process.run$.state.get$.state.set$.ui.toast
Reach
level 2 of 3 runs processeswrites filesreads filesreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/kukaka/cc-mods
Path in repo
cc-code-format-mod
Source commit
8f7b616 the exact code the scan read
Author
lixinghui @kukaka
License
Apache-2.0
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from kukaka/cc-mods

cc-context-mod

kukaka/cc-mods

Live context window forecast and MiniMax M Plan / Token Plan balance, drawn above the prompt.

★ 0Bands

cc-conversation-log-mod

kukaka/cc-mods

Read-only view of every user and assistant message in the current session, with collapsible tool-call details and paged loading. Open with /history.

★ 0PanesBandsCommands

cc-file-history-mod

kukaka/cc-mods

AbovePrompt band (auto-shows the edit count) + Pane (file-grouped list with [Revert]). Click the band's [View] (or /file-history) to open the Pane and revert.

★ 0PanesBandsGuards

cc-notify-mod

kukaka/cc-mods

Forward Claude Code task completion, repeated Bash failures, and AskUserQuestion prompts to the macOS Notification Center so you hear about them when you are away from the terminal.

★ 0ReskinsGuards

cc-timing-mod

kukaka/cc-mods

Profiles where a turn's wall-clock time went: model requests vs tool calls vs approval waits vs other plugins' hooks. Live one-line summary above the prompt, full breakdown in a pane (/timing).

★ 0PanesBandsGuards