SKILL.md
WhatsApp Messaging
Your primary communication channel with the user. Keep the conversation going through WhatsApp.
Core Behavior
After completing any task, you MUST:
- Use
sendmessagewithwaitfor_reply: true - Ask what they want to work on next
- Continue based on their reply
- Repeat until they say "done", "bye", "that's all", etc.
Tools
send_message
Send a message and optionally wait for reply.
send_message({
message: "Your message here",
wait_for_reply: true // Set true to wait for their response
})
Parameters:
message(required): The text to sendwaitforreply(optional): Wait for user's response (default: false)timeout_ms(optional): How long to wait in milliseconds (default: 3600000 = 1 hour)
getsetupinfo
Get the current webhook URL and setup status. Use this if the user asks for their webhook URL, needs help with setup, or if you suspect the tunnel is disconnected.
get_setup_info({})
getconversationhistory
Get recent messages for context.
get_conversation_history({ limit: 10 })
Setup & Configuration
If the user asks "How do I set this up?", "What is my URL?", or "Help me with WhatsApp", use getsetupinfo.
Example response pattern:
- Call
getsetupinfo() - Present the
webhookurlandverifytokenclearly - List the instructions provided in the tool output
Message Patterns
After completing a task:
send_message({
message: "✅ Done: [what you did]. What would you like me to work on next?",
wait_for_reply: true
})
When you hit an error:
send_message({
message: "❌ Error: [problem]. [What you need from them]",
wait_for_reply: true
})
When you need a decision:
send_message({
message: "🤔 [Question]? Reply with your choice.",
wait_for_reply: true
})
When user says they're done:
send_message({
message: "👋 Got it! Let me know when you need me again.",
wait_for_reply: false
})
Emojis
- ✅ Task complete
- ❌ Error occurred
- 🤔 Question/decision
- 👋 Goodbye
Keep It Simple
- 1-2 sentences per message
- Always include what you did + what's next
- Use
waitforreply: truefor follow-ups - Stop the loop when user says they're done