GR

groq-core-workflow-b

Handles non-chat tasks like Whisper transcription, Llama vision analysis, and text-to-speech with Groq.

Install

mkdir -p .claude/skills/groq-core-workflow-b && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7611" && unzip -o skill.zip -d .claude/skills/groq-core-workflow-b && rm skill.zip

Installs to .claude/skills/groq-core-workflow-b

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when you need Groq's non-chat endpoints — transcribing or translating audio with Whisper, understanding images with Llama 4 vision, generating speech (TTS), or benchmarking models for speed vs quality. Trigger with phrases like "groq whisper", "groq transcription", "groq audio", "groq vision", "groq TTS", "groq speech".
325 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Transcribe audio files using Whisper models
  • Translate audio from any language to English
  • Understand images with Llama 4 vision models
  • Generate speech from text (TTS)
  • Benchmark AI model performance for latency and throughput

How it works

The skill utilizes the `groq-sdk` to access Groq's non-chat endpoints for audio transcription and translation, image understanding, text-to-speech generation, and model benchmarking.

Inputs & outputs

You give it
Audio files, image URLs or base64 images, text for speech generation, or prompts for benchmarking
You get back
Transcription text, translated English text, natural-language answers about images, audio files, or model performance metrics

When to use groq-core-workflow-b

  • Transcribing audio files
  • Analyzing images with vision models
  • Generating text-to-speech audio
  • Benchmarking AI model performance

About this skill

Groq Core Workflow B: Audio, Vision & Speech

Overview

Beyond chat completions, Groq offers ultra-fast Whisper transcription (216x real-time), Llama 4 vision, and text-to-speech — all on the same groq-sdk client. This skill covers transcription/translation, vision, TTS, and model benchmarking, with full runnable code in references/implementation.md and worked scripts in references/examples.md.

Prerequisites

  • groq-sdk installed, GROQ_API_KEY set (the SDK reads it from the environment automatically)
  • For audio: audio files in a supported format
  • For vision: image URLs or base64-encoded images

Audio Models

Model IDLanguagesSpeedBest For
whisper-large-v3100+164x real-timeBest accuracy, multilingual
whisper-large-v3-turbo100+216x real-timeBest speed/accuracy balance

Supported audio formats: flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm

Instructions

Each workflow is a single SDK call on the shared groq client. Pick the endpoint for your task, then follow the full walkthrough in references/implementation.md for the complete, copy-pasteable version of each.

  1. Transcriptiongroq.audio.transcriptions.create({ file, model: "whisper-large-v3-turbo", response_format }). Use response_format: "verbose_json" with timestamp_granularities: ["segment"] to get per-segment start/end times.
  2. Translationgroq.audio.translations.create({ file, model: "whisper-large-v3" }) transcribes any-language audio directly to English text.
  3. Vision — a normal groq.chat.completions.create call where content is an array mixing { type: "text" } and { type: "image_url" } parts. Accepts up to 5 images (URL or data: base64) with meta-llama/llama-4-scout-17b-16e-instruct.
  4. Text-to-Speechgroq.audio.speech.create({ model: "playai-tts", input, voice, response_format }), then write Buffer.from(await response.arrayBuffer()) to a file.
  5. Benchmarking — loop a prompt across several chat models and time each call to compare latency and tokens/sec (see references/examples.md).

Minimal transcription skeleton:

import Groq from "groq-sdk";
import fs from "fs";

const groq = new Groq();

async function transcribe(filePath: string): Promise<string> {
  const transcription = await groq.audio.transcriptions.create({
    file: fs.createReadStream(filePath),
    model: "whisper-large-v3-turbo",
    response_format: "json",
  });
  return transcription.text;
}

Output

  • Transcription/translation: a transcription.text string. With verbose_json, a segments[] array where each segment has start, end, and text.
  • Vision: the assistant reply at completion.choices[0].message.content (a natural-language answer about the image(s)).
  • Text-to-Speech: an audio response you convert to a Buffer and write to disk (wav, mp3, flac, opus, or aac).
  • Benchmarking: one console line per model — latency in ms, throughput in tok/s, and total tokens.

Vision Model Limits

  • Maximum 5 images per request
  • Supported formats: JPEG, PNG, GIF, WebP
  • Images fetched from URL or embedded as base64
  • Vision models also support tool use, JSON mode, and streaming

Error Handling

ErrorCauseSolution
Invalid file formatUnsupported audio typeConvert to mp3/wav/flac first
File too largeAudio exceeds 25MBSplit into smaller chunks
model_not_foundVision model ID wrongUse full path: meta-llama/llama-4-scout-17b-16e-instruct
max_images_exceeded>5 images in requestReduce to 5 or fewer images
429 on WhisperAudio RPM limit hitQueue transcription requests

Examples

Complete, runnable scripts live in references/examples.md:

  • Python transcription with timestamps — transcribe a local MP3 and print each segment with its start/end time.
  • Model benchmarking — run one prompt across llama-3.1-8b-instant, llama-3.3-70b-versatile, and llama-3.3-70b-specdec and print latency + throughput per model.

Quick vision example (analyze one image by URL):

const completion = await groq.chat.completions.create({
  model: "meta-llama/llama-4-scout-17b-16e-instruct",
  messages: [{
    role: "user",
    content: [
      { type: "text", text: "What is in this image?" },
      { type: "image_url", image_url: { url: imageUrl } },
    ],
  }],
  max_tokens: 1024,
});
console.log(completion.choices[0].message.content);

Resources

Next Steps

For common errors and troubleshooting patterns across all Groq workflows, see the groq-common-errors skill. For chat completions, streaming, tool use, and JSON mode, see groq-core-workflow-a.

When not to use it

  • When audio files are in an unsupported format
  • When audio files exceed 25MB
  • When more than 5 images are included in a vision request

Prerequisites

`groq-sdk` installed, `GROQ_API_KEY` setFor audio: audio files in a supported formatFor vision: image URLs or base64-encoded images

Limitations

  • Audio files must be in supported formats (flac, mp3, mp4, mpeg, mpga, m4a, ogg, wav, webm)
  • Audio files cannot exceed 25MB
  • Vision requests are limited to a maximum of 5 images

How it compares

This skill focuses on Groq's specialized AI capabilities beyond chat, offering ultra-fast audio processing, vision analysis, and speech synthesis, which differs from general-purpose AI interactions.

Compared to similar skills

groq-core-workflow-b side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
groq-core-workflow-b (this skill)126dReviewIntermediate
opencode-cli147moReviewAdvanced
robotics-code-generator147moNo flagsAdvanced
modal57moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

You might also like

opencode-cli

SpillwaveSolutions

This skill should be used when configuring or using the OpenCode CLI for headless LLM automation. Use when the user asks to "configure opencode", "use opencode cli", "set up opencode", "opencode run command", "opencode model selection", "opencode providers", "opencode vertex ai", "opencode mcp servers", "opencode ollama", "opencode local models", "opencode deepseek", "opencode kimi", "opencode mistral", "fallback cli tool", or "headless llm cli". Covers command syntax, provider configuration, Vertex AI setup, MCP servers, local models, cloud providers, and subprocess integration patterns.

14174

robotics-code-generator

HumaizaNaz

Generates clean, runnable ROS 2, Gazebo, Isaac Sim, and VLA code for humanoid robotics

1490

modal

davila7

Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.

587

hugging-face-cli

patchy631

Execute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create repos, manage local cache, or run compute jobs on HF infrastructure. Covers authentication, file transfers, repository creation, cache operations, and cloud compute.

350

computer-use-agents

davila7

Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text. Covers Anthropic's Computer Use, OpenAI's Operator/CUA, and open-source alternatives. Critical focus on sandboxing, security, and handling the unique challenges of vision-based control. Use when: computer use, desktop automation agent, screen control AI, vision-based agent, GUI automation.

1040

machine-learning-ops-ml-pipeline

sickn33

Design and implement a complete ML pipeline for: $ARGUMENTS

436

Search skills

Search the agent skills registry