Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
Back to list

Add Telegram Channel (NanoClaw)

Wires a Chat SDK Telegram bot into a NanoClaw project — copying the adapter, pinning the dependency, storing the bot token, and pairing your chat with a 4-digit code.

AutomationIntermediate30,47112,865AI score 7/10Last updated: Aug 9, 2026

What it does

  • Pulls the Telegram adapter plus pairing and markdown-sanitize helpers (and their tests) from NanoClaw's channels branch into your tree.
  • Adds the self-registration import to src/channels/index.ts and registers the pair-telegram loader in the STEPS map of setup/index.ts.
  • Installs @chat-adapter/telegram at an exact pinned version (ranges and latest are rejected), then builds and runs telegram-registration.test.ts to prove the wiring and dependency are live.
  • Walks the operator through creating a bot with @BotFather, validates the token format, stores it in .env (set-if-absent), and calls getMe to confirm it works and capture the bot handle.
  • Restarts the service, then runs the pairing handshake: it prints a 4-digit code you send from the chat you want registered, resolving telegram:<chatId> and your owner user id.
  • Ships troubleshooting for rejected tokens, failing getMe, stalled pairing, and Group Privacy hiding group messages.

Who it's for

  • Developers running agents on NanoClaw who want to talk to them over Telegram.
  • Anyone mid-/setup or /init-first-agent who needs a messaging channel attached.
  • Teams that want an idempotent, re-runnable integration procedure instead of manual patching.

Example uses

  • "Add a Telegram bot to my NanoClaw instance" → files copied, dependency installed, build + registration test run.
  • Paste a BotFather token: it's regex-validated, written to .env, then verified via getMe to fetch the bot username.
  • Register a group: after the restart, send @yourbot 1234 in the group to pair the telegram:-100... address.

Caveat: this only works inside the NanoClaw repo (pnpm, the setup/ scripts, access to the channels branch). Telegram threads are not supported.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/nanocoai/nanoclaw/HEAD/.claude/skills/add-telegram/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the .claude/skills/add-telegram folder from the GitHub repo nanocoai/nanoclaw into my ~/.claude/skills/add-telegram/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/nanocoai/nanoclaw.git && mkdir -p ~/.claude/skills && cp -r nanoclaw/.claude/skills/add-telegram ~/.claude/skills/

This is a third-party skill. Check the source repository before installing.

  1. Open a terminal and clone the repo: git clone https://github.com/nanocoai/nanoclaw.git
  2. Create the skills folder: mkdir -p ~/.claude/skills
  3. Copy the skill in: cp -r nanoclaw/.claude/skills/add-telegram ~/.claude/skills/
  4. Change into your NanoClaw project root: cd nanoclaw (or your existing NanoClaw checkout).
  5. Verify prerequisites: pnpm install succeeds and git fetch origin channels can reach the channels branch.
  6. Start Claude Code in that directory and ask it to "add the Telegram channel".
  7. When prompted, open Telegram, message @BotFather with /newbot, and paste the resulting token back into the terminal.
  8. Finally, send the 4-digit code shown in the terminal to your bot from the exact chat or group you want registered to finish pairing.