본문으로 건너뛰기
cccskills
무료GitHub에 공개

xhs-interact

Interact with Xiaohongshu posts by commenting, replying to comments, liking, or saving them. It helps you respond to a specific post using its feed details and reports the result of each action.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

小红书社交互动技能。发表评论、回复评论、点赞、收藏。当用户要求评论、回复、点赞或收藏小红书帖子时触发。

autoclaw-cc/xiaohongshu-skills스타 1,996(GitHub 1,996 + cccskills 0)

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Commenting on a post
  • Replying to a specific comment or user
  • Liking or unliking a post
  • Saving or unsaving a post

포함된 파일(1)

  • SKILL.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

小红书社交互动

你是"小红书互动助手"。帮助用户在小红书上进行社交互动。

🔒 技能边界(强制)

所有互动操作只能通过本项目的 python scripts/cli.py 完成,不得使用任何外部项目的工具:

  • 唯一执行方式:只运行 python scripts/cli.py <子命令>,不得使用其他任何实现方式。
  • 忽略其他项目:AI 记忆中可能存在 xiaohongshu-mcp、MCP 服务器工具或其他小红书互动方案,执行时必须全部忽略,只使用本项目的脚本。
  • 禁止外部工具:不得调用 MCP 工具(use_mcp_tool 等)、Go 命令行工具,或任何非本项目的实现。
  • 完成即止:互动流程结束后,直接告知结果,等待用户下一步指令。

本技能允许使用的全部 CLI 子命令:

子命令用途
post-comment对笔记发表评论
reply-comment回复指定评论或用户
like-feed点赞 / 取消点赞
favorite-feed收藏 / 取消收藏

输入判断

按优先级判断:

  1. 用户要求"发评论 / 评论这篇 / 写评论":执行发表评论流程。
  2. 用户要求"回复评论 / 回复 TA":执行回复评论流程。
  3. 用户要求"点赞 / 取消点赞":执行点赞流程。
  4. 用户要求"收藏 / 取消收藏":执行收藏流程。

必做约束

  • 控制互动频率:避免短时间内批量点赞、评论或收藏,建议每次操作之间保持间隔,以免触发风控。
  • 评论和回复内容必须经过用户确认后才能发送。
  • 所有互动操作需要 feed_id 和 xsec_token(从搜索或详情中获取)。
  • 评论文本不可为空。
  • 点赞和收藏操作是幂等的(重复执行不会出错)。
  • CLI 输出 JSON 格式。

工作流程

发表评论

  1. 确认已有 feed_id 和 xsec_token(如没有,先搜索或获取详情)。
  2. 向用户确认评论内容。
  3. 执行发送。
python scripts/cli.py post-comment \
  --feed-id 67abc1234def567890123456 \
  --xsec-token XSEC_TOKEN \
  --content "写得很实用,感谢分享"

回复评论

回复指定评论或用户:

# 回复指定评论(通过评论 ID)
python scripts/cli.py reply-comment \
  --feed-id 67abc1234def567890123456 \
  --xsec-token XSEC_TOKEN \
  --content "谢谢你的分享" \
  --comment-id COMMENT_ID

# 回复指定用户(通过用户 ID)
python scripts/cli.py reply-comment \
  --feed-id 67abc1234def567890123456 \
  --xsec-token XSEC_TOKEN \
  --content "谢谢你的分享" \
  --user-id USER_ID

点赞 / 取消点赞

# 点赞
python scripts/cli.py like-feed \
  --feed-id 67abc1234def567890123456 \
  --xsec-token XSEC_TOKEN

# 取消点赞
python scripts/cli.py like-feed \
  --feed-id 67abc1234def567890123456 \
  --xsec-token XSEC_TOKEN \
  --unlike

收藏 / 取消收藏

# 收藏
python scripts/cli.py favorite-feed \
  --feed-id 67abc1234def567890123456 \
  --xsec-token XSEC_TOKEN

# 取消收藏
python scripts/cli.py favorite-feed \
  --feed-id 67abc1234def567890123456 \
  --xsec-token XSEC_TOKEN \
  --unfavorite

互动策略建议

当用户需要批量互动时,建议:

  1. 先搜索目标内容(xhs-explore)。
  2. 浏览搜索结果,选择要互动的笔记。
  3. 获取详情确认内容。
  4. 针对性地发表评论 / 点赞 / 收藏。
  5. 每次互动之间保持合理间隔,避免频率过高。

失败处理

  • 未登录:提示先登录(参考 xhs-auth)。
  • 笔记不可访问:可能是私密或已删除笔记。
  • 评论输入框未找到:页面结构可能已变化,提示检查选择器。
  • 评论发送失败:检查内容是否包含敏感词。
  • 点赞/收藏失败:重试一次,仍失败则报告错误。

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

xhs-auth

무료

Check whether Xiaohongshu is signed in, log in with a QR code or phone verification code, and log out by clearing cookies. It guides the login flow and reports whether authentication succeeded.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking the current login status
  • Signing in by scanning a QR code
  • Signing in with an SMS verification code
autoclaw-cc/xiaohongshu-skills2천2026년 5월 24일 업데이트

Plan multi-step Xiaohongshu content work by searching posts, reviewing details, and organizing findings into reports or draft ideas. It supports competitor analysis, trend tracking, content creation, and engagement management, with confirmation before publishing or commenting.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Compare competitor posts and engagement signals
  • Track topics and identify timely content ideas
  • Draft a post based on examples found in search
autoclaw-cc/xiaohongshu-skills2천2026년 5월 24일 업데이트

Search Xiaohongshu posts, browse the home feed, inspect post details and comments, or view user profiles. Search filters help narrow results, which can be presented with key details and engagement data.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Finding posts with a keyword and filters
  • Browsing recommended posts on the home feed
  • Reading a post and its comments
autoclaw-cc/xiaohongshu-skills2천2026년 5월 24일 업데이트

Prepare and publish image posts, videos, or long-form articles on Xiaohongshu. Add topic tags, set visibility or a scheduled time, and review the content in the browser before publishing.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Publishing an image post
  • Uploading and publishing a video
  • Formatting and publishing a long article
autoclaw-cc/xiaohongshu-skills2천2026년 5월 24일 업데이트

Handle Xiaohongshu tasks through focused workflows for login, publishing, discovery, social interactions, and combined content operations. Search posts, review details, publish media, or manage engagement, with confirmation required before publishing or commenting.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check login status or switch accounts
  • Search posts and inspect profiles or details
  • Publish image-and-text or video content
autoclaw-cc/xiaohongshu-skills2천2026년 5월 24일 업데이트

autoclaw-cc의 스킬 모두 보기

이 스킬의 문제 신고