HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · STELLAR · ROBINHOOD · USDC · USDG

Semver check

Compare two semantic versions and see the structural diff — is it a major/minor/patch bump, and what changed?

When to use this pack

An agent is evaluating a dependency update or release decision and needs to know: which version is newer, what type of bump is it, and what's the structural difference? One call answers both questions.

Tools in this pack

Workflow

  1. Compare the two versions with semver — returns which is greater, the difference type (major/minor/patch), and parsed components.
  2. Show the structural difference with json-diff — wraps each version in an object and diffs them, making the changed fields visible.

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Compare versions using Agent402: (1) semver {a:"2.4.0", b:"2.10.1"} — compare. (2) json-diff {a:{version:"2.4.0"}, b:{version:"2.10.1"}} — structural diff. Return {comparison, diff}.

← All skill packs