harden

harden is a skill for Claude Code from systemfsoftware/comment-checker. It costs 129 tokens per session (2,138 once invoked), scanned A, a copy of harden, Apache-2.0.

A workflow for making live cloud-provider test suites reliable by repeatedly running them and checking which resources remain afterward. It investigates failures and resource leaks, then applies fixes and commits them.

In plain words
What is it for?
Use it to stabilize integration tests, find the cause of failures and leaked resources, make names and stages isolated, and verify two clean consecutive runs.
Why use it?
A single passing run may miss timing problems, retries, name collisions, or resources that are not cleaned up. Repeated runs and cleanup checks expose these intermittent problems.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the comment-checker plugin — 23 skills, 1 hook shipped together

Good fit Use it to stabilize integration tests, find the cause of failures and leaked resources, make names and stages isolated, and verify two clean consecutive runs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/systemfsoftware/comment-checker/harden
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add systemfsoftware/comment-checker --skill harden
Clone the repo
git clone --depth 1 https://github.com/systemfsoftware/comment-checker

Made for: Claude Code.

Or install comment-checker, the plugin that ships this one along with the rest of its 23 skills, 1 hook.

Wrote 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.

agentmods badge for harden

README.md
[![agentmods](https://agentmods.dev/badge/skills/systemfsoftware/comment-checker/harden/github.svg)](https://agentmods.dev/skills/systemfsoftware/comment-checker/harden)
Your own site
<a href="https://agentmods.dev/skills/systemfsoftware/comment-checker/harden"><img src="https://agentmods.dev/badge/skills/systemfsoftware/comment-checker/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.

agentmods 80×15 button for harden

Your own site · 80×15
<a href="https://agentmods.dev/skills/systemfsoftware/comment-checker/harden"><img src="https://agentmods.dev/badge/skills/systemfsoftware/comment-checker/harden.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,138 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00129 $0.02138
Opus 5.5 $0.00052 $0.00855
Sonnet 5.5 $0.00026 $0.00428
Haiku 4.5 $0.00013 $0.00214

Measured 16d ago against content hash 83c5b3bbfab9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 16d 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.

Origin

This is a copy

100% identical to harden — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

repos/alchemy/.agents/skills/harden/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Harden a provider's test suite

A suite is hardened when it passes two consecutive full runs and the account census after each run shows nothing left behind. One green run proves little: most of what this skill finds only shows up in some runs — eventual consistency, retries that leak, other users or worktrees deploying the same names, an API that sometimes ignores a write.

The arguments name the providers (cloudflare, aws gcp, …). You own the runs, the fixes, the census and the commits. Work in this checkout, one test process at a time. Fixes land in the branch you are on (the release PR when prepare-release invoked you). The user merges; you never do.

The loop

  1. Run the provider's full suite once. Detach it and write its output to a numbered file, then census:

    pnpm test:integration test/<Provider> --profile testing > /tmp/harden/run-N.out 2>&1
    pnpm nuke --profile testing --include '<Provider>.*' --dry-run --no-input > /tmp/harden/census-N.out
    echo "run N: $(grep '^Tests:' /tmp/harden/run-N.out)" >> /tmp/harden/stability.log
    

    Keep stability.log as the table you report: one line per run, plus what the census found.

  2. List the failures and leaks. Failed tests are the ^✗ lines in the summary. Each one's error follows it in the run output; the full record, including retried attempts, is in the run log under packages/integration-tests/.alchemy/log/test/.

  3. Root-cause every one. In this order, stop at the first that applies:

    Cause Fix
    Provider bug (wrong read/diff/reconcile/delete, leak, name the API rejects) the provider
    Untyped or mis-typed error a distilled patch
    Test bug (shared name or stage, missing lock, unbounded or missing retry) the test
    Eventual consistency the provider can't own a bounded retry in the test
    Genuinely slow work (image builds, cold starts) a longer timeout, matching its neighbors
    Permanent account blocker (quota, entitlement) test.provider.skip with a comment quoting the exact error
    Platform outage (every test of a service fails at once with a 5xx-style error) nothing; note it

Read the full file on GitHub · 156 lines

Changes

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.

  1. 16d ago First seen · 156 lines · 129 tokens per session scan A 83c5b3bbfab9

Subscribe to this mod's changes

harden is a skill published in the GitHub repository systemfsoftware/comment-checker (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 129 tokens to every session and 2,138 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to harden, differing in 0 lines, and is treated as a copy.

Related

harden compared with skills from other repositories

harden next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hardensystemfsoftware/comment-checkerSkill6yesterdayApache-2.0A129Claude Code
deploymentDojoCodingLabs/code-senseiSkill161mo agoMITA37Claude Code
acceptance-testEdmonds-Commerce-Limited/claude-code-hooks-daemonSkill4todayMITD19Claude Code
cloud-syncthedotmack/claude-memSkill121ktodayApache-2.0A64Claude Code
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
release-overnightpingdotgg/t3codeSkill84ktodayMITA151Claude Code, Codex
cli-backup-syncdiegosouzapw/OmniRouteSkill91kyesterdayMITA34Claude Code, Codex