@moshi-labs/snitch
v1.0.17
Published
CLI daemon that reports Claude Code activity to a team server
Maintainers
Readme
🐀 Snitch
See what your teammates' Claude Code sessions are working on in real-time.
Dashboard: https://snitch.moshi.ai
Quick Start (5 minutes)
Step 1: Install
npm install -g @moshi-labs/snitchStep 2: Configure
snitch initYou'll be asked for three things:
| Prompt | What to enter |
|--------|---------------|
| Server URL | https://snitch.moshi.ai |
| API Key | Ask James for the team key |
| Your name | Your name (this shows on the dashboard) |
Step 3: Start the daemon
snitch startThat's it! Your Claude Code and Codex activity will now appear on the team dashboard.
Commands
| Command | What it does |
|---------|--------------|
| snitch start | Start tracking (runs in background) |
| snitch stop | Stop tracking |
| snitch status | Check if it's running |
| snitch logs | View recent logs |
| snitch logs -f | Follow logs live |
Troubleshooting
"Is it working?"
snitch statusShould say "Daemon is running". If not, run snitch start.
"I don't see my activity on the dashboard"
- Make sure you're working in a moshi repo (moshi-api, moshi-frontend, etc.)
- Check logs for errors:
snitch logs - Verify your config:
cat ~/.snitch/config.json
"I want to reconfigure"
Just run snitch init again. Press Enter to keep existing values.
How It Works
- Snitch watches
~/.claude/projects/(Claude Code) and~/.codex/sessions/(Codex) session files - When you use Claude Code or Codex in a moshi repo, it detects tool calls and messages
- Activity is sent to the team server
- Server uses Claude to categorize your work into tickets
- Dashboard shows what everyone's working on
Codex sessions are marked with a codex label in the UI. Claude sessions remain unlabeled (default behavior).
Config File
Stored at ~/.snitch/config.json:
{
"serverUrl": "https://snitch.moshi.ai",
"apiKey": "your-team-key",
"userName": "Your Name",
"allowedRepos": ["moshi-api", "moshi-frontend", "moshi-e2e", "terraform", "snitch"]
}You can edit allowedRepos to track additional repositories.
License
MIT
