AGENT SKILL

groq-core-workflow-a

Execute Groq primary workflow: Core Workflow A. Use when implementing primary use case, building main features, or core integration tasks. Trigger with phrases like "groq main workflow", "primary task with groq".

License 许可
MIT
最近更新
2026-05-26
Stars
★ 0
Forks
0

01 前言 Front Matter

name
groq-core-workflow-a
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
version
1.0.0
description
Execute Groq primary workflow: Core Workflow A. Use when implementing primary use case, building main features, or core integration tasks. Trigger with phrases like "groq main workflow", "primary task with groq".
allowed-tools
Read, Write, Edit, Bash(npm:*), Grep
compatible-with
claude-code, codex, openclaw

03 SKILL.md 正文

Groq Core Workflow A

Overview

Primary money-path workflow for Groq. This is the most common use case. Groq provides ultra-low-latency LLM inference using custom LPU (Language Processing Unit) hardware, enabling token generation speeds that are significantly faster than GPU-based providers. This makes Groq the right choice for latency-sensitive applications such as real-time chat interfaces, voice assistants, and streaming analysis pipelines where response time directly impacts user experience.

Prerequisites

  • Completed groq-install-auth setup
  • Understanding of Groq core concepts
  • Valid API credentials configured

Instructions

Step 1: Initialize

Authenticate with the Groq API and select the target model from the available options (LLaMA, Mixtral, Gemma, or others available on the platform). Configure your default request parameters including temperature, max tokens, and stop sequences. Verify the model is available in your region and that your rate limits accommodate your expected request volume.

// Step 1 implementation

Step 2: Execute

Submit the chat completion or text completion request to Groq. Because of the LPU architecture, first-token latency is exceptionally low, so the streaming experience feels near-instant for end users. Monitor the token-per-second rate in the response metadata to confirm the performance profile matches expectations for your use case.

// Step 2 implementation

Step 3: Finalize

Handle the streamed or buffered response appropriately for your application. For interactive use cases, render tokens as they arrive. For batch processing, accumulate the full response before writing results. Log model ID, token usage, and latency metrics for cost attribution and capacity planning.

// Step 3 implementation

Output

  • Completed Core Workflow A execution
  • Generated text or chat completion response from the selected Groq model
  • Token usage statistics and measured latency
  • Success confirmation or error details if the request failed

Error Handling

Error Cause Solution
Error 1 Cause Solution
Error 2 Cause Solution

Examples

Complete Workflow

// Complete workflow example

Common Variations

  • Variation 1: Description
  • Variation 2: Description

Resources

Next Steps

For secondary workflow, see groq-core-workflow-b.

04 同仓库更多 Skills

SamuelChien
SamuelChien/mega-skills-collection

zustand-store-ts

Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zustand-store-creator

Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zero-trust-config-helper

Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zapier-integration-helper

Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

zai-cli

Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.

★ 0
SamuelChien
SamuelChien/mega-skills-collection

yt-research

Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.

★ 0