Initial commit: NanoClaw - Personal Claude assistant via WhatsApp
A minimal Node.js application that connects Claude Agent SDK to WhatsApp using baileys. Features per-group memory via CLAUDE.md files, session continuity, scheduled tasks, and Gmail integration via MCP. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
36
CLAUDE.md
Normal file
36
CLAUDE.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# NanoClaw
|
||||
|
||||
Personal Claude assistant via WhatsApp.
|
||||
|
||||
## Structure
|
||||
|
||||
- `src/index.ts` - Main application (WhatsApp + routing + agent)
|
||||
- `package.json` - Dependencies and scripts
|
||||
- `.mcp.json` - MCP server configuration (gmail, scheduler)
|
||||
- `groups/CLAUDE.md` - Global memory
|
||||
- `groups/{name}/CLAUDE.md` - Per-group memory
|
||||
|
||||
## Configuration
|
||||
|
||||
Set environment variable `ASSISTANT_NAME` to change the trigger (default: "Andy").
|
||||
|
||||
Or edit the CONFIG object in `src/index.ts`.
|
||||
|
||||
## Skills
|
||||
|
||||
- `/setup` - Install dependencies, authenticate, start services
|
||||
- `/customize` - Modify behavior
|
||||
|
||||
## Architecture
|
||||
|
||||
```
|
||||
WhatsApp (baileys) ─┬─> SQLite (messages.db)
|
||||
│ ↓
|
||||
│ Polling loop
|
||||
│ ↓
|
||||
│ Claude Agent SDK
|
||||
│ ↓
|
||||
└─< Send response
|
||||
```
|
||||
|
||||
Single Node.js process handles everything.
|
||||
Reference in New Issue
Block a user