Skip to content
Skill

Dependency health loop

Runs scheduled dependency audits and applies one gated, reversible update per pass

Dependency health loop is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
12
Last commit
License
MIT
Listing updated

Similar skills

About Dependency health loop

This skill gives an agent a recurring routine for keeping project dependencies healthy. Each pass audits the tree for known vulnerabilities and stale pins, picks a single safe update (a security fix first, otherwise one over-stale patch or minor bump), applies it, and re-runs the full test, lint and typecheck gate before opening or updating a pull request. The agent re-audits the whole tree after each change and treats the tree as unhealthy until a fresh audit and a green gate both confirm otherwise.

Major version bumps and changes that alter lockfile resolution, such as overrides, peer-dependency forcing or source swaps, are treated as human checkpoints and are recorded rather than applied. The skill never merges anything; it leaves the pull request for a person to review. Audit and freshness commands are given per ecosystem in a reference file covering npm, pip, cargo, go, bundler and composer.

The skill expects a repository with a dependency manifest and lockfile, and the Bash, Read, Edit, Grep and Glob tools. It is meant to be started by the user, for example through a 30-minute loop during a sprint, and it depends on companion skills for the gate and pull request steps.

When your agent uses it

Keep dependencies healthy on a schedule: audit for vulnerabilities and stale pins, apply one safe update per pass, prove it with the full gate, and open or update a PR. HITL on every major bump; never auto-merges. Use to have deps watched during a sprint. Trigger on "audit my dependencies", "keep deps up to date", "watch for CVEs", "update dependencies safely".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (17 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the skill-madness plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness

Or copy only this skill to ~/.claude/skills/dependency-health-loop:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dependency-health-loop &&
cp -R "$tmp/skills/loops/dependency-health-loop" ~/.claude/skills/dependency-health-loop &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/dependency-health-loop inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/dependency-health-loop to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dependency-health-loop &&
cp -R "$tmp/skills/loops/dependency-health-loop" ~/.agents/skills/dependency-health-loop &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/dependency-health-loop inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/dependency-health-loop to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dependency-health-loop &&
cp -R "$tmp/skills/loops/dependency-health-loop" ~/.cursor/skills/dependency-health-loop &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/dependency-health-loop inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/loops/dependency-health-loop

Or copy the folder to ~/.gemini/skills/dependency-health-loop yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/dependency-health-loop:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dependency-health-loop &&
cp -R "$tmp/skills/loops/dependency-health-loop" ~/.copilot/skills/dependency-health-loop &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/dependency-health-loop inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git

Then copy Skill-Madness/skills/loops/dependency-health-loop into your agent's skills folder as dependency-health-loop. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Vulnerability and staleness audit
Runs the ecosystem audit and a freshness check to find advisories and pins that have fallen behind policy.
One bump per pass
Chooses a single update, security fixes first, so each change can be reviewed and traced on its own.
Full gate verification
Re-runs the complete test, lint and typecheck gate after each bump and rolls back if it cannot be made green.
Human checkpoints for majors
Holds major version bumps and lockfile-semantics changes for a person and records them as deferred.
Pull request handoff
Opens or updates one dependency-health pull request and never merges it.
Stop conditions and caps
Ends the routine on a clean proof, an iteration or budget cap, or three passes with no progress on the same advisory.

Good for

  • Audit my dependencies for known vulnerabilities and fix the worst one
  • Keep deps up to date during this sprint without breaking the build
  • Watch for CVEs and open a PR when a safe patch is available
  • Update dependencies safely and flag any major upgrades for review

Dependency health loop FAQ

Does Dependency health loop merge dependency updates automatically?

No. It prepares a pull request for a human to merge and never merges on its own.

How are major version upgrades handled?

Major bumps are paused as human checkpoints. They are recorded as deferred with their changelog or migration link and are not applied unattended.

What does Dependency health loop need to run?

It requires Claude Code, the Bash, Read, Edit, Grep and Glob tools, and a project with a dependency manifest and lockfile. It invokes companion skills for the test gate and pull request steps.

Which package ecosystems are covered?

The reference file lists audit and update commands for npm, pnpm, yarn, pip, poetry, uv, cargo, go, bundler and composer.

How do I install Dependency health loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/dependency-health-loop to use it in all your projects, or to .claude/skills/dependency-health-loop in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

Does Dependency health loop run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Dependency health loop?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Dependency health loop?

The closest alternatives to Dependency health loop are Dependency audit, Go dependency audit, Deps, Dependency cycle audit and Constraint driven development.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ivy00johns/Skill-Madness

  1. Finds merged and stale git branches, then deletes them only after your confirmation

    • Open source
    • 12 GitHub stars
    • Developer tools
  2. Finds and removes git worktrees whose changes are already merged into main

    • Open source
    • 12 GitHub stars
    • Developer tools
  3. Bulk-scans a skill ecosystem for consistency, quality gaps and ownership conflicts

    • Open source
    • 12 GitHub stars
    • Developer tools
  4. Runs a single-skill quality review covering structure, triggering and output checks

    • Open source
    • 12 GitHub stars
    • Developer tools
  5. Turns skill review or audit reports into a prioritized list of concrete SKILL.md fixes

    • Open source
    • 12 GitHub stars
    • Developer tools
  6. Applies planned edits to SKILL.md files, validates them, and offers to sync

    • Open source
    • 12 GitHub stars
    • Developer tools