Wink Pings

Letting AI Go Through Your Messages Every 10 Minutes: Some Install a CLI, Others Say the Model Can Read SQLite Directly

Peter Steinberger demonstrated a concrete use case on X: have dot check iMessage and WhatsApp every 10 minutes. But some in the comments said you don't need to install a tool at all—the model can just read SQLite directly.

Peter Steinberger posted a use case on X: have dot install imsgcrawl or wacrawl to access iMessage and WhatsApp messages, without going through the computer use-style simulated operations. He also gave a prompt scenario: “Check my messages every 10 minutes and help me be a better friend.”

推文回复里的截图

Both tools use local read-only snapshots, then sync messages into a SQLite archive.

imsgcrawl reads Apple Messages. The default source is ~/Library/Messages/chat.db, and the archive is at ~/.imsgcrawl/archive.db. It provides commands such as status, sync, chats, messages, search, and contacts export, and also supports --json for scripts and agents. On macOS, the terminal running it may need Full Disk Access permission. The project specifically warns: real Messages output contains names, phone numbers, conversation text, and local paths—don't paste real data into public places.

imsgcrawl status
imsgcrawl sync
imsgcrawl chats --limit 10
imsgcrawl search phrase

wacrawl banner

wacrawl reads the macOS WhatsApp Desktop database. It first takes temporary snapshots of ChatStorage.sqlite and ContactsV2.sqlite, then imports them into a local SQLite archive. It supports search, contact export, --json, a private web viewer, and encrypted Git backups. The viewer binds only to 127.0.0.1 and uses a random access key. It likewise emphasizes the read-only boundary: normal archiving and search do not upload data, nor do they write back to the WhatsApp container. The tradeoff is that the archive itself is still plaintext private data—don't commit ~/.wacrawl/wacrawl.db and copied media to a repository.

wacrawl web viewer

Commenters quickly split into two camps.

A user named Cris Pierry said his dot told him directly that no install was needed: Messages and WhatsApp Desktop already leave local databases on the Mac, and you can view them with the system's built-in SQLite tools using read-only queries. He added that Peter's tools are suited to people who want a separate searchable archive; if you just want to flag messages that are owed a reply, querying the original database is also fine. Peter replied: a few months ago this didn't work well.

Later someone asked whether this was an OpenTrawl killer, and Peter didn't accept the label. He said it had the flavor of the bitter lesson: even his CLI is no longer necessary; the latest models can open the raw SQLite directly, without needing a special harness framework or CLI. This reply is more informative than the tool recommendation. Wrapper tools still have value: stable interfaces, archiving, permission boundaries, repeatable search. Native model reading of databases has caught up on convenience.

Another question was more practical: can these tools only read, or can they also reply? Peter said replying requires another imsg app and more permissions, but it's possible. The link is https://github.com/openclaw/imsg .

Someone also posted wazap, an MCP server for WhatsApp accounts. It connects as a device the way WhatsApp Web does and provides 23 tools, able to read messages, search, transcribe voice, draft sends, and manage groups. Write operations go through draft plus confirmation, and read-only can be enabled by default. The risks are clearly stated too: it is based on the unofficial Baileys protocol, protocol changes may break it, and bulk sending or bothering strangers may trigger account restrictions. Peter's assessment was direct: MCP is harder to configure, but as long as it works, that's fine.

People also pressed on polling frequency. Peter said dot usage is free and nearly unlimited, and doesn't count against subscription quota. Mihai Chirculescu warned that OpenAI caps this kind of checking at 30 minutes. Peter asked in return whether Pro is the same. Someone asked whether 10-minute polling would filter out known contacts before they enter the agent context, and Peter said if you phrase the request well, it can. Someone asked whether the tool can tell whether a reply is owed or the conversation has already ended; Peter said usually yes, the model is smart enough.

Looking at it, reading messages is only the entry point. The harder part is deciding which ones should be replied to and which don't need a reply, plus sending permissions and privacy boundaries. If you want to try it, start read-only, run it with synthetic data first, and then decide whether to hand your real Messages and WhatsApp archive to an agent.

发布时间: 2026-12-07 00:33