Skip to content
Back to skills

Groq

ASecurity

Groq chat completions on the OpenAI-compatible API — fast open-model inference — plus model listing. Trigger phrases: groq, groq chat, fast inference, gpt-oss.

  • 24 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 26, 2026
ai-agentsgobashapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill groq --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Groq?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Groq
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-groq/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-groq)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "groq"
description: "Groq chat completions on the OpenAI-compatible API — fast open-model inference — plus model listing. Trigger phrases: groq, groq chat, fast inference, gpt-oss."
metadata: { "includeInPrompt": true }
tagline: "Groq chat completions on the OpenAI-compatible API — fast open-model inference (gpt-oss, Llama, Qwen) plus model listing. Read-only inference."
catalog_auth: "API key (per-user) via the secure credential flow"
catalog_hosts: ["api.groq.com"]
---

# Groq

## Purpose
Run chat completions on Groq's OpenAI-compatible API — very fast inference for open models — and list the models the key can access. Use when the user asks for Groq, needs a fast/cheap completion lane, or wants a model-routing fallback.

Source: Groq API documentation (console.groq.com/docs), checked 2026-10-19.

## Tooling
All commands go through `bin/groq_call.py`:

```bash
bin/groq_call.py auth                                        # status check: verify the credential answers
bin/groq_call.py models                                      # list available model ids
bin/groq_call.py chat --model openai/gpt-oss-20b --prompt "..." [--system "..."] [--max-tokens N] [--temperature T]
```

## Auth
- Provider id: `groq` (credential is collected as `custom.groq`)
- Collection: API key from console.groq.com/keys, via the secure credential flow (`credentials.request_api_access`)
- Connect placement: bearer_header
- Allowed hosts: `api.groq.com`
- Status check: `bin/groq_call.py auth` (must return `"ok": true`)

## Operating Rules
1. Inference only: this connector reads the model list and runs completions; it manages nothing. A chat call consumes the key's rate limits/usage — that is its purpose.
2. Groq retires model ids without much ceremony (for example `llama-3.3-70b-versatile` now returns 404 `model_not_found`). Run `models` before assuming an id exists, and treat a 404 as a stale id, not an auth failure.
3. Groq sits behind Cloudflare, which blocks urllib's default User-Agent with error 1010. The CLI sends a browser User-Agent on every request; keep that header if you modify it.
4. A 401/403 is a question about the request before it is a question about the key — confirm the surrogate was attached. Never print, log, or persist the raw key; the CLI only ever handles surrogates.

## Files
- SKILL.md
- bin/groq_call.py

## Maturity
✅ Live — this is the production version from a running Muse setup: chat completions run daily as a fast classification/inference lane in a multi-provider routing pool. Live-tested 2026-10-19 (default model `openai/gpt-oss-20b` verified answering).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.