xiaohongshu-login
小红书 MCP 登录流程。当用户需要登录小红书、小红书登录过期、或需要获取小红书登录二维码时使用此 skill。
Why use this skill?
Learn how to use the xiaohongshu-login skill to manage your Little Red Book sessions securely via CLI. Includes steps for QR code generation and reset.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/fe-room/xiaohongshu-loginWhat This Skill Does
The xiaohongshu-login skill is a specialized automation tool designed to handle the authentication lifecycle for the Xiaohongshu (Little Red Book) platform within the OpenClaw ecosystem. It bridges the gap between CLI-based MCP tools and user-friendly interaction by automating the retrieval, conversion, and visual presentation of QR code-based login sessions. This skill is essential for maintaining persistent agent sessions on the platform, ensuring that automated tasks can interact with private accounts securely without manual intervention until the session expires.
Installation
You can integrate this skill into your OpenClaw environment by running the following command in your terminal:
clawhub install openclaw/skills/skills/fe-room/xiaohongshu-login
This command fetches the necessary configuration and dependencies from the openclaw/skills repository. Once installed, the skill exposes the xiaohongshu-mcp commands, enabling seamless session management.
Use Cases
- Initial Onboarding: When you first set up the OpenClaw agent and need to link your Xiaohongshu account for data fetching or content posting tasks.
- Session Maintenance: When you receive notifications that your session has expired, this skill triggers a refresh cycle by invalidating old cookies and generating a fresh QR code for re-authentication.
- Account Reset: In scenarios where you need to switch accounts, the
delete_cookiescommand provides a clean slate, ensuring no sensitive session data remains in the workspace.
Example Prompts
- "OpenClaw, please check if my Xiaohongshu account is still logged in."
- "I need to log into Xiaohongshu; can you generate the login QR code for me?"
- "My session seems to have timed out on Xiaohongshu. Please reset my login credentials and give me a new QR code to scan."
Tips & Limitations
- Visual Reliability: Because MCP CLI output can sometimes be unconventional, the skill prioritizes the
readtool to display the QR code directly in the terminal interface. If the image is not displaying, ensure your terminal supports image rendering. - Handling API Nuances: The
mcportertool produces non-standard JSON formats. The skill includes built-in logic to handle these quirks using regex to extract base64 encoded image data. - External Notifications: While the skill supports sending images to Feishu, this method is considered secondary and potentially unstable compared to the native terminal
readcommand. Always prioritize the primary terminal output for the most reliable user experience. If you encounter file write errors, check your local workspace permissions at/Users/chen/.openclaw/workspace/.
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-fe-room-xiaohongshu-login": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api, code-execution