check-versions

check-versions is a skill for Claude Code, Codex from cboone/agent-harness-plugins. It costs 65 tokens per session (1,023 once invoked), scanned A, original, MIT.

A procedure for checking that plugin version numbers and marketplace metadata agree after branch changes. It finds the comparison point in Git, identifies changed plugins, and checks whether their versions were updated correctly.

In plain words
What is it for?
Use it after modifying, merging, or rebasing plugins, and before opening a pull request or releasing the collection.
Why use it?
It catches mismatched or missing version updates before a pull request or release. It also distinguishes real plugin changes from changes that do not require a version bump.

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/cboone/agent-harness-plugins/check-versions
Any agent
npx skills add cboone/agent-harness-plugins --skill check-versions
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code, Codex.

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 check-versions

README.md
[![agentmods](https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/check-versions.svg)](https://agentmods.dev/skills/cboone/agent-harness-plugins/check-versions)
Your own site
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/check-versions"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/check-versions.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,023 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.00065 $0.01023
Opus 5 $0.00032 $0.00511
Sonnet 5 $0.00013 $0.00205
Haiku 4.5 $0.00006 $0.00102

Measured 4d ago against content hash 8c8b669fd9e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

check-versions 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 4d 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.

.claude/skills/check-versions/SKILL.md · 118 lines

How it starts

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

Check Versions

Verify that plugin versions and marketplace.json are correct and consistent after changes on the current branch.

Workflow

1. Determine the Comparison Base

Detect the default branch:

gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'

Fall back to local detection if gh is unavailable:

git rev-parse --abbrev-ref origin/HEAD | sed 's@^origin/@@'

Find the merge base between the default branch and HEAD:

git merge-base < default-branch > HEAD

If HEAD equals the merge base (on the default branch or no divergent commits), compare against the state before the most recent merge instead — use the most recent merge commit's first parent as the comparison base:

git rev-parse "$(git log --merges -1 --format='%H' HEAD)^1"

2. Identify Changed Plugins

List files changed since the comparison base and group them by plugin directory:

git diff --name-only < base > ..HEAD

A file belongs to plugin foo if its path starts with plugins/foo/. For each plugin, track:

  • Content changes: files other than .claude-plugin/plugin.json that were modified, added, or deleted
  • Version file changed: whether .claude-plugin/plugin.json itself was modified

Also detect new plugins (directories at HEAD that did not exist at the base) and removed plugins (directories at the base that no longer exist).

3. Check Plugin Version Bumps

For each plugin with content changes:

  1. Read the current version from plugins/<name>/.claude-plugin/plugin.json
  2. Read the base version: git show <base>:plugins/<name>/.claude-plugin/plugin.json
  3. Compare:
    • New plugin (file absent at base) — version should be 1.0.0
    • Content files changed but version unchanged — flag as missing version bump
    • Version changed — verify the bump direction is forward, not a regression

Assess bump level (informational):

  • Wording-only or prompt changes → patch
  • New files, new capabilities → minor
  • Deleted or restructured skill/hook files → major

Read the full file on GitHub · 118 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. 4d ago First seen · 118 lines · 65 tokens per session scan A 8c8b669fd9e2

Subscribe to this mod's changes

check-versions is a skill published in the GitHub repository cboone/agent-harness-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 65 tokens to every session and 1,023 once invoked, about $0.0003 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