CLI Reference
CLI Reference
PromptPulse provides a comprehensive command-line interface for managing your Claude Code usage analytics.
Core Commands
promptpulse / ppulse
The main CLI command. Can be used in short form as ppulse.
Authentication Commands
promptpulse login
Create a new account or login with an existing API key.
| |
promptpulse logout
Clear authentication and log out.
| |
promptpulse whoami
Show current user information.
| |
Data Collection Commands
promptpulse collect
Collect and upload Claude Code usage data.
| |
Options:
--granularity- Data collection granularity (all, daily, session, blocks)
promptpulse setup
Configure automatic data collection with cron.
| |
Options:
--interval- Collection interval (15, 30, 60, daily)--remove- Remove automatic collection
Monitoring Commands
promptpulse status
Show collection status and health information.
| |
promptpulse doctor
Diagnose common collection issues and system health.
| |
Dashboard Command
promptpulse dashboard
Open the web dashboard in your browser.
| |
Environment Variables
Privacy Controls
PROJECT_PATH_PRIVACY
Control project path collection privacy:
| |
MACHINE_ID
Custom machine identifier:
| |
Configuration
Configuration is stored in ~/.promptpulse/config.json:
| |
Data Collection Details
Claude Code Data Sources
PromptPulse reads usage data from:
~/.claude/projects/**/*.jsonl
Collected Data
- Usage Statistics: Token counts, costs, timestamps
- Project Paths: Configurable privacy levels
- Machine Identifiers: Hostname or custom MACHINE_ID
- Session Data: Claude Code session information
Privacy Guarantees
- No Content Collection: Prompts and conversations are NEVER collected
- Isolated Data: Each user’s data is completely isolated
- Configurable Privacy: Control what project information is shared
Troubleshooting
Common Issues
Authentication Errors
1 2promptpulse logout promptpulse loginCollection Issues
1 2promptpulse doctor promptpulse statusCron Setup Problems
1 2promptpulse setup --remove promptpulse setup
Debug Information
All operations log to ~/.promptpulse/collection.log for debugging.