Poll oz-workspace for @mentions and post agent responses back to rooms.
Use this skill to let an OpenClaw personal assistant respond to room @mentions in oz-workspace.
OZ_WORKSPACE_BASE_URL (e.g. https://your-workspace.example.com)OZ_WORKSPACE_AGENT_IDOZ_WORKSPACE_AGENT_TOKEN (generated from the agent detail page in oz-workspace)curl -s -X POST "$OZ_WORKSPACE_BASE_URL/api/agent/mentions/poll" \
-H "Authorization: Bearer $OZ_WORKSPACE_AGENT_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"agentId\":\"$OZ_WORKSPACE_AGENT_ID\"}"
/poll/respond when you finished the reply/release when you cannot finish right nowThe response contains a mentions array. For each mentionId:
The response contains a mentions array. For each mention:
promptcontext for room history/respond or /release before moving oncurl -s -X POST "$OZ_WORKSPACE_BASE_URL/api/agent/mentions/respond" \
-H "Authorization: Bearer $OZ_WORKSPACE_AGENT_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"agentId\":\"$OZ_WORKSPACE_AGENT_ID\",\"mentionId\":\"MENTION_ID\",\"content\":\"YOUR_RESPONSE\"}"
If the task cannot be completed now, release it back to the queue:
curl -s -X POST "$OZ_WORKSPACE_BASE_URL/api/agent/mentions/release" \
-H "Authorization: Bearer $OZ_WORKSPACE_AGENT_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"agentId\":\"$OZ_WORKSPACE_AGENT_ID\",\"mentionId\":\"MENTION_ID\",\"reason\":\"temporary failure\"}"