tool-version-upgrade

A release-upgrade workflow for pinned versions of the GitHub CLI, Bicep CLI, and GitHub Actions in an azd codebase. It updates the version references after checking the latest upstream release.

In plain words
What is it for?
Use it to upgrade supported command-line tools or GitHub Actions, confirm the requested release, update the relevant files, and prepare the repository changes.
Why use it?
It keeps dependency upgrades consistent across source files and automation workflows instead of relying on manual edits. It also records the work through a tracking issue and pull request.

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/azure/azure-dev/tool-version-upgrade
Any agent
npx skills add Azure/azure-dev --skill tool-version-upgrade
Clone the repo
git clone --depth 1 https://github.com/Azure/azure-dev

Made for: Claude Code, Codex.

Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,492 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00157 $0.05492
Opus 5 $0.00078 $0.02746
Sonnet 5 $0.00031 $0.01098
Haiku 4.5 $0.00016 $0.00549

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

Security

Grade B, and why

tool-version-upgrade scanned grade B with 2 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 2d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo curl -o $(which bicep) -L https://github.com/Azure/bicep/releases/download/v{new_version}/bicep-linux-x64

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

sudo curl -o $(which bicep) -L https://github.com/Azure/bicep/releases/download/v{new_version}/bicep-linux-x64
.github/skills/tool-version-upgrade/SKILL.md · 609 lines

How it starts

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

tool-version-upgrade

WORKFLOW SKILL — Upgrades a bundled CLI tool version in azd to the latest upstream release.

INVOKES: GitHub MCP tools, gh CLI, git CLI, go build, ask_user.

Supported Tools

Parameter GitHub CLI Bicep CLI GitHub Actions (workflows)
Tool name GitHub CLI Bicep CLI GitHub Actions
Tool slug gh-cli bicep-cli gh-actions
Upstream repo cli/cli Azure/bicep (per-action; e.g. actions/checkout, actions/setup-node, golangci/golangci-lint-action)
Go version file cli/azd/pkg/tools/github/github.go cli/azd/pkg/tools/bicep/bicep.go n/a
Version variable var Version semver.Version = semver.MustParse("{version}") same n/a — versions are pinned per uses: line in YAML
Files to update 1 file (see below) 2 files (see below) every .github/workflows/*.yml containing an outdated uses: reference (see below)

GitHub CLI — Files to Update

Only one file:

  1. cli/azd/pkg/tools/github/github.go
    • Update the Version variable: var Version semver.Version = semver.MustParse("{new_version}")
    • Update the example comment on the download URL line if present (e.g., change the version in // example: https://github.com/cli/cli/releases/download/v{version}/gh_{version}_linux_arm64.tar.gz)

Read the full file on GitHub · 609 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 609 lines · 157 tokens per session scan B 4744103b14e4

Subscribe to this mod's changes

tool-version-upgrade is a skill published in the GitHub repository Azure/azure-dev (567 stars, last pushed 2d ago), licensed MIT. It adds 157 tokens to every session and 5,492 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

update-changelog

Update the CHANGELOG.md files of C# projects. Parameters: csroot C# SDK repository root.

Azure/azure-sdk-for-net · 25 tokens

azsdk-common-prepare-release-plan

Create, get, update, abandon, and link SDK PRs to release plan work items for Azure SDK releases. UTILITY SKILL. USE FOR: "create release plan", "get release plan", "update release plan", "update API spec in release plan", "update SDK details in release plan", "abandon release plan", "link SDK PR to plan", "namespace…

Azure/azure-sdk-for-net · 231 tokens

refresh-arm-sdk-release

WORKFLOW SKILL — Prepares Azure.ResourceManager SDK refresh pull requests in azure-sdk-for-net. WHEN: "prepare sdk refresh", "refresh Azure.ResourceManager package", "update ARM SDK from autorest tag", "refresh changelog dependencies". INVOKES: git and GitHub pull request tools for branch, commit, push, and PR…

Azure/azure-sdk-for-net · 91 tokens

azsdk-common-sdk-release

Check release readiness and trigger the release pipeline for Azure SDK packages. UTILITY SKILL. USE FOR: "release SDK", "trigger release", "check release readiness", "release pipeline", "publish package", "ship SDK". DO NOT USE FOR: SDK development, code generation, pipeline debugging, release plan creation. INVOKES…

Azure/azure-sdk-for-net · 85 tokens

final-release-review

Perform pre-release planning or a final release-candidate review for openai-agents-python by comparing the target with the previous remote tag, determining the minimum compatible release type, auditing regressions and contract changes, reviewing open documentation PR coverage, drafting minor-release Key Changes, and…

openai/openai-agents-python · 64 tokens

release-candidate-prep

Preflight and prepare an OpenAI Agents Python release candidate in a dedicated worktree from exact origin/main, gate readiness before branch creation, freeze the released API contract, create or replace the local release branch with one release commit, enforce final release review as a checker, and produce…

openai/openai-agents-python · 87 tokens