azure-sdk-for-go: Skill for Claude Code

.github/skills/upgrade-emitter-version/SKILL.md

upgrade-emitter-version is a skill for Claude Code, Codex from Azure/azure-sdk-for-go. It costs 26 tokens per session (388 once invoked), scanned A, original, MIT.

A package-upgrade procedure for a Go emitter project and its TypeSpec packages. TypeSpec is a language for describing APIs, while an emitter generates code or other outputs from those descriptions.

In plain words
What is it for?
Use it to update the dependencies in eng/emitter-package.json, regenerate emitter-package-lock.json, and commit the changes.
Why use it?
It replaces a manual upgrade sequence with a defined process for updating versions and the lock file. It also checks that package versions are exact rather than using flexible prefixes.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

This is Azure/azure-sdk-for-go's own configuration. It tells Claude Code and Codex how to work on azure-sdk-for-go 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 azure-sdk-for-go configures →

About the project

Azure SDK for Go is a collection of Go modules for using and managing Microsoft Azure services through code. Go developers use client modules to work with existing Azure resources and management modules to configure those resources. Its catalogue add-ons provide instructions and agent support for developing within the SDK repository.

Azure/azure-sdk-for-go · 1,852 stars · on GitHub · docs.microsoft.com

Reuse

Borrowing it

Nothing to install: this file belongs to Azure/azure-sdk-for-go. 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/Azure/azure-sdk-for-go/main/.github/skills/upgrade-emitter-version/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Azure/azure-sdk-for-go

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 upgrade-emitter-version

README.md
[![agentmods](https://agentmods.dev/badge/skills/azure/azure-sdk-for-go/upgrade-emitter-version/github.svg)](https://agentmods.dev/skills/azure/azure-sdk-for-go/upgrade-emitter-version)
Your own site
<a href="https://agentmods.dev/skills/azure/azure-sdk-for-go/upgrade-emitter-version"><img src="https://agentmods.dev/badge/skills/azure/azure-sdk-for-go/upgrade-emitter-version/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 upgrade-emitter-version

Your own site · 80×15
<a href="https://agentmods.dev/skills/azure/azure-sdk-for-go/upgrade-emitter-version"><img src="https://agentmods.dev/badge/skills/azure/azure-sdk-for-go/upgrade-emitter-version.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 388 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00026 $0.00388
Opus 5 $0.00013 $0.00194
Sonnet 5 $0.00005 $0.00078
Haiku 4.5 $0.00003 $0.00039

Measured 11d ago against content hash dbbb88af9cb8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

upgrade-emitter-version 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 11d 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.

.github/skills/upgrade-emitter-version/SKILL.md · 45 lines

What it actually says

Upgrade Emitter and TypeSpec Versions

Upgrade packages in eng/emitter-package.json to their latest versions.

Prerequisites

  • Node.js LTS installed
  • npm-check-updates installed globally (npm install -g npm-check-updates)
  • tsp-client installed globally (npm install -g @azure-tools/typespec-client-generator-cli)

Steps

Step 1: Change to the eng directory

Change the working directory to the eng/ folder at the repository root.

Step 2: Rename emitter-package.json to package.json

Rename emitter-package.json to package.json so that ncu can process it.

Step 3: Run ncu to upgrade packages

Run ncu -u to upgrade all packages in package.json to their latest versions.

Step 4: Ensure versions are absolute

Verify that all versions in package.json are absolute (no ~ or ^ prefixes). If any version has a ~ or ^ prefix, remove the prefix so only the version number remains.

Step 5: Rename package.json back to emitter-package.json

Rename package.json back to emitter-package.json.

Step 6: Generate the lock file

Run tsp-client generate-lock-file to update emitter-package-lock.json.

Step 7: Commit the changes

Commit both emitter-package.json and emitter-package-lock.json. Do not commit node_modules or package.json.

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. 11d ago First seen · 45 lines · 26 tokens per session scan A dbbb88af9cb8

Subscribe to this mod's changes

upgrade-emitter-version is a skill published in the GitHub repository Azure/azure-sdk-for-go (1,852 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 388 once invoked, about $0.0001 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-30.