groq-core-workflow-a
Skill by jeremylongshore
Groq Core Workflow A is a Claude Code skill for building chat features with Groq's API. It covers chat completions, tool use, JSON mode and structured outputs. It is for developers adding AI features that need fast inference.
Install groq-core-workflow-a
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-core-workflow-a ~/.claude/skills/groq-core-workflow-aRun 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-core-workflow-a ~/.gemini/antigravity-cli/skills/groq-core-workflow-aAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install groq-core-workflow-a in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an assistant through Groq's primary integration patterns: chat completions, tool or function calling, JSON mode, structured outputs and multi-turn conversation. It gives a minimal chat completion skeleton using the groq-sdk package. It points to reference files that hold the full code for tool use, JSON mode, structured outputs and worked examples.
The skill recommends specific Groq models for each task, such as llama-3.3-70b-versatile for tool calling and llama-3.1-8b-instant for JSON extraction. It also lists common errors, including malformed tool arguments, non-JSON output and context length limits, with suggested fixes. The source says it is for developers building chat interfaces, function calling or other AI features on Groq's fast inference.
Written from the project's SKILL.md and checked against it.
What it can do
- Chat completionSends system and user messages to Groq and returns the reply with token usage.
- Tool useRuns a three-phase loop where the model calls tools and then answers with the results.
- JSON modeRequests JSON output by setting response_format to json_object and describing the shape.
- Structured outputsUses a JSON schema with strict mode so the reply matches the declared schema.
- Multi-turn conversationKeeps message history so each new reply has the earlier conversation as context.
What you need
- Groq API key
- Groq console account to create the key
- npm to install the groq-sdk package
- Claude Code
Try asking
- Show me how to make a Groq chat completion with a system prompt.
- Add Groq tool use so the model can call my weather function.
- Use Groq JSON mode to extract contact details from this text.
Good to know
- Tool call arguments can be malformed JSON, so parsing needs try and catch with a retry.
- JSON mode needs a JSON instruction in the system prompt or output may not be JSON.
- Long conversations can exceed the context length and need older messages trimmed.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/groq-core-workflow-a/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(npm:*)
-
SKILL.md6 KB -
references/examples.md2 KB -
references/implementation.md5 KB
Alternatives to groq-core-workflow-a
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
groq-core-workflow-a: common questions
Which Groq models does this skill recommend?
It recommends llama-3.3-70b-versatile for chat with tools and structured outputs, llama-3.1-8b-instant for JSON extraction, and a Llama 4 Scout model for vision and chat.
How does the skill avoid a tool call loop?
The source says to set tool_choice to none on the final completion so the model stops calling tools.
Where is the full code for this workflow?
The lean skill file links to reference files named implementation.md and examples.md, which hold the full copy-paste code. Audio, vision and speech workflows are in the companion groq-core-workflow-b skill.
How do I install groq-core-workflow-a?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is groq-core-workflow-a free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is groq-core-workflow-a safe to use?
It scores 80 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-core-workflow-a?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
