Prerequisites
- Node.js 18+
- macOS or Linux (zsh or bash)
- A TOTP authenticator app (Google Authenticator, Authy, 1Password, etc.)
Install
Initialize
- Generate a TOTP seed
- Ask you to set a master key (for recovery)
- Display a QR code — scan it with your authenticator app
- Verify the TOTP code
- Inject shell interceptors into your
.zshrc/.bashrc - Start the daemon in the background
Try It
Open a new terminal (orsource ~/.zshrc) and try a dangerous command:
Check Status
Optional: Mobile App Pairing
Duringyespapa init, say Yes when asked to pair with the mobile app. This enables:
- Push notifications on your phone when commands are intercepted
- One-tap approve/deny from the YesPaPa app
- Approve-with-message to send feedback to AI agents
Add the AI Agent Skill
If you use Claude Code (or any tool that supports skills), add YesPaPa as a skill so your agent automatically knows how to work with intercepted commands:--justification on dangerous commands, parse approval/denial events, and follow approver feedback — no manual system prompt editing needed.
Next Steps
- Agent Integration — full agent integration guide
- CLI Reference — all available commands
- Architecture — how the daemon, interceptor, and remote server work
- Self-Hosting — run your own remote server
- Features — full feature overview