Add reactions

From sliamh11/Deus · View interactive version

Add reactions is an AI agent skill from the GitHub repository sliamh11/Deus. Add WhatsApp emoji reaction support — receive, send, store, and search reactions.

How to use this skill

Skill file

Add Reactions

This skill adds emoji reaction support to Deus's WhatsApp channel: receive and store reactions, send reactions from the container agent via MCP tool, and query reaction history from SQLite.

Phase 1: Pre-flight

Check if already applied

Check if src/status-tracker.ts exists:

test -f src/status-tracker.ts && echo "Already applied" || echo "Not applied"

If already applied, skip to Phase 3 (Verify).

Phase 2: Apply Code Changes

Reactions support is part of the WhatsApp MCP package in packages/. Check if the status tracker already exists:

test -f src/status-tracker.ts && echo "Already present" || echo "Not present"

If not present, the WhatsApp MCP package should include reactions support. Ensure the WhatsApp channel is installed and up to date by running /add-whatsapp.

The following files are involved:

Run database migration

npx tsx scripts/migrate-reactions.ts

Validate code changes

npm test
npm run build

All tests must pass and build must be clean before proceeding.

Phase 3: Verify

Build and restart

npm run build

Linux:

systemctl --user restart deus

macOS:

launchctl kickstart -k gui/$(id -u)/com.deus

Test receiving reactions

  1. Send a message from your phone
  2. React to it with an emoji on WhatsApp
  3. Check the database:
sqlite3 store/messages.db "SELECT * FROM reactions ORDER BY timestamp DESC LIMIT 5;"

Test sending reactions

Ask the agent to react to a message via the react_to_message MCP tool. Check your phone — the reaction should appear on the message.

Troubleshooting

Reactions not appearing in database

Migration fails

Agent can't send reactions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.