skills/telegram-session-compact/SKILL.md
Compact long Telegram chat sessions and prevent silent non-replies caused by high context usage. Use when a Telegram conversation becomes slow, misses replies, or session tokens are high (for example above ~80-85%), and when the user asks to clean, rotate, or shrink Telegram context.
npx skillsauth add Andy-HNU/AndyClaw telegram-session-compactInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Compact Telegram sessions before they approach context limits.
session_status or openclaw status)./compact message.Use this as the /compact instruction:
Keep durable context only: user profile, assistant identity, investment strategy/risk rules, pending tasks, and key decisions. Remove casual chat, duplicate discussion, and stale transient details.
If user asks for infra-level prevention, tune agents.defaults.compaction in gateway config (reserve/keepRecentTokens, safeguard mode, memoryFlush). Apply only with explicit user approval.
tools
Send local files to Telegram chats through OpenClaw CLI delivery. Use when a user asks to send or forward a file (md/txt/pdf/image/video) to Telegram, especially from workspace paths. Supports direct chat targets and group/topic targets.
tools
轻量自我改进记录技能。用于把错误、用户纠正、知识缺口、功能诉求写入 `.learnings/`,并在每天回顾时将高价值经验提升到 AGENTS.md / SOUL.md / TOOLS.md / MEMORY.md。适用于“避免重复犯错、沉淀经验、降低长期 token 浪费”的场景;默认不启用高频 hooks。
data-ai
轻量主动代理增强。用于在不显著增加 token 的前提下引入 4 个高价值机制:VBR(先验证再汇报)、Autonomous vs Prompted Cron 区分、工具迁移检查清单、会话压缩恢复流程。适用于避免“改了文本没改机制”、减少自动任务失效、提高会话连续性。
data-ai
Search and collect policy/current-affairs source materials before analysis. Use when input is fragmented (keywords, fuzzy title, retell, or URL), when weekly/manual inspection is requested, or when analysis workflow reports critical knowledge gaps. Separates retrieval from analysis and controls agent-browser usage by priority.