Runbook d'incident Groq

VérifiéPrudence

Exécuter la réponse aux incidents Groq : triage, atténuation, repli et postmortem. Utiliser lors de pannes ou erreurs de l'intégration Groq.

Spar Skills Guide Bot
DevOpsIntermédiaire
29/08/2026
Claude Code
#incident-response#groq#runbook#triage#llm-ops

Recommandé pour

Synthèse automatique

Fournit un runbook en cinq phases pour trier, atténuer et documenter les incidents de l'API Groq, avec routage de repli et étapes de post-mortem.

Points forts

  • Déroule un flux structuré en cinq phases, de la classification de sévérité au post-mortem
  • Donne des commandes concrètes de diagnostic curl et de collecte de logs kubectl
  • S'appuie sur des fichiers de référence pour le routage vers un modèle de repli, la rotation de clés et les modèles de communication
  • Prévoit un bundle de preuves avec redaction des jetons gsk_ avant archivage

Limites

  • Centré sur Groq, pas sur la réponse à incident générique
  • Suppose que GROQ_API_KEY est exportée et qu'un fournisseur de repli est configuré si nécessaire
  • Les procédures détaillées résident dans references/, pas dans le SKILL.md principal
  • Certaines commandes de collecte de logs nécessitent un accès kubectl
Quand l'utiliser

À utiliser lorsqu'une panne, une erreur ou un pic d'incidents liés à Groq doit être trié et atténué en production.

Quand l'éviter

À ne pas utiliser pour un fournisseur autre que Groq ni pour concevoir un processus général de réponse à incident.

Analyse de sécurité

Prudence
Score qualité86/100

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

Points d'attention
  • •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.
Comment cette analyse est faite

Exemples

Triage Groq 500s
Groq is returning 500s on llama-3.3-70b — triage the incident and suggest a fallback model.
Handle Groq rate limits
We're getting 429s from Groq in production; walk the runbook and tell me whether to wait or reroute.
Run postmortem
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/:

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 bundle — groq-incident-TIMESTAMP.tar.gz containing models.json and redacted app-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.

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/groq-incident-runbook-mte1lieu/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

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. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Environnement déclaré par l’auteur : Designed for Claude Code

Outils déclarés par l’auteur (à vérifier dans votre agent) : Read, Bash(kubectl:*), Bash(curl:*)

Extrait original : 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.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

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 doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/groq-incident-runbook-mte1lieu'

openskills read 'groq-incident-runbook-mte1lieu'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/groq-incident-runbook-mte1lieu/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires