Search

PythonReactSEOPDF
OpenClaw

Telegram Colored Choices Buttons

Openclaw AI Bot — Colored Choice Buttons Skill

dandysuper0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install dandysuper/telegram-colored-choices-buttons

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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...

Source information

Source
github
Repository
openclaw/skills
Path
skills/dandysuper/telegram-colored-choices-buttons
Version
—
Commit
54a4d6b33dd71e4f39462182150e7d220afd5cdc
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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...

Related skills

OpenClaw

laborany

laborany

基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...

OpenClaw

openclaw-admin

duanecilliers

Web-based admin dashboard for OpenClaw — manage Discord persona bots, workspace files, skills, cron jobs, channels, and config