<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Wecom on 潘忠显的技术博客</title>
    <link>https://panzhongxian.cn/tags/wecom/</link>
    <description>Recent content in Wecom on 潘忠显的技术博客</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Tue, 24 Nov 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://panzhongxian.cn/tags/wecom/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>为什么 WorkBuddy 能查企微聊天，而 CodeBuddy 不能？</title>
      <link>https://panzhongxian.cn/cn/2026/11/workbuddy-codebuddy-wecom-chat/</link>
      <pubDate>Tue, 24 Nov 2026 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2026/11/workbuddy-codebuddy-wecom-chat/</guid>
      <description>&lt;h2 id=&#34;1-背景&#34;&gt;1. 背景&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;在 WorkBuddy 中，可以直接查询企业微信聊天记录，也可以创建或编辑企业微信文档。&lt;/li&gt;&#xA;&lt;li&gt;企业微信提供了命令行工具 &lt;code&gt;wecom-cli&lt;/code&gt; 和配套 skill，CodeBuddy 可以加载这些操作说明。&lt;/li&gt;&#xA;&lt;li&gt;在同一环境里，CodeBuddy 按本机消息 skill 查询群聊记录时失败了。我们又在终端直接用官方 CLI 执行 &lt;code&gt;wecom-cli chat groups list&lt;/code&gt;（列出会话）和 &lt;code&gt;wecom-cli chat messages list&lt;/code&gt;（查询消息），两次都返回 &lt;code&gt;853006&lt;/code&gt;，提示该工具对当前企业不可用。&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;2-通过-skill-调用企业微信-cli&#34;&gt;2. 通过 skill 调用企业微信 CLI&lt;/h2&gt;&#xA;&lt;p&gt;从两款助手的默认配置看，CodeBuddy 和 WorkBuddy 读取已知的企业微信文档都采用 &lt;strong&gt;Skill + CLI&lt;/strong&gt; 方式。Skill 说明如何选择命令，助手调用各自配置的 &lt;code&gt;wecom-cli&lt;/code&gt;，以当前授权身份读取正文。Codex、Cursor 等工具也可以复用这一方式，前提是助手能加载相应的 skill、通过终端执行兼容版本的 CLI，并具备目标操作所需的授权。&lt;/p&gt;</description>
    </item>
    <item>
      <title>企微群机器人、智能机器人回调、智能机器人长连接的区别</title>
      <link>https://panzhongxian.cn/cn/2026/06/wecom-bot-comparison/</link>
      <pubDate>Tue, 16 Jun 2026 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2026/06/wecom-bot-comparison/</guid>
      <description>&lt;!-- ![wecom-bot-comparison-cover](/images/wecom-bot-comparison/wecom-bot-comparison-cover.png) --&gt;&#xA;&lt;p&gt;企业微信之前有群机器人，是可以接受消息然后回调至服务器，做出对应的回复，也可以通过主动发消息的方式进行通知。我之前还开发了一个&lt;a href=&#34;https://github.com/easy-wx/wecom-bot-svr&#34;&gt;群机器人的回调服务框架&lt;/a&gt;，有176🌟。&lt;/p&gt;&#xA;&lt;p&gt;今年年初随着 OpenClaw 的流行，企微的智能机器人流行起来，并且在最新的企微版本中，老版的群机器人虽然还能被@，但从列表中被&lt;strong&gt;隐藏起来&lt;/strong&gt;，新添加的机器人也无法配置回调地址。以后再使用机器人就只能通过添加「&lt;a href=&#34;https://developer.work.weixin.qq.com/document/path/101039&#34;&gt;智能机器人&lt;/a&gt;」来实现了。&lt;/p&gt;</description>
    </item>
    <item>
      <title>XBot-指令化对话的企微机器人</title>
      <link>https://panzhongxian.cn/cn/2025/02/xbot-wechat-bot-helper/</link>
      <pubDate>Mon, 10 Feb 2025 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2025/02/xbot-wechat-bot-helper/</guid>
      <description>&lt;p&gt;之前《&lt;a href=&#34;https://panzhongxian.cn/cn/2023/12/deploy-wecom-bot-svr-in-10-minutes/&#34;&gt;10分钟搭建能回消息的企微机器人&lt;/a&gt;》提供了一个比较基础通用的消息回复框架。但实际使用时，大家往往需要一个指令化的对话，需要自己额外写解析逻辑；另外，基础服务存在&lt;strong&gt;耗时较长的任务无法延迟回复&lt;/strong&gt;等问题。&lt;/p&gt;&#xA;&lt;p&gt;因此，我这里封装了一个&lt;strong&gt;指令化消息处理框架&lt;/strong&gt;——&lt;strong&gt;XBot&lt;/strong&gt; ，用于&lt;strong&gt;通过企业微信接收用户的指令，或触发任务，或查询信息&lt;/strong&gt;。可以让你接入企业机器人更方便、高效。欢迎使用、加星 &lt;a class=&#34;github-button&#34; href=&#34;https://github.com/easy-wx/xbot&#34; data-color-scheme=&#34;no-preference: light; light: light; dark: light;&#34; data-size=&#34;large&#34; aria-label=&#34;Star easy-wx/xbot on GitHub&#34;&gt;Star&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>10分钟搭建能回消息的企微应用</title>
      <link>https://panzhongxian.cn/cn/2024/08/deploy-wecom-app-svr-in-10-minutes/</link>
      <pubDate>Mon, 19 Aug 2024 00:00:00 +0000</pubDate>
      <guid>https://panzhongxian.cn/cn/2024/08/deploy-wecom-app-svr-in-10-minutes/</guid>
      <description>&lt;p&gt;之前&lt;a href=&#34;https://panzhongxian.cn/cn/2023/12/deploy-wecom-bot-svr-in-10-minutes/&#34;&gt;文章&lt;/a&gt;介绍了&lt;em&gt;如何10分钟内，搭建能回消息的企微机器人&lt;/em&gt;。文章获得了不少点赞，在 GitHub 上的项目也有31个 Star。但该功能属于内测的能力，很多企业未开通该能力。&lt;/p&gt;&#xA;&lt;p&gt;如果不在腾讯，你还有一种方式，可以让你能方便地接收并回复消息。那就是企业应用，但需要说明的是该方式也有一定的局限性：1. 不能引入到群聊中；2. 需要企业管理员给创建应用。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
