groq
Skill13 starsChanged 27 days agoMITView on GitHub
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- phucbm/skillstheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- phucbm/skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository140 other files it gives its agents.
- algoliaSkill
- anthropic-mcpSkill
- anthropicSkill
- argo-cdSkill
- auth0Skill
- aws-bedrockSkill
- aws-dynamodbSkill
- aws-lambdaSkill
- aws-s3Skill
- azure-blob-storageSkill
- azure-openaiSkill
- better-authSkill
- better-sqlite3Skill
- biomeSkill
- braintreeSkill
- bullmqSkill
- caddySkill
- chromadbSkill
- clerkSkill
- cloudflare-d1Skill
- cloudflare-r2Skill
- cloudflareSkill
- cloudflare-workersSkill
- cloudinarySkill
- cohereSkill
- convexSkill
- datadogSkill
- deepgramSkill
- deepseekSkill
- deno-deploySkill
- digitaloceanSkill
- discordSkill
- dockerSkill
- drizzleSkill
- elevenlabsSkill
- eslintSkill
- expressSkill
- fastapiSkill
- firebaseSkill
- flySkill
- geminiSkill
- github-actionsSkill
- githubSkill
- gitSkill
- google-cloud-runSkill
- google-cloud-storageSkill
- google-maps-platformSkill
- grafanaSkill
- helmSkill
- honoSkill
- inngestSkill
- jaegerSkill
- jwtSkill
- kafkaSkill
- kubernetesSkill
- langchainSkill
- langfuseSkill
- langgraphSkill
- lemon-squeezySkill
- linearSkill
- The first 60 shown.
The file
We found no rules to list in this file: it reads as prose or reference rather than instructions.
Files
Groq API Skill
Overview
Groq delivers real-time AI inference at hundreds of tokens per second using Language Processing Units (LPUs). Ideal for conversational agents, real-time voice loops, and streaming applications.
Installation
npm install groq-sdk
pip install groqAuthentication & Setup
import Groq from 'groq-sdk';
const groq = new Groq({
apiKey: process.env.GROQ_API_KEY,
});Core API Operations
1. High-Speed Chat Completion Streaming
const stream = await groq.chat.completions.create({
model: 'llama-3.3-70b-versatile',
messages: [
{ role: 'system', content: 'You are a responsive assistant.' },
{ role: 'user', content: 'Generate a short poem about distributed systems.' },
],
stream: true,
temperature: 0.5,
max_tokens: 1024,
});
for await (const chunk of stream) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}2. JSON Mode Structured Generation
const response = await groq.chat.completions.create({
model: 'llama-3.3-70b-versatile',
messages: [
{ role: 'system', content: 'You must respond with valid JSON.' },
{ role: 'user', content: 'Extract skills: "Node.js, PostgreSQL, Redis"' },
],
response_format: { type: 'json_object' },
});
const data = JSON.parse(response.choices[0].message.content || '{}');3. Audio Transcription (Whisper LPU)
import fs from 'fs';
const transcription = await groq.audio.transcriptions.create({
file: fs.createReadStream('audio.mp3'),
model: 'whisper-large-v3-turbo',
response_format: 'verbose_json',
});
console.log(transcription.text);AI Pitfalls & Anti-Hallucination Guidelines
- Model Deprecations: Groq retires preview checkpoints frequently. Use standard aliases such as
llama-3.3-70b-versatileormixtral-8x7b-32768. - Rate Limits on Free Tier: The free tier has strict RPM/TPM limits. Implement retry queues with exponential backoff on 429 status codes.
Production Verification Checklist
- Streaming connection handled with client abort signals
- Audio files stay under the 25MB request limit
- Fallback models configured in case of provider rate-limiting
Last Verified: 2026-07-03
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

