agent-harness-plugins: Skill for Claude Code

.claude/skills/check-versions/SKILL.md

check-versions is a skill for Claude Code from cboone/agent-harness-plugins. It costs 65 tokens per session (945 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 Code

Written for Claude Code: installed under .claude/. Also seen: mentions .claude-plugin; mentions Codex.

This is cboone/agent-harness-plugins's own configuration. It tells Claude Code how to work on agent-harness-plugins itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-harness-plugins configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cboone/agent-harness-plugins. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cboone/agent-harness-plugins/main/.claude/skills/check-versions/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code.

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/github.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/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 check-versions

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 945 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.00065 $0.00945
Opus 5.5 $0.00026 $0.00378
Sonnet 5.5 $0.00013 $0.00189
Haiku 4.5 $0.00006 $0.00094

Measured 1mo ago against content hash 32935f71b4eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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 · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 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. If .codex-plugin/plugin.json exists, verify its current version matches the Claude manifest. For an existing Codex manifest at the base, also verify it matches the base Claude manifest before comparing bump direction.
  4. 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

Read the full file on GitHub · 117 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. 1mo ago Changed · -1 lines 32935f71b4eb
  2. 1mo ago Changed c0589ead04ce
  3. 1mo 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 today), licensed MIT. It adds 65 tokens to every session and 945 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

Other skills, from other repositories