Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add besoeasy/open-skills --skill using-telegram-botgit clone --depth 1 https://github.com/besoeasy/open-skillsWrote 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/besoeasy/open-skills/using-telegram-bot)<a href="https://agentmods.dev/skills/besoeasy/open-skills/using-telegram-bot"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/using-telegram-bot/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/besoeasy/open-skills/using-telegram-bot"><img src="https://agentmods.dev/badge/skills/besoeasy/open-skills/using-telegram-bot.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.00023 | $0.00609 |
| Opus 5.5 | $0.00009 | $0.00244 |
| Sonnet 5.5 | $0.00005 | $0.00122 |
| Haiku 4.5 | $0.00002 | $0.00061 |
Grade A, and why
using-telegram-bot 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 3mo 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Telegram (Telegraf) Skill — Node.js
Short guide to build Telegram bots with telegraf (Node.js).
Overview
- Library: https://github.com/telegraf/telegraf
- Install:
npm install telegraf - Get a bot token from BotFather and store it in
BOT_TOKEN.
Minimal polling bot
// bot.js
const { Telegraf, Markup } = require('telegraf');
const bot = new Telegraf(process.env.BOT_TOKEN);
bot.start(ctx => ctx.reply('Welcome! I can help with commands.'));
bot.command('echo', ctx => {
const text = ctx.message.text.split(' ').slice(1).join(' ');
ctx.reply(text || 'usage: /echo your message');
});
bot.on('text', ctx => ctx.reply(`You said: ${ctx.message.text}`));
bot.launch();
process.once('SIGINT', () => bot.stop('SIGINT'));
process.once('SIGTERM', () => bot.stop('SIGTERM'));
Run:
BOT_TOKEN=123:ABC node bot.js
Send media and files
// send photo
await ctx.replyWithPhoto('https://example.com/image.jpg', { caption: 'Nice pic' });
// send document
await ctx.replyWithDocument('https://example.com/file.pdf');
Inline keyboards and callbacks
// show inline buttons
await ctx.reply('Choose:', Markup.inlineKeyboard([
Markup.button.callback('OK', 'ok'),
Markup.button.callback('Cancel', 'cancel')
]));
bot.action('ok', ctx => ctx.reply('You pressed OK'));
bot.action('cancel', ctx => ctx.reply('Cancelled'));
Webhook (Express) example
const express = require('express');
const { Telegraf } = require('telegraf');
const bot = new Telegraf(process.env.BOT_TOKEN);
const app = express();
app.use(bot.webhookCallback('/telegraf'));
bot.telegram.setWebhook(`${process.env.PUBLIC_URL}/telegraf`);
app.listen(process.env.PORT || 3000);
Use webhooks for production deployments (faster, lower resource use).
Error handling
bot.catch((err, ctx) => {
console.error('Bot error', err);
});
Tips
- Use environment variables for tokens and URLs.
- Respect Telegram rate limits (avoid flooding large groups).
- For local testing, use polling; for deployment use webhooks behind HTTPS.
- Add
NODE_ENV=productionand graceful shutdown hooks for reliability.
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.
- 3mo ago First seen · 99 lines · 23 tokens per session scan A 6852e475abf9
using-telegram-bot is a skill published in the GitHub repository besoeasy/open-skills (132 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 609 once invoked, about $0.0001 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.
using-telegram-bot compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| using-telegram-botbesoeasy/open-skills | Skill | 132 | 2mo ago | MIT | A | 23 | Claude Code, Codex |
| langbot-eba-adapter-devlangbot-app/LangBot | Skill | 19k | today | Apache-2.0 | A | 73 | Claude Code, Codex |
| langbot-devlangbot-app/LangBot | Skill | 19k | today | Apache-2.0 | A | 136 | Claude Code, Codex |
| stripe-projectse2b-dev/E2B | Skill | 15k | today | Apache-2.0 | A | 51 | Claude Code, Codex |
| ax-go-flowax-llm/ax | Skill | 3.0k | yesterday | Apache-2.0 | A | 43 | Claude Code, Codex |
| ax-event-runtimeax-llm/ax | Skill | 3.0k | yesterday | Apache-2.0 | A | 36 | Claude Code, Codex |
| app-ai-bindingcloudflare/vibesdk | Skill | 5.5k | 1mo ago | MIT | A | 48 | Claude Code, Codex |