cbe33f4ba6d7e8b02353aa9b143b90df1f0f8096
Include the full message with @trigger so agent sees exactly what was written. Current message is already in missedMessages query so no need to add separately. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
NanoClaw
Personal Claude assistant via WhatsApp.
Quick Start
git clone https://github.com/yourname/nanoclaw.git
cd nanoclaw
claude
# Run: /setup
Claude Code handles installation, authentication, and service setup.
Features
- WhatsApp I/O: Message Claude from your phone
- Persistent memory: Per-group conversation context
- Global memory: Shared context across all groups
- Email tools: Read/send via Gmail (optional)
- Scheduled tasks: Recurring reminders and jobs
- Web access: Search and fetch content
Usage
@Andy what's the weather in NYC?
@Andy summarize my unread emails
@Andy remind me every Monday at 9am to check metrics
/clear
From main channel:
@Andy add group "Family Chat"
@Andy list groups
Requirements
- macOS (or Linux)
- Node.js 18+
- Claude Code CLI (authenticated)
Manual Setup
npm install
npm run build
npm start
Customization
Run Claude Code and ask to:
- "Change trigger to @Bot"
- "Make responses more concise"
Or use /customize.
Architecture
Single Node.js process using:
@whiskeysockets/baileys- WhatsApp Web API@anthropic-ai/claude-agent-sdk- Claude Agent SDKbetter-sqlite3- Message storage
License
MIT
Languages
TypeScript
94.7%
Shell
4.5%
Dockerfile
0.3%
JavaScript
0.3%
HTML
0.2%