diff

A dependency comparison tool for Git repositories. Dependencies are the external packages a project uses; the tool compares them between commits, branches, releases, or manifest and lock files.

In plain words
What is it for?
Use it to inspect added, removed, or changed packages, compare runtime and development dependencies, review one commit, or produce JSON and summary reports.
Why use it?
It separates real dependency changes from the noisy formatting changes often found in lock files. This makes dependency updates easier to review in pull requests and releases.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/git-pkgs/skills/diff
Any agent
npx skills add git-pkgs/skills --skill diff
Clone the repo
git clone --depth 1 https://github.com/git-pkgs/skills

Made for: Claude Code, Codex.

Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 371 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00033 $0.00371
Opus 5 $0.00016 $0.00186
Sonnet 5 $0.00007 $0.00074
Haiku 4.5 $0.00003 $0.00037

Measured yesterday against content hash d9dec419794b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

diff 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 yesterday.

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/diff/SKILL.md · 54 lines

What it actually says

Compare Dependencies

See what dependencies changed between two points in time.

Commands

Compare HEAD against working tree (like git diff):

git-pkgs diff

Compare between commits or branches:

git-pkgs diff main..feature
git-pkgs diff --from=HEAD~10
git-pkgs diff --from=v1.0.0 --to=v2.0.0

Show dependency changes in a specific commit:

git-pkgs show
git-pkgs show abc1234

Compare two manifest or lockfiles directly:

git-pkgs diff-file Gemfile.lock.old Gemfile.lock

Install a git textconv driver so plain git diff on lockfiles shows sorted dependency lists instead of raw churn:

git-pkgs diff-driver --install

Options:

  • -e ECO - filter by ecosystem
  • -t TYPE - filter by dependency type (runtime, development)
  • --kind manifest|lockfile - only compare declarations or only resolved versions
  • --stat - aggregate change counts instead of full listing
  • -f json - JSON output

When to use

  • Reviewing dependency changes in a pull request
  • Comparing dependencies between releases
  • Checking what changed after running an update
  • Understanding the dependency impact of a specific commit
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. yesterday First seen · 54 lines · 33 tokens per session scan A d9dec419794b

Subscribe to this mod's changes

diff is a skill published in the GitHub repository git-pkgs/skills (1 stars, last pushed 12d ago), licensed MIT. It adds 33 tokens to every session and 371 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.

Related

Other skills, from other repositories

supply-chain-guard

Use before installing, updating, auditing, or executing dependencies, package-manager commands, project generators, CI actions/workflows, release jobs, IDE extensions, MCP servers, or AI-agent tools. Also use when investigating suspected compromise or advisories, debugging publish or release authentication, or…

ZarK/ai-supply-chain-guard · 71 tokens

managing-dependencies

Evaluates packages, manages dependencies, and addresses supply chain security. Use when adding npm/pip/cargo/bundler/go dependencies, auditing packages, reviewing lockfile changes, checking for vulnerabilities, comparing package alternatives, or assessing package trustworthiness.

andrew/managing-dependencies · 54 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens