harden-finding

harden-finding is a skill for Claude Code from dsnger/dev-workflow-kit. It costs 67 tokens per session (2,752 once invoked), scanned A, original, MIT.

A workflow for turning a code-review finding into a lasting safeguard, such as a lint rule, type constraint, test, or documented convention.

In plain words
What is it for?
Use it after a review bot, gate, or manual reviewer reports an issue, especially when the issue has happened before. It also records the result in the project's hardening log.
Why use it?
It reduces the chance that the same problem will be fixed once and then return later.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

Part of the dev-workflow plugin — 4 skills, 2 commands, 1 agent, 3 hooks shipped together

Good fit Use it after a review bot, gate, or manual reviewer reports an issue, especially when the issue has happened before. It also records the result in the project's hardening log.

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

Made for: Claude Code.

Or install dev-workflow, the plugin that ships this one along with the rest of its 4 skills, 2 commands, 1 agent, 3 hooks.

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-finding

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dsnger/dev-workflow-kit/harden-finding"><img src="https://agentmods.dev/badge/skills/dsnger/dev-workflow-kit/harden-finding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,752 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.00067 $0.02752
Opus 5.5 $0.00027 $0.01101
Sonnet 5.5 $0.00013 $0.00550
Haiku 4.5 $0.00007 $0.00275

Measured 1mo ago against content hash 9a667d254386, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

harden-finding 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 1mo 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.

plugins/dev-workflow/skills/harden-finding/SKILL.md · 183 lines

How it starts

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

harden-finding

Overview

What a deterministic tool can catch does not belong in the Codex gate. This skill takes one finding, hardens it at the right rung of the ladder, verifies, and records it in docs/hardening-log.md so recurrence is mechanical.

Target model: Claude via Claude Code. This skill is a prompt artifact and follows the checklist in docs/prompt-standards.md.

Project files this skill reads

Both are scaffolded by /dev-workflow:workflow-init. If one is missing, say so and offer to run that command — guessing a project's rungs or classes produces a log nobody can grep.

File What it supplies
AGENTS.md the invariants, and (under ## Commands) the project's real lint/typecheck/test/quality commands
docs/hardening-taxonomy.md the project's own fingerprint classes, extending the base classes below
docs/hardening-log.md the append-only ledger you grep and append to

When to use

  • A Gate A/B, PR-bot, or manual finding was raised and you want it permanently prevented, not just fixed once.
  • A finding feels familiar — the recurrence check tells you if it's been logged.

The ladder

Pick the rung that matches the finding's nature — not always the highest. The Where and Verify with columns name roles, not tools: resolve them to this project's actual config files and commands from AGENTS.md § Commands.

Rung Fits when Where Verify with
0 · already caught an existing required check already fails the gate on it — note it, stop
2 · lint a mechanical code pattern the project's linter/static-analysis config the project's lint command
4 · test a behavioral / logic invariant the project's test suite, next to the code under test the project's test command
  • A non-blocking warning (a warn-level rule, a diagnostic that doesn't fail the quality command) is not rung 0 — it slipped through because nothing blocked it. Making it block (warn→error, zero-tolerance flag) is a rung-2 hardening.

Read the full file on GitHub · 183 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. 1mo ago Changed · +6 lines 9a667d254386
  2. 1mo ago Changed · +3 lines 3889c832b02a
  3. 1mo ago Changed · -20 lines 1163919fd4d0
  4. 3mo ago First seen · 194 lines · 67 tokens per session scan A 3c9a73999dfb

Subscribe to this mod's changes

harden-finding is a skill published in the GitHub repository dsnger/dev-workflow-kit (6 stars, last pushed 8d ago), licensed MIT. It adds 67 tokens to every session and 2,752 once invoked, about $0.0003 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-08-31.

Related

harden-finding compared with skills from other repositories

harden-finding next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
harden-findingdsnger/dev-workflow-kitSkill68d agoMITA67Claude Code
recipe-front-reviewshinpr/claude-code-workflowsSkill725todayMITA29Claude Code
new-skillhyhmrright/brooks-lintSkill1.6ktodayMITA145Claude Code, Codex
brooks-sweephyhmrright/brooks-lintSkill1.6ktodayMITA178Claude Code
dorodangoathola/claude-night-marketSkill358todayMITA31Claude Code
code-slopAsyrafHussin/agent-skillsSkill111yesterdayMITA110Claude Code, Codex
ring:migrating-to-lib-observabilityLerianStudio/ringSkill2181mo agoApache-2.0A104Cursor