Agent skill

Add Ktnip Parameter Strategy

by vendelieu in vendelieu/telegram-bot

Adds a new parameter resolution strategy to the ktnip KSP processor.

Apache-2.0Auto-check passedMobile

Install Add Ktnip Parameter Strategy

skills CLI
$ npx skills add vendelieu/telegram-bot --skill add-ktnip-parameter-strategy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vendelieu/telegram-bot add-ktnip-parameter-strategy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vendelieu/telegram-bot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/add-ktnip-parameter-strategy .claude/skills/add-ktnip-parameter-strategy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-ktnip-parameter-strategy
GitHub stars
249
Token cost
~613 tokens
SKILL.md length
127 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Adds a new parameter resolution strategy to the ktnip KSP processor.

  • Works in 5 steps: Add ParameterResolutionStrategy → Add TypeConstant (if new type) → Update ParameterResolver → …
  • Handler functions need to receive a new parameter type (e.g
  • SKILL.md covers Workflow and Reference
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Add Ktnip Parameter Strategy is an agent skill from vendelieu/telegram-bot. Adds a new parameter resolution strategy to the ktnip KSP processor. Use when handler functions need to receive a new parameter type (e.g. ChatMember, InlineQuery), or when adding support for a new resolvable type in Activity invocation.

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Android development. It works with Telegram and Kotlin. The repository describes itself as: Telegram Bot API wrapper with handy Kotlin DSL. The licence is Apache-2.0.

When your agent uses it

  • Handler functions need to receive a new parameter type (e.g
  • Tasks that involve Android development

Example prompts

  • “/add-ktnip-parameter-strategy”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Add ParameterResolutionStrategy
  2. Add TypeConstant (if new type)
  3. Update ParameterResolver
  4. Update InvocationCodeGenerator
  5. Update generateInvocationCode (if needed)

What it can do on your machine

Read from SKILL.md and the folder at commit 1dbfd00. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are kotlin).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Ktnip Parameter Strategy loads about 613 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 127 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~613

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from vendelieu/telegram-bot at commit 1dbfd00, republished under its Apache-2.0 licence (© vendelieu). 127 words, ~613 tokens.

Download SKILL.mdSave it as .claude/skills/add-ktnip-parameter-strategy/SKILL.md (or your agent's skills folder).
name
add-ktnip-parameter-strategy
description
Adds a new parameter resolution strategy to the ktnip KSP processor. Use when handler functions need to receive a new parameter type (e.g. ChatMember, InlineQuery), or when adding support for a new resolvable type in Activity invocation.

Add Ktnip Parameter Strategy

Workflow

1. Add ParameterResolutionStrategy
  • In ParameterResolutionStrategy.kt
  • Add new data class extending ParameterResolutionStrategy
  • Include typeName, isNullable; add strategy-specific fields (e.g. parameterName, updateTypeSimpleName)
kotlin
data class MyParam(
    override val typeName: TypeName,
    override val isNullable: Boolean,
    val myField: String,
) : ParameterResolutionStrategy()
2. Add TypeConstant (if new type)
  • In TypeConstants.kt
  • Add val myTypeClass: TypeName = MyType::class.asTypeName()
3. Update ParameterResolver
  • In ParameterResolver.kt
  • Add branch in resolve() when block:
    • Match typeName (use TypeConstants or in TypeMapper.getAllTypedUpdateTypes() for typed updates)
    • Return new strategy instance
    • Handle @ParamMapping for parameter name if from parameters map
4. Update InvocationCodeGenerator
  • In InvocationCodeGenerator.kt
  • Add branch in generateParameterResolution() when block
  • Generate CodeBlock: CodeBlock.of("val param%L = ...\n", parameterIndex, ...)
  • Add imports via fileBuilder.addImport(...) if needed
  • Use nullabilityMark for !! when non-null
5. Update generateInvocationCode (if needed)
  • If strategy affects isBotNeeded, isUpdateNeeded, isParametersNeeded, isUserNeeded: add to the strategies.any { ... } checks

Reference

© vendelieu, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .cursor/skills/add-ktnip-parameter-strategy of vendelieu/telegram-bot.

Open the folder on GitHubat commit 1dbfd00

Compare with similar skills

Add Ktnip Parameter Strategy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Ktnip Parameter Strategy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Ktnip Parameter Strategy this skillvendelieu/telegram-bot249—~613Automated safety check: PassApache-2.0
Compose Multiplatform Patternsmonta-app/ocpp-emulator1805 repos~2kAutomated safety check: PassApache-2.0
Kotlin Patternsgetknit/knit1335 repos~4.7kAutomated safety check: PassGPL-3.0
Summoncodeyousef/summon167—~1.1kAutomated safety check: PassApache-2.0
Add JSON Schemayontrack/yontrack102—~883Automated safety check: PassMIT
CometChat Android v5 Headless SDKcometchat/cometchat-skills132—~4kAutomated safety check: PassMIT

Similar skills

  • Compose Multiplatform Patterns

    monta-app/ocpp-emulator

    Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.

    180 GitHub starsUsed in 5 repos~2k tokens
    MobileAuto-check passed
  • Kotlin Patterns

    getknit/knit

    Idiomatic Kotlin patterns, best practices, and conventions for building robust, efficient, and maintainable Kotlin applications with coroutines, null safety, and DSL builders.

    133 GitHub starsUsed in 5 repos~4.7k tokens
    MobileAuto-check passed
  • Summon

    codeyousef/summon

    A skill your agent uses when developing applications with the Summon Kotlin Multiplatform UI framework.

    167 GitHub stars~1.1k tokensUpdated yesterday
    MobileAuto-check passed
  • Add JSON Schema

    yontrack/yontrack

    Add a new downloadable JSON schema to the Resources page — Kotlin provider class only, auto-discovered by Spring.

    102 GitHub stars~883 tokensUpdated today
    MobileAuto-check passed
  • CometChat Android v5 Headless SDK

    cometchat/cometchat-skills

    Builds chat on Android with your own UI against the headless CometChat Chat SDK v5, covering install, Jetifier conflicts, credentials and init-before-login ordering.

    132 GitHub stars~4k tokensUpdated 4 days ago
    MobileAuto-check passed
  • Add Widget

    yontrack/yontrack

    Scaffold a new Yontrack dashboard widget end-to-end — Kotlin AbstractWidget class with config data class, and two frontend components (display + form).

    102 GitHub stars~1.6k tokensUpdated today
    MobileAuto-check passed

More from vendelieu/telegram-bot

All 14 skills in this repo
  • Add Ktnip Ksp Tests

    vendelieu/telegram-bot

    Adds tests for the ktnip KSP processor. An agent skill from vendelieu/telegram-bot.

    249 GitHub stars~726 tokensUpdated 5 days ago
    Auto-check passed
  • Add Telegram API Action

    vendelieu/telegram-bot

    Adds a new Telegram Bot API method (action class and top-level functions).

    249 GitHub stars~974 tokensUpdated 5 days ago
    Auto-check passed
  • Add Telegram API Tests

    vendelieu/telegram-bot

    Writes tests for Telegram Bot API actions. An agent skill from vendelieu/telegram-bot.

    249 GitHub stars~609 tokensUpdated 5 days ago
    Auto-check: notes
  • Add Telegram Update Field

    vendelieu/telegram-bot

    Adds a new field to the Update type and wires it through ProcessedUpdate, UpdateType, ProcessUpdate, KSP (TypeConstants, TypeMapper), and FunctionalDSLUtils.

    249 GitHub stars~841 tokensUpdated 5 days ago
    Auto-check passed
  • Add Wizard Handler

    vendelieu/telegram-bot

    Configures @WizardHandler annotation for wizard flows. An agent skill from vendelieu/telegram-bot.

    249 GitHub stars~508 tokensUpdated 5 days ago
    Auto-check passed
  • Add Wizard Step

    vendelieu/telegram-bot

    Implements WizardStep for wizard flows. An agent skill from vendelieu/telegram-bot.

    249 GitHub stars~634 tokensUpdated 5 days ago
    Auto-check passed

Works with

Categories

Questions about Add Ktnip Parameter Strategy

What does Add Ktnip Parameter Strategy do?

Adds a new parameter resolution strategy to the ktnip KSP processor. Add Ktnip Parameter Strategy is an agent skill from vendelieu/telegram-bot. Adds a new parameter resolution strategy to the ktnip KSP processor.

When should I use Add Ktnip Parameter Strategy?

Add Ktnip Parameter Strategy fits situations like: handler functions need to receive a new parameter type (e.g; tasks that involve Android development.

How do I install Add Ktnip Parameter Strategy in Claude Code?

Run `npx skills add vendelieu/telegram-bot --skill add-ktnip-parameter-strategy -a claude-code`. Or copy the skill folder (.cursor/skills/add-ktnip-parameter-strategy in vendelieu/telegram-bot) into .claude/skills/add-ktnip-parameter-strategy in your project. Claude Code loads it when a task matches its description.

How do I install Add Ktnip Parameter Strategy in Codex?

Run `npx skills add vendelieu/telegram-bot --skill add-ktnip-parameter-strategy -a codex`. Or copy the skill folder (.cursor/skills/add-ktnip-parameter-strategy in vendelieu/telegram-bot) into .agents/skills/add-ktnip-parameter-strategy in your project. Codex loads it when a task matches its description.

Can I use Add Ktnip Parameter Strategy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vendelieu/telegram-bot --skill add-ktnip-parameter-strategy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-ktnip-parameter-strategy, .gemini/skills/add-ktnip-parameter-strategy, .github/skills/add-ktnip-parameter-strategy and .opencode/skills/add-ktnip-parameter-strategy in your project.

What does Add Ktnip Parameter Strategy need to run?

SKILL.md names no scripts, command-line tools or credentials: Add Ktnip Parameter Strategy is instructions for the agent only.

Does Add Ktnip Parameter Strategy access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Add Ktnip Parameter Strategy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Ktnip Parameter Strategy use?

Add Ktnip Parameter Strategy is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Add Ktnip Parameter Strategy use?

About 613 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Ktnip Parameter Strategy?

Skills that share tags, products or a category with Add Ktnip Parameter Strategy: Compose Multiplatform Patterns (monta-app/ocpp-emulator, 180 stars), Kotlin Patterns (getknit/knit, 133 stars), Summon (codeyousef/summon, 167 stars) and Add JSON Schema (yontrack/yontrack, 102 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Ktnip Parameter Strategy?

vendelieu (a GitHub user) maintains it in vendelieu/telegram-bot, which has 249 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 4, 2026.

Source: vendelieu/telegram-bot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.