Skip to content
Back to skills

Plugin

ASecurity

Summarises how the user writes in Telegram and looks up words in a dictionary API.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 22, 2026
ai-agentsgoapi

Works with

  • cursor
  • terminal
  • cli
  • api

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add TheVilfer/better-tg-cli --skill plugin --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plugin?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plugin
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thevilfer-plugin/badge)](https://www.skillsdirectory.com/skills/thevilfer-plugin)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: my-plugin
description: Summarises how the user writes in Telegram and looks up words in a dictionary API.
---

# My plugin

A template plugin for Better-TG-CLI. Replace this text with what your plugin teaches the agent.

## Summary

When the user asks how much or how they write in Telegram:

1. Run `telegram plugin run my-plugin summary --input '{"limit":300}'` and add its `count`, `chars`
   and `byType` to the totals.
2. While `done` is false and `remaining` is above 0, run it again with the `cursor` it returned and
   `"limit"` set to `remaining`, and add each page to the totals the same way.
3. A page with `retryAfterSeconds` holds what was read before Telegram asked to slow down: add it to
   the totals like any page and tell the user the wait. Only if they agree to go on, wait that many
   seconds, then continue as in step 2 with its `cursor` and `remaining`; never retry in a loop. If
   the command fails with `flood_wait` instead, nothing was counted: tell the user the wait and, once
   they agree, run the same command again after it. On `invalid_cursor` the cursor has expired: start
   again without one.
4. Tell the user the totals and quote the `samples` only if they asked to see examples.

## Define

When the user asks what a word in a message means, run
`telegram plugin run my-plugin define --input '{"word":"<the word>"}'`. This sends the word to
api.example.com, so it is a write: in write mode `ask` the user approves it. If `definition` is
`null`, say the dictionary does not know the word. On `secret_missing`, ask the user to run the
command in the error in their own terminal.

Files in this skill

  • .github/workflows/ci.yml1.3 KB
  • .gitignore21 B
  • LICENSE1 KB
  • README.md4.7 KB
  • SKILL.md1.6 KB
  • dev/fixtures/dictionary.json533 B
  • dist/plugin.js2.5 KB
  • package.json591 B
  • src/plugin.ts3.7 KB
  • test/plugin.test.ts4.9 KB
  • tg-plugin.json3.5 KB
  • tsconfig.json249 B
  • tsconfig.test.json133 B
  • vitest.config.ts157 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.