Agent skill · Audited from source
Clerk Debug Bundle
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: Collect comprehensive debug information for Clerk issues.
Cite
Cite this page
ModelsAtlas. “Clerk Debug Bundle (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/clerk-debug-bundle
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-debug-bundleThe 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: Collect comprehensive debug information for Clerk issues.
--- name: clerk-debug-bundle description: 'Collect comprehensive debug information for Clerk issues. Use when troubleshooting complex problems, preparing support tickets, or diagnosing intermittent issues. Trigger with phrases like "clerk debug", "clerk diagnostics", "clerk support ticket", "clerk troubleshooting". ' allowed-tools: Read, Write, Edit, Bash(npm:*), Bash(node:*), Grep version: 1.15.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - clerk - debugging compatibility: Designed for Claude Code --- # Clerk Debug Bundle ## Current State !`node --version 2>/dev/null || echo 'N/A'` !`npm list @clerk/nextjs @clerk/clerk-react @clerk/express 2>/dev/null | grep clerk || echo 'No Clerk packages found'` ## Overview Collect all necessary debug information for Clerk troubleshooting and support tickets. Generates an environment report, runtime health check, client-side debug panel, and support bundle. ## Prerequisites - Clerk SDK installed - Access to application logs - Browser with developer tools ## Instructions ### Step 1: Environment Debug Script ```typescript // scripts/clerk-debug.ts import { createClerkClient } from '@clerk/backend' async function collectDebugInfo() { const info: Record<string, any> = { timestamp: new Date().toISOString(), nodeVersion: process.version, platform: process.platform, env: { hasPK: !!process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY, hasSK: !!process.env.CLERK_SECRET_KEY, pkPrefix: process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY?.slice(0, 8) + '...', nodeEnv: process.env.NODE_ENV, }, } // Test API connectivity try { const clerk = createClerkClient({ secretKey: process.env.CLERK_SECRET_KEY! }) const users = await clerk.users.getUserList({ limit: 1 }) info.apiConnectivity = { status: 'ok', userCount: users.totalCount } } catch (err: any) { info.apiConnectivity = { status: 'error', message: err.message, code: err.status } } // Check package versions try { const pkg = require('./package.json') info.packages = Object.entries(pkg.dependencies || {}) .filter(([k]) => k.includes('clerk')) .reduce((acc, [k, v]) => ({ ...acc, [k]: v }), {}) } catch { info.packages = 'Could not read package.json' } console.log(JSON.stringify(info, null, 2)) return info } collectDebugInfo() ``` Run with: ```bash npx tsx scripts/clerk-debug.ts ``` ### Step 2: Runtime Health Check Endpoint ```typescript // app/api/clerk-health/route.ts import { auth, clerkClient } from '@clerk/nextjs/server' export async function GET() { const checks: Record<string, { status: string; detail?: string }> = {} // Check 1: SDK loaded checks.sdk = { status: 'ok', detail: 'Clerk SDK loaded' } // Check 2: Auth function works try { const { userId } = await auth() checks.auth = { status: 'ok', detail: userId ? `Authenticated as ${userId}` : 'Not authenticated (expected for health check)' } } catch (err: any) { checks.auth = { status: 'error', detail: err.message } } // Check 3: Backend API connectivity try { const client = await clerkClient() await client.users.getUserList({ limit: 1 }) checks.backendApi = { status: 'ok', detail: 'API reachable' } } catch (err: any) { checks.backendApi = { status: 'error', detail: err.message } } // Check 4: Environment variables checks.envVars = { status: process.env.CLERK_SECRET_KEY ? 'ok' : 'error', detail: process.env.CLERK_SECRET_KEY ? 'Secret key configured' : 'CLERK_SECRET_KEY missing', } const allOk = Object.values(checks).every((c) => c.status === 'ok') return Response.json({ healthy: allOk, checks }, { status: allOk ? 200 : 503 }) } ``` ### Step 3: Client-Side Debug Component ```typescript 'use client' import { useAuth, useUser, useSession } from '@clerk/nextjs' import { useState } from 'react' export function ClerkDebugPanel() { const { userId, isLoaded: authLoaded, getToken } = useAuth() const { user, isLoaded: userLoaded } = useUser() const { session } = useSession() const [tokenPreview, setTokenPreview] = useState<string | null>(null) if (process.env.NODE_ENV === 'production') return null // Hide in prod const inspectToken = async () => { const token = await getToken() if (token) { const payload = JSON.parse(atob(token.split('.')[1])) setTokenPreview(JSON.stringify(payload, null, 2)) } } return ( <details style={{ position: 'fixed', bottom: 10, right: 10, background: '#1a1a2e', color: '#eee', padding: 12, borderRadius: 8, fontSize: 12, zIndex: 9999 }}> <summary>Clerk Debug</summary> <pre> Auth loaded: {String(authLoaded)}{'\n'} User loaded: {String(userLoaded)}{'\n'} User ID: {userId || 'null'}{'\n'} Email: {user?.primaryEmailAddress?.emailAddress || 'N/A'}{'\n'} Session ID: {session?.id || 'null'}{'\n'} Session status: {session?.status || 'N/A'}{'\n'} Last active: {session?.lastActiveAt ? new Date(session.lastActiveAt).toISOString() : 'N/A'} </pre> <button onClick={inspectToken}>Inspect JWT</button> {tokenPreview && <pre>{tokenPreview}</pre>} </details> ) } ``` ### Step 4: Request Debug Middleware ```typescript // middleware.ts — add debug logging (development only) import { clerkMiddleware } from '@clerk/nextjs/server' export default clerkMiddleware(async (auth, req) => { if (process.env.CLERK_DEBUG === 'true') { const { userId, sessionId } = await auth() console.log(`[Clerk Debug] ${req.method} ${req.nextUrl.pathname}`, { userId: userId || 'anonymous', sessionId: sessionId?.slice(0, 8) || 'none', cookies: req.cookies.getAll().map((c) => c.name).filter((n) => n.startsWith('__clerk')), }) } }) ``` ### Step 5: Generate Support Bundle ```bash #!/bin/bash # scripts/clerk-support-bundle.sh set -euo pipefail BUNDLE_DIR="clerk-debug-$(date +%Y%m%d-%H%M%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-debug-bundle/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All coding & review 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-debug-bundle/)
<a href="https://modelsatlas.com/skills/jeremylongshore/clerk-debug-bundle/"><img src="https://modelsatlas.com/skills/jeremylongshore/clerk-debug-bundle/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Clerk Debug Bundle
What does the Clerk Debug Bundle skill do?
Is Clerk Debug Bundle safe to install?
What can Clerk Debug Bundle access on my machine?
Which assistants does Clerk Debug Bundle 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 Debug Bundle skill do?
- Is Clerk Debug Bundle safe to install?
- What can Clerk Debug Bundle access on my machine?