bot-send-file

bot-send-file is a skill for Claude Code from Mark-Life/telegram-claude-codex. It costs 44 tokens per session (362 once invoked), scanned A, original, MIT.

A procedure for sending a specific file to a user's Telegram chat through a helper script. It only uses an exact file path from the current conversation or a file created during the current task.

In plain words
What is it for?
Use it when the user explicitly asks to send, share, or download a file in Telegram.
Why use it?
It prevents sending the wrong file and blocks unsafe workarounds such as directly calling Telegram or guessing which file the user meant.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the bot plugin — 6 skills shipped together

Good fit Use it when the user explicitly asks to send, share, or download a file in Telegram.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mark-life/telegram-claude-codex/bot-send-file
Install

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.

Any agent
npx skills add Mark-Life/telegram-claude-codex --skill bot-send-file
Clone the repo
git clone --depth 1 https://github.com/Mark-Life/telegram-claude-codex

Made for: Claude Code.

Or install bot, the plugin that ships this one along with the rest of its 6 skills.

Wrote 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.

agentmods badge for bot-send-file

README.md
[![agentmods](https://agentmods.dev/badge/skills/mark-life/telegram-claude-codex/bot-send-file/github.svg)](https://agentmods.dev/skills/mark-life/telegram-claude-codex/bot-send-file)
Your own site
<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.

agentmods 80×15 button for bot-send-file

Your own site · 80×15
<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>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 362 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash 5d861451fa5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

packages/agent/skills/bot-send-file/SKILL.md · 28 lines

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_path from its [Incoming Telegram attachment] block in the current request or reply context. Never search user-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 .env files, 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.
Changes

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.

  1. 7d ago First seen · 28 lines · 44 tokens per session scan A 5d861451fa5e

Subscribe to this mod's changes

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.

Related

bot-send-file compared with skills from other repositories

bot-send-file next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bot-send-fileMark-Life/telegram-claude-codexSkill125d agoMITA44Claude Code
groq-inferencesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A77Claude Code, Codex
accessyaniv-golan/cc-telegram-plusSkill18mo agoMITA43Claude Code
configureyaniv-golan/cc-telegram-plusSkill18mo agoMITA56Claude Code
cookie-debuggingasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A71Claude Code, Codex
tmuxHKUDS/nanobotSkill50kyesterdayMITA20Claude Code, Codex
kpi-reportingasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A54Claude Code, Codex