ai-agents plugin-version-bump.instructions.md

ai-agents plugin-version-bump.instructions.md is an instructions file for GitHub Copilot from rjmurillo/ai-agents. It costs 764 tokens per session, scanned A, original, MIT.

Repository instructions explaining how plugin version information is resolved and why these plugin manifests must not contain a version field.

In plain words
What is it for?
Checking plugin manifests and marketplace files during changes to plugin packaging and release workflows.
Why use it?
They prevent contributors from adding version numbers that would stop freshness from following each Git commit and cause validation failures.

Instructions file for GitHub Copilot

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 instructions/rjmurillo/ai-agents/plugin-version-bump
Clone the repo
git clone --depth 1 https://github.com/rjmurillo/ai-agents

Made for: GitHub Copilot.

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 ai-agents plugin-version-bump.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rjmurillo/ai-agents/plugin-version-bump.svg)](https://agentmods.dev/instructions/rjmurillo/ai-agents/plugin-version-bump)
Your own site
<a href="https://agentmods.dev/instructions/rjmurillo/ai-agents/plugin-version-bump"><img src="https://agentmods.dev/badge/instructions/rjmurillo/ai-agents/plugin-version-bump.svg" alt="Measured on agentmods" height="20"></a>
Per session 764 This file is loaded in full into every session.
When invoked 764 The same file — it is already loaded in full.
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.00764 $0.00764
Opus 5 $0.00382 $0.00382
Sonnet 5 $0.00153 $0.00153
Haiku 4.5 $0.00076 $0.00076

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

Security

Grade A, and why

ai-agents plugin-version-bump.instructions.md 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.

.github/instructions/plugin-version-bump.instructions.md · 76 lines

How it starts

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

Plugin Manifests Carry No Version

None of the three packaged plugin manifests carries a version field, and a PR must never add one back:

  • .claude/.claude-plugin/plugin.json
  • src/copilot-cli/.claude-plugin/plugin.json
  • src/claude/.claude-plugin/plugin.json

build/scripts/validate_plugin_version_bump.py fails with exit 1 when any of them carries the key. The two marketplace files (.claude-plugin/marketplace.json, .github/plugin/marketplace.json) must stay version-free for the same reason; a test in tests/build_scripts/test_validate_plugin_version_bump.py fails if a version appears in either.

Why

Claude Code resolves plugin freshness from the first of these that is set: plugin.json version, then the marketplace entry version, then the git commit SHA of the plugin's source for relative-path sources in a git-hosted marketplace. All three plugins here ship from relative-path sources, so with the field absent every plugin resolves to the commit SHA, which changes on every merge. That is per-commit freshness with no human step.

Adding the field back does two bad things at once. It switches Claude Code to the explicit-version path, where pushing new commits without bumping the field has no effect. And it re-creates a single line that every plugin-source PR has to write, so any two such PRs conflict pairwise: issue #4080 measured 14 of 22 conflicting PRs conflicting on nothing but that line, and merging #4077 immediately re-conflicted the next four green PRs.

GitHub Copilot CLI lists version under optional metadata, with name as the only required field, and its shipped update path calls updatePlugin unconditionally.

See ADR-092, which supersedes ADR-079.

What a PR does now

Nothing. Do not touch the manifests when you change plugin content. There is no bump, no parity pairing, and no rebase recipe, because there is no version line to collide on.

If you are rebasing an older branch that still carries a bump hunk, you will hit a conflict on the version line exactly once: git reports CONFLICT (content) with the incoming side empty. Take the empty side. The gate enforces it: keeping the line leaves a manifest carrying version, and the gate fails that on your branch before merge.

Read the full file on GitHub · 76 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. yesterday First seen · 76 lines · 764 tokens per session scan A cd81f5c763c7

Subscribe to this mod's changes

ai-agents plugin-version-bump.instructions.md is an instructions file published in the GitHub repository rjmurillo/ai-agents (45 stars, last pushed today), licensed MIT. It adds 764 tokens to every session, about $0.0038 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-09-03.