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-debug-bundle

Skill by jeremylongshore

Collects debug information for Clerk issues. It gives developers an environment report, a health check endpoint, a debug panel and a script that builds a support bundle.

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

Install clerk-debug-bundle

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-debug-bundle ~/.claude/skills/clerk-debug-bundle

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

Step-by-step: install clerk-debug-bundle in Claude Code

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

About

The clerk-debug-bundle skill collects debug information for Clerk authentication issues. It includes an environment script that checks Clerk package versions, whether key environment variables are set, and API connectivity. It also adds a runtime health check at /api/clerk-health, a development-only client panel that shows auth state and can inspect JWT claims, and request logging middleware that is turned on with CLERK_DEBUG=true.

A shell script packages the package versions, a redacted environment check, the middleware file and the health check output into a tar.gz file for support tickets. The skill is aimed at developers troubleshooting complex or intermittent Clerk problems in apps that use @clerk/nextjs. It is published under the MIT license.

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

What it can do

  • Environment debug scriptReports SDK versions, environment variable presence and Clerk API connectivity.
  • Runtime health checkProvides an /api/clerk-health endpoint that checks SDK, auth, backend API and secret key.
  • Client debug panelShows auth state, user and session details and inspects JWT contents in development.
  • Request debug middlewareLogs requests with user, session and Clerk cookie names when CLERK_DEBUG is true.
  • Support bundle scriptCreates a tar.gz archive of versions, redacted env info, middleware and health output.

What you need

  • Clerk SDK installed
  • Node.js
  • Access to application logs
  • Browser with developer tools

Try asking

  • Run the clerk debug script and summarize the SDK versions and API status.
  • Check my /api/clerk-health endpoint and tell me which checks are failing.
  • Build a Clerk support bundle I can attach to a ticket.

Good to know

  • The client debug panel returns nothing in production.
  • Request logging runs only when CLERK_DEBUG is set to true.
  • The support bundle prints only a short prefix of the publishable key.

Security check

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

Checked automatically: skills/.curated/clerk-debug-bundle/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(node:*)Grep

Alternatives to clerk-debug-bundle

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

clerk-debug-bundle: common questions

Does the debug bundle expose my Clerk secret key?

The support bundle script records only whether the secret key is set, and the publishable key is cut to a short prefix. The source does not describe other redaction.

Can I use the debug panel in production?

No. The client debug component returns null when NODE_ENV is production.

How do I turn on Clerk request logging?

Set CLERK_DEBUG to true. The middleware then logs the method, path, user ID, session prefix and Clerk cookie names to the console.

How do I install clerk-debug-bundle?

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

Is clerk-debug-bundle free?

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

Is clerk-debug-bundle safe to use?

It scores 76 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-debug-bundle?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

clerk-debug-bundle Install

Add to stack

Loading.