Quickstart

Audience: Customer β€” this page documents how to get started with Rulecatch.

Get Rulecatch tracking your AI development sessions in under 5 minutes.


Prerequisites

  • Node.js 18 or later
  • Claude Code installed and running

Try It First (No Account Required)

Want to see what Rulecatch does before creating an account? Use monitor-only mode:

npx @rulecatch/ai-pooler init --monitor-only

Then start the live monitor:

npx @rulecatch/ai-pooler monitor

This shows real-time AI activity (tool calls, tokens, cost estimates) in your terminal. No data is sent anywhere β€” everything stays local. When you're ready for the full dashboard experience, continue with the steps below.


Step 1: Sign Up

  1. Visit the Rulecatch website
  2. Click Get Started
  3. Select your data region (US or EU)
  4. Create your account with email and password
  5. Verify your email address

Step 2: Choose a Plan

During onboarding, select your plan:

Plan Price Best For
Starter $49/seat/mo Individual developers
Pro $199/seat/mo Teams needing full analytics
Enterprise $499/seat/mo Organizations with compliance needs

All plans include a 7-day free trial.


Step 3: Select Your Stack

Choose your technologies (React, TypeScript, MongoDB, etc.) to auto-activate relevant rule templates. You can skip this and configure later.


Step 4: Get Your API Key

After onboarding, find your API key in Dashboard β†’ Settings. It starts with dc_.


Step 5: Install the CLI

Open Claude Code and paste this prompt (replace with your actual API key):

Install the Rulecatch AI Pooler. Run: npx @rulecatch/ai-pooler init --api-key=dc_your_key_here --region=us

Claude Code will run the init command which:

  1. Validates your API key
  2. Creates config at ~/.claude/rulecatch/config.json
  3. Installs hook scripts at ~/.claude/hooks/
  4. Generates an encryption key for zero-knowledge privacy
  5. Registers hooks in ~/.claude/settings.json

Step 6: Restart Claude Code

Type /exit and start a new Claude Code session. Hooks activate on the next session start.


Step 7: Start Coding

That's it. Every Claude Code session is now tracked automatically:

  • Zero token overhead β€” hooks run outside the AI context window
  • Zero-knowledge encryption β€” personal data (emails, file paths) is encrypted on your machine
  • Automatic buffering β€” events are batched and sent efficiently

Verify Installation

Run this in your terminal:

npx @rulecatch/ai-pooler status

You should see:

Collection:    + Active
Config:        + Found
Hook script:   + Installed
Flush script:  + Installed
Hooks config:  + Registered

See Data in the Dashboard

  1. Open your Rulecatch dashboard
  2. The Overview page shows AI Sessions, Violations, Cost, and Tokens
  3. Start a Claude Code session and make some tool calls
  4. Data appears in the dashboard within seconds

What Gets Tracked

Event Data Captured
Session Start Model, git context, account info
Tool Call Tool name, file path, I/O size, language, lines changed
Tool Failure Tool name, error message
Session End Token totals, cost, model breakdown, git diff stats

All personal data (emails, usernames, file paths) is encrypted before leaving your machine.


Next Steps

  • Configure rules β€” Go to Dashboard β†’ Rules and select your tech stack
  • Set up alerts β€” Go to Dashboard β†’ Alerts to get notified of violations
  • Add team members β€” Share your API key with team members; they'll appear automatically
  • Enter your encryption key β€” Go to Dashboard β†’ Settings to decrypt personal data in the browser
  • Set hourly rates β€” Go to Dashboard β†’ Team to enable True Cost calculations

Troubleshooting

Issue Solution
status shows hooks not registered Re-run npx @rulecatch/ai-pooler init
No data appearing Check npx @rulecatch/ai-pooler logs for errors
"Invalid API key" Verify key matches Dashboard β†’ Settings
Events stuck in buffer Run npx @rulecatch/ai-pooler flush to force send

See Also