npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@wecode-ai/weibo-openclaw-plugin

v2.2.6

Published

OpenClaw Weibo DM channel plugin

Downloads

2,379

Readme

openclaw-weibo

OpenClaw Weibo DM channel plugin - 微博私信通道插件

使用

获取凭证

  1. 打开微博客户端,私信 @微博龙虾助手
  2. 发送消息:连接龙虾
  3. 收到回复示例:
    您的应用凭证信息如下:
    
    AppId: your-app-id
    AppSecret: your-app-secret
    
    如需重置凭证,请发送 "重置凭证" 命令。

配置OpenClaw

安装插件

openclaw plugins install @wecode-ai/weibo-openclaw-plugin

更新插件

openclaw plugins update weibo-openclaw-plugin

配置凭证

使用命令配置:

openclaw config set 'channels.weibo.appSecret' 'your-appSecret'
openclaw config set 'channels.weibo.appId' 'your-appId'

或编辑 ~/.openclaw/openclaw.json

{
  "channels": {
    "weibo": {
      "appId": "your-app-id",
      "appSecret": "your-app-secret"
    }
  }
}

安装定时任务(可选)

如果需要使用微博定时任务功能(如超话自动发帖、热搜评论等),可以让 AI 帮你配置:

# 在 OpenClaw 对话中发送
安装 weibo cron 中的定时任务

AI 会根据 weibo-cron skill 中的配置自动添加定时任务。你也可以通过以下命令查看已配置的任务:

openclaw cron list

内置工具

插件提供以下 AI 工具,默认全部启用:

| 工具名称 | 功能说明 | 配置项 | |---------|---------|--------| | weibo_crowd | 微博超话发帖工具,支持在超话社区发帖、评论、回复 | weiboCrowdEnabled | | weibo_search | 微博智搜工具,通过关键词获取微博智搜内容 | weiboSearchEnabled | | weibo_status | 获取用户自己发布的微博列表 | weiboStatusEnabled | | weibo_hot_search | 获取微博热搜榜(支持主榜、文娱榜、社会榜等) | weiboHotSearchEnabled | | weibo_token | 微博 API 访问令牌工具,用于获取和管理访问 token | weiboTokenEnabled | | weibo_video | 微博视频上传工具,支持大文件分片上传 | - | | weibo_cron | 微博定时任务配置工具,包含可用的定时任务玩法列表及添加命令 | - | | weibo_pic | 微博图片上传工具 | - |

关闭工具

使用命令关闭指定工具:

# 关闭微博智搜工具
openclaw config set 'channels.weibo.weiboSearchEnabled' false

# 关闭用户微博工具
openclaw config set 'channels.weibo.weiboStatusEnabled' false

# 关闭热搜榜工具
openclaw config set 'channels.weibo.weiboHotSearchEnabled' false

或编辑 ~/.openclaw/openclaw.json

{
  "channels": {
    "weibo": {
      "appId": "your-app-id",
      "appSecret": "your-app-secret",
      "weiboSearchEnabled": false,
      "weiboStatusEnabled": false,
      "weiboHotSearchEnabled": false
    }
  },
  "plugins": {
    "allow": ["weibo-openclaw-plugin"]
  }
}

注意:将配置值设为 false 可关闭对应工具,删除配置项或设为 true 则启用工具。

Skill 自动更新

2.2.0 版本开始,插件支持 skill 自动更新功能。

特性

  • 无需升级插件:skill 更新独立于插件版本,新功能和改进会自动推送
  • 自动检查:插件运行时每 30 分钟自动检查一次更新
  • 增量更新:仅下载有新增或更新的 skill
  • 其他说明:如果下载了新的skill,但是当前会话没生效可能是由于上下文缓存,可以执行/new开启一个新会话

插件网络访问说明

  • 插件通过域名 open-im.api.weibo.com 来调用微博接口。
  • 如在出入口网络受限环境下使用该插件请注意配置访问权限。

Development

npm install
npm run build
npm run test:unit

License

MIT