hardwood: Skill for Claude Code

.claude/skills/hardwood-dependency-updates/SKILL.md

hardwood-dependency-updates is a skill for Claude Code from hardwood-hq/hardwood. It costs 102 tokens per session (1,474 once invoked), scanned A, original, Apache-2.0.

A procedure for grouping and handling Dependabot pull requests, which are automated proposals to update software dependencies. It verifies the grouped changes locally and in continuous integration before closing the covered update requests.

In plain words
What is it for?
Use it to triage Hardwood's library, command-line, build, test, action, and container-image dependency updates.
Why use it?
It avoids merging related updates one at a time, which can leave the main branch broken and make skipped updates hard to explain.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is hardwood-hq/hardwood's own configuration. It tells Claude Code how to work on hardwood itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything hardwood configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hardwood-hq/hardwood. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hardwood-hq/hardwood/main/.claude/skills/hardwood-dependency-updates/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hardwood-hq/hardwood

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 hardwood-dependency-updates

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hardwood-hq/hardwood/hardwood-dependency-updates"><img src="https://agentmods.dev/badge/skills/hardwood-hq/hardwood/hardwood-dependency-updates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,474 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.00102 $0.01474
Opus 5.5 $0.00041 $0.00590
Sonnet 5.5 $0.00020 $0.00295
Haiku 4.5 $0.00010 $0.00147

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

Security

Grade A, and why

hardwood-dependency-updates 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 6d 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.

.claude/skills/hardwood-dependency-updates/SKILL.md · 81 lines

How it starts

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

Hardwood dependency updates

Dependabot (.github/dependabot.yml) opens weekly PRs once a release is seven days old (cooldown; security updates come at once): one grouped PR for minor and patch Maven updates, one per major Maven update, one grouped PR for actions, and Docker base-image updates. Merging them one by one leaves main broken between merges and hides why an update was skipped. This skill folds them into one PR of a few commits, each a group a reviewer can judge on its own.

1. Collect

gh pr list --author app/dependabot --state open --json number,title,headRefName,files
gh pr diff <N>

Classify every updated artifact by where it ends up, checked in the POMs (scope, module, whether the module is deployed: maven.deploy.skip), not by its name:

Commit Contents
Library dependencies Runtime dependencies of the published modules (bom/pom.xml, aws-auth, avro, …): what reaches users' classpaths
CLI dependencies cli/pom.xml: what ships in the native binary and the image
Build Maven (wrapper), Maven plug-ins, Error Prone
Test dependencies test-bom/pom.xml, test-scoped dependencies, modules that are not deployed

The actions PR touches .github/workflows/, which cannot be pushed from the container. Review its majors' release notes against the workflows (hardwood-supply-chain-check, area 1) and let the user merge it as is.

2. Issue and branch

Agree the issue with the user first (CLAUDE.md). Frame it as a routine dependency update; list the versions and, once known, what was held back and why. Work in a worktree named after the branch (<issue>-dependency-updates).

3. Apply, one group per commit

Edit the versions by hand (exact-match replacements), not by merging Dependabot branches: their grouped diffs also carry unrelated churn, such as a rewritten mvnw.cmd. For a Maven update, take the wrapper's SHA-256 from a distribution verified against Apache's signature and SHA-512 (hardwood-supply-chain-check, area 3).

Read the full file on GitHub · 81 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. 6d ago First seen · 81 lines · 102 tokens per session scan A afe6909a8c17

Subscribe to this mod's changes

hardwood-dependency-updates is a skill published in the GitHub repository hardwood-hq/hardwood (417 stars, last pushed 4d ago), licensed Apache-2.0. It adds 102 tokens to every session and 1,474 once invoked, about $0.0004 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-23.