Dev & Engineering ✓ Microsoft · Official

Anthropic SDK Upgrade Assistant

Upgrade Anthropic SDK packages methodically while checking API changes, compilation, and Claude-focused tests.

43/ 100
Not recommended

Current benefit does not outweigh risk or uncertainty.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 194k
Last updated
11d ago
License
MIT
anthropic-sdksdk-migrationdependency-upgradestypescript
+2api-compatibilitynpm

What does this skill do, and when should you use it?

This skill is for developers upgrading @anthropic-ai/sdk or @anthropic-ai/claude-agent-sdk. It starts by checking installed versions and release notes, then consolidates version changes and inspects the public type surface. After installation, it guides compilation and Claude-related unit tests, followed by documentation and commit updates when needed. Its instructions are tailored to the Claude agent implementation in the vscode-copilot-chat project, making it a fit for controlled SDK migrations rather than a general dependency updater.

Reads current SDK versions from package.json and reviews the two Anthropic SDK release pages; organizes release changes into features, bug fixes, and breaking changes; updates both packages with npm install; snapshots .d.ts files into /tmp/anthropic-sdk-old before installation and uses diff afterward to identify new exports, parameters, signature changes, removals or renames, and deprecations; uses grep to cross-reference affected APIs with Claude agent code; runs npm run compile and Claude-related unit tests; and guides documentation updates, temporary-file cleanup, and a detailed upgrade commit message.

Good fit
  • A vscode-copilot-chat maintainer is moving @anthropic-ai/sdk to a newer release and needs a review of breaking API changes.
  • A team using Claude Agent SDK needs to migrate between versions and consolidate all intervening release notes by category.
  • An engineer is facing type errors after an SDK upgrade and needs to inspect exports, interfaces, signatures, and declaration-file changes.
  • A reviewer needs to assess whether an SDK update affects session handling, message streaming, tools, hooks, or permission handlers.
  • A project maintainer needs a post-upgrade compile and Claude test pass together with a commit message documenting versions and migration work.

How do you install this skill?

Before you use it
  • Upgrading to “latest” may introduce unassessed breaking changes; define the target version and obtain confirmation before changes or commits.
  • npm install and GitHub release-note review depend on external services; record resolved versions, lockfile changes, and recovery steps.
  • Confirm ownership of /tmp/anthropic-sdk-old before rm -rf and prefer a recoverable cleanup approach.
  • The skill does not explain whether sensitive source, environment variables, or SDK request data are sent to external services.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • npm

The skill is located at extensions/copilot/.agents/skills/anthropic-sdk-upgrader/SKILL.md in the microsoft/vscode repository. The supplied material does not document a standalone installation command for other clients; it is one of 61 skills bundled in the repository. If the repository is available locally, read the SKILL.md at that path.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/vscode.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/extensions/copilot/.agents/skills/anthropic-sdk-upgrader" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Upgrade the Anthropic SDK to the latest version
  • Help me migrate to the latest claude-agent-sdk.

In a client that supports Agent Skills, make a request such as “Upgrade the Anthropic SDK to the latest version” or “Help me migrate to the latest claude-agent-sdk.” The documented workflow then operates around vscode-copilot-chat: inspect versions and release notes, run npm install, compare declaration files, check affected usage, and run npm run compile plus npm run test:unit -- --testPathPattern="agents/claude". The source does not document additional configuration for running it outside that project.

What are this skill's strengths and limitations?

Pros
  • Covers version review, release-note consolidation, declaration-file diffs, usage cross-referencing, compilation, tests, and commit documentation.
  • Separates findings into Critical, Important, and Nice to Have impact levels.
  • Focuses on session, streaming, tool, hook, and permission-related Claude agent APIs.
  • Provides concrete shell commands for creating a pre-upgrade snapshot and reviewing API-surface diffs.
Limitations
  • Its scope is limited to two Anthropic SDK packages rather than general dependency upgrades.
  • The instructions target vscode-copilot-chat and name project-specific source paths, so other projects may require adaptation.
  • No standalone installation command, automation script, or fixed SDK target version is provided.
  • The workflow requires GitHub release-note access plus shell, filesystem, npm, compilation, and test commands; the source does not document testing on other environments.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Anthropic SDK Upgrade Assistant this page ✓ Microsoft · Official 43 · Not recommended ★ 194k 11d ago MIT
Azure AI Search for TypeScript ✓ Microsoft · Official 50 · Use with care ★ 2.7k 3mo ago MIT
GitHub Copilot SDK Upgrade Assistant ✓ Microsoft · Official 28 · Not recommended ★ 194k 11d ago MIT
Vibeyard: Add npm Dependency Skill 55 · Use with care ★ 1.4k 1mo ago MIT
Stable Interface Design 50 · Use with care ★ 107k 12d ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Not recommended
43/ 100 5-point scale 2.2 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust11 / 25 · 2.2/5

The skill identifies the Anthropic SDK packages and describes the upgrade workflow, with no evidence of malware, credential theft, or covert exfiltration. However, it instructs the agent to run npm install, modify code, remove a fixed temporary directory, and create a commit without requiring user confirmation or documenting data flows, rollback, or recovery after failure, so points are deducted.

2Reliability7 / 20 · 1.8/5

The workflow covers version review, type diffs, compilation, tests, and documentation, and the repository contains related CI and version-sync tests. However, the skill itself has no executable tests, assumes specific paths and files, uses an unspecified latest version, and lacks handling or diagnostic feedback for invalid input, network failures, and command failures; the static ceiling therefore applies.

3Adaptability8 / 15 · 2.7/5

Triggers, audience, and Anthropic SDK upgrade scenarios are clearly stated with several examples. Boundaries for non-fit cases, target-version constraints, permission scope, and Chinese-language guidance are absent, and GitHub release-note reachability from mainland China is not addressed, so the score is moderate.

4Convention8 / 15 · 2.7/5

The skill has a readable stepwise structure with package descriptions, an output format, troubleshooting guidance, command examples, and limitation hints. Repository evidence supplies an MIT license, Microsoft provenance, and maintenance signals, but the skill lacks its own version, changelog, explicit maintainer responsibility, or clear update path; prerequisites and rollback guidance are also incomplete.

5Effectiveness6 / 15 · 2.0/5

The process could support SDK upgrades, API-difference analysis, compilation repair, and test verification, with a relatively clear report format. However, the target version is unspecified, the default is effectively latest, the process depends on external release notes, and it requires committing changes; outcomes still need human review, so static evidence supports only a limited score.

6Verifiability3 / 10 · 1.5/5

The supplied repository files provide dependency versions, relevant source paths, test commands, and limited CI evidence. There is no skill-specific test, execution record, or completed upgrade result, and no commands were executed in this review, so the key path is not independently reproducible.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does the skill choose and install a fixed SDK version automatically?
No. It requires checking the current versions and release notes, and it documents npm install @anthropic-ai/claude-agent-sdk @anthropic-ai/sdk for updating to the latest versions. No fixed target version is specified.
Why snapshot the .d.ts files before upgrading?
The snapshot enables a comparison between old and new type definitions, exposing new parameters, exports, signature changes, removals, and deprecations that may not produce compilation errors.
Can it upgrade any JavaScript or TypeScript dependency?
That is not supported by the supplied evidence. The instructions explicitly target @anthropic-ai/claude-agent-sdk and @anthropic-ai/sdk and are organized around Claude agent code in vscode-copilot-chat.
What does it check when an upgrade fails?
The workflow includes compilation checks, Claude-related unit tests, and troubleshooting guidance for type errors, session loading, hook registration, and tool execution failures.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

GitHub Copilot SDK Upgrade Assistant

Upgrade and validate @github/copilot in the VS Code Copilot Chat project.

★ 194k FS 28 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

★ 194k FS 63 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

★ 194k FS 59 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

Run VS Code repository unit tests by file, test name, or compiled-output glob.

★ 194k FS 55 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Chat Customizations Editor Skill

Guides developers through safe changes and testing for VS Code’s chat customization management UI.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Memory Leak Audit

Systematically find and fix listener, lifecycle, and disposable leaks in VS Code code.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Run Command Builder

Configure and update commands shown in a VS Code Agent Session's Run button.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Hygiene Checks

Catch VS Code commit-blocking style and hygiene issues before the work is declared complete.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Failure Diagnosis

Diagnose and validate intermittent VS Code Electron smoke-test failures in Azure DevOps.

★ 194k FS 45 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

V8 Heap Snapshot Analyzer

Trace V8 heap retention paths to diagnose leaks and GC-surviving objects.

★ 194k FS 40 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Context7 Project Bootstrapper

Build a complete VS Code project scaffold using current library documentation.

★ 194k FS 36 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Agents Window Sessions

Safely implement and repair VS Code Agents window features.

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Agent Host Log Investigator

Trace session, transport, and host failures in Agent Host debug exports.

★ 194k FS 55 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Component Fixtures for Screenshot Testing

Create stable, theme-aware VS Code component fixtures for isolated screenshot testing.

★ 194k FS 53 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

A repository-specific guide for consistent OpenTelemetry instrumentation in Copilot Chat.

★ 194k FS 60 Recommended 11d ago
Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

★ 194k FS 58 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

Maintain VS Code Agent Host end-to-end tests with strict replay fixtures.

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Commit Assistant

Creates repository-style commit messages and safely commits code changes.

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

★ 194k FS 55 Use with care 11d ago

Related skills