xhs-scraper
The xhs-scraper skill extracts search results from Xiaohongshu (Little Red Book) using a browser connected to Chrome DevTools Protocol, collecting card information through list page scrolling and optionally retrieving full post content from detail pages. Use this skill to gather note listings and post content by keyword, with output available in Markdown, RSS, or JSON formats.
git clone --depth 1 https://github.com/inclusionAI/AWorld /tmp/xhs-scraper && cp -r /tmp/xhs-scraper/examples/skill_agent/skills/xhs-scraper ~/.claude/skills/xhs-scraperSKILL.md
# 小红书抓取 (xhs-scraper) ## 概述 通过已连接 CDP 的浏览器(agent-browser)抓取小红书搜索结果:列表页滚动采集卡片信息,可选进入详情页获取正文,输出为 Markdown / RSS / JSON。 ## 工具路径 - 脚本:`.claude/skills/xhs-scraper/scrape_xhs.sh` - 依赖:`agent-browser`(CDP 已连接)、`python3` ## 用法 ```bash ./scrape_xhs.sh -k <keyword> [-p <cdp_port>] [-n <max_scrolls>] [-d <detail_count>] [-o <output_file>] [-f <format>] ``` ### 参数 | 参数 | 说明 | 默认 | |------|------|------| | `-k` | 搜索关键词(必填) | - | | `-p` | CDP 端口 | 9222 | | `-n` | 列表页最大滚动次数 | 5 | | `-d` | 进入详情页获取正文的条数(0=仅列表) | 10 | | `-o` | 输出文件路径 | stdout | | `-f` | 格式:`md` \| `rss` \| `json` | md | ### 示例 ```bash ./scrape_xhs.sh -k "Agent开发工程师" ./scrape_xhs.sh -k "AI Agent岗位" -d 5 -f rss -o feed.xml ./scrape_xhs.sh -k "大模型面经" -n 10 -d 20 -f json -o data.json ```
Create ad-ready product images (single or collage) by back-solving sub-image sizes from target output ratio, grounding scene design with media_comprehension, generating images via image_generator with strict request params and actor-count control, and pairing each deliverable with a short social tagline for 小红书/抖音.
Create ad-ready product video from product images, with or without character/subject images. The workflow leverages AI-powered image composition, scene understanding, and video generation. Video prompts should follow commercial shot language—visual hooks, product presence, hero shots, detail showcase, function expression, and dynamic visuals.
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
A professional skill for App Evaluation (evaluating app's performance with score) and App Improvement (giving professional suggestions for improving the app's performance).
>-
Search and summarize the latest 7 days of AI news and X discussions using public sources plus browser-based X collection. Use for recent AI news, trends, X discussions, industry briefs, and summaries organized into hot topics, viewpoints, and opportunity areas.
An intelligent assistant specialized in handling media files (images/audio/video). **Only for media file analysis**, does not handle document types.\n\n✅ Media files that can be processed:\n- Images: .jpg, .jpeg, .png, .gif, .bmp, .webp, .svg\n- Audio: .mp3, .wav, .m4a, .flac, .aac, .ogg\n- Video: .mp4, .avi, .mov, .mkv, .webm, .flv\n\n❌ Files that cannot be processed (please do not trigger this skill):\n- Documents: .pdf, .doc, .docx, .txt, .md, .rtf\n- Spreadsheets: .xlsx, .xls, .csv, .tsv\n- Presentations: .pptx, .ppt, .key\n- Code: .py, .js, .ts, .java, .cpp, .go, .rs\n- Archives: .zip, .tar, .gz, .rar, .7z\n- Executables: .exe, .bin, .app, .dmg\n- Databases: .db, .sqlite, .sql\n- Configuration files: .json, .xml, .yaml, .yml, .toml, .ini\n- Web pages: .html, .htm, .css\n\n**Trigger conditions**: When the user explicitly requests to analyze image/audio/video content, or when the file extension belongs to the aforementioned media types.".
Analyzes and automatically optimizes existing agents by improving system prompts and tool configuration.