Searches Xiaohongshu(小红书) for a given keyword, extracts the top N posts (including texts, images, and user comments), and then synthesizes a comprehensive fi...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install xiaohongshu-search-summarizer或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install xiaohongshu-search-summarizer⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/xiaohongshu-search-summarizer/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: xiaohongshu-search-summarizer description: Searches Xiaohongshu(小红书) for a given keyword, extracts the top N posts (including texts, images, and user comments), and then synthesizes a comprehensive final analytical report. Use this skill whenever the user wants to search Xiaohongshu for a specific topic, compile research seamlessly combining text and images, or needs an aggregated thematic summary of social media posts, comments, and visual data on a given subject. compatibility: Requires playwright-cli and python3, and the Python 'requests' package installed. ---
This skill automates the process of extracting high-quality multi-modal content (text + images) from Xiaohongshu (小红书) and actively assists you in generating a deeply integrated, analytical final report for the user. Due to Xiaohongshu's aggressive anti-scraping mechanisms, direct HTTP requests or naive scraping often result in 404s or blocks. This skill natively bypasses these by simulating a real user through the playwright-cli in a headed browser window.
It operates in two distinct phases:
[keyword]_raw_data.md).[keyword]_raw_data.md file.playwright-cli (Must be available on the path)python3 (Required to download images and stitch the raw data markdown)requests Python package (pip install requests) — used by parse.py to download images---
Execute the wrapper script in scripts/run.sh. It accepts the following arguments:
/bin/bash <skill_dir>/scripts/run.sh "YOUR KEYWORD" <MAX_POSTS> <OUTPUT_DIRECTORY>
YOUR KEYWORD: The search term to look up on Xiaohongshu.: (Optional, default = 10) The number of top posts to scan.: (Optional, default = ./) Directory where the raw data and images will be saved.Example execution:
/bin/bash ~/.claude/skills/xiaohongshu-search-summarizer/scripts/run.sh "openclaw使用场景" 10 "./xhs_report_openclaw_scenarios"
Once the bash script finishes successfully, navigate to the OUTPUT_DIRECTORY and use your file reading capabilities to ingest the generated [keyword]_raw_data.md file.
Inside this file, you will find descriptions, comments, and file paths pointing to post_X_img_Y.webp or post_X_img_Y.jpg.
This is the most critical step. Do not just return the raw markdown file to the user. Instead, write a polished comprehensive markdown report that reorganizes the information logically, while retaining a high level of detail.
Follow these strict compilation rules:
.webp or .jpg image files found in the raw data directory to interpret their contents. as the raw data (e.g., /[keyword]_synthesis.md ), and give the user the path to it. If you encounter 404 Not Found or "element not visible" errors during the browser invocation:
playwright-cli browser window and perform necessary authentication manually, then try the script again.安装 Xiaohongshu Search Summarizer 后,可以对 AI 说这些话来触发它
Show me the top-performing posts in my Xiaohongshu account this month
Fetches account analytics, ranks posts by engagement rate, and returns a table with views, likes, saves, and comments
Draft a Xiaohongshu post for this skincare product with trending hashtags
Analyzes current trending hashtags in the beauty category, writes an engaging post in the Xiaohongshu style, and suggests 5 relevant tags
Analyze the comments on my latest Xiaohongshu post for sentiment
Reads all comments, classifies them as positive/neutral/negative, and surfaces the most common themes and actionable feedback
将技能文件夹放到 ~/.claude/skills/xiaohongshu-search-summarizer/ 目录(个人级,所有项目可用),或 .claude/skills/xiaohongshu-search-summarizer/(项目级)。重启 AI 客户端后,用 /xiaohongshu-search-summarizer 主动调用,或让 AI 根据上下文自动发现并使用。
Xiaohongshu Search Summarizer 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Xiaohongshu Search Summarizer 可免费安装使用。请查阅仓库了解许可证信息。
Searches Xiaohongshu(小红书) for a given keyword, extracts the top N posts (including texts, images, and user comments), and then synthesizes a comprehensive fi...
Xiaohongshu Search Summarizer 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。