resources/skills/xiaohongshu-search/SKILL.md
Search Xiaohongshu (Rednote) by keyword and extract note image URLs and titles with Playwright. Use when the user wants 小红书搜索结果抓取、图片链接提取或标题采集导出。Supports terminal JSON output and optional local text export.
npx skillsauth add aidotnet/opencowork xiaohongshu-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Extract searchable content from Xiaohongshu using one local script.
| Script | Purpose | Dependencies |
| ------------------- | ------------------------------------ | ------------ |
| scripts/search.py | 打开小红书搜索页并提取图片链接与标题 | playwright |
python --version
pip install playwright
playwright install chromium
Critical error recovery: if a command fails with missing dependency/browser errors, install the missing dependency, then rerun the exact same command.
python scripts/search.py "AI"
python scripts/search.py "AI" --count 30
python scripts/search.py "AI" --count 30 --save ./output
keyword (required): 搜索关键词--count (optional): 最多提取条数,默认 20--save (optional): 本地输出目录Script prints JSON at the end:
{
"keyword": "AI",
"images": ["https://..."],
"titles": ["..."],
"count": 20
}
--save is used)<keyword>_links.txt: 图片链接列表<keyword>_titles.txt: 标题列表(有标题时写入)scripts/search.pyThis skill does not provide the following capabilities in current repository state:
tools
Post tweets to X.com (Twitter) using the system browser's login state
development
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When GLM needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks
development
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When GLM needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
development
--- name: xiaohongshu-creator description: 小红书内容创作与发布工具,支持AI生成文案、自动配图、定时发布、评论互动等完整工作流。基于浏览器会话,需要先登录小红书账号。 compatibility: 需要 Python 3.8+。依赖: playwright, Pillow, cryptography。需先在浏览器中登录小红书。 --- # 小红书内容创作与发布 小红书(Redbook)内容创作、发布与互动工具。 ## 核心功能 - AI文案生成 - 基于主题生成吸引人的小红书文案 - 封面生成 - 自动生成精美的笔记封面图 - 内容发布 - 支持图文笔记发布 - 定时发布 - 设置发布时间自动发布 - 评论互动 - 自动回复评论,增加粉丝互动 ## 安装 ```bash pip install playwright pillow playwright install chromium ``` ## 使用方法 ### 1. 检查登录状态 ```bash python scripts/publish.py status ```