← 返回 Skills 市场
luweizheng

post-to-xhs

作者 Weizheng Lu · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
536
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install post2xhs
功能描述
小红书内容发布与管理助手。当用户要求登录、发小红书、搜索小红书、评论点赞收藏等任何小红书相关操作时使用。
安全使用建议
This skill is coherent for automating Xiaohongshu actions, but it delegates work to a third‑party Python package (xhs-mcp-py) and Playwright/Chromium which you must install. Before installing/running: 1) review the xhs-mcp-py package source (PyPI project, repo) to ensure you trust it; 2) run it in an isolated environment (VM/container) if you are unsure; 3) be aware the tool will save login cookies and print tokens (xsec_token) — treat those as sensitive credentials; 4) do not run this on systems holding other secrets or high privileges without review; 5) install zbar/ImageMagick only if needed and from official OS packages. If you want a higher assurance, ask the skill author for a code repository link or a signed release before installing.
功能分析
Type: OpenClaw Skill Name: post2xhs Version: 1.0.1 The skill bundle is classified as suspicious due to its reliance on executing external binaries (`xhs-mcp`) with user-controlled input and handling user-provided file paths for publishing content, as detailed in `SKILL.md`. These actions introduce potential vulnerabilities such as shell injection or path traversal if the underlying `xhs-mcp-py` tool or its dependencies (like `convert` from ImageMagick, which has a history of vulnerabilities) do not adequately sanitize or validate inputs. While the stated purpose of Xiaohongshu content management appears benign, the inherent risks associated with these capabilities without clear evidence of robust input sanitization warrant a 'suspicious' classification, rather than 'malicious' as there is no proof of intentional harmful behavior or prompt injection against the agent.
能力评估
Purpose & Capability
The name/description (posting and managing Xiaohongshu content) match the instructions: installing a Python CLI (xhs-mcp-py), using Playwright/Chromium for browser-based login/automation, and providing commands for publish/search/like/comment. The required binary 'convert' (ImageMagick) is plausible for image processing.
Instruction Scope
SKILL.md stays focused on Xiaohongshu workflows (login, publish, search, interact). It instructs installing/playwright and running xhs-mcp commands that read image/video files supplied by the user and persist cookies locally. Note: the tool prints/returns tokens (xsec_token) and stores cookies (7–30 days), which are necessary for the described actions but are sensitive local artifacts.
Install Mechanism
The skill itself has no install spec, but the instructions require installing a third‑party Python package (pip install xhs-mcp-py) and Playwright browsers. These are reasonable for a CLI that automates a web UI, but they mean arbitrary code will be downloaded and executed from PyPI and Playwright's distribution — users should vet that package/source before installing.
Credentials
The skill declares no environment variables or credential requirements. The runtime behavior relies on interactive login (QR code, browser) and local cookie storage; sensitive data (cookies, xsec_token) are produced by normal operations and are proportionate to the skill's purpose.
Persistence & Privilege
always is false and the skill is user-invocable. The documented persistence is limited to the tool's local cookie files (login lifetime ~7–30 days). The skill does not request elevated system-wide privileges or modification of other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install post2xhs
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /post2xhs 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Version 1.0.1 - 登录流程与命令行参数文档全面优化,登陆流程明确分为终端二维码、浏览器扫码、二维码图片三种方式,并注明 fallback 逻辑。 - 所有小红书操作指令重新梳理,对参数的必需性、可多次指定等用法做了精确说明。 - 命令提示、示例与参数表标准化,便于直接用命令行操作,无需阅读源码。 - 统一文档风格、减少重复,突出登录/搜索/发布/互动等操作流程,显著提升易读性和新手指引友好度。 - 新增对 headless 参数说明,便于“有头/无头”自动化切换。
v1.0.0
Initial release of post-to-xhs: 小红书内容发布与管理助手 - 登录 - 发布图文、视频、文字 - 评论、点赞
元数据
Slug post2xhs
版本 1.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

post-to-xhs 是什么?

小红书内容发布与管理助手。当用户要求登录、发小红书、搜索小红书、评论点赞收藏等任何小红书相关操作时使用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 536 次。

如何安装 post-to-xhs?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install post2xhs」即可一键安装,无需额外配置。

post-to-xhs 是免费的吗?

是的,post-to-xhs 完全免费(开源免费),可自由下载、安装和使用。

post-to-xhs 支持哪些平台?

post-to-xhs 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 post-to-xhs?

由 Weizheng Lu(@luweizheng)开发并维护,当前版本 v1.0.1。

💬 留言讨论