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 Mark-Life/telegram-claude-codex --skill bot-send-filegit clone --depth 1 https://github.com/Mark-Life/telegram-claude-codexWrote 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/mark-life/telegram-claude-codex/bot-send-file)<a href="https://agentmods.dev/skills/mark-life/telegram-claude-codex/bot-send-file"><img src="https://agentmods.dev/badge/skills/mark-life/telegram-claude-codex/bot-send-file/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/mark-life/telegram-claude-codex/bot-send-file"><img src="https://agentmods.dev/badge/skills/mark-life/telegram-claude-codex/bot-send-file.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00044 | $0.00362 |
| Opus 5.5 | $0.00018 | $0.00145 |
| Sonnet 5.5 | $0.00009 | $0.00072 |
| Haiku 4.5 | $0.00004 | $0.00036 |
Grade A, and why
bot-send-file 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 7d 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.
What it actually says
Sending a file to the user's Telegram chat
Only when the user explicitly asks you to send, share or download a file.
The helper's path is this file's path with skills/bot-send-file/SKILL.md replaced by scripts/send-file-to-user.ts. Call it by that absolute path:
bun <absolute path to send-file-to-user.ts> --path <absolute-file-path> --chat <id> [--thread <id>]
Pass --chat and --thread exactly as your prompt gives them for this turn, unchanged, so the file reaches the conversation that asked for it. When the prompt gives no --thread, leave it out.
Which file
- An incoming attachment: use only the exact
absolute_pathfrom its[Incoming Telegram attachment]block in the current request or reply context. Never searchuser-sent-files, pick a recent file, or guess which file the user meant. - A file you made: use only the exact absolute path you created during the current turn.
- If the requested file has no exact path in the current context, ask the user to resend it or reply to it. Do not send anything.
Rules
- Never bypass this helper by calling the Telegram API directly.
- The helper refuses
.envfiles, keys, the bot's own data and every provider login, and sends only to the owner or an executor. If it refuses, say so; do not look for another way to send the file.
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.
- 7d ago First seen · 28 lines · 44 tokens per session scan A 5d861451fa5e
bot-send-file is a skill published in the GitHub repository Mark-Life/telegram-claude-codex (12 stars, last pushed 5d ago), licensed MIT. It adds 44 tokens to every session and 362 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-11-23.
bot-send-file compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bot-send-fileMark-Life/telegram-claude-codex | Skill | 12 | 5d ago | MIT | A | 44 | Claude Code |
| groq-inferencesynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 77 | Claude Code, Codex |
| accessyaniv-golan/cc-telegram-plus | Skill | 1 | 8mo ago | MIT | A | 43 | Claude Code |
| configureyaniv-golan/cc-telegram-plus | Skill | 1 | 8mo ago | MIT | A | 56 | Claude Code |
| cookie-debuggingasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 71 | Claude Code, Codex |
| tmuxHKUDS/nanobot | Skill | 50k | yesterday | MIT | A | 20 | Claude Code, Codex |
| kpi-reportingasgeirtj/system_prompts_leaks | Skill | 74k | yesterday | CC0-1.0 | A | 54 | Claude Code, Codex |