← 返回 Skills 市场
432
总下载
2
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install kb-social-publisher
功能描述
同时发布内容到微博和小红书,使用真实 Chrome 浏览器绕过反机器人检测。支持文字、图片、预览模式和实际发布。当用户需要发布微博、发微博、weibo post、发布小红书、发小红书、xiaohongshu post 时使用此 skill。
使用说明 (SKILL.md)
社交平台发布工具
使用真实 Chrome 浏览器同时发布到微博和小红书,支持文字和图片。
脚本目录
所有脚本位于 scripts/ 子目录。
前置要求
- Google Chrome 或 Chromium 已安装
- bun 已安装
- 首次运行:在打开的浏览器窗口中登录各平台
发布到微博
# 预览模式(不发布)
npx -y bun ${SKILL_DIR}/scripts/social-publisher.ts --weibo "你好,微博!"
# 带图片
npx -y bun ${SKILL_DIR}/scripts/social-publisher.ts --weibo "看这张图!" --image ./photo.png
# 实际发布
npx -y bun ${SKILL_DIR}/scripts/social-publisher.ts --weibo "发布微博!" --image ./photo.png --submit
发布到小红书
# 预览模式(不发布)
npx -y bun ${SKILL_DIR}/scripts/social-publisher.ts --xhs "你好,小红书!" --image ./photo.png
# 实际发布
npx -y bun ${SKILL_DIR}/scripts/social-publisher.ts --xhs "发布小红书!" --image ./photo.png --submit
同时发布到微博和小红书
# 预览模式
npx -y bun ${SKILL_DIR}/scripts/social-publisher.ts --weibo "你好!" --xhs "你好!" --image ./photo.png
# 实际发布
npx -y bun ${SKILL_DIR}/scripts/social-publisher.ts --weibo "同时发布!" --xhs "同时发布!" --image ./photo.png --submit
参数说明
| 参数 | 描述 |
|---|---|
--weibo \x3Ctext> |
微博内容 |
--xhs \x3Ctext> |
小红书内容 |
--image \x3Cpath> |
图片路径(可重复) |
--submit |
实际发布(默认:仅预览) |
--profile \x3Cdir> |
自定义 Chrome 配置目录 |
注意事项
- 首次运行需要手动登录各平台(会话会保存)
- 总是先用预览模式确认,再使用 --submit
- 小红书至少需要 1 张图片
- 微博普通帖子限制 2000 字
- 支持 macOS、Linux 和 Windows
安全使用建议
This skill appears to do what it says: it launches a real Chrome via Playwright, opens the publisher pages, asks you to log in interactively, and can upload local images and submit posts. Before installing/using it: (1) be prepared that installing dependencies will download Playwright and Chromium; (2) review or run it in an isolated environment if you are concerned about downloaded binaries; (3) note that the tool saves a Chrome profile directory (cookies/session data) under the skill directory by default—if that directory is shared or backed up it could expose your sessions, so consider pointing --profile to a safe location or clearing it when done; (4) confirm you consent to interactive browser login (the script waits for you to press Enter after logging in). If you want extra assurance, inspect the included scripts locally or run them in a sandboxed VM/container.
功能分析
Type: OpenClaw Skill
Name: kb-social-publisher
Version: 1.0.0
The skill bundle provides legitimate automation scripts for publishing content to Weibo and Xiaohongshu using Playwright. It utilizes a persistent browser context to maintain user sessions and requires manual login for authentication, which is a standard and relatively secure approach for social media automation. No evidence of data exfiltration, malicious execution, or prompt injection was found in scripts/social-publisher.ts or scripts/weibo-publisher.ts.
能力评估
Purpose & Capability
Name/description (post to 微博 and 小红书 using a real Chrome) match the included TypeScript scripts and package.json dependency on Playwright. Required local browser and bun are reasonable for this functionality; no unrelated credentials or services are requested.
Instruction Scope
SKILL.md instructs running the scripts, logging into the sites in the opened browser, and optionally providing local image files and a profile dir. The runtime instructions and the code align: they visit only weibo.com and xiaohongshu publisher pages, prompt for interactive login, and upload local images—no instructions to read unrelated system files or to send data to unexpected endpoints.
Install Mechanism
There is no explicit install spec in the registry metadata (instruction-only), but a package.json is present and lists Playwright; its postinstall runs 'playwright install chromium' which will download browser binaries. This is expected for Playwright-based automation but means network downloads occur during dependency installation.
Credentials
The skill requests no environment variables or external credentials. It does read local files (images) and writes/uses a Chrome user-data/profile directory for session persistence—which is proportional to its need to keep logged-in sessions.
Persistence & Privilege
The skill uses a persistent Chrome profile directory (under the skill dir by default or via --profile) to save login sessions. This is expected for browser automation, but it means cookies/session tokens are stored on disk in that profile directory.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kb-social-publisher - 安装完成后,直接呼叫该 Skill 的名称或使用
/kb-social-publisher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of social-publisher.
- Publish posts simultaneously to Weibo and Xiaohongshu using a real Chrome browser to bypass anti-bot detection.
- Supports text, images, preview mode, and actual publishing.
- Scripts require prior login to platforms and support macOS, Linux, and Windows.
- Command line usage with clear parameters for flexible content publishing.
元数据
常见问题
KB Social Publisher 是什么?
同时发布内容到微博和小红书,使用真实 Chrome 浏览器绕过反机器人检测。支持文字、图片、预览模式和实际发布。当用户需要发布微博、发微博、weibo post、发布小红书、发小红书、xiaohongshu post 时使用此 skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 432 次。
如何安装 KB Social Publisher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kb-social-publisher」即可一键安装,无需额外配置。
KB Social Publisher 是免费的吗?
是的,KB Social Publisher 完全免费(开源免费),可自由下载、安装和使用。
KB Social Publisher 支持哪些平台?
KB Social Publisher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 KB Social Publisher?
由 conbbo(@conbbo)开发并维护,当前版本 v1.0.0。
推荐 Skills