← 返回 Skills 市场
小红书自动互动技能
作者
Xuanying Chen
· GitHub ↗
· v1.0.0
· MIT-0
92
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xhs-auto-interaction
功能描述
小红书自动互动技能,实现智能搜索、浏览、点赞和收藏,避免重复操作并支持错误智能处理和历史记录管理。
安全使用建议
Before installing or running this skill:
- Inspect and edit the scripts. Replace hardcoded /home/chan paths with the correct paths for your account (or use $HOME). Confirm LOG_FILE and HISTORY_FILE locations.
- Review the scripts line-by-line (they're plain shell) to confirm behavior and remove any actions you don't want (they only call localhost and write local files, but they will act using the local MCP session).
- Understand persistence: the docs show adding cron jobs — only add cron entries if you want continuous automated actions. Consider running the script manually first.
- Clean up temporary files: the script leaves /tmp/xhs_headers containing session headers; consider removing or zeroing that file after use to avoid local leakage of SESSION_ID.
- Consider platform/TOS risk: automated liking/favoriting may violate Xiaohongshu terms; use cautiously and limit frequency (the README suggests 3–5 times/day).
- Test in a controlled environment (test account or VM) before granting it access to your real account or enabling cron scheduling.
功能分析
Type: OpenClaw Skill
Name: xhs-auto-interaction
Version: 1.0.0
The skill bundle provides scripts to automate Xiaohongshu (XHS) interactions such as searching, liking, and favoriting posts via a local MCP service. While the logic appears to align with the stated purpose, the scripts (notably xhs_interaction_improved.sh) and documentation (SKILL.md) contain hardcoded absolute paths to a specific user's home directory (/home/chan/), which is a significant portability flaw and a security risk in shared environments. Furthermore, the skill utilizes crontab for persistence and performs automated network interactions with a local service (localhost:18060), which are high-risk capabilities for an AI-managed skill.
能力评估
Purpose & Capability
The name/description (自动搜索/浏览/点赞/收藏) lines up with the bundled scripts which call a local MCP API to search, like and favorite feeds. Required tools (curl, jq) are appropriate. However the scripts hardcode file paths (e.g., /home/chan/.openclaw/workspace, /home/chan in crontab examples) which is not justified by the skill's purpose and may cause the skill to write files to an unexpected location on your system.
Instruction Scope
SKILL.md instructs copying scripts into a workspace and configuring cron to run them periodically; the scripts perform local network calls to http://localhost:18060/mcp, create log/history files, and write temporary headers to /tmp/xhs_headers. These actions are within the automation use-case but expand scope to persistent system changes (cron and files). The scripts do not remove /tmp/xhs_headers after extracting the session id (possible local sensitive artifact). The hardcoded paths in scripts and crontab examples make behavior environment-dependent and potentially surprising.
Install Mechanism
There is no external install or download spec (no network install), the package is instruction + included shell scripts — low supply-chain risk. The risk is that the bundled scripts will be copied into the user's workspace and made executable; you should inspect and possibly edit those scripts before running. No external arbitrary URLs are fetched.
Credentials
The skill requests no environment variables or external credentials. It relies on a locally running MCP service and an already-logged-in Xiaohongshu account — this is proportionate. Still, because the skill operates using the local MCP session (SESSION_ID and xsec_token values), it will act on whatever account is logged into that local service without prompting; that's expected but worth noting.
Persistence & Privilege
The SKILL.md explicitly instructs adding cron entries to run the script periodically, creating persistent autonomous behavior on the host. While always:false (the skill is not force-included), following these instructions will make the automation persist outside the agent. Combined with hardcoded paths and log/history files, this creates a persistent footprint that you must manage (rotation, cleanup).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xhs-auto-interaction - 安装完成后,直接呼叫该 Skill 的名称或使用
/xhs-auto-interaction触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始版本:支持自动搜索特定话题的帖子并点赞收藏,支持自动浏览主页推荐内容
元数据
常见问题
小红书自动互动技能 是什么?
小红书自动互动技能,实现智能搜索、浏览、点赞和收藏,避免重复操作并支持错误智能处理和历史记录管理。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 92 次。
如何安装 小红书自动互动技能?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xhs-auto-interaction」即可一键安装,无需额外配置。
小红书自动互动技能 是免费的吗?
是的,小红书自动互动技能 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
小红书自动互动技能 支持哪些平台?
小红书自动互动技能 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 小红书自动互动技能?
由 Xuanying Chen(@luckychay)开发并维护,当前版本 v1.0.0。
推荐 Skills