telegram-footer-patch
di c-joey
Clawdbot ToolsSintesi
Patch Telegram replies with OpenClaw footer.
Descrizione
Cosa fa questa skill
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.
Quando usarla
- 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
Esempio di workflow
User asks: I want to see model and context info on every Telegram reply
- 1
Run
python3 scripts/patch_reply_footer.py --dry-runto preview which dist files will be modified - 2
Run
python3 scripts/patch_reply_footer.pyto apply the patch with automatic backup - 3
Script validates syntax with
node --checkand auto-reverts if validation fails - 4
Run
openclaw gateway restartto activate the patched files
All Telegram private-chat replies now include a footer line: `🧠 Model + 💭 Think + 📊 Context`
Installazione
clawhub install c-joey/telegram-footer-patchEsegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.