Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By lexfreiv1.1.1BSD-3-ClauseIn 1 marketplace
Keeps code comments to what the code cannot say, so Claude writes fewer narrating, duplicated or changelog-style comments. Runs a SessionStart hook that injects its comment rules into every session, including resumes and compactions.
Trending plugins
7-day copy clicks
Run automatically on Claude Code events. Claude doesn't decide.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
SessionStart hook that injects code-comment discipline into every Claude Code session. The injected rules apply to every comment, docstring, and doc comment the session writes, in any language.
Bloated comments are the watermark. Narration of the next line, tutorial flow, changelog comments, reviewer asides, docstrings that restate the signature — nothing marks code as machine-generated faster, and maintainers of large open-source projects reject it on sight precisely because the reader could have generated it themselves. This hook makes every session start from the opposite default: every comment must earn its place — complement the code, never duplicate it.
A SessionStart hook (no matcher, so it fires on every source: startup, resume, clear, compact, and fork) cats rules/COMMENTS.md to stdout, which Claude Code adds to the session context. There is no enforcement script and nothing to configure — the rules ride along in context where the model cannot miss them, the same delivery mechanism as a persona plugin.
The rules in one line each:
/plugin marketplace add lexfrei/ccc
/plugin install comment-hygiene@claude-code-companions
Edit rules/COMMENTS.md — whatever it contains is what gets injected verbatim. Keep it short: it lands in every session's context, so every line costs tokens on every startup.
become:hygiene agent (this marketplace) — the after-the-fact counterpart: sweeps a codebase and removes AI-generated comment noise that already landed. comment-hygiene prevents; become:hygiene cleans up.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub lexfrei/ccc --plugin comment-hygienePlugins from other owners that cover similar ground