gavrielc cbe33f4ba6 Keep trigger in prompt, simplify message formatting
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>
2026-01-31 19:30:32 +02:00

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 SDK
  • better-sqlite3 - Message storage

License

MIT

Description
No description provided
Readme MIT 9.6 MiB
Languages
TypeScript 94.7%
Shell 4.5%
Dockerfile 0.3%
JavaScript 0.3%
HTML 0.2%