/claude-pack:clade-upgrade-migrationfrom claude-pack
Upgrades Anthropic SDK versions and migrates between Claude model generations. Covers version checking, changelog review, model ID updates, output comparison testing, and gradual rollout via environment variables.
Ships in claude-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin claude-packUpgrade the Anthropic SDK to new versions and migrate between Claude model generations. Covers version checking, changelog review, model ID updates across the codebase, output comparison testing, and gradual rollout via environment variables.
# Check current version
npm list @claude-ai/sdk
pip show anthropic
# Upgrade to latest
npm install @claude-ai/sdk@latest
pip install --upgrade anthropic
# Check changelog for breaking changes
#
When Anthropic releases new model versions:
# Find all model references in your codebase
grep -r "claude-" --include="*.ts" --include="*.py" --include="*.json" .
// Environment-based model selection for safe rollout
const MODEL = process.env.CLAUDE_MODEL || 'claude-sonnet-4-20250514';
const message = await client.messages.create({
model: MODEL,
max_tokens: 1024,
messages,
});
| Issue | Fix |
|---|---|
| Model ID not found (404) | Update to current model ID |
| Different output format | Adjust parsing — test with real prompts |
| Higher/lower token usage | Re-evaluate max_tokens and cost estimates |
| Deprecated SDK method | Check SDK changelog for replacement |
CLAUDE_MODEL environment variable| Error | Cause | Solution |
|---|---|---|
| API Error | Check error type and status code | See clade-common-errors |
See SDK Upgrade commands, grep patterns for finding model references, environment-based model selection, and Common Migration Issues table above.
See clade-known-pitfalls for common mistakes to avoid.
Each section contains production-ready code examples. Copy and adapt them to your use case.
Integrate the patterns that match your requirements. Test each change individually.
Run your test suite to confirm the integration works correctly.
32 skills in this plugin
/clade-advanced-troubleshootingDebug complex Claude issues — inconsistent outputs, tool use failures,
Use when working with advanced-troubleshooting patterns.
streaming problems, and edge cases.
Trigger with "claude inconsistent", "anthropic advanced debug",
"claude tool use broken", "anthropic streaming issues".
/clade-architecture-variantsBuild different types of Claude-powered applications — chatbots, RAG systems,
Use when working with architecture-variants patterns.
agents, content pipelines, and code generation tools.
Trigger with "claude architecture", "anthropic rag", "build with claude",
"claude agent pattern", "anthropic app design".
/clade-ci-integrationTest and validate Claude integrations in CI/CD pipelines —
Use when working with ci-integration patterns.
GitHub Actions, mocking strategies, and cost control.
Trigger with "anthropic ci", "test claude in ci", "anthropic github actions",
"claude automated testing".
/clade-common-errorsDiagnose and fix Anthropic API errors — authentication, rate limits,
Use when working with common-errors patterns.
overloaded, context length, and content policy issues.
Trigger with "anthropic error", "claude 429", "claude overloaded",
"anthropic not working", "debug claude api".
/clade-core-workflow-aRedirect to claude-model-inference for Messages API streaming,
vision, and structured output patterns.
Use when looking for the primary Anthropic workflow.
Trigger with "anthropic workflow", "claude main workflow".
/clade-core-workflow-bRedirect to claude-embeddings-search for tool use (function calling)
and agentic loop patterns with Claude.
Use when looking for the secondary Anthropic workflow.
Trigger with "anthropic tools", "claude function calling".
Other plugins' skills for the same job