โ Back to Skills Marketplace
Telegram Footer Patch
by
Joey-Chen
ยท GitHub โ
ยท v1.0.11
ยท MIT-0
777
Downloads
6
Stars
3
Active Installs
12
Versions
Install in OpenClaw
/install telegram-footer-patch
Description
Add a Telegram private-chat footer (`๐ง Model + ๐ญ Think + ๐ Context`) to OpenClaw replies, with dry-run preview, backup, syntax validation, rollback, and r...
Usage Guidance
This package appears to do exactly what it says: edit OpenClaw's dist JS bundles to append a Telegram footer. However, before running it you should: (1) Inspect the scripts locally (they are included) and confirm you accept that they will write into your OpenClaw installation; (2) Run the provided dry-run (--dry-run --list-targets) to see which files would be touched; (3) Run the smoke test in a staging container or VM, confirm backups (*.bak.telegram-footer.*) are created, and test revert; (4) Be aware the patch reads ~/.openclaw/.../sessions/sessions.json to populate the footer (this reads local session state and token counts โ sensitive data); (5) Ensure node and python3 are installed and that the metadata's omission of those requirements is acceptable; (6) Only run on systems you control, and require a true process restart and an actual Telegram private-chat test to validate success. If you are uncomfortable with any of these points, do not run the patch on production systems.
Capability Analysis
Type: OpenClaw Skill
Name: telegram-footer-patch
Version: 1.0.11
The skill patches OpenClaw's production JavaScript bundles (e.g., in `/usr/lib/node_modules/openclaw/dist`) to inject a Telegram footer, which is a high-risk operation. The injected code in `scripts/patch_reply_footer.py` uses dynamic Node.js imports (`node:fs/promises`) to read sensitive session metadata directly from the filesystem (`~/.openclaw/agents/main/sessions/sessions.json`). While the skill includes safety features like dry-runs, backups, and syntax verification, the capability to modify core application logic and access session databases represents a significant security risk, even if aligned with the stated purpose.
Capability Assessment
Purpose & Capability
The name/description (append Telegram footer) aligns with the included scripts: patch_reply_footer.py injects marker-wrapped JS snippets and revert/smoke-test scripts perform verification and rollback. However the registry metadata declares no required binaries/env but the SKILL.md and scripts require python3 and node for execution and node --check syntax validation โ that mismatch is worth noting.
Instruction Scope
The runtime instructions and scripts will scan and write files under the OpenClaw dist directory (default /usr/lib/node_modules/openclaw/dist) and may modify multiple bundle files. The delivery helper code reads a local session store (~/.openclaw/agents/main/sessions/sessions.json) to surface provider/model/tokens for the footer; reading that file is sensitive and was not prominent in the top-level metadata. The scripts do not contact external endpoints, but they have the ability to change shipped JS bundles which affects process behavior beyond the skill itself.
Install Mechanism
There is no install spec (instruction-only) โ lowest installer risk โ but the package includes Python scripts that will write into system-installed JS bundles when run. No remote downloads or archive extraction are used. The lack of an explicit 'requires: node/python' declaration in the registry metadata is a documentation mismatch.
Credentials
The skill does not request secrets or external credentials, which is consistent with its purpose. It does access process.env.HOME (to locate sessions.json) and file system paths under the user's home and the OpenClaw install dir; this is proportionate to producing the footer content but is still sensitive because it reads local session state (provider, model, tokens).
Persistence & Privilege
The skill modifies application bundle files and requires write access to the OpenClaw dist directory. It is not marked always:true, and it does not autonomously persist itself into agent configuration, but modifying installed bundles is high privilege and can affect behavior of the whole application. The skill includes backup and revert tooling, which mitigates risk, but running it requires care (staging, permissions, true restart, testing).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install telegram-footer-patch - After installation, invoke the skill by name or use
/telegram-footer-patch - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.11
Live-validate OpenClaw 2026.4.12; add delivery-path patch guidance and true-restart acceptance boundary.
v1.0.10
Add live-validated OpenClaw 2026.4.5 support boundary and document the accepted bundle path from real Telegram private-chat verification.
v1.0.9
Clarify version-support wording: live-validated on OpenClaw 2026.3.22 only; document the exact live-validated bundle path (agent-runner.runtime-BWpOtdxK.js); tighten acceptance wording so smoke test / static patch verification is no longer treated as final proof; real Telegram private-chat reply validation is required.
v1.0.8
Remove stray Python bytecode/cache artifacts again and tighten docs wording to reduce false-positive suspicious scanning.
v1.0.7
Fix HTML streaming footer + safer marker replacement
v1.0.6
Add safety notice to docs; add preflight checks and disable Python bytecode cache writes
v1.0.5
Remove Python __pycache__/*.pyc from package to avoid false-positive security flags
v1.0.4
Compatibility update for latest OpenClaw dist bundles; verified patch flow on local OpenClaw 2026.3.7.
v1.0.3
Switch license to MIT (standard) + add SPDX metadata
v1.0.2
Add syntax check + rollback safety; add upgrade-aware reapply hint; add legacy footer cleanup; update docs and preview image.
v1.0.1
Add MIT license, changelog, and README; improve project hygiene and maintenance docs.
v1.0.0
Initial release: private-chat footer injection, dry-run check, backup, rollback script.
Metadata
Frequently Asked Questions
What is Telegram Footer Patch?
Add a Telegram private-chat footer (`๐ง Model + ๐ญ Think + ๐ Context`) to OpenClaw replies, with dry-run preview, backup, syntax validation, rollback, and r... It is an AI Agent Skill for Claude Code / OpenClaw, with 777 downloads so far.
How do I install Telegram Footer Patch?
Run "/install telegram-footer-patch" in the OpenClaw or Claude Code chat to install it in one step โ no extra setup required.
Is Telegram Footer Patch free?
Yes, Telegram Footer Patch is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Telegram Footer Patch support?
Telegram Footer Patch is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Telegram Footer Patch?
It is built and maintained by Joey-Chen (@c-joey); the current version is v1.0.11.
More Skills