
white0dew/xiaohongshuskills
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
Skills that support Xiaohongshu's automatic publishing, comments, and searches. Supports OpenClaw, Codex, CC, and others
Overview
Command-line tools that automatically publish content to Xiaohongshu (Xiaohongshu/RED) also support launching only test browsers (no publishing). Automated publishing is achieved through Chrome DevTools Protocol (CDP), supporting image and text publishing, video publishing, multi-account management, headless mode operation, and automatic search materials and content data capture. It is recommended to verify only on test accounts first, control posting frequency and traffic scale, and manually review the final published content. Users need to assess and bear the resulting risks of their accounts, content, traffic, and other related issues. - : Automatically fills in titles and body text, supports uploading images or videos - : Adapts to DOM changes for published pages from February to March 2026 (publish button, timer switch, date input, multi-image upload wait, body editor) - : Detects the last line of the main text #标签, then gradually writes - : Supports managing multiple Xiaohongshu accounts, with cookies isolated for each account - : Supports running in the background without displaying browser windows - : Can connect to remote Chrome debugging ports via --host / --port - : Supports automatic image download from URL, automatically adds Referer to bypass anti-hoard - : Automatically detects login status, automatically switches to windowed mode scanning when not logged in - : Supports returning login QR code Base64 images for remote frontend display - : check_login/check_home_login Default local cache for 12 hours to reduce repeated redirects and verification - : Supports crawling homepage recommended feed lists - :Supports searching notes and obtaining specific note details (including comment data); details can be scrolled to load more comments/replies - :Supports feed_id + xsec_token to leave a first-level comment on a specific note - :Supports replying to specified comments by comment targeting criteria (comment ID / author / text fragment) - :Supports like/unlike, favorite/unbookmark on specified notes - :Supports capturing user homepage snapshots and homepage note lists - :Supports fetching the you/mentions interface from /notification page returns - :Supports capturing the "Basic Note Information" table (exposure/views/likes, etc.) and exporting CSVs - Python 3.10+ - Google Chrome browser - Windows operating system (currently only tested on Windows) Note: The current publishing link has adjusted selectors and waiting strategies according to the Xiaohongshu Creator Center revamp for February-March 2026; If there is another revision in the future, prioritize checking scripts/cdp_publish.
Overview (machine translated)
Sponsors
Thanks to APIMart for sponsoring this project! APIMart is a low-cost API platform focused on AI image/video generation. GPT-Image-2 costs as low as $0.006 per image, and 1 USD can produce 160+ images. A single asynchronous API for images and videos, submitting tasks to get IDs, retrieving results, running tens of thousands of images without timeout, model changes without code changes. Pay-as-you-go, no monthly fees; register through this link to start working.
Command-line tools that automatically publish content to Xiaohongshu (Xiaohongshu/RED) also support launching only the test browser (no publishing). Automated publishing is achieved through Chrome DevTools Protocol (CDP), supporting image and text publishing, video publishing, multi-account management, headless mode operation, and automatic search materials and content data capture.
Risk Warning (Important)
**Using this project for Xiaohongshu automation carries risks of platform risk control, traffic restrictions, account suspension, or account bans. **
It is recommended to verify only on test accounts first, control posting frequency and traffic scale, and manually review the final published content. Users need to assess and bear the resulting risks of their accounts, content, traffic, and other related issues.
Functional Features
- Automated Publishing: Automatically fills in titles and main text, supports uploading images or videos
- Creator Center Compatibility Fix: Adapted to DOM changes for published pages in February-March 2026 (publish button, timer toggle, date input, multi-image upload wait, body editor)
- Automatic topic tag writing: Recognize the last line of the main text
#标签, then gradually write it - Multi-Account Support: Supports managing multiple Xiaohongshu accounts, with cookies isolating each account
- Headless Mode: Supports background operation without displaying browser windows
- Remote CDP Support: Can connect to remote Chrome debug ports via
--host/--port. - Image Download: Supports automatic download of images from URLs and automatic addition of Referers to bypass anti-wiring links
- Login Detection: Automatically checks login status; when not logged in, it automatically switches to windowed mode for QR code scanning
- Login QR Code Export: Supports returning the login QR code Base64 image, making it easy to display and scan remotely at the front end
- Login status cache:
check_login/check_home_loginLocal cache lasts 12 hours by default, reducing repeated jump checks - Homepage Recommendation Stream Capture: Supports capturing homepage recommended feed lists
- Content Search and Detail Reading: Supports searching notes and obtaining specific note details (including comment data). For details, you can scroll to load more comments/replies
- Note Comments: Supports submitting a Level 1 comment to a specified note using
feed_id + xsec_token. - Comment Reply: Supports responding to specific comments based on comment targeting criteria (comment ID / author / text fragment).
- Interactive Action Control: Supports like/unlike, favorite/unbookmark actions on specified notes
- User Page Information Extraction: Supports capturing user homepage snapshots and homepage note lists
This page was translated automatically. Technical details may differ from the original.
Recommended Tools
Try a different keyword or remove a filter.
Install
npx skillfish add white0dew/xiaohongshuskills