Claude Code mod
lean-comments
Comments worth keeping: limit-edits flags comment-heavy edits, limit-turns shows a one-line notice when a turn's diff adds too many comments.
Install
/plugin marketplace add bahaospanov/skills
/plugin install lean-comments@bahaospanovMods 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 prompt, Bash|Write|Edit calls, Write|Edit calls
- Hooks
prompt.submittool.callturn.complete
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
- bahaospanov/skills
- Folder
lean-comments- Marketplace
bahaospanov- Author
- Bakhtiyar Ospanov
- License
- MIT
- Last updated
- 31 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is lean-comments?
Comments worth keeping: limit-edits flags comment-heavy edits, limit-turns shows a one-line notice when a turn's diff adds too many comments. It is a mod for Claude Code, from bahaospanov/skills on GitHub.
What can the lean-comments mod access?
Its widest reach is "writes or runs" (runs processes, reads files, reads env vars, draws). It sees every prompt, Bash|Write|Edit calls, Write|Edit calls. Like any mod, it runs with your permissions.
How do I install lean-comments?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add bahaospanov/skills and then /plugin install lean-comments@bahaospanov.
More context & usage mods
cache-clock
tartinerlabs/claude-code-mods
Counts down to the prompt cache going cold, with the last request's hit rate, above the prompt.
pace
eshin087/claude-code-mods
/pace: what this chat has used, and when your 5-hour and weekly limits run out at your current pace.
session-watch
12KilimcininKorOglu/claude-code-mods
Shows this session's state in the sidebar: context fill, token totals, cost, model and effort, the Claude Code version, the other sessions of this machine, and the git branch and status.
smart-compact
HarzerHeribert/claude-modpack
Keeps an idle session's prompt cache warm, or compacts it just before it expires, whichever is cheaper, and says on the status line whether the next prompt is ready or cold.
budget-guard
12VedantAndhale/claude-pro-kit
Holds a prompt back once your 5-hour or weekly usage is at or over a limit you set (90% by default); sending it again goes through. No tokens spent.
usage-meter
ianwilson97/claude-mods
Five-hour and weekly plan usage as one line under the prompt, with reset countdown and pace forecast
Browse the most popular Claude Code mods, all context & usage mods, or the skills and MCP server directories.