技能圖譜SKILLSGROVE
技能圖譜/效率工具/autoclaw-cc/xiaohongshu-mcp-skills/xhs-explore

xhs-explore

安裝

$npx skills add https://github.com/autoclaw-cc/xiaohongshu-mcp-skills --skill xhs-explore
$git clone --depth 1 https://github.com/autoclaw-cc/xiaohongshu-mcp-skills.git /tmp/xiaohongshu-mcp-skills && mkdir -p ~/.claude/skills && cp -r /tmp/xiaohongshu-mcp-skills/skills/xhs-explore ~/.claude/skills/xhs-explore
請幫我安裝這個 Agent Skill:https://github.com/autoclaw-cc/xiaohongshu-mcp-skills/tree/c79206ce4191fdb5f4c72d62155ed8ac49e7d0ae/skills/xhs-explore ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MIT浏览小红书推荐流、查看笔记详情和评论。 当用户想看推荐内容、刷首页、查看某条笔记的详情/评论、或已有 feed_id 想获取完整内容时使用。
以下 SKILL.md 內容轉載自 autoclaw-cc/xiaohongshu-mcp-skills(提交 c79206c),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 Auto-Claw-CC 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

输入判断

  • 用户想浏览推荐 → 步骤 1
  • 用户提供了 feed_id → 步骤 2

执行流程

1. 获取推荐流

调用 list_feeds(无参数),返回首页推荐笔记列表。

展示每条笔记的标题、作者、互动数据,附带 feed_id 和 xsec_token。

2. 查看笔记详情

调用 get_feed_detail:

  • feed_id(string,必填)
  • xsec_token(string,必填)
  • load_all_comments(bool,可选,默认 false,仅返回前 10 条评论)
  • limit(int,可选,load_all_comments=true 时生效,默认 20)
  • click_more_replies(bool,可选,是否展开二级回复)
  • reply_limit(int,可选,跳过回复数超过此值的评论,默认 10)
  • scroll_speed(string,可选:slow | normal | fast)

展示:笔记内容、图片、作者信息、互动数据、评论列表。

提示用户可以:

  • 点赞/收藏(使用 xhs-interact)
  • 发表评论(使用 xhs-interact)
  • 查看作者主页(使用 xhs-profile)

失败处理

场景 处理
未登录 引导使用 xhs-login
笔记已删除或不可见 告知用户该笔记无法访问
檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 Auto-Claw-CC

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.