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

clerk-incident-runbook

Skill by jeremylongshore

Guides incident response for Clerk authentication problems. It covers triage, an emergency auth bypass, key rotation, session recovery and post-incident review. It is aimed at teams running Clerk auth in production.

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

Install clerk-incident-runbook

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/clerk-incident-runbook ~/.claude/skills/clerk-incident-runbook

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

Step-by-step: install clerk-incident-runbook in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a runbook for handling Clerk authentication incidents in production. It walks through six steps: triage by incident category, an emergency auth bypass for Clerk outages, key rotation for a compromised secret key, session recovery after a mass logout, webhook replay for missed events, and a post-incident review template.

The skill includes a bash triage script that checks the Clerk status page, tests API connectivity and calls a local health endpoint. It also includes a Next.js middleware example that is switched on with the CLERK_EMERGENCY_BYPASS environment variable, and an admin API route that revokes active sessions. The examples use Vercel CLI commands. It is intended for on-call engineers and teams that run Clerk auth in production.

Written from the project's SKILL.md and checked against it.

What it can do

  • Incident triageClassifies Clerk incidents into categories with symptoms and severity, and provides a triage script.
  • Emergency auth bypassMiddleware example that allows all requests when the bypass environment variable is set to true.
  • Key rotationOutlines steps to generate a new Clerk secret key and update environments after a compromise.
  • Session recoveryAdmin route example that revokes active sessions for all users to force re-authentication.
  • Webhook replayExplains how to retry failed Clerk webhook messages from the Dashboard and check for missing user records.
  • Post-incident reviewProvides a markdown template for incident timelines, root cause, impact and action items.

What you need

  • Access to the Clerk Dashboard
  • Access to application logs and monitoring
  • An emergency contact list for the on-call team
  • Documented rollback procedures

Try asking

  • Triage a Clerk outage and tell me the incident category
  • Show me how to activate the Clerk emergency auth bypass
  • Draft a post-incident review for our Clerk auth outage

Good to know

  • The emergency bypass allows all requests while active, so it is meant for Clerk outages only.
  • The key rotation script prints manual steps and its Vercel commands are commented out.
  • Webhook replay is done by hand from the Clerk Dashboard.
  • Examples assume Vercel for deployment and environment variables.

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/clerk-incident-runbook/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBash(npm:*)Bash(curl:*)Grep

Alternatives to clerk-incident-runbook

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

clerk-incident-runbook: common questions

Does this skill rotate Clerk keys automatically?

No. The rotation script prints manual steps, and the Vercel commands in it are commented out. The new secret key is generated in the Clerk Dashboard.

What does the emergency bypass do?

When CLERK_EMERGENCY_BYPASS is set to true, the middleware allows all requests and adds an X-Auth-Bypass header. The source says it should be used only when Clerk is down.

Which hosting platform do the examples use?

The bypass and key rotation examples use Vercel CLI commands to set environment variables and deploy.

How do I install clerk-incident-runbook?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is clerk-incident-runbook free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is clerk-incident-runbook safe to use?

It scores 77 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 clerk-incident-runbook?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

clerk-incident-runbook Install

Add to stack

Loading.