context

context is a skill for Claude Code, Codex from k1p1l0/claude-telegram-supercharged. It costs 55 tokens per session (770 once invoked), scanned B, original, Apache-2.0.

A workflow for handing the current Claude Code terminal context to a Telegram bot. It records the work, decisions, changed files, and next actions in the bot's memory, then sends the summary to the Telegram chat.

In plain words
What is it for?
Use it when you want a Telegram bot to continue the current task, including the relevant progress, decisions, files, and pending work.
Why use it?
It prevents you from having to repeat the project's context when continuing work in Telegram. The saved summary gives the other session a starting point.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it when you want a Telegram bot to continue the current task, including the relevant progress, decisions, files, and pending work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k1p1l0/claude-telegram-supercharged/context
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 k1p1l0/claude-telegram-supercharged --skill context
Clone the repo
git clone --depth 1 https://github.com/k1p1l0/claude-telegram-supercharged

Made for: Claude Code, Codex.

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 context

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/k1p1l0/claude-telegram-supercharged/context"><img src="https://agentmods.dev/badge/skills/k1p1l0/claude-telegram-supercharged/context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 770 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00055 $0.00770
Opus 5.5 $0.00022 $0.00308
Sonnet 5.5 $0.00011 $0.00154
Haiku 4.5 $0.00006 $0.00077

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

Security

Grade B, and why

context scanned grade B 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 1mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

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

Makes network callslowCapability

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

curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \
skills/context/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

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

Append a new section with timestamp:

## 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:

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:

Read the full file on GitHub · 104 lines

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. 1mo ago First seen · 104 lines · 55 tokens per session scan B 79beee05de7b

Subscribe to this mod's changes

context is a skill published in the GitHub repository k1p1l0/claude-telegram-supercharged (138 stars, last pushed 2d ago), licensed Apache-2.0. It adds 55 tokens to every session and 770 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

Vizra ADK Memory System

Implement persistent memory, session context, and vector memory (RAG) for AI agents.

vizra-ai/vizra-adk · 24 tokens

67-agency-vendor-brief-global

Use when briefing or managing an EXTERNAL agency, freelancer, or production vendor — scope of work, deliverable specs, revision rounds, approval process, USD payment milestones, IP assignment and confidentiality terms, communication rules, and a post-project vendor scorecard. Trigger on 'brief an agency', 'hire a…

minhnv0807/ai-business-skills · 166 tokens

nav-compact

Clear conversation context while preserving knowledge via context marker. Use when user says "clear context", "start fresh", "done with this task", or when approaching token limits.

qf-studio/navigator · 38 tokens

hive-mind-advanced

Queen-led collective-intelligence coordination with consensus mechanisms and persistent shared memory. Use when orchestrating a large swarm of agents under a lead coordinator, building consensus across agents, or maintaining durable cross-agent memory.

frankxai/claude-skills-library · 47 tokens

creator-productivity

Task management and workspace memory for creative work sessions. Manages a TASKS.md file for project tracking, a two-tier memory system (CREATOR.md + creator-memory/), and a daily sprint structure. Use when organizing creative projects, tracking content tasks, or starting a focused work session.

frankxai/claude-skills-library · 62 tokens

memory-prune

Manual reviewable prune of stale memory entries. Lists project entries older than 30 days with content preview; Frank decides per-entry [keep | archive | pin]. Keeps MEMORY.md under the auto-load 200-line truncation. Use when MEMORY.md exceeds 180 lines or session-end after a heavy work week.

frankxai/claude-skills-library · 67 tokens