LaunchKit · 2026
Back to Skills

telegram-footer-patch

Patch Telegram replies with OpenClaw footer.

4
297 downloads
by @c-joey

Setup & Installation

openclaw skills install @c-joey/telegram-footer-patch

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install telegram-footer-patch

Version History

v1.0.7Mar 14, 2026 - Version note by skill developer:

Fix HTML streaming footer + safer marker replacement

What This Skill Does

Patches OpenClaw's distributed JS files to append a footer line, `🧠 Model + 💭 Think + 📊 Context`, to every Telegram private-chat reply at the platform layer. Before and after each write, it creates timestamped backups, runs `node --check` syntax validation with auto-revert on failure, and provides rollback scripts plus reapply logic for post-upgrade scenarios.

Appending at the platform layer means the footer appears on every reply without relying on model memory or system prompt changes.

When to use it

  • Checking which model handled a specific Telegram reply without asking
  • Monitoring context window usage across a private chat session
  • Verifying think mode is active during a Telegram conversation
  • Debugging model selection after an OpenClaw upgrade
  • Rolling back the footer patch when testing a new OpenClaw version

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: I want to see model and context info on every Telegram reply

AGENT
  1. 1Run `python3 scripts/patch_reply_footer.py --dry-run` to preview which dist files will be modified
  2. 2Run `python3 scripts/patch_reply_footer.py` to apply the patch with automatic backup
  3. 3Script validates syntax with `node --check` and auto-reverts if validation fails
  4. 4Run `openclaw gateway restart` to activate the patched files
OUTPUT

All Telegram private-chat replies now include a footer line: `🧠 Model + 💭 Think + 📊 Context`