← 返回 Skills 市场
c-joey

Telegram Footer Patch

作者 Joey-Chen · GitHub ↗ · v1.0.11 · MIT-0
cross-platform ⚠ suspicious
777
总下载
6
收藏
3
当前安装
12
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力评估
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).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install telegram-footer-patch
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /telegram-footer-patch 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug telegram-footer-patch
版本 1.0.11
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 12
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 777 次。

如何安装 Telegram Footer Patch?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install telegram-footer-patch」即可一键安装,无需额外配置。

Telegram Footer Patch 是免费的吗?

是的,Telegram Footer Patch 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Telegram Footer Patch 支持哪些平台?

Telegram Footer Patch 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Telegram Footer Patch?

由 Joey-Chen(@c-joey)开发并维护,当前版本 v1.0.11。

💬 留言讨论