Claude Code telemetry check
Confirms this machine is actually exporting telemetry to the Aliz collector — and offers to fix it if not.
Run it
macOS
curl -fsSL https://aliz-check.kowlon.my.id/check.sh | bash
Windows
irm https://aliz-check.kowlon.my.id/check.ps1 | iex
Needs Python 3.8+, which macOS developer setups already have. The launcher tells you how to install it if missing.
What it checks
- The seven required
OTEL_*settings, resolved across the full precedence chain — server-managed, machine-managed, then your user settings — so you see which tier actually wins. - The org privacy flags (
OTEL_LOG_USER_PROMPTSand friends). Reported only; never changed. DISABLE_TELEMETRYandCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, which must be unset.
Claude Code reads only whether those last two are set. Any non-empty value switches suppression on — including the string
"0". If you “turned it off” by setting 0, you turned it on.
What it changes
Nothing, unless you answer y at the prompt. Repairs touch only ~/.claude/settings.json, are merged key by key so hooks and other settings survive, and write a timestamped .bak first. Anything set by a managed tier is reported as unfixable rather than silently fought.
Pass --no-fix for a read-only run, --json for machine-readable output, or --fix to skip the prompt.