harden

harden is a skill for Claude Code from joao-aires/agent-skills-public. It costs 39 tokens per session (497 once invoked), scanned A, original, MIT.

A security hardening workflow for finding and fixing security or privacy weaknesses in a feature, code change, or repository. It maps who can access data and actions, then checks that protections work.

In plain words
What is it for?
Use it to assess trust boundaries, authorization, tenant isolation, secret handling, invalid inputs, and dependency-related risks, then apply bounded fixes and verify them.
Why use it?
It helps prevent unauthorized access, unsafe input handling, exposed secrets, and privacy problems without changing approved architecture or making unsupported security claims.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to assess trust boundaries, authorization, tenant isolation, secret handling, invalid inputs, and dependency-related risks, then apply bounded fixes and verify them.

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

Made for: Claude Code.

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/joao-aires/agent-skills-public/harden/github.svg)](https://agentmods.dev/skills/joao-aires/agent-skills-public/harden)
Your own site
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/harden"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/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/joao-aires/agent-skills-public/harden"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/harden.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 497 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.00039 $0.00497
Opus 5.5 $0.00016 $0.00199
Sonnet 5.5 $0.00008 $0.00099
Haiku 4.5 $0.00004 $0.00050

Measured today against content hash 33df504cc3d3, 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.

plugins/sdlc/skills/harden/SKILL.md · 37 lines

How it starts

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

Harden

Remove or bound a concrete security or privacy weakness in the requested scope, and stop at verified remediation or a reported gap.

Read activity system for scope and stopping point. Use verification for verified remediation and seek matching security/privacy expertise when available.

When the affected stack, architecture or domain has installed expertise or guidance, read it and carry its conclusions. If none exists, use project evidence and primary sources; this activity keeps the outcome, acceptance and stopping point.

Assess and remediate within scope

Trace how untrusted input reaches the valuable action or sensitive data in scope. Identify the actor the application believes it is serving, how that identity was verified, where permission is checked, and which components can read or change the resulting data. Include alternate routes such as background jobs, direct API calls and exports when they reach the same operation.

For a security-sensitive diff, read security diff review for the change-specific checks, removed-code history, blast radius and coverage gaps. Remediation and verification stay in this activity.

Use that trace to identify a plausible failure or abuse path and its impact. Prioritize findings that can change access, expose data, corrupt state or prevent an important operation. Scanners can supply evidence about a particular class of weakness. Investigate whether a finding applies to the actual application before selecting a fix.

Apply bounded fixes within the request at the component that owns the protection. Verify both the legitimate operation and the attempt that must fail, including relevant ownership/tenant denial, invalid input and secret handling. A hidden control or a rejected frontend action does not establish that the underlying operation is protected.

Use vulnerability prioritization and remediation expertise for dependency findings, credential management expertise for credential authority, and specialist reviews within their coverage.

Read the full file on GitHub · 37 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +2 lines 33df504cc3d3
  2. 11d ago Changed · -1 lines 411cd3b1b673
  3. 16d ago Changed · +2 lines df20115e2a93
  4. 20d ago Changed · +5 lines d7d557e83d4d
  5. 24d ago Changed 9ea2d764c086
  6. 1mo ago Changed · +2 lines a929fb1ad7e6
  7. 1mo ago Changed · +8 lines b30ee7d2e63a
  8. 1mo ago Changed 647c105a03e9
  9. 1mo ago First seen · 19 lines · 39 tokens per session scan A 4c67409f0503

Subscribe to this mod's changes

harden is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 39 tokens to every session and 497 once invoked, about $0.0002 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-15.

Related

harden compared with skills from other repositories

harden next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hardenjoao-aires/agent-skills-publicSkill2yesterdayMITA39Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code