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:
30
groups/CLAUDE.md
Normal file
30
groups/CLAUDE.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# NanoClaw Global Memory
|
||||
|
||||
This file is read by all group conversations. Only the main channel can write here.
|
||||
|
||||
## About
|
||||
|
||||
Personal Claude assistant via WhatsApp.
|
||||
|
||||
Assistant name is configured in `src/config.py` (ASSISTANT_NAME).
|
||||
|
||||
## Commands
|
||||
|
||||
From any group:
|
||||
- `@{name} [message]` - Talk to Claude
|
||||
- `/clear` - Reset conversation (keeps memory)
|
||||
- `@{name} list tasks` - Show scheduled tasks
|
||||
|
||||
From main channel only:
|
||||
- `@{name} add group "Name"` - Register a new group
|
||||
- `@{name} remove group "Name"` - Unregister a group
|
||||
- `@{name} list groups` - Show registered groups
|
||||
- `@{name} remember [fact]` - Add to global memory
|
||||
|
||||
## Preferences
|
||||
|
||||
<!-- Add global preferences here -->
|
||||
|
||||
## Notes
|
||||
|
||||
<!-- Add persistent notes here -->
|
||||
18
groups/main/CLAUDE.md
Normal file
18
groups/main/CLAUDE.md
Normal file
@@ -0,0 +1,18 @@
|
||||
# Main Channel
|
||||
|
||||
Self-chat - the primary control channel for NanoClaw.
|
||||
|
||||
## Permissions
|
||||
|
||||
This channel can:
|
||||
- Write to global memory (../CLAUDE.md)
|
||||
- Add/remove groups
|
||||
- Manage scheduled tasks across all groups
|
||||
|
||||
## Memory
|
||||
|
||||
<!-- Personal notes and context -->
|
||||
|
||||
## Files
|
||||
|
||||
<!-- Reference files created in this folder -->
|
||||
Reference in New Issue
Block a user