What do you want to do?
5 use cases
-
Stop Claude from running destructive commands unseen
Hold rm -r, force pushes and migrations, and see what they would delete before they run.
- Claude Code Mods
- Claude Code
- Software and DevOps
- Intermediate
View prompt
In the hamzafer/claude-code-mods repo, install the blast-radius mod so Claude Code holds risky commands. Ask Claude Code to run rm -r on <test-folder> and confirm the expected output is a preview of the files that would be deleted, with the command cancelled if no answer comes within 60 seconds.
-
Watch Codex and subagent code reviews run live
See each running code review as a line above the prompt, with its findings when it ends.
- Claude Code Mods
- Claude Code
- Codex
- Software and DevOps
- Intermediate
View prompt
In the hamzafer/claude-code-mods repo, install review-watch and start a code review of <target-branch> in Claude Code. Expect one live line per running review showing model, target and elapsed time, followed by a findings toast when it finishes; verify the toast appears.
-
Keep context fill and plan usage above the prompt
Track how full your context is and how much of your plan you have used, in bars above the prompt.
View prompt
In the hamzafer/claude-code-mods repo, install the context-bar and usage-meter mods. Run /context-bar in Claude Code on <session> and expect a stacked bar with token counts and the compact point; verify the usage meter shows the 5-hour and 7-day usage.
-
Preview Markdown edits as GitHub renders them
See the Markdown files Claude edits rendered like GitHub, with before and after side by side.
- Claude Code Mods
- Claude Code
- Software and DevOps
- Intermediate
View prompt
In the hamzafer/claude-code-mods repo, install md-preview, then ask Claude Code to edit <markdown-file>. Run /md and expect a GitHub-style render with before and after side by side; verify the edited text appears in the after view.
-
Track OpenAI API credit and spend above the prompt
See an estimated OpenAI balance, today's spend and the last call without leaving Claude Code.
- Claude Code Mods
- Claude Code
- Software and DevOps
- Intermediate
View prompt
In the hamzafer/claude-code-mods repo, install the openai-balance mod using an OpenAI organization Admin key kept in <secret-store>. Run /openai-balance in Claude Code and expect an estimated balance with a gauge and today's spend; verify the figures roughly match the OpenAI dashboard.
How to use Claude Code Mods
- Check you have what it needs: Claude Code 2.1.287 or newer; npx available on your computer (the README installs with npx claude-code-mods@latest); Chrome, a terminal that shows images, and the Spotify app only for the mods that need them (md-preview, now-playing).
- Open hamzafer/claude-code-mods on GitHub and read the README and license.
- Run
npx claude-code-mods@latest, tick blast-radius in the checklist, and press Enter to install it. - Restart Claude Code.
- Ask Claude Code to delete a test folder you do not need, for example with rm -r.
- Read the preview of what would be deleted, then answer yes or no.
These steps come from our top use case, Stop Claude from running destructive commands unseen, which also has a copy-paste agent prompt.
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeClaude Code Mods alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers who use Claude Code daily and want to see context use, plan usage, running reviews or risky commands while they work.
- Why it is hot
- LanguageTypeScript
- Sourcegithub.com/hamzafer/claude-code-mods · Back to Hot repos
Requirements
- Claude Code 2.1.287 or newer
- npx available on your computer (the README installs with npx claude-code-mods@latest)
- Chrome, a terminal that shows images, and the Spotify app only for the mods that need them (md-preview, now-playing)
- An OpenAI organization Admin key only for openai-balance
Add this badge to your README
Maintain Claude Code Mods? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/hamzafer-claude-code-mods/?utm_source=github&utm_medium=badge&utm_campaign=hamzafer-claude-code-mods)
HTML
<a href="https://dedupedai.com/use-cases/hamzafer-claude-code-mods/?utm_source=github&utm_medium=badge&utm_campaign=hamzafer-claude-code-mods"><img src="https://dedupedai.com/badge/hamzafer/claude-code-mods.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Claude Code Mods
What is Claude Code Mods?
A set of Claude Code plugins, built on hooks, that add live status lines above the prompt plus guards, panes and games that you can install one at a time. It is an open-source project on GitHub: https://github.com/hamzafer/claude-code-mods.
Who is Claude Code Mods for?
Developers who use Claude Code daily and want to see context use, plan usage, running reviews or risky commands while they work.
What can I do with Claude Code Mods?
5 use cases so far, for example: Stop Claude from running destructive commands unseen; Watch Codex and subagent code reviews run live; Keep context fill and plan usage above the prompt. Each has steps and a copy-paste agent prompt.
What do I need to run Claude Code Mods?
Claude Code 2.1.287 or newer; npx available on your computer (the README installs with npx claude-code-mods@latest); Chrome, a terminal that shows images, and the Spotify app only for the mods that need them (md-preview, now-playing); An OpenAI organization Admin key only for openai-balance.
What are alternatives to Claude Code Mods?
Other hot AI repos in Software and DevOps: Omarchy Local AI, Hermes Plan Mode, Agent 2, Agnes Harness, Skills.
Is Claude Code Mods safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.