Automated summary
Provides a five-phase runbook for triaging, mitigating, and documenting Groq API incidents, including fallback routing and postmortem steps.
Strengths
- Follows a structured five-phase flow from severity classification through postmortem
- Includes concrete curl diagnostics and kubectl log-collection commands
- Uses reference files for fallback-model routing, key rotation, and communication templates
- Produces an evidence bundle with gsk_ tokens redacted before archiving
Limitations
- Focused on Groq rather than general incident response
- Assumes GROQ_API_KEY is exported and a fallback provider is configured when needed
- Deep procedures live in references/, not in the main SKILL.md
- Some log-collection commands require kubectl access
Use when a Groq-related outage, error spike, or on-call incident needs triage and mitigation in production.
Do not use for non-Groq providers or for designing a general incident-response process.
Security analysis
CautionThe skill is a legitimate incident-response runbook with no destructive, exfiltration, or obfuscated instructions. However, it grants broad curl and kubectl access, handles a bearer API key, and archives logs, so it requires caution rather than being completely risk-free.
- •Broad allowed-tools wildcards (`Bash(kubectl:*)`, `Bash(curl:*)`) permit arbitrary network and Kubernetes commands.
- •Triage command sends `$GROQ_API_KEY` as a bearer token; safety depends on environment/secret handling.
- •Evidence bundle archives application logs and relies on `gsk_` token redaction, which may not cover other secrets or PII.
- •Referenced files are not included here, so exact mitigation and evidence-collection commands cannot be audited from this SKILL.md alone.
Examples
Groq is returning 500s on llama-3.3-70b — triage the incident and suggest a fallback model.We're getting 429s from Groq in production; walk the runbook and tell me whether to wait or reroute.Run a Groq incident postmortem: collect evidence, redact keys, and draft the timeline.name: groq-incident-runbook description: 'Execute Groq incident response: triage, mitigation, fallback, and postmortem.
Use when responding to Groq-related outages, investigating errors,
or running post-incident reviews for Groq integration failures.
Trigger with phrases like "groq incident", "groq outage",
"groq down", "groq on-call", "groq emergency", "groq broken".
' allowed-tools: Read, Bash(kubectl:), Bash(curl:) version: 1.11.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags:
- saas
- groq
- incident-response compatibility: Designed for Claude Code
Groq Incident Runbook
Overview
Rapid incident response procedures for Groq API failures. Groq is a third-party inference provider -- when it goes down, your mitigation options are: wait, fall back to a different model, or fall back to a different provider.
This SKILL.md is the high-level flow. Deep, copy-paste-ready material lives in references/:
- triage-and-diagnostics.md — severity table, the Quick Triage script, and the full decision tree.
- mitigations.md — fallback-model routing (TypeScript), 429 rate-limit actions, 401 key rotation.
- communication-and-postmortem.md — Slack/status-page templates, evidence collection, postmortem template.
Prerequisites
GROQ_API_KEYexported in the environment you run the triage commands from.curlfor API probes;kubectlonly if you collect logs from a Kubernetes deployment.- Access to console.groq.com to rotate keys or upgrade the plan.
- A configured fallback provider (e.g. OpenAI) if you need to fail away from Groq entirely.
Authentication: every Groq API call in this runbook authenticates with a bearer token — Authorization: Bearer $GROQ_API_KEY. Keep the key in a secret manager, never inline; the evidence-collection step in communication-and-postmortem.md redacts gsk_ tokens from logs before archiving.
Instructions
Work the incident in five phases. Each phase points to the reference file with the exact commands.
-
Classify severity. Match user impact to the P1–P4 table in triage-and-diagnostics.md — this sets your response-time budget (P1 < 15 min, P4 next business day).
-
Triage. Run the Quick Triage script (status reachability, auth, per-model availability, rate-limit headers). The one-line probe that starts most incidents:
curl -s -o /dev/null -w "%{http_code}\n" \ https://api.groq.com/openai/v1/models \ -H "Authorization: Bearer $GROQ_API_KEY" -
Decide. Walk the decision tree in triage-and-diagnostics.md to turn the HTTP code (timeout / 401 / 429 / 5xx / slow) into an action path.
-
Mitigate. Apply the matching fix from mitigations.md: fallback-model routing for 5xx on one model, wait-or-reroute for 429, key rotation for 401, enable the fallback provider for a Groq-wide outage.
-
Communicate & close. Post the internal alert and status-page update, then after resolution collect evidence and write the postmortem — all in communication-and-postmortem.md.
Output
Running this runbook produces:
- A triage verdict — the HTTP status per model and whether the fault is Groq-side or ours.
- An applied mitigation — traffic routed to a healthy model or provider, or a rotated key.
- A communication trail — internal alert + external status-page message.
- An evidence bundle —
groq-incident-TIMESTAMP.tar.gzcontainingmodels.jsonand redactedapp-logs.txt. - A postmortem document — timeline, root cause, and dated action items.
Error Handling
| Issue | Cause | Solution | |-------|-------|----------| | Can't reach status.groq.com | Network issue | Use mobile or different network | | All models failing | Groq-wide outage | Enable fallback provider (OpenAI, etc.) | | Key rotation fails | No admin access | Escalate to team lead with console access | | Fallback provider also down | Multi-provider outage | Degrade gracefully, show cached content |
Examples
Example — 429 on the primary model. Triage shows llama-3.3-70b-versatile: HTTP 429
while llama-3.1-8b-instant: HTTP 200. The decision tree routes "one model 429 → route to a
different model," so you switch traffic to the 8B model per
mitigations.md, post a P3 internal alert, and file an action item
to add fallback routing. The fallback-routing function lives in
mitigations.md; the alert and postmortem templates are in
communication-and-postmortem.md.
Resources
Next Steps
For data-handling and compliance procedures after an incident, see the groq-data-handling skill in this pack.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/groq-incident-runbook-mte1lieu/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/groq-incident-runbook-mte1lieu' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/groq-incident-runbook-mte1lieu/download' --output '.skill-downloads/groq-incident-runbook-mte1lieu/SKILL.md.part' && mv '.skill-downloads/groq-incident-runbook-mte1lieu/SKILL.md.part' '.skill-downloads/groq-incident-runbook-mte1lieu/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Environment declared by the author: Designed for Claude Code
Tools declared by the author (check availability in your agent): Read, Bash(kubectl:*), Bash(curl:*)
Original excerpt: Prerequisites
GROQ_API_KEYexported in the environment you run the triage commands from.curlfor API probes;kubectlonly if you collect logs from a Kubernetes deployment.- Access to console.groq.com to rotate keys or upgrade the plan.
- A configured fallback provider (e.g. OpenAI) if you need to fail away from Groq entirely.
Authentication: every Groq API call in this runbook authenticates with a bearer token — Authorization: Bearer $GROQ_API_KEY. Keep the key in a secret manager, never inline; the evidence-collection step in communication-and-postmortem.md redacts gsk_ tokens from logs before archiving.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/groq-incident-runbook-mte1lieu/SKILL.md' && test -s '.skill-downloads/groq-incident-runbook-mte1lieu/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/groq-incident-runbook' && cp -R '.skill-downloads/groq-incident-runbook-mte1lieu' '.claude/skills/groq-incident-runbook'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/groq-incident-runbook-mte1lieu'openskills read 'groq-incident-runbook-mte1lieu'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/groq-incident-runbook-mte1lieu/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Configure a Chat Channel with SecretRefs
DevOps
Set up chat channels using non-interactive commands, with secrets only as SecretRefs. Covers gather, mutate, repair, and prove steps for reliable delivery.
Investigate ClickHouse CI Failures
DevOps
Investigate a ClickHouse CI failure end-to-end from a PR or S3 report URL. Fetches failed tests, classifies flaky vs real regression, and checks for existing issues/fixes.
Ansible PR Review
DevOps
Reviews an Ansible PR following the project's standardized process, including changelog checks, test coverage validation, and feedback tracking.