dependency-audit

dependency-audit is a skill for Claude Code from hmcts/agentic-plugins-marketplace. It costs 31 tokens per session (912 once invoked), scanned A, original, MIT.

A dependency review tool for Crime Common Platform repositories. It compares library versions, Maven parent projects and build-plugin versions across services.

In plain words
What is it for?
Use it to audit all context services, selected repositories, a particular dependency or the chain of shared Maven parent projects.
Why use it?
It exposes version mismatches and inconsistent Maven configuration before they cause build or compatibility problems. It is also useful before upgrading a shared library.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hmcts-sdlc-orchestrator plugin — 10 skills, 9 agents shipped together

Good fit Use it to audit all context services, selected repositories, a particular dependency or the chain of shared Maven parent projects.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmcts/agentic-plugins-marketplace/dependency-audit
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 hmcts/agentic-plugins-marketplace --skill dependency-audit
Clone the repo
git clone --depth 1 https://github.com/hmcts/agentic-plugins-marketplace

Made for: Claude Code.

Or install hmcts-sdlc-orchestrator, the plugin that ships this one along with the rest of its 10 skills, 9 agents.

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 dependency-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmcts/agentic-plugins-marketplace/dependency-audit.svg)](https://agentmods.dev/skills/hmcts/agentic-plugins-marketplace/dependency-audit)
Your own site
<a href="https://agentmods.dev/skills/hmcts/agentic-plugins-marketplace/dependency-audit"><img src="https://agentmods.dev/badge/skills/hmcts/agentic-plugins-marketplace/dependency-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 912 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.00031 $0.00912
Opus 5 $0.00015 $0.00456
Sonnet 5 $0.00006 $0.00182
Haiku 4.5 $0.00003 $0.00091

Measured 7d ago against content hash 15a8f14ef792, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

dependency-audit 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 7d 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/agents/hmcts-sdlc-orchestrator/skills/dependency-audit/SKILL.md · 106 lines

How it starts

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

Dependency Audit

Scans CP repositories for dependency version inconsistencies, outdated libraries, and parent POM alignment issues.

When to Use

  • User asks to "check dependency versions", "audit dependencies", "find version mismatches"
  • User wants to verify a specific library version across all repos
  • User wants to check parent POM chain alignment
  • Before upgrading a shared library to find all consumers

Process

Step 1: Determine Scope

Ask the user what to audit:

  • All context services — scan all cpp-context-* repos
  • Specific repos — scan named repositories
  • Specific dependency — find all usages of a named dependency
  • Parent POM chain — verify super-pom → parent-pom → service alignment

Step 2: Extract Version Information

For Maven repos (cpp-context-*, cp-*)

Read pom.xml from each repo root and extract:

  1. Parent POM<parent> groupId, artifactId, version
  2. Properties<properties> block for version properties
  3. Direct dependencies — any <dependency> with explicit versions (not managed)
  4. Plugin versions — any plugins with explicit versions

Key properties to check across the parent POM chain:

Property Defined in Controls
cpp.framework.version Service POM cp-framework-libraries version
cpp.microservice-framework.version Service POM cp-microservice-framework version
cpp.event-store.version Service POM cp-event-store version
cpp.file-service.version Service POM cp-file-service version
cpp.platform-libraries.version Service POM cpp-platform-libraries version
For Gradle repos (cp-audit-*, cp-auth-*, cpp-mbd-*)

Read build.gradle and extract:

  1. Plugin versions — Spring Boot, dependency-management
  2. Dependencies — implementation, testImplementation blocks
  3. Ext properties — version variables
For Node repos (cpp-ui-*)

Read package.json and extract:

  1. Angular version@angular/core
  2. Key dependencies — ngrx, govuk-frontend, ngx-bootstrap
  3. Node/npm versions — engines field or .nvmrc

Read the full file on GitHub · 106 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. 7d ago First seen · 106 lines · 31 tokens per session scan A 15a8f14ef792

Subscribe to this mod's changes

dependency-audit is a skill published in the GitHub repository hmcts/agentic-plugins-marketplace (3 stars, last pushed 2d ago), licensed MIT. It adds 31 tokens to every session and 912 once invoked, about $0.0002 per session on Opus 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.