Send Reply Skill
Send your final response to the user. This is the gateway to external communication.
Usage
bash
deno run --allow-net skills/send-reply/skill.ts \ --session-id "$SESSION_ID" \ --message "Your reply message here"
Critical Rules
- •One reply only: You can only send ONE reply per interaction
- •This is the ONLY external output: All other processing remains internal
- •Make it complete: Ensure your reply addresses the user's request fully
- •Session ID: Read the session ID from the
SESSION_IDfile in the working directory
Output Format
On success:
json
{ "success": true, "data": { "messageId": "123456789", "timestamp": "2024-01-01T12:00:00Z" } }
On failure:
json
{ "success": false, "error": "Reply already sent for this session" }
Exit Codes
- •
0: Success - •
1: Error (check stderr or stdout JSON for details)