groq-webhooks-events
Skill by jeremylongshore
Builds event-driven patterns around Groq's inference API, including SSE streaming, batch queues, webhook processing and health monitoring. Aimed at developers who run real-time or batch LLM work on Groq.
Install groq-webhooks-events
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-webhooks-events ~/.claude/skills/groq-webhooks-eventsRun 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-webhooks-events ~/.gemini/antigravity-cli/skills/groq-webhooks-eventsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install groq-webhooks-events in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps an AI assistant build event-driven architectures around Groq's inference API. Groq does not provide native webhooks, so the skill uses its low latency to build patterns instead: real-time SSE streaming, batch processing with callbacks, queue-based pipelines, and event processors that use Groq for classification or extraction. It writes handler files with Read, Write and Edit and tests them with curl.
The SSE endpoint streams tokens to the browser as they are generated and ends with a done event. The batch pattern uses BullMQ with a rate-limited worker and posts a callback per item. The webhook processor acknowledges with 202 and classifies events in the background, and a health monitor pings each model on an interval. The source also includes a Python asyncio batch example. It is aimed at developers who build real-time or batch LLM processing on Groq.
Written from the project's SKILL.md and checked against it.
What it can do
- SSE streaming endpointStreams Groq chat tokens to the browser as text/event-stream frames.
- Batch processing with BullMQQueues prompts and processes them with a rate-limited worker that fires a callback per item.
- Webhook event processorReturns a 202 acknowledgement, then classifies the event asynchronously with Groq.
- Scheduled health monitorPings each model with a one-token request on an interval and tracks latency and tokens per second.
- Python async batchUses asyncio Semaphore and gather to process prompts concurrently without a queue.
What you need
- GROQ_API_KEY environment variable
- groq-sdk (Node) or groq (Python) installed
- Queue system such as BullMQ, Redis or SQS
- Understanding of Server-Sent Events (SSE)
Try asking
- Create an SSE endpoint that streams Groq chat tokens to the browser.
- Set up a BullMQ batch worker that sends prompts to Groq with a 25 RPM limit.
- Build a webhook handler that returns 202 and classifies events with Groq.
Good to know
- Groq does not provide native webhooks.
- Health checks can consume quota and cause 429 errors, so check frequency should be reduced.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/groq-webhooks-events/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditBash(curl:*)
-
SKILL.md7 KB -
references/examples.md2 KB -
references/implementation.md6 KB
Alternatives to groq-webhooks-events
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-webhooks-events: common questions
Does Groq support webhooks?
No. The source states Groq does not provide native webhooks, so this skill builds event patterns on top of its API.
Which models does the skill use?
The SSE example uses llama-3.3-70b-versatile. The batch, webhook and health monitor patterns use llama-3.1-8b-instant.
How does the SSE endpoint handle errors?
On failure it writes a frame with type error and the error message, then ends the response.
How do I install groq-webhooks-events?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is groq-webhooks-events free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is groq-webhooks-events 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-webhooks-events?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
