Skip to content
TakoAPI
Back to skills

telegram-context

by fourthdensity

Browser & Automation
480Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Toggle-enabled skill that fetches Telegram message history at session start for conversational continuity.

Description

What This Skill Does

Fetches recent Telegram message history at the start of each session so the agent has context from prior conversations. Toggle on or off anytime via slash commands, with manual fetch available for on-demand retrieval. State is stored locally in a JSON file, no external credentials required.

Unlike memory files alone, this pulls actual message content at session start rather than relying on manually written summaries.

When to Use It

  • Resuming a multi-day project discussion without re-explaining context
  • Fetching the last 10 messages before a task handoff
  • Disabling auto-fetch during a sensitive conversation
  • Manually pulling 50 messages to catch up after a long absence
  • Checking how many messages were last fetched with a status command

Example Workflow

INPUT

User asks: catch me up on what we discussed yesterday

AGENT
  1. 1

    Check memory/telegram-context.json for enabled state

  2. 2

    Call message tool with action: list and fetchCount from stored settings

  3. 3

    Retrieve last 20 Telegram messages from the current chat

  4. 4

    Summarize the retrieved messages for the context window

  5. 5

    Present a continuity summary to the user

OUTPUT

A summary of recent Telegram conversation history, scoped to the current chat

Installation

clawhub install fourthdensity/telegram-context

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links