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.
curl -O https://raw.githubusercontent.com/vendelieu/telegram-bot/master/.cursor/skills/add-telegram-update-field/SKILL.mdgit clone --depth 1 https://github.com/vendelieu/telegram-botWrote 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.
[](https://agentmods.dev/skills/vendelieu/telegram-bot/add-telegram-update-field)<a href="https://agentmods.dev/skills/vendelieu/telegram-bot/add-telegram-update-field"><img src="https://agentmods.dev/badge/skills/vendelieu/telegram-bot/add-telegram-update-field/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.
<a href="https://agentmods.dev/skills/vendelieu/telegram-bot/add-telegram-update-field"><img src="https://agentmods.dev/badge/skills/vendelieu/telegram-bot/add-telegram-update-field.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.00879 |
| Opus 5 | $0.00040 | $0.00439 |
| Sonnet 5 | $0.00016 | $0.00176 |
| Haiku 4.5 | $0.00008 | $0.00088 |
Grade A, and why
add-telegram-update-field 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Telegram Update Field
Workflow
1. Add Field to Update
- In Update.kt: add
val myField: MyType? = null(camelCase, nullable) - Add import for the payload type if needed
2. Add UpdateType Entry
- In UpdateType.kt: add enum entry with
@SerialName("snake_case")matching Telegram API (e.g.MY_FIELD)
3. Add ProcessedUpdate Subclass
- In ProcessedUpdate.kt: add
data class MyFieldUpdate(...) : ProcessedUpdate(...) - Use
@Serializable(MyFieldUpdate.Companion::class)andinternal companion object : UpdateSerializer<MyFieldUpdate>() - Implement
UserReferencewhen the update has a user;ChatReferencewhen it has a chat;TextReferencewhen it has text
4. Add processUpdate Clause
- In ProcessUpdate.kt: add
myField != null -> MyFieldUpdate(updateId, this, myField) - Add import for the new ProcessedUpdate subclass
- Place clause in a logical order (group with similar update types)
5. Update KSP Module
- In TypeConstants.kt: add
val myFieldUpdateClass: TypeName = MyFieldUpdate::class.asTypeName() - In TypeMapper.kt: add
TypeConstants.myFieldUpdateClass to MyFieldUpdate::classtoupdateTypeMap
6. Regenerate FunctionalDSLUtils
- Run
./gradlew prepareRelease(or full build) - api-sentinel KSP regenerates FunctionalDSLUtils.kt from
UpdateType.entries; no manual edits needed
Handling: The new onXxx DSL function enables bot.setFunctionality { onXxx { ... } }. Both functional DSL and annotation approach (@UpdateHandler) use the same ActivityRegistry and ProcessingPipeline; see telegram-bot-handling.mdc.
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.
- 9d ago First seen · 61 lines · 80 tokens per session scan A 228d5df5246a
add-telegram-update-field is a skill published in the GitHub repository vendelieu/telegram-bot (248 stars, last pushed 12d ago), licensed Apache-2.0. It adds 80 tokens to every session and 879 once invoked, about $0.0004 per session on Opus 5. 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.
Other skills, from other repositories
compose-animations
Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.
compose-focus-navigation
Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.
kotlin-control-flow
Use when writing or reviewing Kotlin branching and control flow: when expressions, guard conditions, sealed type exhaustiveness, smart casts, nullable branching, early returns, or replacing complex if/else chains.
kotlin-tooling-agp9-migration
Migrates Kotlin Multiplatform (KMP) projects to Android Gradle Plugin 9.0+. Handles plugin replacement (com.android.kotlin.multiplatform.library), module splitting, DSL migration, and the new default project structure. Use when upgrading AGP, when build fails due to KMP+AGP incompatibility, or when the user mentions…
kotlin-tooling-immutable-collections-0-5-x-migration
Migrate Kotlin (and Java) code from kotlinx.collections.immutable 0.3.x / 0.4.x to the latest 0.5.x. The 0.5.x line renames every copy-returning method on PersistentList / PersistentMap / PersistentSet / PersistentCollection to a participial form per KEEP-0459 (add→adding, removeAt→removingAt, set→replacingAt…
kotlin-tooling-native-build-performance
Diagnoses and fixes slow Kotlin/Native compilation and linking in Kotlin Multiplatform projects that target iOS. Use when the user reports slow iOS or shared-framework builds, long linkDebug/linkRelease or XCFramework tasks, cold CI builds that re-download the Kotlin/Native toolchain, KSP or other generated code on…