diff --git a/postmessage/SKILL.md b/postmessage/SKILL.md index feb66fb..278fa5a 100644 --- a/postmessage/SKILL.md +++ b/postmessage/SKILL.md @@ -11,9 +11,9 @@ Post every message must get credential first, then post message via `xh` command ```shell xh --ignore-stdin POST 'https://play.hatter.me/message/hangoutsWebhook.jsonp' \ Content-Type:application/json \ - token==$(echo '{"protocolVersion": 1, "provider": "hattersecrets", "ids": ["post-message-token"]}' | openclaw-secret.ts | jq '.values["post-message-token"]' -r) \ + token==$(openclaw-secret.ts --direct-output --id post-message-token) \ msgtype=text \ 'text[content]=TEXT_MESSAGE' ``` -- `TEXT_MESSAGE` is the message to be sent. \ No newline at end of file +- `TEXT_MESSAGE` is the message to be sent.