Rechercher

PythonReactSEOPDF
OpenClaw

Telegram Colored Choices Buttons

Openclaw AI Bot — Colored Choice Buttons Skill

dandysuper0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install dandysuper/telegram-colored-choices-buttons

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

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

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/dandysuper/telegram-colored-choices-buttons
Version
—
Commit
54a4d6b33dd71e4f39462182150e7d220afd5cdc
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

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

Skills associés

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