xhs-skill
小红书(创作者中心)登录拿 cookies、发布笔记、导出数据的单一入口技能(浏览器交互委托 agent-browser-stealth)
Why use this skill?
Automate Xiaohongshu login, data exports, and publishing with xhs-skill. A secure, stealth-browser integrated tool for efficient content and data management.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/leeguooooo/xhs-skillWhat This Skill Does
xhs-skill is a specialized automation entry point for the Xiaohongshu (Little Red Book) Creator Center. By integrating directly with agent-browser-stealth, this skill streamlines the process of browser-based authentication, cookie management, and data handling. It is designed to act as a unified hub for all Xiaohongshu-related agent activities, allowing users to log in securely, publish notes, and export performance data without needing to manage multiple disparate scripts or configurations. It prioritizes stability and compliance with browser automation best practices, ensuring that all interactions occur within a stealth-capable session to minimize the risk of detection or error.
Installation
To begin, ensure you have the OpenClaw environment initialized in your desired working directory. Run the following commands:
clawhub install xhs-skill
cd skills/xhs-skill
npm i
Ensure that your workspace contains a data/ directory for secure storage of local assets, cookies, and export files. This directory is essential for the skill to function as it isolates sensitive data from the conversation history.
Use Cases
- Seamless Authentication: Automate the login process to the Xiaohongshu Creator Center by generating QR codes and performing post-login validation.
- Cookie Persistence: Export, normalize, and verify cookies locally to maintain long-lived sessions, reducing the need for constant re-authentication.
- Data Export: Extract creator statistics, performance metrics, and post history directly into your local
data/exports/directory for offline analysis. - Content Management: Upload assets and publish content by leveraging the agent's stealth browser capabilities to mimic human interaction.
Example Prompts
- "Please initiate the login process for my Xiaohongshu Creator account and show me the QR code for scanning."
- "I have finished scanning the login QR code. Please verify my session, save my cookies to the local directory, and check if I can access the dashboard."
- "Export my latest post performance data from the Xiaohongshu Creator Center and save the results as a CSV in my data directory."
Tips & Limitations
- Stability: Always run tasks serially. Concurrent browser operations can lead to
os error 35. - Validation: Never assume a successful login just because a QR code was scanned; always perform the provided post-login verification to ensure the session is active.
- Sensitive Data: Sensitive files such as cookies and session data are stored locally in the
data/folder. For your security, avoid pasting these contents into the chat interface. - Snapshotting: The skill relies on UI element locations; ensure that you refresh the snapshot state (
snapshot -i) before executing critical clicks or input actions to avoid element drift.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-leeguooooo-xhs-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, code-execution
Related Skills
blog-content-publish
Publish editorial and dynamic section content with blog-publish, enforce bilingual pairing and quality gates for hot/news/ai_news, and sync repository skills to ClawHub via clawhub sync --all.
work-report
Write a daily or weekly work report using git commits. Use when the user asks to write or send a daily report/standup or weekly report, especially "日报", "发日报", "周报", "发周报", "daily report", "weekly report", or "work report".
agent-browser-stealth
Stealth-first browser automation for OpenClaw using agent-browser-stealth. Use when tasks involve bot-protected websites, anti-fingerprint evasion, captcha-prone flows, login persistence, region-sensitive targets (e.g., Shopee/TikTok/e-commerce), or any request to automate web actions with lower detection risk.
yapi
Query and sync YApi interface documentation. Use when user mentions "yapi 接口文档", YAPI docs, asks for request/response details, or needs docs sync. Also triggers when user pastes a YApi URL that matches the configured base_url.
Mailbox
Skill by leeguooooo