harden

harden is a skill for Claude Code, Codex from pingdotgg/t3code. It costs 129 tokens per session (2,138 once invoked), scanned A, original, MIT.

A workflow for making live provider test suites reliable. It repeatedly runs the full tests and checks whether temporary cloud resources were left behind.

In plain words
What is it for?
Finding the root cause of provider test failures and leaks, then making names, stages, and runs deterministic and isolated.
Why use it?
A single passing run can miss intermittent failures, leaked resources, timing problems, or interference between users and worktrees.

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 Finding the root cause of provider test failures and leaks, then making names, stages, and runs deterministic and isolated.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pingdotgg/t3code/harden
About the project

T3 Code is an app for controlling AI coding agents running on a user's computer through mobile, web, and desktop interfaces. Developers use it to work remotely with supported agents such as Codex, Claude Code, Cursor, Grok Build, OpenCode, and Antigravity. The catalogue add-ons support the T3 Code workflow.

pingdotgg/t3code · 83,948 stars · on GitHub · t3.codes

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 pingdotgg/t3code --skill harden
Clone the repo
git clone --depth 1 https://github.com/pingdotgg/t3code

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/pingdotgg/t3code/harden/github.svg)](https://agentmods.dev/skills/pingdotgg/t3code/harden)
Your own site
<a href="https://agentmods.dev/skills/pingdotgg/t3code/harden"><img src="https://agentmods.dev/badge/skills/pingdotgg/t3code/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/pingdotgg/t3code/harden"><img src="https://agentmods.dev/badge/skills/pingdotgg/t3code/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 original No closer match found 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 26d 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 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • harden — 100% identical, 0 lines differ
.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. 26d 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 pingdotgg/t3code (83,948 stars, last pushed today), 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-04.

Related

harden compared with skills from other repositories

harden next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hardenpingdotgg/t3codeSkill84ktodayMITA129Claude Code, Codex
flow-nexus-swarmruvnet/rufloSkill83ktodayMITA20Claude Code
chaos-engineering-resilienceproffesor-for-testing/agentic-qeSkill537yesterdayMITA40Claude Code
rn-testingLykhoyda/rn-dev-agentSkill201mo agoMITA106Claude Code
capturing-proofLykhoyda/rn-dev-agentSkill201mo agoMITA105Claude Code
browser-qa-reportthesongzhu/FridaySkill8364mo agoMITA0Claude Code, Codex
run-actionLykhoyda/rn-dev-agentSkill201mo agoMITA99Claude Code, Codex