Agent skill · Audited from source
Groq Migration Deep Dive
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Use when you are moving a codebase off OpenAI, Anthropic, or another LLM provider onto Groq (or between Groq model generations) and want a zero-downtime, feature-flagged cutover with a benchmark and rollback plan.…
Cite
Cite this page
ModelsAtlas. “Groq Migration Deep Dive (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/groq-migration-deep-dive
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/groq-pack/skills/groq-migration-deep-diveThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Use when you are moving a codebase off OpenAI, Anthropic, or another LLM provider onto Groq (or between Groq model generations) and want a zero-downtime, feature-flagged cutover with a benchmark and rollback plan.…
--- name: groq-migration-deep-dive description: | Use when you are moving a codebase off OpenAI, Anthropic, or another LLM provider onto Groq (or between Groq model generations) and want a zero-downtime, feature-flagged cutover with a benchmark and rollback plan. Trigger with phrases like "migrate to groq", "switch to groq", "groq migration", "openai to groq", "groq replatform". allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(node:*), Bash(kubectl:*) version: 1.11.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - groq - migration compatibility: Designed for Claude Code --- # Groq Migration Deep Dive ## Current State !`npm list groq-sdk openai @anthropic-ai/sdk 2>/dev/null | grep -E "groq|openai|anthropic" || echo 'No LLM SDKs found'` ## Overview Migrate to Groq from OpenAI, Anthropic, or other LLM providers. Groq's OpenAI-compatible API makes migration straightforward — the primary changes are a different SDK import, different model IDs, and different response metadata. The reward is 10-50x faster inference. The safe path is a provider-abstraction layer plus feature-flagged traffic shifting: route a small canary to Groq, benchmark quality and speed, ramp to 100%, and keep a one-flag rollback the whole way. ## Migration Complexity | Source | Complexity | Key Changes | |--------|-----------|-------------| | OpenAI | Low | Import, model IDs, base URL — API shape is identical | | Anthropic | Medium | Different API shape, message format, streaming protocol | | Local LLMs | Medium | Remove infra, add API calls | | Other cloud (Bedrock, Vertex) | Medium | Remove cloud SDK, add groq-sdk | ## Prerequisites - A Groq API key (`GROQ_API_KEY`) from [console.groq.com](https://console.groq.com). - `groq-sdk` installed: `npm install groq-sdk`. - A feature-flag mechanism (LaunchDarkly, env var, config service) exposing a `groq_migration_pct` value for gradual traffic shifting. - The existing provider's key still available (`OPENAI_API_KEY` or equivalent) so you can run both providers side-by-side during the cutover. - Node `>=18` if you use the `performance.now()` benchmark helper. ## Instructions Steps 1-2 below are the essential skeleton — the two changes every migration needs. Steps 3-7 (the provider abstraction, traffic shifting, scanner, benchmark, and full compatibility matrix) are moved verbatim into the reference files linked under Examples so this file stays scannable. ### Step 1: OpenAI to Groq Migration The minimal change: swap the SDK import, client, and model ID. The response shape is identical, so downstream code (`result.choices[0].message.content`) is untouched. ```typescript // BEFORE: OpenAI import OpenAI from "openai"; const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY }); const result = await openai.chat.completions.create({ model: "gpt-4o-mini", messages: [{ role: "user", content: "Hello" }], }); // AFTER: Groq (minimal changes) import Groq from "groq-sdk"; const groq = new Groq({ apiKey: process.env.GROQ_API_KEY }); const result = await groq.chat.completions.create({ model: "llama-3.3-70b-versatile", // or "llama-3.1-8b-instant" messages: [{ role: "user", content: "Hello" }], }); // Same response shape: result.choices[0].message.content ``` ### Step 2: Model ID Mapping Centralize the OpenAI/Anthropic → Groq translation so a single map drives the whole codebase and unknown models fall back to a safe default. ```typescript // OpenAI → Groq model equivalents const MODEL_MAP: Record<string, string> = { // OpenAI → Groq (quality equivalent) "gpt-4o": "llama-3.3-70b-versatile", "gpt-4o-mini": "llama-3.1-8b-instant", "gpt-4-turbo": "llama-3.3-70b-versatile", "gpt-3.5-turbo": "llama-3.1-8b-instant", // Anthropic → Groq (approximate) "claude-3-5-sonnet": "llama-3.3-70b-versatile", "claude-3-haiku": "llama-3.1-8b-instant", }; function migrateModelId(model: string): string { return MODEL_MAP[model] || "llama-3.3-70b-versatile"; } ``` ### Steps 3-7: Zero-Downtime Rollout Once Steps 1-2 compile, wrap both providers in a common interface and shift traffic gradually. The full code lives in the references: - **Step 3 — Provider abstraction layer** and **Step 4 — feature-flag traffic shifting**: [references/implementation.md](references/implementation.md). - **Step 5 — automated migration scanner** (sizes the migration before you start) and the **rollback plan**: [references/implementation.md](references/implementation.md). - **Step 6 — comparison benchmark** and **Step 7 — the OpenAI↔Groq compatibility matrix**: [references/examples.md](references/examples.md). ## Output Running this skill's workflow produces: - A migration assessment printout from the scanner (Step 5): OpenAI import count, the distinct `gpt-*` model IDs in use, any OpenAI-only features (embeddings/images/fine-tuning) that block a clean cutover, and the number of API-key references to update. - A provider-agnostic `LLMProvider` layer with `GroqProvider` and `OpenAIProvider` implementations both live behind one `getProvider()` call. - A benchmark table per prompt: Groq vs OpenAI latency in ms, token counts, and the measured speedup factor. - A `groq_migration_pct` feature flag driving the canary → 100% ramp, with a one-flag rollback to 0%. ## Error Handling | Issue | Cause | Solution | |-------|-------|----------| | Quality regression | Different model strengths | Tune system prompts for Llama models | | Missing features | Groq doesn't have embeddings/images | Keep OpenAI for those features | | Rate limits | Different limits than OpenAI | Configure per-model rate limits | | Cost increase | Different pricing structure | Route simple tasks to 8B model | ## Examples - **Full provider abstraction + traffic shifting + scanner + rollback**: [references/implementation.md](references/implementation.md) — the complete Step 3-5 code plus the rollback procedure. - **Benchmark harness + com
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/groq-migration-deep-dive/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/groq-migration-deep-dive/)
<a href="https://modelsatlas.com/skills/jeremylongshore/groq-migration-deep-dive/"><img src="https://modelsatlas.com/skills/jeremylongshore/groq-migration-deep-dive/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Groq Migration Deep Dive
What does the Groq Migration Deep Dive skill do?
Is Groq Migration Deep Dive safe to install?
What can Groq Migration Deep Dive access on my machine?
Which assistants does Groq Migration Deep Dive work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Groq Migration Deep Dive skill do?
- Is Groq Migration Deep Dive safe to install?
- What can Groq Migration Deep Dive access on my machine?