check-sdk-updates

Solid

Check whether Claude Code, Claude Agent SDK, and Codex SDK have new versions on npm. Use when the user asks to check for SDK/CLI updates, e.g. "check sdk updates", "check claude code update", "有沒有更新", "檢查 SDK 版本".

AI & Automation 399 stars 92 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Check SDK Updates Compare the versions of `@anthropic-ai/claude-code`, `@anthropic-ai/claude-agent-sdk`, and `@openai/codex-sdk` declared in `package.json` against the latest published version on npm. ## Steps 1. Read the `dependencies` block of `package.json` and extract the current declared range for each of: - `@anthropic-ai/claude-code` - `@anthropic-ai/claude-agent-sdk` - `@openai/codex-sdk` 2. Run the following command (single Bash call) to fetch latest versions in parallel: ```bash npm view @anthropic-ai/claude-code version & \ npm view @anthropic-ai/claude-agent-sdk version & \ npm view @openai/codex-sdk version & \ wait ``` Map the three lines of output back to the three packages in the order requested. 3. For each package, compare the declared version (strip leading `^`/`~`) with the latest. Report a compact table: ``` Package Current Latest Status @anthropic-ai/claude-code 2.1.119 2.1.120 ⬆ update @anthropic-ai/claude-agent-sdk 0.2.119 0.2.119 ✓ up to date @openai/codex-sdk 0.125.0 0.126.0 ⬆ update ``` 4. **For each outdated package, analyze the gap between current and latest** so the user can decide how to implement the update. For each one: a. Get the list of versions in between with: ```bash npm view <pkg> versions --json ``` Filter to versions strictly greater than current and ≤ latest. No...

Details

Author
tony1223
Repository
tony1223/better-agent-terminal
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category