Simple notification tool to send messages from OpenCode to OpenClaw main session. Facilitates cross-session communication.
git clone https://github.com/xybstone/clawd-notify-skill.git
Single 20-line bash script. Only calls openclaw sessions_send with user-provided message. No external network calls beyond OpenClaw's internal API.
Uses existing OpenClaw session infrastructure. No API keys, tokens, or credentials stored or managed by this skill.
Basic validation ensures message is provided. Shell escaping handled by proper quoting in usage examples.
Bash script execution requires caution with special characters. Users should avoid unescaped quotes in messages.
#!/bin/bash
set -e
if [ -z "$1" ]; then
echo "Usage: clawd-notify \"<message>\""
exit 1
fi
MESSAGE="$1"
openclaw sessions_send --message "$MESSAGE"