Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 80
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-events

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install groq-webhooks-events in Claude Code

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 →

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.

groq-webhooks-events Install

Add to stack

Loading.