[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FJ17NNF6YEJMVJKNZP3EEC":3,"skill-same:01M6FJ17NNF6YEJMVJKNZP3EEC":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6FJ17NNF6YEJMVJKNZP3EEC","telegram-pairing-customization",null,"Modify OpenClaw's Telegram pairing logic so unapproved users receive pairing codes on every \u002Fstart message before approval. Use when users need to repeatedly access pairing codes after the initial request, ensuring consistent access to pairing instructions even if the initial code was missed or lost.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcrazypeace\u002Ftelegram-pairing-send-code-to-every-start\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32],"customization","telegram","telegram pairing customization","openclaw","code","start","access","instructions","approval","use","message","missed","logic","users","codes","2026-11-10 10:12:30",false,"---\nname: telegram-pairing-customization\ndescription: Modify OpenClaw's Telegram pairing logic so unapproved users receive pairing codes on every \u002Fstart message before approval. Use when users need to repeatedly access pairing codes after the initial request, ensuring consistent access to pairing instructions even if the initial code was missed or lost.\n---\n\n# Telegram 配对消息持续响应技能\n\n## 概述\n此技能描述如何修改 OpenClaw 的 Telegram 配对逻辑，使未批准的用户在配对被批准前，每次发送 `\u002Fstart` 消息时都能收到配对码回复。\n\n## 何时使用此技能\n- 需要让未批准的用户每次发送 `\u002Fstart` 都收到配对消息（而非仅首次）\n- 用户可能错过首次配对消息，需要重新获取配对码\n- 提升用户体验，确保用户始终能获得配对指引\n\n## 执行步骤\n\n### 1. 找到需要修改的文件\n在你正在运行的代码中搜索下面的代码段\n\n```\nif (created) {\n  logger.info({\n    chatId: candidate,\n    username: from?.username,\n    firstName: from?.first_name,\n    lastName: from?.last_name,\n    matchKey: allowMatch.matchKey ?? \"none\",\n    matchSource: allowMatch.matchSource ?? \"none\"\n  }, \"telegram pairing request\");\n  await withTelegramApiErrorLogging({\n    operation: \"sendMessage\",\n    fn: () => bot.api.sendMessage(chatId, [\n      \"OpenClaw: access not configured.\",\n      \"\",\n      `Your Telegram user id: ${telegramUserId}`,\n      \"\",\n      `Pairing code: ${code}`,\n      \"\",\n      \"Ask the bot owner to approve with:\",\n      formatCliCommand(\"openclaw pairing approve telegram \u003Ccode>\")\n    ].join(\"\\n\"))\n  });\n}\n```\n\n### 2. 实施修改\n将条件判断从 `if (created)` 修改为 `if (code)`:\n\n```\nif (do) { \u002F\u002F \u003C-- 关键修改点\n  logger.info({\n    chatId: candidate,\n    username: from?.username,\n    firstName: from?.first_name,\n    lastName: from?.last_name,\n    matchKey: allowMatch.matchKey ?? \"none\",\n    matchSource: allowMatch.matchSource ?? \"none\"\n  }, \"telegram pairing request\");\n  await withTelegramApiErrorLogging({\n    operation: \"sendMessage\",\n    fn: () => bot.api.sendMessage(chatId, [\n      \"OpenClaw: access not configured.\",\n      \"\",\n      `Your Telegram user id: ${telegramUserId}`,\n      \"\",\n      `Pairing code: ${code}`,\n      \"\",\n      \"Ask the bot owner to approve with:\",\n      formatCliCommand(\"openclaw pairing approve telegram \u003Ccode>\")\n    ].join(\"\\n\"))\n  });\n}\n```\n\n\n### 3. 重启服务\n修改完成后需要重启 OpenClaw 服务以使更改生效:\n\n```bash\nopenclaw gateway restart\n```\n\n## 一些建议\n在寻找需要修改的文件时, 建议先搜索 `Ask the bot owner to approve with:` 可以帮助你先大幅缩小处理范围, 过滤出最有可能的几个文件.\n\n一个建议的起始目录为 \u002Fusr\u002Flib\u002Fnode_modules\u002Fopenclaw\u002F\n\n## 工作原理\n- `upsertTelegramPairingRequest` 函数返回 `{code, created}` 对象\n- 当用户首次请求配对时：`created: true`，有配对码\n- 当用户再次请求配对时：`created: false`，但仍有相同的配对码（只要配对请求未过期或未被批准）\n- 通过检查 `if (code)` 而不是 `if (created)`，确保用户每次请求都能收到有效的配对码\n\n## 验证修改\n- 让未配对的用户发送 `\u002Fstart` 命令\n- 确认用户收到配对码消息\n- 再次发送 `\u002Fstart` 命令，确认用户再次收到相同的配对码\n\n## 注意事项\n- 修改系统文件前务必备份原始文件\n- 修改后的文件在 OpenClaw 更新时可能会被覆盖，需要重新应用修改\n- 需要适当的文件系统权限来修改 OpenClaw 的安装文件\n- 修改后应测试以确保功能正常\n\n## 故障排除\n- 如果修改不生效，请确认是否正确重启了 OpenClaw 服务\n- 如果找不到文件路径，请确认 OpenClaw 的实际安装路径\n- 如果权限不足，请使用适当的权限提升方法（如 sudo）\n- 如需回滚，请使用备份文件替换修改后的文件","# Telegram 配对消息持续响应技能\n\n## 概述\n此技能描述如何修改 OpenClaw 的 Telegram 配对逻辑，使未批准的用户在配对被批准前，每次发送 `\u002Fstart` 消息时都能收到配对码回复。\n\n## 何时使用此技能\n- 需要让未批准的用户每次发送 `\u002Fstart` 都收到配对消息（而非仅首次）\n- 用户可能错过首次配对消息，需要重新获取配对码\n- 提升用户体验，确保用户始终能获得配对指引\n\n## 执行步骤\n\n### 1. 找到需要修改的文件\n在你正在运行的代码中搜索下面的代码段\n\n```\nif (created) {\n  logger.info({\n    chatId: candidate,\n    username: from?.username,\n    firstName: from?.first_name,\n    lastName: from?.last_name,\n    matchKey: allowMatch.matchKey ?? \"none\",\n    matchSource: allowMatch.matchSource ?? \"none\"\n  }, \"telegram pairing request\");\n  await withTelegramApiErrorLogging({\n    operation: \"sendMessage\",\n    fn: () => bot.api.sendMessage(chatId, [\n      \"OpenClaw: access not configured.\",\n      \"\",\n      `Your Telegram user id: ${telegramUserId}`,\n      \"\",\n      `Pairing code: ${code}`,\n      \"\",\n      \"Ask the bot owner to approve with:\",\n      formatCliCommand(\"openclaw pairing approve telegram \u003Ccode>\")\n    ].join(\"\\n\"))\n  });\n}\n```\n\n### 2. 实施修改\n将条件判断从 `if (created)` 修改为 `if (code)`:\n\n```\nif (do) { \u002F\u002F \u003C-- 关键修改点\n  logger.info({\n    chatId: candidate,\n    username: from?.username,\n    firstName: from?.first_name,\n    lastName: from?.last_name,\n    matchKey: allowMatch.matchKey ?? \"none\",\n    matchSource: allowMatch.matchSource ?? \"none\"\n  }, \"telegram pairing request\");\n  await withTelegramApiErrorLogging({\n    operation: \"sendMessage\",\n    fn: () => bot.api.sendMessage(chatId, [\n      \"OpenClaw: access not configured.\",\n      \"\",\n      `Your Telegram user id: ${telegramUserId}`,\n      \"\",\n      `Pairing code: ${code}`,\n      \"\",\n      \"Ask the bot owner to approve with:\",\n      formatCliCommand(\"openclaw pairing approve telegram \u003Ccode>\")\n    ].join(\"\\n\"))\n  });\n}\n```\n\n\n### 3. 重启服务\n修改完成后需要重启 OpenClaw 服务以使更改生效:\n\n```bash\nopenclaw gateway restart\n```\n\n## 一些建议\n在寻找需要修改的文件时, 建议先搜索 `Ask the bot owner to approve with:` 可以帮助你先大幅缩小处理范围, 过滤出最有可能的几个文件.\n\n一个建议的起始目录为 \u002Fusr\u002Flib\u002Fnode_modules\u002Fopenclaw\u002F\n\n## 工作原理\n- `upsertTelegramPairingRequest` 函数返回 `{code, created}` 对象\n- 当用户首次请求配对时：`created: true`，有配对码\n- 当用户再次请求配对时：`created: false`，但仍有相同的配对码（只要配对请求未过期或未被批准）\n- 通过检查 `if (code)` 而不是 `if (created)`，确保用户每次请求都能收到有效的配对码\n\n## 验证修改\n- 让未配对的用户发送 `\u002Fstart` 命令\n- 确认用户收到配对码消息\n- 再次发送 `\u002Fstart` 命令，确认用户再次收到相同的配对码\n\n## 注意事项\n- 修改系统文件前务必备份原始文件\n- 修改后的文件在 OpenClaw 更新时可能会被覆盖，需要重新应用修改\n- 需要适当的文件系统权限来修改 OpenClaw 的安装文件\n- 修改后应测试以确保功能正常\n\n## 故障排除\n- 如果修改不生效，请确认是否正确重启了 OpenClaw 服务\n- 如果找不到文件路径，请确认 OpenClaw 的实际安装路径\n- 如果权限不足，请使用适当的权限提升方法（如 sudo）\n- 如需回滚，请使用备份文件替换修改后的文件",{"name":5,"description":7},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fcrazypeace\u002Ftelegram-pairing-send-code-to-every-start",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add kbarbel640-del\u002Fskills --skill telegram-pairing-customization",{"tool":51,"command":52},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill telegram-pairing-customization",{"tool":54,"command":55},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill telegram-pairing-customization","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcrazypeace\u002Ftelegram-pairing-send-code-to-every-start\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"_meta.json","REFERENCE","参考文档",397,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fcrazypeace\u002Ftelegram-pairing-send-code-to-every-start\u002F_meta.json",[66,91,113,131,136,156],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":33},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[73,74,75,76,77,78,79,80,81,25,82,83,84,85,86,87,88,89,90],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":33},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[98,75,99,100,101,102,103,104,105,106,21,107,108,109,110,111,112,80,27],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","design","strategy","headless","compete","submit","matchmaking",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":33},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[120,121,122,123,124,125,126,76,127,111,27,128,75,129,130],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":132,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":33},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[123,122,121,120,130,125,126,76,124,111,27,127,128,75,129],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":33},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[143,144,145,146,147,148,149,150,151,152,153,154,155],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":33},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[163,164,165,166,76,167,168,38,169,128,170,171,172,173,174,88,175,176,177],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]