Claude Code diagnostics

claude-diag

A local-first diagnostic report for Claude Code support. Run one command, review the redacted Markdown output, and share only when you choose.

curl -fsSL https://sh.cdiag.link | bash

Python 3.12+ selected automatically

Secrets scrubbed before output

Optional PasteMyst publishing

claude-diag

$curl -fsSL https://sh.cdiag.link | bash

claude-diag

Redacted Claude Code diagnostics for sharing and support.

This will choose Python 3.12+, download the script, and redact before output.

Using Python: /opt/homebrew/bin/python3.14 (3.14.0)

...

Local first

Runs on your machine

The bootstrapper picks a compatible Python 3.12+ runtime, downloads the diagnostic script, and hands off locally through your terminal.

Redacted by default

Scrubs before output

Secrets, emails, hostnames, public IPs, and user paths are redacted before the Markdown report is saved, printed, or shared.

Open source

Auditable flow

The script and installer live in the public repository, so support teams and users can inspect exactly what the diagnostic collects.

Optional sharing

PasteMyst publishing

Generated reports can stay local, print to stdout, or publish as an anonymous expiring PasteMyst link when the user confirms it.