Agent skill · Audited from source
Clerk Incident Runbook
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Manage incident response for Clerk authentication issues.
Cite
Cite this page
ModelsAtlas. “Clerk Incident Runbook (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/clerk-incident-runbook
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/clerk-pack/skills/clerk-incident-runbookThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Manage incident response for Clerk authentication issues.
--- name: clerk-incident-runbook description: 'Manage incident response for Clerk authentication issues. Use when handling auth outages, security incidents, or production authentication problems. Trigger with phrases like "clerk incident", "clerk outage", "clerk down", "auth not working", "clerk emergency". ' allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(curl:*), Grep version: 1.15.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - clerk - security - authentication - incident-response compatibility: Designed for Claude Code --- # Clerk Incident Runbook ## Overview Procedures for responding to Clerk-related incidents in production. Covers triage, emergency auth bypass, recovery scripts, and post-incident review. ## Prerequisites - Access to Clerk Dashboard (dashboard.clerk.com) - Access to application logs and monitoring - Emergency contact list for on-call team - Rollback procedures documented ## Instructions ### Step 1: Triage — Identify Incident Category | Category | Symptoms | Severity | |----------|----------|----------| | Clerk outage | status.clerk.com shows incident, all auth fails | Critical | | Key compromise | Unauthorized access detected | Critical | | Middleware failure | All routes return 500 | High | | Session issues | Users randomly logged out | Medium | | Webhook backlog | User sync falling behind | Low | Quick diagnostic: ```bash #!/bin/bash # scripts/clerk-triage.sh set -euo pipefail echo "=== Clerk Incident Triage ===" echo "Time: $(date -u +%Y-%m-%dT%H:%M:%SZ)" # 1. Check Clerk status echo -e "\n--- Clerk Status ---" curl -s https://status.clerk.com/api/v2/status.json | python3 -c " import json,sys d=json.load(sys.stdin) print(f\"Status: {d['status']['description']}\")" 2>/dev/null || echo "Cannot reach status API" # 2. Check API connectivity echo -e "\n--- API Connectivity ---" HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: Bearer ${CLERK_SECRET_KEY}" \ https://api.clerk.com/v1/users?limit=1 2>/dev/null) echo "API response: HTTP $HTTP_CODE" # 3. Check app health echo -e "\n--- App Health ---" curl -s http://localhost:3000/api/clerk-health 2>/dev/null | python3 -m json.tool || echo "App not reachable" ``` ### Step 2: Emergency Auth Bypass (Clerk Outage Only) ```typescript // middleware.ts — emergency bypass mode import { clerkMiddleware, createRouteMatcher } from '@clerk/nextjs/server' import { NextResponse } from 'next/server' const EMERGENCY_BYPASS = process.env.CLERK_EMERGENCY_BYPASS === 'true' const isPublicRoute = createRouteMatcher(['/', '/sign-in(.*)', '/sign-up(.*)']) export default clerkMiddleware(async (auth, req) => { // Emergency bypass: allow all requests when Clerk is down if (EMERGENCY_BYPASS) { console.warn('[EMERGENCY] Auth bypass active — all requests allowed') const response = NextResponse.next() response.headers.set('X-Auth-Bypass', 'true') return response } if (!isPublicRoute(req)) { await auth.protect() } }) ``` Activate bypass: ```bash # Vercel: set env var and redeploy vercel env add CLERK_EMERGENCY_BYPASS production # Set to "true" vercel deploy --prod # After Clerk recovers: remove bypass vercel env rm CLERK_EMERGENCY_BYPASS production vercel deploy --prod ``` ### Step 3: Key Rotation (Compromised Secret Key) ```bash #!/bin/bash # scripts/rotate-clerk-keys.sh set -euo pipefail echo "=== Clerk Key Rotation ===" echo "1. Go to dashboard.clerk.com > API Keys" echo "2. Generate new Secret Key" echo "3. Update all environments:" # Update production echo "Updating production..." # vercel env rm CLERK_SECRET_KEY production # vercel env add CLERK_SECRET_KEY production # Paste new key # vercel deploy --prod echo "4. Verify all endpoints still work" echo "5. Monitor for unauthorized access attempts" echo "6. File incident report" ``` ### Step 4: Session Recovery (Mass Logout Fix) ```typescript // app/api/admin/refresh-sessions/route.ts import { auth, clerkClient } from '@clerk/nextjs/server' export async function POST() { const { has } = await auth() if (!has({ role: 'org:admin' })) { return Response.json({ error: 'Admin only' }, { status: 403 }) } // Force-revoke all sessions (users will need to re-authenticate) const client = await clerkClient() const users = await client.users.getUserList({ limit: 500 }) let revoked = 0 for (const user of users.data) { const sessions = await client.sessions.getSessionList({ userId: user.id }) for (const session of sessions.data) { if (session.status === 'active') { await client.sessions.revokeSession(session.id) revoked++ } } } return Response.json({ revoked, message: `Revoked ${revoked} sessions` }) } ``` ### Step 5: Webhook Replay (Missed Events) ```bash # Check for missed webhooks in Clerk Dashboard: # Dashboard > Webhooks > Select endpoint > Message Logs # Click "Retry" on failed messages # Or replay from your audit log: echo "Check database for missing user records:" echo "SELECT clerk_id FROM users WHERE created_at > NOW() - INTERVAL '1 hour'" ``` ### Step 6: Post-Incident Review Template ```markdown ## Incident Report **Date:** YYYY-MM-DD HH:MM UTC **Duration:** X hours Y minutes **Severity:** Critical / High / Medium / Low **Category:** Clerk Outage / Key Compromise / Config Error / Middleware Failure ### Timeline - HH:MM — Incident detected (how: monitoring alert / user report / manual) - HH:MM — Triage started, category identified - HH:MM — Mitigation applied (emergency bypass / key rotation / rollback) - HH:MM — Service restored - HH:MM — Post-incident review completed ### Root Cause [Description of what caused the incident] ### Impact - Users affected: X - Duration of auth downtime: Y minutes - Data loss: None / Partial / Details ### Action Items - [ ] Add monitoring for [specific check] - [ ] Update runbook with [new procedure] - [ ] Implement [preventive measure] ``` ## Output - Triage s
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/clerk-incident-runbook/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/clerk-incident-runbook/)
<a href="https://modelsatlas.com/skills/jeremylongshore/clerk-incident-runbook/"><img src="https://modelsatlas.com/skills/jeremylongshore/clerk-incident-runbook/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Clerk Incident Runbook
What does the Clerk Incident Runbook skill do?
Is Clerk Incident Runbook safe to install?
What can Clerk Incident Runbook access on my machine?
Which assistants does Clerk Incident Runbook work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Clerk Incident Runbook skill do?
- Is Clerk Incident Runbook safe to install?
- What can Clerk Incident Runbook access on my machine?