Install
openclaw skills install @tanjinlimkelvin-dot/prompt-buttonsA comprehensive helper skill that wraps agent prompts with short, consistent tappable button menus (Yes/No, single digits, or small option sets) so users can interact via Telegram inline buttons or fall back gracefully to numbered lists on channels without button support.
openclaw skills install @tanjinlimkelvin-dot/prompt-buttonsPurpose
Design rules (enforced by the skill)
Yes, No, 1, 2, A.Capabilities
API / Integration
prompt-buttons by sending a message via the message tool with action=send and a buttons array in the recommended format.Recommended payload (Telegram inline buttons): { "action": "send", "channel": "telegram", "message": "Title: Pick an option\n1 — Show top 10 entries\n2 — Triage noisy entries", "buttons": [[ {"text":"1","callback_data":"{"a":"show_top10"}"}, {"text":"2","callback_data":"{"a":"triage"}"} ]] }
Notes on callback_data
{\"a\":\"triage\",\"id\":42}), optionally base64-encode if required by the channel provider.Fallback rendering (channels without inline button support)
Implementation details (for skill authors)
message(action=send, channel=..., message=..., buttons=...) to show the ask.Security & privacy
Examples
Yes/No (implementation): message: "Run self-improving now?\nYes — Run and execute now.\nNo — Not now." buttons: [[{"text":"Y","callback_data":"{"a":"self_imp_yes"}"},{"text":"N","callback_data":"{"a":"self_imp_no"}"}]]
Multi-step menu (page 1 of 2): message: "Pick what to do next (page 1):\n1 — Show top 10 entries\n2 — Triage entries\n3 — Propose promotions\n4 — Next page" buttons: [[{"text":"1","callback_data":"{"a":"show_top10"}"},{"text":"2","callback_data":"{"a":"triage"}"},{"text":"3","callback_data":"{"a":"promote"}"},{"text":"4","callback_data":"{"a":"page2"}"}]]
Developer notes
Installation / discovery
/data/workspace/skills/prompt-buttons/ and ensure a discovery copy in /data/workspace/skills/skills/prompt-buttons/ so OpenClaw discovers it.skills.entries.prompt-buttons.enabled = true.Compatibility
Versioning & changelog
Contact