Claude Code mod
clean-code
Setzt Clean-Code-Regeln als Hooks um: Lint-Hinweis nach Code-Änderungen, Referenzordner mit Quellcode der Bibliotheken und Schutz für CLAUDE.md, AGENTS.md und Skills.
Install
/plugin marketplace add ptrzptrz888-create/claude-mods
/plugin install clean-code@willis-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, reads files, reads env vars, draws
- Sees
- every tool call, classic hooks
- Hooks
session.startturn.startcommand.runprompt.composetool.callclassic.UserPromptSubmitclassic.PostToolUseclassic.PreToolUse
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- ptrzptrz888-create/claude-mods
- Folder
clean-code- Marketplace
willis-mods- Author
- Wilhelm Peters
- License
- MIT
- Last updated
- 9 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is clean-code?
Setzt Clean-Code-Regeln als Hooks um: Lint-Hinweis nach Code-Änderungen, Referenzordner mit Quellcode der Bibliotheken und Schutz für CLAUDE.md, AGENTS.md und Skills. It is a mod for Claude Code, from ptrzptrz888-create/claude-mods on GitHub.
What can the clean-code mod access?
Its widest reach is "writes or runs" (runs processes, reads files, reads env vars, draws). It sees every tool call, classic hooks. Like any mod, it runs with your permissions.
How do I install clean-code?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add ptrzptrz888-create/claude-mods and then /plugin install clean-code@willis-mods.
More memory & instructions mods
cassandra
AraneaDev/cassandra
Remembers the tool calls that already failed, and says so before your agent runs one again unchanged.
code-modernization
Borgerod/claude-files-office
Guided modernization for any legacy codebase: start with /modernize, get an assessment, an interactive map, the business rules mined from the code, and a plan you approve, then an upgrade, a rewrite or a rebuild with independent proof that the new code behaves like the old. Includes security hardening, a one-page report, specialist agents, and an optional live progress pane (early access).
auto-handoff
m2ai-portfolio/claude-mods
Writes a /next handoff automatically once a 1M-token session crosses 300k tokens and before every compaction, so the next session can /prime from it. Never blocks tool calls: goals and loops keep running (pair with autoCompactWindow: 300000). /auto-handoff on|off and threshold <n> are kept across sessions.
code-modernization
mrkhachaturov/ccode-personal-plugins
Guided modernization for any legacy codebase: start with /modernize, get an assessment, an interactive map, the business rules mined from the code, and a plan you approve, then an upgrade, a rewrite or a rebuild with independent proof that the new code behaves like the old. Includes security hardening, a one-page report, specialist agents, and an optional live progress pane (early access).
auto-handoff
dhrubo55/claude-mods
Writes a handoff by itself shortly before the prompt cache of an idle session expires, while the cache is still warm. Runs its own /auto-handoff:handoff skill and saves its answer under ~/.claude/handoffs, or another installed handoff command you pick once. Nothing in the handoff waits for approval: calls that would prompt are declined, never approved. A row above the prompt counts down; /auto-handoff opens a pane with the timeline, which command runs and why, and buttons to hand off now, pause, re-pick or copy the path.
code-modernization
xotong/claude-marketplace
Guided modernization for any legacy codebase: start with /modernize, get an assessment, an interactive map, the business rules mined from the code, and a plan you approve, then an upgrade, a rewrite or a rebuild with independent proof that the new code behaves like the old. Includes security hardening, a one-page report, specialist agents, and an optional live progress pane (early access).
Browse the most popular Claude Code mods, all memory & instructions mods, or the skills and MCP server directories.