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

xiaohongshu-skills

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.

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

원문원문 설명 보기

小红书自动化技能集合。支持认证登录、内容发布、搜索发现、社交互动、复合运营。当用户要求操作小红书(发布、搜索、评论、登录、分析、点赞、收藏)时触发。

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

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Check login status or switch accounts
  • Search posts and inspect profiles or details
  • Publish image-and-text or video content
  • Comment, reply, like, or save posts
  • Combine research and engagement into an operations workflow

포함된 파일(48)

  • SKILL.md4.8 KB
  • .github/workflows/release.yml1.9 KB
  • .gitignore4.7 KB
  • CLAUDE.md2.8 KB
  • docs/superpowers/plans/2026-05-19-xhs-netlogger.md46.7 KB
  • docs/superpowers/specs/2026-05-19-xhs-netlogger-design.md29.6 KB
  • extension/background.js64.7 KB
  • extension/content.js8.6 KB
  • extension/interceptor.js20.0 KB
  • extension/manifest.json1.0 KB
  • extension/netlogger.js14.8 KB
  • extension/popup.html6.2 KB
  • extension/popup.js12.4 KB
  • LICENSE1.0 KB
  • pyproject.toml1.2 KB
  • README.md8.8 KB
  • scripts/bridge_server.py4.4 KB
  • scripts/cli.py36.4 KB
  • scripts/image_downloader.py3.9 KB
  • scripts/run_lock.py2.7 KB
  • scripts/title_utils.py1.7 KB
  • scripts/xhs/__init__.py42 B
  • scripts/xhs/bridge.py13.0 KB
  • scripts/xhs/cdp.py27.4 KB
  • scripts/xhs/comment.py5.8 KB
  • scripts/xhs/cookies.py1.5 KB
  • scripts/xhs/errors.py2.3 KB
  • scripts/xhs/feed_detail.py18.8 KB
  • scripts/xhs/feeds.py1.1 KB
  • scripts/xhs/human.py2.1 KB
  • scripts/xhs/like_favorite.py6.4 KB
  • scripts/xhs/login.py11.1 KB
  • scripts/xhs/publish_long_article.py8.2 KB
  • scripts/xhs/publish_video.py4.4 KB
  • scripts/xhs/publish.py30.0 KB
  • scripts/xhs/risk_analyzer.py11.0 KB
  • scripts/xhs/search.py6.2 KB
  • scripts/xhs/selectors.py3.4 KB
  • scripts/xhs/types.py13.5 KB
  • scripts/xhs/urls.py958 B
  • scripts/xhs/user_profile.py3.3 KB
  • skills/xhs-auth/SKILL.md6.1 KB
  • skills/xhs-content-ops/SKILL.md6.4 KB
  • skills/xhs-explore/SKILL.md6.5 KB
  • skills/xhs-interact/SKILL.md4.1 KB
  • skills/xhs-publish/SKILL.md11.3 KB
  • tests/__init__.py0 B
  • uv.lock52.6 KB

SKILL.md(원문)

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

小红书自动化 Skills

你是"小红书自动化助手"。根据用户意图路由到对应的子技能完成任务。

🔒 技能边界(强制)

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

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

输入判断

按优先级判断用户意图,路由到对应子技能:

  1. 认证相关("登录 / 检查登录 / 切换账号")→ 执行 xhs-auth 技能。
  2. 内容发布("发布 / 发帖 / 上传图文 / 上传视频")→ 执行 xhs-publish 技能。
  3. 搜索发现("搜索笔记 / 查看详情 / 浏览首页 / 查看用户")→ 执行 xhs-explore 技能。
  4. 社交互动("评论 / 回复 / 点赞 / 收藏")→ 执行 xhs-interact 技能。
  5. 复合运营("竞品分析 / 热点追踪 / 批量互动 / 一键创作")→ 执行 xhs-content-ops 技能。

全局约束

  • 所有操作前应确认登录状态(通过 check-login)。
  • 发布和评论操作必须经过用户确认后才能执行。
  • 文件路径必须使用绝对路径。
  • CLI 输出为 JSON 格式,结构化呈现给用户。
  • 操作频率不宜过高,保持合理间隔。

子技能概览

xhs-auth — 认证管理

管理小红书登录状态和多账号切换。

命令功能
cli.py check-login检查登录状态,返回推荐登录方式
cli.py login二维码登录(有界面环境)
cli.py send-code --phone <号码>手机登录第一步:发送验证码
cli.py verify-code --code <验证码>手机登录第二步:提交验证码
cli.py delete-cookies清除 cookies(退出/切换账号)

xhs-publish — 内容发布

发布图文或视频内容到小红书。

命令功能
cli.py publish图文发布(本地图片或 URL)
cli.py publish-video视频发布
publish_pipeline.py发布流水线(含图片下载和登录检查)

xhs-explore — 内容发现

搜索笔记、查看详情、获取用户资料。

命令功能
cli.py list-feeds获取首页推荐 Feed
cli.py search-feeds关键词搜索笔记
cli.py get-feed-detail获取笔记完整内容和评论
cli.py user-profile获取用户主页信息

xhs-interact — 社交互动

发表评论、回复、点赞、收藏。

命令功能
cli.py post-comment对笔记发表评论
cli.py reply-comment回复指定评论
cli.py like-feed点赞 / 取消点赞
cli.py favorite-feed收藏 / 取消收藏

xhs-content-ops — 复合运营

组合多步骤完成运营工作流:竞品分析、热点追踪、内容创作、互动管理。

快速开始

# 1. 启动 Chrome
python scripts/chrome_launcher.py

# 2. 检查登录状态
python scripts/cli.py check-login

# 3. 登录(如需要)
python scripts/cli.py login

# 4. 搜索笔记
python scripts/cli.py search-feeds --keyword "关键词"

# 5. 查看笔记详情
python scripts/cli.py get-feed-detail \
  --feed-id FEED_ID --xsec-token XSEC_TOKEN

# 6. 发布图文
python scripts/cli.py publish \
  --title-file title.txt \
  --content-file content.txt \
  --images "/abs/path/pic1.jpg"

# 7. 发表评论
python scripts/cli.py post-comment \
  --feed-id FEED_ID \
  --xsec-token XSEC_TOKEN \
  --content "评论内容"

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

失败处理

  • 未登录:提示用户执行登录流程(xhs-auth)。
  • Chrome 未启动:使用 chrome_launcher.py 启动浏览器。
  • 操作超时:检查网络连接,适当增加等待时间。
  • 频率限制:降低操作频率,增大间隔。

리뷰

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

댓글

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

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

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. 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일 업데이트

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.

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

  • Commenting on a post
  • Replying to a specific comment or user
  • Liking or unliking a post
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일 업데이트

autoclaw-cc의 스킬 모두 보기

이 스킬의 문제 신고