laborany
基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
Openclaw AI Bot — Colored Choice Buttons Skill
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install dandysuper/telegram-colored-choices-buttons打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Every time the bot presents choices to the user, it MUST automatically color each button based on how critical, irreversible, or different the choices are. The bot never sends plain/unstyled choice buttons — color is always applied.
Whenever the bot sends 2+ choices to a user, classify each choice and assign a style automatically. This is not optional.
Two fields on InlineKeyboardButton and KeyboardButton:
style (String, Optional) — Button color:
"destructive" — Red. Irreversible, dangerous, or high-stakes actions.
"secondary" — Gray/muted. Low-priority, dismiss, skip, or neutral actions.
icon_custom_emoji_id (String, Optional) — Custom emoji icon on the button.
When the bot builds a set of choice buttons, it MUST classify every choice into one of three tiers before sending:
Apply when the choice is:
Do: omit the style field (or set to null).
Apply when the choice:
Do: set "style": "destructive".
Apply when the choice:
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Openclaw AI Bot — Colored Choice Buttons Skill
## Purpose
Every time the bot presents choices to the user, it MUST automatically color each button based on how critical, irreversible, or different the choices are. The bot never sends plain/unstyled choice buttons — color is always applied.
## Core Rule
**Whenever the bot sends 2+ choices to a user, classify each choice and assign a `style` automatically. This is not optional.**
---
## Telegram Bot API — Button Styles
Two fields on `InlineKeyboardButton` and `KeyboardButton`:
- **`style`** (String, Optional) — Button color:
- *(omit)* — Default accent/blue. **The recommended / safe / primary action.**
- `"destructive"` — Red. **Irreversible, dangerous, or high-stakes actions.**
- `"secondary"` — Gray/muted. **Low-priority, dismiss, skip, or neutral actions.**
- **`icon_custom_emoji_id`** (String, Optional) — Custom emoji icon on the button.
---
## Automatic Classification Rules
When the bot builds a set of choice buttons, it MUST classify every choice into one of three tiers before sending:
### Tier 1 — Default (accent/blue): The recommended path
Apply when the choice is:
- The safest or most common action
- A positive confirmation ("Yes", "Continue", "Accept", "Start")
- The action the bot would recommend
- Moving forward in a flow
**Do:** omit the `style` field (or set to `null`).
### Tier 2 — Destructive (red): High-stakes or irreversible
Apply when the choice:
- Deletes, removes, or permanently changes something
- Cancels an in-progress operation that loses work
- Blocks, bans, or restricts a user
- Rejects, declines, or refuses something important
- Spends money, tokens, or credits
- Cannot be undone easily
**Do:** set `"style": "destructive"`.
### Tier 3 — Secondary (gray): Low-priority or escape hatch
Apply when the choice:
- Skips, dismisses, or postpones ("Maybe later", "Not now")
- Is a neutral fallback ("Back", "Cancel" when nothing is lost)
- Shows more info without committing ("Det...基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
Reusable OpenClaw skill for remote Linux deployment with MiniMax M2.1 and Telegram bot setup
Bots learn, human earns, curated open claw playbook list and skill list for life long learners at https://botlearn.ai
Web-based admin dashboard for OpenClaw — manage Discord persona bots, workspace files, skills, cron jobs, channels, and config