Skip to content
Skills Library
AI & agents · Tool integration

context

/context

Transfer context from the current Claude Code terminal session to the Telegram bot session. Use when the user says "send this to telegram", "transfer context", "telegram:context", "teleport to telegram", or wants the Telegram bot to continue work from this session.

Licence
Apache-2.0
Last repository change
19.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 19.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Transfer context from the current Claude Code terminal session to the Telegram bot session. Use when the user says "send this to telegram", "transfer context", "telegram:context", "teleport to telegram", or wants the Telegram bot to continue work from this session.

Triggers from the description

send this to telegramtransfer contexttelegram:contextteleport to telegram
Original author description

Transfer context from the current Claude Code terminal session to the Telegram bot session. Use when the user says "send this to telegram", "transfer context", "telegram:context", "teleport to telegram", or wants the Telegram bot to continue work from this session.

How it works

  1. Process
  2. Context Format Template
  3. Important Notes
Original SKILL.md headings · 100 lines, 415 words
SKILL.md preview
---
name: context
description: Transfer context from the current Claude Code terminal session to the Telegram bot session. Use when the user says "send this to telegram", "transfer context", "telegram:context", "teleport to telegram", or wants the Telegram bot to continue work from this session.
---

# Context Transfer to Telegram Bot

Transfer the current conversation context to the Telegram bot session so it can continue the work.

## Process

### Step 1: Gather context

Summarize the current conversation into a structured context handoff. Include:

1. **What we were working on** — the main task/topic
2. **Key decisions made** — important choices, approaches taken
3. **Current state** — what's done, what's pending
4. **Files changed** — any relevant file paths
5. **Action items** — what the Telegram bot should do next (if any)

Keep it concise — under 2000 characters. The bot has limited context.

### Step 2: Write to bot memory

Append the context to the bot's memory file so it persists across restarts:

```bash
MEMORY_FILE="$HOME/.claude/channels/telegram/data/memory.md"
```

Append a new section with timestamp:

```markdown
## YYYY-MM-DD HH:MM — Context Transfer
**Chat 305120844**: [summary here]
```

**IMPORTANT:** Do not overwrite the file — APPEND to it. Read existing content first, then write old + new.

### Step 3: Send as Telegram message

Send the context as a direct message to the user's Telegram chat so the bot sees it immediately in the current session:

```bash
BOT_TOKEN=$(grep TELEGRAM_BOT_TOKEN "$HOME/.claude/channels/telegram/.env" 2>/dev/null | cut -d= -f2 | tr -d '"' | tr -d "'")

# If not in .env, check environment
if [ -z "$BOT_TOKEN" ]; then
  BOT_TOKEN="$TELEGRAM_BOT_TOKEN"
fi

CHAT_ID="305120844"

curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \
  -H "Content-Type: application/json" \
  -d "{
    \"chat_id\": \"${CHAT_ID}\",
    \"text\": \"📋 *Context transfer from CLI session*\n\n${CONTEXT_TEXT}\",
    \"parse_mode\": \"Markdown\"
  }"
```

### Step 4: Confirm

Tell the user:
```
Context transferred to Telegram bot:
✓ Written to memory (persists across restarts)
✓ Sent as message (bot sees it now)

Switch to Telegram and continue the conversation there.
```

## Context Format Template

Use this format for the transferred context:

```
📋 CONTEXT TRANSFER FROM CLI

🔧 Working on: [main task]
📁 Project: [project name/path]

Key context:
- [point 1]
- [point 2]
- [point 3]

Current state: [what's done / what's pending]

Next steps: [what to do next, if any]
```

## Important Notes

- Always ask the user what specific context they want to transfer — don't dump everything
- Keep it under 2000 chars (Telegram message limit considerations)
- Escape special Markdown characters in the curl message
- The bot token is in `~/.claude/channels/telegram/.env` as `TELEGRAM_BOT_TOKEN`
- The user's chat_id is `305120844`
- If the user says "teleport everything" — summarize the full conversation
- If the user says "teleport this" — only transfer the most recent topic

Versions

RepositoryScoreLicence
This page · k1p1l0/claude-telegram-supercharged100Apache-2.0
ADWilkinson/astack100MIT
rubycatco/herdr-fleet100MIT
rvdbreemen/adr-kit100MIT
pawangai/pawang-agents100MIT
nocodework/growth-os100MIT
muon-m2/magento2-tools100MIT
e-reitbauer/habits90MIT
nicknisi/sessions90MIT

Database snapshot: 13.11.2026 · package version f8777d0729d3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100telegram
    Read and send messages in the connected Telegram bot's chats via the Telegram Bot API, and help the user finish bot setup. Use when the user asks to send a Telegram message, reply in a chat or group, download a file someone sent, or connect a Telegram bot.
  • 86telegram-connect
    Set up Telegram as a notification center for your Egregore — creates the group, links the bot, and stores the chat ID. Use for /telegram-connect, ''connect telegram'', or ''set up telegram notifications''.
  • 95telegram-id
    Find a Telegram ID — the user's own numeric Telegram user ID, or the ID of a public channel, group or bot — with Catalogue App (@catalogue_app). Use when the user asks "what is my Telegram ID", needs a user ID or chat ID for a bot, an API, an allowlist or an admin setting, or…
  • 100telegram-bot
    Publish to your Telegram channel/group via a bot using the official Telegram Bot API — send text or photo posts, edit and delete messages, and verify the bot's access to a chat. Use when the user wants to broadcast to a Telegram channel/group with a bot token (BotFather),…
  • 100add-telegram-swarm
    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
  • 100add-telegram-swarm
    Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.