harden

harden is a skill for Claude Code, Codex from boggedbrush/KodoCode. It costs 129 tokens per session (2,138 once invoked), scanned A, a copy of harden, MIT.

A procedure for making a provider's live integration test suite reliable and repeatable. It reruns the full suite, checks the testing account for leftover resources, and traces failures and leaks to their causes.

In plain words
What is it for?
It helps fix provider bugs, isolate names and test stages, investigate timeouts, and verify that tests leave no resources behind.
Why use it?
A single passing run can hide intermittent failures, leaked resources, or collisions between users and worktrees. This process exposes those problems and requires two clean consecutive runs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit It helps fix provider bugs, isolate names and test stages, investigate timeouts, and verify that tests leave no resources behind.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/boggedbrush/kodocode/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 boggedbrush/KodoCode --skill harden
Clone the repo
git clone --depth 1 https://github.com/boggedbrush/KodoCode

Made for: Claude Code, Codex.

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/boggedbrush/kodocode/harden/github.svg)](https://agentmods.dev/skills/boggedbrush/kodocode/harden)
Your own site
<a href="https://agentmods.dev/skills/boggedbrush/kodocode/harden"><img src="https://agentmods.dev/badge/skills/boggedbrush/kodocode/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/boggedbrush/kodocode/harden"><img src="https://agentmods.dev/badge/skills/boggedbrush/kodocode/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 today 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 today.

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-effect/.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. today 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 boggedbrush/KodoCode (4 stars, last pushed yesterday), licensed MIT. 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
hardenboggedbrush/KodoCodeSkill4yesterdayMITA129Claude Code, Codex
reproduce-buggoogleapis/mcp-toolboxSkill17ktodayApache-2.0A130Claude Code, Codex
verify-omnigentomnigent-ai/omnigentSkill12ktodayApache-2.0A100Claude Code, Codex
wiringparcadei/Continuous-Claude-v3Skill4.0k18d agoMITB6Claude Code
test-electron-appPostHog/posthogSkill41ktodaynoneA112Claude Code
testing-blocksadobe/skillsSkill343todayApache-2.0A114Claude Code
quality-engineering-test-healingHoangNguyen0403/agent-skills-standardSkill597todayMITA60Claude Code, Codex