{"skill":{"slug":"openclaw-telegram-acp-troubleshooter","displayName":"OpenClaw Telegram ACP Troubleshooter","summary":"Diagnose why Telegram forum topics do not reliably route into OpenClaw ACP sessions backed by codex. 诊断 Telegram 话题为何无法稳定进入 OpenClaw 的 codex ACP 会话。","description":"---\nname: openclaw-telegram-acp-troubleshooter\ndescription: Diagnose why Telegram forum topics do not reliably route into OpenClaw ACP sessions backed by codex. 诊断 Telegram 话题为何无法稳定进入 OpenClaw 的 codex ACP 会话。\nhomepage: https://docs.openclaw.ai/tools/clawhub\n---\n\n# OpenClaw Telegram ACP Troubleshooter\n\nUse this skill when Telegram group topics are expected to talk directly to an ACP session, but the bot does not reply reliably.\n当 Telegram 群组话题本应直接进入 ACP 会话，但机器人回复不稳定时，使用这个 skill。\n\nThis skill is designed to be self-contained for workspace use and ClawHub publishing.\n这个 skill 设计为可独立打包，既可在本地工作区使用，也可直接发布到 ClawHub。\n\n## Read First | 先读这些\n\nReview these files before concluding anything:\n在下结论之前，先看这些文件：\n\n- `{baseDir}/README.md`\n- `{baseDir}/TROUBLESHOOTING.md`\n- `{baseDir}/FAQ.md`\n\n## Primary Rule | 核心判断\n\nIf `/new` works but normal topic text does not, do not blame ACP first. Treat Telegram delivery as the leading suspect until logs prove otherwise.\n如果 `/new` 能工作，但普通话题文本不工作，先不要怀疑 ACP。除非日志证明不是，否则优先把 Telegram 投递当成头号嫌疑。\n\n## Workflow | 诊断顺序\n\n1. Confirm the routing target:\n   确认路由目标：\n   - group default agent\n   - topic-level `agentId`\n   - `requireMention` setting\n2. Confirm gateway health:\n   确认 gateway 健康状态：\n   - `systemctl --user is-active openclaw-gateway`\n   - inspect the current gateway log\n3. Confirm OpenClaw ingestion:\n   确认 OpenClaw 是否真的收到了输入：\n   - watch `~/.openclaw/logs/commands.log`\n   - inspect the relevant session file under `~/.openclaw/agents/codex/sessions/`\n4. Separate the failure class:\n   区分故障类别：\n   - token or auth\n   - duplicate poller\n   - Telegram not delivering normal text\n   - routing bound to the wrong agent\n5. Recommend the next action in priority order, with evidence.\n   按概率和证据给出下一步动作。\n6. If the user wants durable documentation, point them to:\n   如果用户想要长期保存文档，指向：\n   - `{baseDir}/README.md` for usage\n   - `{baseDir}/TROUBLESHOOTING.md` for the full runbook\n   - `{baseDir}/FAQ.md` for short operator answers\n\n## Strong Heuristics | 强判断规则\n\n- `/new` works: ACP path is alive.\n- `/new` works: ACP path is alive.\n- outbound send works: token is valid enough for sends.\n- plain text missing from `commands.log`: Telegram delivery problem or upstream filter.\n- `409 Conflict`: another poller is active.\n- privacy mode was recently changed: re-add the bot before patching code.\n\n中文解释：\n\n- `/new` 能回复：ACP 通路正常。\n- 能主动发消息：token 至少对发送是有效的。\n- 普通文本没进 `commands.log`：大概率是 Telegram 投递或更上游的过滤问题。\n- `409 Conflict`：还有别的轮询器在抢同一个 bot token。\n- 刚改过 privacy mode：先移除并重新拉机器人入群，再谈改代码。\n\n## Safe Commands | 安全命令\n\n```bash\nsystemctl --user show -p MainPID -p ActiveEnterTimestamp openclaw-gateway\ntail -f ~/.openclaw/logs/commands.log\ntail -f /tmp/openclaw/openclaw-$(date +%F).log\n```\n\n## Response Format | 输出格式\n\nAlways return:\n始终按下面格式返回：\n\n1. current conclusion\n2. evidence\n3. next single best action\n4. what to test after that\n\n## Constraints | 约束\n\n- Do not reveal secret values from env vars, 1Password, or config.\n- Do not recommend source patches before Telegram delivery checks are exhausted.\n- Prefer topic-level binding for important threads.\n- Keep recommendations actionable and ordered by probability.\n\n中文约束：\n\n- 不要泄露 env、1Password 或配置中的密钥值。\n- 在 Telegram 投递问题没排干净前，不要先建议改源码。\n- 重要话题优先使用 topic 级绑定。\n- 建议必须可执行，并按概率高低排序。\n","tags":{"acp":"1.0.1","bilingual":"1.0.1","codex":"1.0.1","latest":"1.0.1","telegram":"1.0.1","troubleshooting":"1.0.1"},"stats":{"comments":0,"downloads":454,"installsAllTime":0,"installsCurrent":0,"stars":0,"versions":2},"createdAt":1773891108840,"updatedAt":1778492018600},"latestVersion":{"version":"1.0.1","createdAt":1773891601979,"changelog":"Add CHANGELOG.md to the published bundle. No workflow changes.","license":"MIT-0"},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"grey0758","userId":"s17d34x1ad5mvb8sv7rbz30ws1840n4w","displayName":"grey0758","image":"https://avatars.githubusercontent.com/u/110289906?v=4"},"moderation":null}