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-ktnip-parameter-strategy/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-ktnip-parameter-strategy)<a href="https://agentmods.dev/skills/vendelieu/telegram-bot/add-ktnip-parameter-strategy"><img src="https://agentmods.dev/badge/skills/vendelieu/telegram-bot/add-ktnip-parameter-strategy/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-ktnip-parameter-strategy"><img src="https://agentmods.dev/badge/skills/vendelieu/telegram-bot/add-ktnip-parameter-strategy.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.00060 | $0.00648 |
| Opus 5.5 | $0.00024 | $0.00259 |
| Sonnet 5.5 | $0.00012 | $0.00130 |
| Haiku 4.5 | $0.00006 | $0.00065 |
Grade A, and why
add-ktnip-parameter-strategy 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.
How it starts
The opening of the file, as written. The whole thing — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Ktnip Parameter Strategy
Workflow
1. Add ParameterResolutionStrategy
- In ParameterResolutionStrategy.kt
- Add new
data classextendingParameterResolutionStrategy - Include
typeName,isNullable; add strategy-specific fields (e.g.parameterName,updateTypeSimpleName)
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 orin TypeMapper.getAllTypedUpdateTypes()for typed updates) - Return new strategy instance
- Handle
@ParamMappingfor parameter name if from parameters map
- Match
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
nullabilityMarkfor!!when non-null
5. Update generateInvocationCode (if needed)
- If strategy affects
isBotNeeded,isUpdateNeeded,isParametersNeeded,isUserNeeded: add to thestrategies.any { ... }checks
Reference
- ParameterResolutionStrategy.kt
- ParameterResolver.kt
- InvocationCodeGenerator.kt
- TypeMapper.kt - for TypedUpdate: add to updateTypeMap
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.
- 2mo ago First seen · 55 lines · 60 tokens per session scan A dcb0561184c3
add-ktnip-parameter-strategy is a skill published in the GitHub repository vendelieu/telegram-bot (249 stars, last pushed yesterday), licensed Apache-2.0. It adds 60 tokens to every session and 648 once invoked, about $0.0002 per session on Opus 5.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.
add-ktnip-parameter-strategy compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| add-ktnip-parameter-strategyvendelieu/telegram-bot | Skill | 249 | yesterday | Apache-2.0 | A | 60 | Cursor |
| kotlin-tooling-agp9-migrationKotlin/kotlin-agent-skills | Skill | 1.1k | 7d ago | Apache-2.0 | A | 105 | Claude Code, Codex |
| compose-animationschrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 64 | Claude Code |
| compose-focus-navigationchrisbanes/skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 41 | Claude Code |
| kotlin-tooling-immutable-collections-0-5-x-migrationKotlin/kotlin-agent-skills | Skill | 1.1k | 7d ago | Apache-2.0 | A | 192 | Claude Code, Codex |
| kotlin-tooling-native-build-performanceKotlin/kotlin-agent-skills | Skill | 1.1k | 7d ago | Apache-2.0 | A | 96 | Claude Code, Codex |
| kotlin-tooling-java-to-kotlinKotlin/kotlin-agent-skills | Skill | 1.1k | 7d ago | Apache-2.0 | A | 100 | Claude Code, Codex |