Both are optional and read-only: they read what Warashi has already saved and can't change anything.
The warashi command
- Install it
Settings › General › Command Line and AI › Install…. macOS asks for your password once.
- Use it in Terminal
Type
warashito see the commands.
| Command | What it shows |
|---|---|
warashi now | Latest readings, up to about a minute old |
warashi apps --hours 3 | Apps that used the most CPU |
warashi history cpu --hours 24 | One metric over time |
warashi explain 14:30 | What happened at a moment (also 30m, 2h) |
warashi sleep --days 7 | Sleep and battery lost |
Add --json to any of them for output your scripts can read.
Connect an AI app
- Copy the setup
Settings › General › Command Line and AI › Copy Setup.
- Paste it into your AI app
Add it to the MCP settings of Claude, Cursor or another app that supports MCP, then ask something like “Why was my Mac slow at 3 pm?”.
Good to know: Nothing is shared until you add Warashi to an AI app. That app and its service then receive what it asks for: app names and usage history, never activity records or file paths. Remove it from the app's settings to stop.
If something's not right
warashiisn't found: open a new Terminal window, or press Install… again if you moved Warashi.
More in Troubleshooting, or email adam@warashi.app.