← 返回 Skills 市场
RedBookSkills - 小红书发布助手
作者
cp3d1455926-svg
· GitHub ↗
· v1.0.0
· MIT-0
94
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install redbook-skills
功能描述
将图文/视频内容自动发布到小红书(XHS),并支持登录检查、内容检索与互动操作。 适用场景:发布图文、发布视频、仅启动测试浏览器、获取登录二维码、首页推荐抓取、搜索笔记、评论互动、抓取内容数据。
安全使用建议
This package is coherent with its stated goal (automating Xiaohongshu via a local Chrome/CDP workflow) but contains several risky implementation details you should consider before installing or running it:
- Sensitive access: The scripts launch Chrome with explicit user-data-dirs and will read/write profile data (cookies, local storage). If you point it to real Chrome profiles, the tool can act using those sessions. Never run it against profiles containing accounts you cannot afford to expose.
- Account name sanitization: The account manager does not properly validate account names; a malicious or accidental name like '../../other' could create or operate on unexpected filesystem locations. Inspect config/accounts.json and avoid adding untrusted account names.
- Port reuse / cross-account risk: The launcher will reuse any Chrome instance listening on the debug port without verifying which profile owns it. In multi-account setups, this can cause actions to be performed on the wrong account. Prefer running in an isolated Chrome instance per account or use dedicated ports.
- Remote CDP: The scripts support --host/--port to point to remote Chrome. Treat remote CDP endpoints as fully trusted — controlling a remote CDP instance grants full control of the browser and its session data. Do not point to third-party or unknown hosts.
- Filesystem effects: The skill writes title/content files, downloads images, creates profile dirs, and can delete profile dirs if you use remove-account --delete-profile. Back up any important profile/config data first.
- Bugs and robustness: The included code review documents functional bugs (timed-post crash, pagination mismatch, blocking CDP calls). Test with disposable/test accounts and preview (--preview) before enabling auto-publish.
Recommendations before use:
1. Review scripts locally (account_manager.py, chrome_launcher.py, cdp_publish.py) for the path handling and port logic; fix or sanitize account names if possible.
2. Run in an isolated environment (VM or container) or with disposable Chrome profiles; do not point to your primary browser profile.
3. Avoid using remote --host unless you control the remote Chrome instance and network path.
4. Use preview mode and test accounts to validate behavior; inspect what the tool writes to disk (config/, tmp/, profile dirs).
5. If you lack dev resources, consider not installing or only running the README/AGENTS.md instructions manually rather than granting an AI agent autonomous invocation.
If you want, I can list the lines/locations in the files that implement the risky behaviors (profile path construction, port check logic, CDP send) so you or a developer can patch them before use.
能力评估
Purpose & Capability
Name/description (automated posting, browser/CDP control, feed/search/interactions) align with the provided scripts (cdp_publish.py, publish_pipeline.py, chrome_launcher.py, account_manager.py, etc.). The code implements the claimed features (login QR, publish, search, comment, content-data). No unrelated cloud credentials or surprising binaries are requested.
Instruction Scope
SKILL.md tells the agent to launch and drive local Chrome, write title/content files, and call Python scripts that manipulate Chrome profiles and the filesystem. The runtime instructions legitimately require reading/writing local files and controlling Chrome, but they also allow connecting to non-local CDP hosts and will work with user Chrome profile directories (cookies, session data). The instructions are explicit about writing title/content files and using absolute paths; they do not demand secrets, but executing the scripts gives access to local browser profiles and downloaded media, which is broader than a simple 'post helper' and requires caution.
Install Mechanism
No install spec; skill is provided as source files (Python scripts). This is low-risk from an installer perspective (nothing is downloaded during install), but running the scripts will execute local code. requirements.txt is minimal (requests, websockets), both common packages.
Credentials
The skill declares no required env vars, which matches the files. However, it accesses local Chrome user-data-dir(s) (profile cookies and other artifacts), reads/writes config/accounts.json and tmp/login_status_cache.json, and can accept a remote --host/--port to control remote Chrome. Account name handling allows path components (no sanitization), enabling profile directory escape. These capabilities are proportional to automation, but they expand the attack surface (local cookie/profile access, potential accidental/useful exfiltration if Chrome profiles contain sensitive sessions).
Persistence & Privilege
The skill is not always:true and does not request special platform privileges. It manages its own config under a repo-local config/ and profile directories under a user Chrome path. However, it can create and delete profile dirs and optionally delete them in remove-account. Combined with account name path traversal and port reuse behavior, this gives the scripts significant filesystem impact and long-lived access to browser state if run on a host.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install redbook-skills - 安装完成后,直接呼叫该 Skill 的名称或使用
/redbook-skills触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - 支持图文/视频发布、登录检查、内容检索与互动
元数据
常见问题
RedBookSkills - 小红书发布助手 是什么?
将图文/视频内容自动发布到小红书(XHS),并支持登录检查、内容检索与互动操作。 适用场景:发布图文、发布视频、仅启动测试浏览器、获取登录二维码、首页推荐抓取、搜索笔记、评论互动、抓取内容数据。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。
如何安装 RedBookSkills - 小红书发布助手?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install redbook-skills」即可一键安装,无需额外配置。
RedBookSkills - 小红书发布助手 是免费的吗?
是的,RedBookSkills - 小红书发布助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
RedBookSkills - 小红书发布助手 支持哪些平台?
RedBookSkills - 小红书发布助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 RedBookSkills - 小红书发布助手?
由 cp3d1455926-svg(@cp3d1455926-svg)开发并维护,当前版本 v1.0.0。
推荐 Skills