Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add juanmhidalgo/claude-plugins/plugin install feature-devWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/juanmhidalgo/claude-plugins/harden)<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/harden"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/harden/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/juanmhidalgo/claude-plugins/harden"><img src="https://agentmods.dev/badge/commands/juanmhidalgo/claude-plugins/harden.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00119 | $0.01159 |
| Opus 5.5 | $0.00048 | $0.00464 |
| Sonnet 5.5 | $0.00024 | $0.00232 |
| Haiku 4.5 | $0.00012 | $0.00116 |
Grade A, and why
harden scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context
- Current branch: !
git branch --show-current - Working tree: !
git status --short - Arguments: !
bash "${CLAUDE_PLUGIN_ROOT}/scripts/args.sh" '$ARGUMENTS'
This command resolves what to review, then runs the review loop: code-review's
code-review:review workflow, an approval gate, fixes and a delta review. The
reviewers never see this conversation; the session that wrote the code holds
every reason it looks right.
1. Resolve the scope
Read the Arguments JSON from Context first. spec is the --spec <value>
(null when absent) and effort is the level (high when null). Two flags the
parser does not know stay in positional: --base followed by its branch
(remove both), and a bare --effort left in front of its level (drop it). What
remains of positional, joined with spaces, is the feature, possibly empty.
--base <branch>→ the work is committed. Scope:branch <current> vs base <branch>. The working tree must be clean: fixes are told apart from the reviewed code bygit diff, so edits already there would be taken for fixes. If it is dirty, stop and ask the user to commit or stash.- Otherwise the work is the uncommitted tree (
/feature-dev:tddleaves it there). If the working tree is clean, stop: there is nothing to review. Rungit add -ufor modified tracked files. If there are untracked files (not ignored), list them and ask once with AskUserQuestion which to stage: All of them (Recommended) / None, or the paths through Other. A new module is usually part of the feature; a scratch file or a stray.envis not, and only the user can tell them apart. Scope:staged changes (git diff --cached).
The index becomes the reviewed state. Fixes land in the working tree on top of
it, so git diff is exactly what the fixes changed, and that is what the delta
review reads.
Spec sources. The spec axis needs spec-file <path> or issue <N> closes
lines:
specset: a path →spec-file <path>;#N→issue <N> closes.- Else the feature: a slug or
SPEC-*.mdpath in the arguments, or else the single entry of${CLAUDE_PLUGIN_ROOT}/scripts/features.py list --json --root <repo root>whose status isimplementedorrunning(several → AskUserQuestion; none → no feature). From its folder.feature-dev/features/<slug>/, addspec-filefor itsSPEC-*.mdand, iffeature.jsonhas anissue,issue <N> closes. - Else none: the spec axis is skipped, and the report says so.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 26d ago Changed · -36 lines · +14 tokens per session 05aa3149960e
- 28d ago Changed · +1 lines 468ccd10ad9f
- 29d ago Changed · +38 lines · -14 tokens per session f7fd10da3b92
- 1mo ago First seen · 102 lines · 119 tokens per session scan A 2f23a24a5321
harden is a command published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 119 tokens to every session and 1,159 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.
harden compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hardenjuanmhidalgo/claude-plugins | Command | 8 | 18d ago | MIT | A | 119 | Claude Code |
| improveSuperClaude-Org/SuperClaude_Framework | Command | 24k | 4d ago | MIT | A | 15 | Claude Code |
| spec-reviewfengshao1227/ccg-workflow | Command | 6.0k | 12d ago | MIT | A | 16 | Claude Code |
| impl-reviewgmickel/flow-next | Command | 735 | yesterday | MIT | A | 23 | Claude Code |
| resolve-prgmickel/flow-next | Command | 735 | yesterday | MIT | A | 26 | Claude Code |
| reviewgmickel/flow-next | Command | 735 | yesterday | MIT | A | 8 | Claude Code |
| prgmickel/flow-next | Command | 735 | yesterday | MIT | A | 6 | Claude Code |