anthropic-sdk-upgrader
Skill by che-incubator
Guides an AI assistant through upgrading the @anthropic-ai/sdk and @anthropic-ai/claude-agent-sdk packages in the vscode-copilot-chat project. Aimed at developers who need to migrate SDK versions or review API changes.
Install anthropic-sdk-upgrader
Built from the published package, never by AI.
git clone --depth 1 https://github.com/che-incubator/che-code /tmp/che-code && mkdir -p ~/.claude/skills && cp -r /tmp/che-code/code/extensions/copilot/.agents/skills/anthropic-sdk-upgrader ~/.claude/skills/anthropic-sdk-upgraderRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/che-incubator/che-code /tmp/che-code && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/che-code/code/extensions/copilot/.agents/skills/anthropic-sdk-upgrader ~/.gemini/antigravity-cli/skills/anthropic-sdk-upgraderAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install anthropic-sdk-upgrader in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill sets out a step by step process for upgrading the @anthropic-ai/sdk and @anthropic-ai/claude-agent-sdk packages in the vscode-copilot-chat project. It covers checking current versions and release notes, summarizing changes by category, and ranking them by impact. It also includes a snapshot and diff procedure for the SDK type definitions, so new parameters, changed signatures, removed exports and deprecations can be found.
After the update, the process runs npm run compile, fixes type errors in listed Claude agent files, and runs the Claude agent unit tests. It then covers updating documentation and writing a detailed commit message. The skill is aimed at developers who maintain the Claude agent code in that project and need to upgrade or migrate Anthropic SDK versions.
Written from the project's SKILL.md and checked against it.
What it can do
- Version and changelog reviewChecks current package versions and the Anthropic SDK release notes on GitHub.
- Change summaryGroups release changes into features, bug fixes and breaking changes.
- Impact rankingSorts changes into critical, important and nice to have levels.
- Type definition diffCompares SDK .d.ts files from before and after npm install to find API changes.
- Usage cross-referenceSearches the codebase for uses of APIs that changed in the new version.
- Compile error fixesRuns npm run compile and lists key files to check for type errors.
- Test runRuns the Claude agent unit tests and lists common test files to check.
- Commit message draftDrafts a commit message with version changes, features, fixes and breaking changes.
What you need
- npm
- The vscode-copilot-chat project
Try asking
- Upgrade the Anthropic SDK to the latest version
- Help me migrate to the latest claude-agent-sdk
- What's the process for upgrading Anthropic packages?
Good to know
- Written for the vscode-copilot-chat project and its file paths
- The type diff snapshot must be taken before npm install
- Tests are run with a path filter for the agents/claude folder
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: code/extensions/copilot/.agents/skills/anthropic-sdk-upgrader/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to anthropic-sdk-upgrader
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
anthropic-sdk-upgrader: common questions
Which packages does this skill upgrade?
It upgrades @anthropic-ai/sdk and @anthropic-ai/claude-agent-sdk. The source describes both as the Anthropic API SDK and the Claude Agent SDK.
Why does the process take a snapshot before npm install?
The snapshot copies the current SDK type definitions so they can be diffed against the new files after npm install. The source says the snapshot must be taken before that step.
Does the skill check the code after upgrading?
Yes. It runs npm run compile to find type errors and runs the Claude agent unit tests, and the source says to fix test failures before proceeding.
How do I install anthropic-sdk-upgrader?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is anthropic-sdk-upgrader free?
The code is published under the EPL-2.0 licence. The service it connects to may have its own pricing.
Is anthropic-sdk-upgrader safe to use?
It scores 74 of 100. Grades: maintenance A, licence C, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to anthropic-sdk-upgrader?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
