Send a message to the chat immediately without waiting for the current task to finish. Useful for acknowledging requests or sending progress updates while working.
Install
npx skillscat add rcarmo/piclaw/send-message Install via the SkillsCat registry.
SKILL.md
Send a Message
Write a JSON file to the piclaw IPC directory to send a message right away.
Usage
cat > "$PICLAW_DATA/ipc/messages/msg_$(date +%s).json" <<EOF
{
"type": "message",
"chatJid": "$PICLAW_CHAT_JID",
"text": "Your message here"
}
EOFWhen to Use
- Acknowledge a request before starting longer work: "On it, this might take a minute..."
- Send progress updates during a multi-step task
- Deliver partial results while continuing to work
Notes
- Messages are picked up by piclaw within ~1 second
- The IPC file is deleted after the message is sent
- Use WhatsApp-compatible formatting: bold, italic, • bullets,
code - Do NOT use this for your final response — just return that normally
Environment
PICLAW_DATA— piclaw data directory (containsipc/messages/)PICLAW_CHAT_JID— JID of the chat that triggered this invocation