← Back to Skills Marketplace
luckychay

小红书自动互动技能

by Xuanying Chen · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
92
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xhs-auto-interaction
Description
小红书自动互动技能,实现智能搜索、浏览、点赞和收藏,避免重复操作并支持错误智能处理和历史记录管理。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xhs-auto-interaction
  3. After installation, invoke the skill by name or use /xhs-auto-interaction
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始版本:支持自动搜索特定话题的帖子并点赞收藏,支持自动浏览主页推荐内容
Metadata
Slug xhs-auto-interaction
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 小红书自动互动技能?

小红书自动互动技能,实现智能搜索、浏览、点赞和收藏,避免重复操作并支持错误智能处理和历史记录管理。 It is an AI Agent Skill for Claude Code / OpenClaw, with 92 downloads so far.

How do I install 小红书自动互动技能?

Run "/install xhs-auto-interaction" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 小红书自动互动技能 free?

Yes, 小红书自动互动技能 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 小红书自动互动技能 support?

小红书自动互动技能 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 小红书自动互动技能?

It is built and maintained by Xuanying Chen (@luckychay); the current version is v1.0.0.

💬 Comments