skillfed

xhs-interact

xhs-interact lets you automate engagement on Xiaohongshu notes—liking, favoriting, posting comments, and replying to existing ones. The skill routes your intent to the right action, handles confirmation for comments and replies (which can't be undone), and executes reversible operations like likes and favorites directly.

xhs-interact automates likes, favorites, comments, and replies on Xiaohongshu notes.

AI-generated summary based on this skill's SKILL.md

239 43 MIT updated by autoclaw-cc

Install

autoclaw-cc/xiaohongshu-mcp-skills/xhs-interact

git clone https://github.com/autoclaw-cc/xiaohongshu-mcp-skills
cp -r xiaohongshu-mcp-skills/skills/xhs-interact ~/.claude/skills/xhs-interact
npx skillfed install autoclaw-cc/xiaohongshu-mcp-skills/xhs-interact

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How does xhs-interact handle liking Xiaohongshu notes?

xhs-interact automates the process of liking Xiaohongshu notes. When you trigger a like action, the skill routes your intent to the engagement system and executes the like directly without requiring confirmation, since likes are reversible operations that you can undo later if needed.

小红书笔记点赞怎么操作 with xhs-interact?

xhs-interact streamlines liking Xiaohongshu notes by automating the interaction. You provide the note you want to like, and the skill handles the engagement action immediately. Since likes are reversible, xhs-interact executes them without confirmation, letting you undo them whenever you choose.

Can xhs-interact help me post and reply to comments?

Yes. xhs-interact lets you post new comments on Xiaohongshu feed items and reply to existing comments. Unlike likes and favorites, comments and replies require confirmation before posting since they cannot be undone. The skill routes your comment intent to the right action and waits for your confirmation.

Does xhs-interact support undoing likes and favorites?

xhs-interact supports canceling both likes and favorites on Xiaohongshu content. Since these are reversible operations, the skill can undo them directly. You can remove a like or unfavorite a note whenever you need to change your engagement status.

What makes xhs-interact different for managing Xiaohongshu engagement?

xhs-interact distinguishes between reversible actions (likes, favorites) and permanent ones (comments, replies). For reversible operations, it executes immediately without confirmation. For comments and replies, it requires your confirmation first since they cannot be undone. This smart routing ensures safe, efficient engagement automation.

Is xhs-interact free to use?

Yes, xhs-interact is released under the MIT license, making it free and open for use, modification, and distribution according to MIT license terms.

SKILL.md

rendered from the published skill — quoted content, verbatim

输入判断

根据用户意图路由: - 点赞/取消点赞 → 点赞流程 - 收藏/取消收藏 → 收藏流程 - 发表评论 → 评论流程 - 回复评论 → 回复流程

约束

  • 评论和回复执行前展示内容让用户确认(评论以用户身份公开发表,无法撤回)
  • 点赞和收藏可直接执行(操作可逆,MCP 服务有幂等处理)
  • 所有操作都需要 feed_id + xsec_token(来自搜索或详情结果,编造会导致报错)

执行流程

点赞

调用 like_feed: - feed_id(string,必填) - xsec_token(string,必填) - unlike(bool,可选)— true 取消点赞,默认 false 点赞

已点赞时再点赞会自动跳过,反之同理。

收藏

调用 favorite_feed: - feed_id(string,必填) - xsec_token(string,必填) - unfavorite(bool,可选)— true 取消收藏,默认 false 收藏

已收藏时再收藏会自动跳过,反之同理。

发表评论

调用 post_comment_to_feed: - feed_id(string,必填) - xsec_token(string,必填) - content(string,必填)— 评论内容

发送前展示评论内容让用户确认。

回复评论

调用 reply_comment_in_feed: - feed_id(string,必填) - xsec_token(string,必填) - comment_id(string,可选)— 目标评论 ID - user_id(string,可选)— 目标评论作者 ID - content(string,必填)— 回复内容

comment_iduser_id 至少提供一个。

发送前展示回复内容让用户确认。

失败处理

场景 处理
未登录 引导使用 xhs-login
缺少 feed_id/xsec_token 提示先搜索或浏览获取笔记信息
笔记不可评论 告知用户该笔记已关闭评论

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
skills/xhs-interact/SKILL.md

Related skills

Tags

social-engagement content-interaction like-favorite-system comment-reply-flow xhs-automation feed-operations user-confirmation reversible-actions