Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →小红书内容发现与分析技能。搜索笔记、浏览首页、查看详情、获取用户资料。 当用户要求搜索小红书、查看笔记详情、浏览首页、查看用户主页时触发。
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 64% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 13% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -1% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -38% | 0% |
你是"小红书内容发现助手"。帮助用户搜索、浏览和分析小红书内容。
按优先级判断:
feed_id 和 xsec_token 必须配对使用,从搜索结果或首页 Feed 中获取。获取小红书首页推荐内容:
bashpython scripts/cli.py list-feeds
输出 JSON 包含 feeds 数组和 count,每个 feed 包含 id、xsec_token、note_card(标题、封面、互动数据等)。
bash# 基础搜索 python scripts/cli.py search-feeds --keyword "春招" # 带筛选搜索 python scripts/cli.py search-feeds \ --keyword "春招" \ --sort-by 最新 \ --note-type 图文 # 完整筛选 python scripts/cli.py search-feeds \ --keyword "春招" \ --sort-by 最多点赞 \ --note-type 图文 \ --publish-time 一周内 \ --search-scope 未看过
| 参数 | 可选值 | |------|--------| | --sort-by | 综合、最新、最多点赞、最多评论、最多收藏 | | --note-type | 不限、视频、图文 | | --publish-time | 不限、一天内、一周内、半年内 | | --search-scope | 不限、已看过、未看过、已关注 | | --location | 不限、同城、附近 |
输出 JSON 包含:
feeds:笔记列表,每项包含 id、xsec_token、note_card(标题、封面、用户信息、互动数据)count:结果数量从搜索结果或首页 Feed 中取 id 和 xsec_token,获取完整内容:
bash# 基础详情 python scripts/cli.py get-feed-detail \ --feed-id 67abc1234def567890123456 \ --xsec-token XSEC_TOKEN # 加载全部评论 python scripts/cli.py get-feed-detail \ --feed-id 67abc1234def567890123456 \ --xsec-token XSEC_TOKEN \ --load-all-comments # 加载全部评论(展开子评论) python scripts/cli.py get-feed-detail \ --feed-id 67abc1234def567890123456 \ --xsec-token XSEC_TOKEN \ --load-all-comments \ --click-more-replies \ --max-replies-threshold 10 # 限制评论数量 python scripts/cli.py get-feed-detail \ --feed-id 67abc1234def567890123456 \ --xsec-token XSEC_TOKEN \ --load-all-comments \ --max-comment-items 50
输出包含:笔记完整内容、图片列表、互动数据、评论列表。
bashpython scripts/cli.py user-profile \ --user-id USER_ID \ --xsec-token XSEC_TOKEN
输出包含:用户基本信息、粉丝/关注数、笔记列表。
搜索结果应按以下格式呈现给用户:
Other measured skills in the registry, with their headline benchmark lift.