An AI-powered error triage CLI
for your stack.
Crashscope joins your error tracker with session replay and uses Claude to produce ranked, actionable triage reports — right inside your terminal.
$ npm i -g @pradhankukiran/crashscopeBring your own Anthropic API key. Credentials never leave your browser beyond a single request.
Deploying for your team? Spin up the server →
TypeError in SupplementCard.tsx:42
23 users · 47 events · last 1h · since deploy v2.3.1
User completed steps 1–10 of onboarding, then on step 11 tried to add “Vitamin D3 + K2”. Error fired when the supplement name contained “+”. User rage-clicked 4× then abandoned.
URL encoding on the supplement name parameter. The literal “+” is being decoded to a space before reaching the scanner.
lib/scanner/parse.ts:18app/scan/[id]/page.tsxlib/url.tsHow it works
A deterministic adapter layer feeds a Claude investigation, so the model gets just the signals it needs — no provider-specific prompts.
- STEP 01Fetch errorsPull recent issues from Sentry, Rollbar, Bugsnag, or Honeybadger.
- STEP 02Find the sessionMatch each affected user to a PostHog or LogRocket session.
- STEP 03InvestigateClaude analyses the stack + user journey and emits a structured finding.
- STEP 04DeliverReport goes to Slack, your terminal, or your API consumer.
See it in action
Same triage pipeline, two surfaces. Pick the one that fits how your team works.
Bring your existing stack
Adapters live in @pradhankukiran/crashscope-core and normalize each provider into a shared error and session shape.
Get started
Install the CLI once. Deploy the server later if your team wants the same triage from Slack or REST.
$ npm i -g @pradhankukiran/crashscope
$ crashscope init
$ crashscope triage --since 24h/triage
/triage 7d
/triage 24h severity=fatal,error$ curl -H 'Authorization: Bearer $TOKEN' \
'https://your.vercel.app/api/triage?since=24h&limit=25'Deploy the server to enable these →
Run your own instance
Same code, your infrastructure. Visitors of your deployment paste their own credentials into the demo form — you don't hold anyone's keys.
Or via CLI
$ git clone https://github.com/pradhankukiran/crashscope.git
$ cd crashscope
$ railway init && railway upFrom $5/mo. Free trial credits included.
Or via CLI
$ git clone https://github.com/pradhankukiran/crashscope.git
$ cd crashscope/packages/server
$ vercel deployFree tier covers most teams.
From the terminal
$ git clone https://github.com/pradhankukiran/crashscope.git
$ cd crashscope
$ cp packages/server/.env.example packages/server/.env.local
$ docker compose up -dBring your own host.
Env vars you'll need
ANTHROPIC_API_KEY, CRASHSCOPE_API_TOKEN, your error provider (ERROR_PROVIDER + credentials), and your session provider (SESSION_PROVIDER + credentials). Optional: Slack signing secret + bot token, Upstash Redis for distributed rate-limiting.
The public POST /api/triage demo accepts credentials in the request body, so you can deploy without any provider env vars and visitors still get a working triage experience. Full env reference →