telegram-bot: Skill for Cursor

.cursor/skills/bot-user/build-wizard-flow/SKILL.md

build-wizard-flow is a skill for Cursor from vendelieu/telegram-bot. It costs 0 tokens per session (846 once invoked), scanned A, original, Apache-2.0.

A guide for building multi-step Telegram bot conversations with the @WizardHandler annotation. You define steps such as asking, validating, and storing a user's answer, and KSP generates the coordinating activity.

In plain words
What is it for?
Use it to create registration forms, questionnaires, and other conversational flows with triggers, validation, retries, stored answers, and next-step transitions.
Why use it?
It lets the conversation be described as separate steps instead of manually managing transitions and stored state. KSP is a Kotlin tool that generates source code during the build.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is vendelieu/telegram-bot's own configuration. It tells Cursor how to work on telegram-bot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything telegram-bot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vendelieu/telegram-bot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vendelieu/telegram-bot/master/.cursor/skills/bot-user/build-wizard-flow/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vendelieu/telegram-bot

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-wizard-flow

README.md
[![agentmods](https://agentmods.dev/badge/skills/vendelieu/telegram-bot/build-wizard-flow/github.svg)](https://agentmods.dev/skills/vendelieu/telegram-bot/build-wizard-flow)
Your own site
<a href="https://agentmods.dev/skills/vendelieu/telegram-bot/build-wizard-flow"><img src="https://agentmods.dev/badge/skills/vendelieu/telegram-bot/build-wizard-flow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-wizard-flow

Your own site · 80×15
<a href="https://agentmods.dev/skills/vendelieu/telegram-bot/build-wizard-flow"><img src="https://agentmods.dev/badge/skills/vendelieu/telegram-bot/build-wizard-flow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 846 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00846
Opus 5.5 $0.00000 $0.00338
Sonnet 5.5 $0.00000 $0.00169
Haiku 4.5 $0.00000 $0.00085

Measured 2mo ago against content hash 55b47be38795, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

build-wizard-flow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/bot-user/build-wizard-flow/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build Wizard Flow

Quick Start

Annotate an object/class with @WizardHandler. Define nested steps extending WizardStep. KSP generates the WizardActivity; no manual Activity class needed.

import eu.vendeli.tgbot.types.component.MessageUpdate

@WizardHandler(trigger = ["/start"])
object RegistrationWizard {
    object NameStep : WizardStep(isInitial = true) {
        override suspend fun onEntry(ctx: WizardContext) {
            message("What's your name?").send(ctx.user, ctx.bot)
        }
        override suspend fun validate(ctx: WizardContext): Transition {
            val text = (ctx.update as? MessageUpdate)?.message?.text ?: return Transition.Retry()
            return if (text.isNotBlank()) Transition.Next else Transition.Retry("Invalid name")
        }
        override suspend fun store(ctx: WizardContext): String? =
            (ctx.update as? MessageUpdate)?.message?.text
    }

    object AgeStep : WizardStep() {
        override suspend fun onEntry(ctx: WizardContext) {
            message("How old are you?").send(ctx.user, ctx.bot)
        }
        override suspend fun validate(ctx: WizardContext): Transition {
            val age = (ctx.update as? MessageUpdate)?.message?.text?.toIntOrNull()
            return if (age != null && age in 1..150) Transition.Next else Transition.Retry()
        }
        override suspend fun store(ctx: WizardContext): Int? =
            (ctx.update as? MessageUpdate)?.message?.text?.toIntOrNull()
    }
}

WizardStep Lifecycle

  • onEntry(ctx) — Called when entering the step. Send prompts, set keyboards.
  • validate(ctx) — Return Transition based on input.
  • store(ctx) — Return value to persist (or null). Type must match a state manager.
  • onRetry(ctx, reason) — Called when validation fails (optional).

Transitions

Transition Effect
Transition.Next Move to next step in sequence
Transition.JumpTo(Step::class) Jump to specific step
Transition.Retry() or Transition.Retry("reason") Stay on step, call onRetry
Transition.Finish End wizard

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 90 lines · 0 tokens per session scan A 55b47be38795

Subscribe to this mod's changes

build-wizard-flow is a skill published in the GitHub repository vendelieu/telegram-bot (249 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 846 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

build-wizard-flow compared with skills from other repositories

build-wizard-flow next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-wizard-flowvendelieu/telegram-botSkill249yesterdayApache-2.0A0Cursor
kotlin-backend-conventionsTencentBlueKing/bk-ciSkill2.5kyesterdaynoneA71Claude Code, Codex
backend-microservice-developmentTencentBlueKing/bk-ciSkill2.5kyesterdaynoneA62Claude Code, Codex
ktorHeapy/kortexSkill74d agoApache-2.0A57Claude Code, Codex
Cursor rules for Kotlin development with Ktor integrationAmariahAK/atlarix-skillsSkill21mo agoApache-2.0A9Claude Code, Codex
Cursor rules for Kotlin Springboot Best PracticesAmariahAK/atlarix-skillsSkill21mo agoApache-2.0A8Claude Code, Codex
at_client_skills-sdkatsign-foundation/at_client_sdkSkill1.4kyesterdayBSD-3-ClauseA220Claude Code