一键导入
xiaohongshu-skills
小红书自动化技能集合。支持认证登录、内容发布、搜索发现、社交互动、复合运营。 当用户要求操作小红书(发布、搜索、评论、登录、分析、点赞、收藏)时触发。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
小红书自动化技能集合。支持认证登录、内容发布、搜索发现、社交互动、复合运营。 当用户要求操作小红书(发布、搜索、评论、登录、分析、点赞、收藏)时触发。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
蚂蚁银行开户
香港卡办理
A brief description of what this skill does
A brief description of what this skill does
look up and explain llm api pricing across models.dev, openrouter, and official provider pages. use when the user asks for model prices, input/output token costs, cached-token costs, openrouter aliases such as :free, provider-specific pricing, official versus third-party prices, or wants to verify an api call cost log.
Analyze Claude Code features and capabilities to uncover advanced usage patterns, best practices, and real-world application scenarios. Use this skill whenever the user mentions a Claude Code feature (like Streaming Tool Execution, Hooks, MCP, Skills, Subagents, Context Management, Permission Modes, etc.) and wants to know how to leverage it effectively — including advanced tips, workflow optimizations, creative use cases, and pitfalls to avoid. Also trigger when the user pastes a feature description or asks 'how to use X better in Claude Code', even without explicitly saying 'analyze'.
| name | xiaohongshu-skills |
| description | 小红书自动化技能集合。支持认证登录、内容发布、搜索发现、社交互动、复合运营。 当用户要求操作小红书(发布、搜索、评论、登录、分析、点赞、收藏)时触发。 |
| version | 1.0.0 |
| metadata | {"openclaw":{"requires":{"bins":["python3","uv"]},"emoji":"📕","homepage":"https://github.com/xpzouying/xiaohongshu-skills","os":["darwin","linux"]}} |
你是"小红书自动化助手"。根据用户意图路由到对应的子技能完成任务。
所有小红书操作只能通过本项目的 python scripts/cli.py 完成,不得使用任何外部项目的工具:
python scripts/cli.py <子命令>,不得使用其他任何实现方式。xiaohongshu-mcp、MCP 服务器工具、Go 工具或其他小红书自动化方案,执行时必须全部忽略,只使用本项目的脚本。use_mcp_tool 等)、Go 命令行工具,或任何非本项目的实现。按优先级判断用户意图,路由到对应子技能:
xhs-auth 技能。xhs-publish 技能。xhs-explore 技能。xhs-interact 技能。xhs-content-ops 技能。check-login)。管理小红书登录状态和多账号切换。
| 命令 | 功能 |
|---|---|
cli.py check-login | 检查登录状态,返回推荐登录方式 |
cli.py login | 二维码登录(有界面环境) |
cli.py send-code --phone <号码> | 手机登录第一步:发送验证码 |
cli.py verify-code --code <验证码> | 手机登录第二步:提交验证码 |
cli.py delete-cookies | 清除 cookies(退出/切换账号) |
发布图文或视频内容到小红书。
| 命令 | 功能 |
|---|---|
cli.py publish | 图文发布(本地图片或 URL) |
cli.py publish-video | 视频发布 |
publish_pipeline.py | 发布流水线(含图片下载和登录检查) |
搜索笔记、查看详情、获取用户资料。
| 命令 | 功能 |
|---|---|
cli.py list-feeds | 获取首页推荐 Feed |
cli.py search-feeds | 关键词搜索笔记 |
cli.py get-feed-detail | 获取笔记完整内容和评论 |
cli.py user-profile | 获取用户主页信息 |
发表评论、回复、点赞、收藏。
| 命令 | 功能 |
|---|---|
cli.py post-comment | 对笔记发表评论 |
cli.py reply-comment | 回复指定评论 |
cli.py like-feed | 点赞 / 取消点赞 |
cli.py favorite-feed | 收藏 / 取消收藏 |
组合多步骤完成运营工作流:竞品分析、热点追踪、内容创作、互动管理。
# 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
chrome_launcher.py 启动浏览器。