copana: Skill for Claude Code

.claude/skills/add-telegram/SKILL.md

add-telegram is a skill for Claude Code from PayRequest/copana. It costs 0 tokens per session (338 once invoked), scanned C, original, MIT.

A setup command for connecting Copana, a personal AI assistant, to Telegram, a mobile messaging service. It creates a Telegram bot, configures its credentials, and tests that the bot can receive messages.

In plain words
What is it for?
Creating a bot through BotFather, finding its chat ID, setting environment variables, running the Python bot, testing it, and optionally keeping it running with tmux or system services.
Why use it?
It removes the manual work of wiring a mobile chat channel to the assistant and includes an allowed-user setting for access control.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is PayRequest/copana's own configuration. It tells Claude Code how to work on copana itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything copana configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/telegram_bot.py &.

Reuse

Borrowing it

Nothing to install: this file belongs to PayRequest/copana. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/PayRequest/copana/main/.claude/skills/add-telegram/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/PayRequest/copana

Made for: Claude Code.

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 add-telegram

README.md
[![agentmods](https://agentmods.dev/badge/skills/payrequest/copana/add-telegram/github.svg)](https://agentmods.dev/skills/payrequest/copana/add-telegram)
Your own site
<a href="https://agentmods.dev/skills/payrequest/copana/add-telegram"><img src="https://agentmods.dev/badge/skills/payrequest/copana/add-telegram/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 add-telegram

Your own site · 80×15
<a href="https://agentmods.dev/skills/payrequest/copana/add-telegram"><img src="https://agentmods.dev/badge/skills/payrequest/copana/add-telegram.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 338 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00000 $0.00338
Opus 5.5 $0.00000 $0.00135
Sonnet 5.5 $0.00000 $0.00068
Haiku 4.5 $0.00000 $0.00034

Measured 2mo ago against content hash 72a8d6558d8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

add-telegram scanned grade C with 2 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s "https://api.telegram.org/bot<TOKEN>/getUpdates" | python3 -c "import sys,json; print(json.load(sys.stdin)['result'][0]['message']['chat']['id'])"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://api.telegram.org/bot<TOKEN>/getUpdates" | python3 -c "import sys,json; print(json.load(sys.stdin)['result'][0]['message']['chat']['id'])"
.claude/skills/add-telegram/SKILL.md · 39 lines

What it actually says

/add-telegram — Add Telegram Bot

Set up a Telegram bot so the user can chat with their AI on mobile.

Steps

  1. Check prerequisites:

    • python3 available
    • scripts/requirements.txt dependencies installed (if not, install them)
  2. Guide bot creation:

    • Tell user to message @BotFather on Telegram
    • Create a new bot and get the token
    • Message the bot once, then get chat ID:
      curl -s "https://api.telegram.org/bot<TOKEN>/getUpdates" | python3 -c "import sys,json; print(json.load(sys.stdin)['result'][0]['message']['chat']['id'])"
      
  3. Configure .env:

    • Set TELEGRAM_BOT_TOKEN=<token>
    • Set TELEGRAM_CHAT_ID=<chat_id>
    • Set TELEGRAM_ALLOWED_USER=<username> (security)
  4. Test the bot:

    python3 scripts/telegram_bot.py &
    

    Send a test message via Telegram.

  5. Set up persistent running (optional):

    • Create a tmux session: tmux new -s copana-bot
    • Run: python3 scripts/telegram_bot.py
    • Detach: Ctrl+B, D
    • Or suggest launchd/systemd for auto-start
  6. Enable automation scripts that use Telegram:

    • Morning briefing, proactive pings, evening check-in
    • Add cron jobs from scripts/crontab.example
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. 2mo ago First seen · 39 lines · 0 tokens per session scan C 72a8d6558d8c

Subscribe to this mod's changes

add-telegram is a skill published in the GitHub repository PayRequest/copana (11 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 338 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

kimaki-debug

Debug and administer Kimaki itself. Use when sessions do not respond, the bot shows errors, you need the Kimaki or OpenCode service logs, want to profile the bot, restart it (only when asked), connect a model provider with kimaki login, check who may use the bot, or file a Kimaki bug report. ALWAYS load when Kimaki…

remorses/kimaki · 95 tokens

kimaki-tunnel

Share a local dev server with the user through a public URL. Localhost URLs are useless from Discord. Use when the user should open a localhost app in a browser, test a webhook or OAuth callback against a local server, or preview a dev server from Discord. Runs kimaki tunnel in a named background tuistory session.…

remorses/kimaki · 91 tokens

playwright-cli

Use this whenever the user asks to browse, navigate, click, fill a form, scrape, take a screenshot, or otherwise interact with a web page. SLICC drives the browser through the playwright-cli shell command (also aliased as playwright and puppeteer). Read this BEFORE running any browser automation: every tab-operating…

ai-ecoverse/slicc · 103 tokens

sprinkles

Use this when the user wants a persistent UI panel — a dashboard, form, editor, report, or visualization that lives alongside the chat. Sprinkles are .shtml files under /shared/sprinkles/ rendered in the side rail or as a full-screen tab. For ephemeral inline widgets, use dips instead. Covers creation, modification…

ai-ecoverse/slicc · 112 tokens

mount

Use this whenever the user asks to mount anything — local folders, S3 buckets, S3-compatible services (Cloudflare R2, MinIO), or Adobe da.live / AEM Document Authoring repos. Read this skill BEFORE deciding which backend to use; do NOT default to a local file picker when the user names a remote service. Covers…

ai-ecoverse/slicc · 161 tokens

theme

Use this when the user wants to change the SLICC UI appearance — switch preset themes, create custom themes, adjust colors, toggle the animated background, or export/import theme files. Covers the theme shell command, full token reference, and the JSON format for programmatic theming.

ai-ecoverse/slicc · 61 tokens