better-dependencies

better-dependencies is a skill for Claude Code, Codex from NicolasYusim/better-codebase. It costs 77 tokens per session (1,167 once invoked), scanned A, original, MIT.

A software-dependency review guide for checking the external packages a project relies on, including their purpose, compatibility, maintenance status, security warnings, and lockfiles.

In plain words
What is it for?
Use it to review package manifests and lockfiles, assess upgrades or migrations, and decide whether each direct or indirect package is still needed.
Why use it?
It helps identify unnecessary, risky, duplicated, outdated, or incompatible packages before they create maintenance or supply-chain problems.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the better-codebase plugin — 8 skills shipped together

Good fit Use it to review package manifests and lockfiles, assess upgrades or migrations, and decide whether each direct or indirect package is still needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicolasyusim/better-codebase/better-dependencies
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 NicolasYusim/better-codebase --skill better-dependencies
Clone the repo
git clone --depth 1 https://github.com/NicolasYusim/better-codebase

Made for: Claude Code, Codex.

Or install better-codebase, the plugin that ships this one along with the rest of its 8 skills.

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 better-dependencies

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nicolasyusim/better-codebase/better-dependencies"><img src="https://agentmods.dev/badge/skills/nicolasyusim/better-codebase/better-dependencies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,167 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.00077 $0.01167
Opus 5.5 $0.00031 $0.00467
Sonnet 5.5 $0.00015 $0.00233
Haiku 4.5 $0.00008 $0.00117

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

Security

Grade A, and why

better-dependencies 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 3mo 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.

skills/better-dependencies/SKILL.md · 127 lines

How it starts

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

Improve dependency health without chasing versions

Minimize supply-chain and maintenance burden while preserving compatibility. Treat an upgrade as a migration decision, not housekeeping.

Own dependency decisions

Own direct and transitive package necessity, version and runtime compatibility, health, deprecation, advisories, lockfiles, redundant capability, and migration planning.

Do not recommend architectural replacement merely because another library is fashionable. Coordinate boundary changes with better-architecture, custom-code simplification with better-simplicity, and upgrade verification with better-testing.

Review workflow

1. Inventory the dependency surface

Inspect every relevant manifest and lockfile in scope. Identify:

  • direct, development, optional, peer, build, and platform dependencies;
  • supported language, runtime, framework, and operating-system versions;
  • workspaces, overrides, resolutions, patches, vendored code, and generated clients;
  • imported APIs and the actual capability each direct package supplies;
  • multiple lockfiles, unpinned sources, local paths, or manifest/lock mismatches;
  • deployment and library consumers that constrain upgrades.

Use the ecosystem's native package manager for inspection. Do not rewrite a lockfile with a different tool.

2. Classify candidates

Investigate:

  • published security advisories that affect the resolved version and usage;
  • deprecated packages or APIs with an official migration path;
  • unsupported versions relative to the project's runtime;
  • abandoned packages only when maintenance evidence and risk are credible;
  • packages that overlap substantially and increase bundle or maintenance cost;
  • direct dependencies used for one trivial, stable operation available in the standard library;
  • dependencies declared but not imported or required by tooling;
  • version conflicts, duplicated majors, invalid peer ranges, or incompatible transitive constraints;
  • lockfiles that are missing, stale, non-reproducible, or inconsistent with policy;
  • framework or runtime upgrades blocked by a dependency.

Read the full file on GitHub · 127 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. 3mo ago First seen · 127 lines · 77 tokens per session scan A f6c86593eb9c

Subscribe to this mod's changes

better-dependencies is a skill published in the GitHub repository NicolasYusim/better-codebase (1 stars, last pushed 2d ago), licensed MIT. It adds 77 tokens to every session and 1,167 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

better-dependencies compared with skills from other repositories

better-dependencies next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
better-dependenciesNicolasYusim/better-codebaseSkill12d agoMITA77Claude Code, Codex
arch-optimizebfxh/arch-optimizeSkill51mo agoMITA114Claude Code
simplify-codeAmery2010/open-builderSkill11422d agoGPL-3.0A51Claude Code, Codex
code-review-qualityproffesor-for-testing/agentic-qeSkill537todayMITA33Claude Code
software-code-refactoringstencila/stencilaSkill916todayApache-2.0A102Claude Code
software-code-reviewstencila/stencilaSkill916todayApache-2.0B111Claude Code
andrej-karpathy-skillsseaworld008/Commonly-used-high-value-skillsSkill75todayMITA37Claude Code, Codex