groq-upgrade-migration
Skill by jeremylongshore
Upgrade the groq-sdk package and move code off deprecated Groq model IDs. It is for developers who use the groq-sdk or Python groq packages with Claude Code.
Install groq-upgrade-migration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/groq-upgrade-migration ~/.claude/skills/groq-upgrade-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/groq-upgrade-migration ~/.gemini/antigravity-cli/skills/groq-upgrade-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install groq-upgrade-migration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
groq-upgrade-migration is a skill for upgrading the groq-sdk package and replacing deprecated Groq model IDs. It follows a safe path: create a branch, bump groq-sdk with npm, scan the code for deprecated model references, rewrite them, and check the live models endpoint before merging. The skill lists known deprecated models with their replacements and offers a resolver map that rewrites old IDs at runtime.
The skill includes a grep-based migration scanner that flags deprecated model IDs, old @groq/sdk imports and removed method calls. It also describes a rollback path that pins a previous groq-sdk version and reruns tests. It is aimed at developers who use the groq-sdk npm package or the Python groq package and work in Claude Code. The source says to verify model IDs against GET https://api.groq.com/openai/v1/models, since the deprecation table is a snapshot.
Written from the project's SKILL.md and checked against it.
What it can do
- Version checkReads the installed groq-sdk version and compares it with the latest npm version.
- Safe upgrade branchCreates a chore/upgrade-groq-sdk branch and installs groq-sdk@latest.
- Model resolverProvides a MODEL_MIGRATIONS map that rewrites deprecated model IDs at runtime.
- Migration scannerGreps code for deprecated model IDs, old @groq/sdk imports and removed method calls.
- Live model checkConfirms that the model IDs in use are still served by the /v1/models endpoint.
- RollbackPins the previous groq-sdk version with --save-exact and reruns tests.
What you need
- GROQ_API_KEY set in the shell or CI secret store
- A Node project using groq-sdk, or a Python project using groq
- npm, git, curl and jq on PATH
- Claude Code
Try asking
- Upgrade groq-sdk to the latest version on a new branch
- Find deprecated Groq model IDs in my src folder
- Replace mixtral-8x7b-32768 with a current Groq model
Good to know
- The deprecation table is a snapshot and may not match the live endpoint.
- Groq announces deprecations separately, so check its deprecations page for newer changes.
- Designed for Claude Code.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/groq-upgrade-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)Bash(git:*)
-
SKILL.md6 KB -
references/examples.md2 KB -
references/implementation.md4 KB
Alternatives to groq-upgrade-migration
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
groq-upgrade-migration: common questions
Which Groq models does this skill flag as deprecated?
The skill's table lists models such as mixtral-8x7b-32768, gemma2-9b-it, llama-3.1-70b-versatile, playai-tts and distil-whisper-large-v3-en, each with a replacement model.
How do I roll back after a bad upgrade?
The skill says to pin the previous version with npm install groq-sdk@0.11.0 --save-exact and rerun the tests.
How can I confirm my model IDs are current?
The source says to check the live endpoint GET https://api.groq.com/openai/v1/models, because the built-in list may be out of date.
How do I install groq-upgrade-migration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is groq-upgrade-migration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is groq-upgrade-migration safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to groq-upgrade-migration?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
