GR

groq-incident-runbook

Provides procedures for responding to Groq API failures, including triage, fallback model routing, and error diagnostics.

Install

mkdir -p .claude/skills/groq-incident-runbook && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3399" && unzip -o skill.zip -d .claude/skills/groq-incident-runbook && rm skill.zip

Installs to .claude/skills/groq-incident-runbook

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.

Execute Groq incident response: triage, mitigation, fallback, and postmortem.
77 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Classify Groq incident severity
  • Triage Groq API failures with a quick script
  • Decide on mitigation actions based on HTTP codes
  • Apply fixes for rate limits, authentication, or model failures
  • Communicate incident status and conduct post-mortems

How it works

The skill guides users through classifying incident severity, running a quick triage script, using a decision tree to determine actions, applying mitigations, and then communicating and documenting the incident.

Inputs & outputs

You give it
Groq API failure, HTTP status codes, error messages
You get back
Triage verdict, applied mitigation, communication trail, evidence bundle, postmortem document

When to use groq-incident-runbook

  • Diagnosing Groq 5xx or rate-limit errors
  • Implementing fallback logic to secondary AI providers
  • Automating health checks for API availability
  • Generating post-incident documentation

About this skill

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/:

Prerequisites

  • GROQ_API_KEY exported in the environment you run the triage commands from.
  • curl for API probes; kubectl only 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.

  1. 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).

  2. 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"
    
  3. Decide. Walk the decision tree in triage-and-diagnostics.md to turn the HTTP code (timeout / 401 / 429 / 5xx / slow) into an action path.

  4. 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.

  5. 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 bundlegroq-incident-TIMESTAMP.tar.gz containing models.json and redacted app-logs.txt.
  • A postmortem document — timeline, root cause, and dated action items.

Error Handling

IssueCauseSolution
Can't reach status.groq.comNetwork issueUse mobile or different network
All models failingGroq-wide outageEnable fallback provider (OpenAI, etc.)
Key rotation failsNo admin accessEscalate to team lead with console access
Fallback provider also downMulti-provider outageDegrade 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.

When not to use it

  • When the incident is not related to Groq API failures
  • When a configured fallback provider is not available
  • When `GROQ_API_KEY` is not exported in the environment

Prerequisites

GROQ_API_KEY exported in the environmentcurl for API probesAccess to console.groq.com to rotate keys or upgrade planA configured fallback provider (e.g. OpenAI)

Limitations

  • Cannot reach status.groq.com if network issues exist
  • Key rotation requires admin access to console.groq.com
  • Fallback provider must be pre-configured

How it compares

This skill provides a structured incident response runbook specifically for Groq API failures, offering concrete steps for triage, mitigation, and post-mortem analysis.

Compared to similar skills

groq-incident-runbook side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
groq-incident-runbook (this skill)127dReviewIntermediate
analyzing-logs1427dReviewBeginner
sentry104moCautionBeginner
obsidian-incident-runbook327dReviewIntermediate

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

analyzing-logs

jeremylongshore

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

14123

sentry

openai

Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.

1048

obsidian-incident-runbook

jeremylongshore

Troubleshoot Obsidian plugin failures with systematic incident response. Use when plugins crash, data is corrupted, or users report critical issues with your Obsidian plugin. Trigger with phrases like "obsidian crash", "obsidian plugin broken", "obsidian incident", "debug obsidian failure", "obsidian emergency".

346

obsidian-observability

jeremylongshore

Set up comprehensive logging and monitoring for Obsidian plugins. Use when implementing debug logging, tracking plugin performance, or setting up error reporting for your Obsidian plugin. Trigger with phrases like "obsidian logging", "obsidian monitoring", "obsidian debug", "track obsidian plugin".

534

langsmith-observability

davila7

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

430

network-info

UKGovernmentBEIS

Gather network configuration and connectivity information including interfaces, routes, and DNS

329

Search skills

Search the agent skills registry