xhs-skill

Automate Xianhongshu login, content creation, and data export with Python.

12|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/leeguooooo/xhs-skill --skill xhs-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xhs-skill
Source: https://github.com/leeguooooo/xhs-skill/tree/main/skills/xhs-skill
Command: npx skills add https://github.com/leeguooooo/xhs-skill --skill xhs-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openclaw, python, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the complex process of interacting with Xianhongshu (XHS) by automating login, content creation, and data export, saving users time and reducing errors.

Core Features & Use Cases

  • Automated Login: Log in to XHS and save cookies for easy access.
  • Content Creation: Draft and publish posts, including handling images and tags.
  • Data Export: Export key data from XHS for analysis.
  • Use Case: Imagine you want to post daily on XHS. Use this Skill to automatically log in, create posts based on predefined templates, and export your analytics data.

Quick Start

Install the xhs-skill and run the following command to log in: clawhub install xhs-skill && cd ~/.codex/skills/xhs-skill && npm i && ./bin/xhs-skill.mjs login

Frequently Asked Questions about xhs-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Xianhongshu content creation and publishing?

You can automate Xianhongshu content creation by using Python and OpenClaw's browser automation library to draft posts, handle images and tags, and publish directly. This streamlines the entire publishing workflow.

How does automated login work for Xianhongshu?

Automated login for Xianhongshu works by authenticating your session and saving specific XHS cookies for easy access. Once cookies are stored, the automation library can maintain your session for subsequent tasks.

Do I need Python and OpenClaw to automate Xianhongshu workflows?

Yes, you need Python and OpenClaw browser automation to run Xianhongshu automation workflows. The Skill requires these dependencies to handle login, content creation, and data export processes.

What's the best way to export analytics data from XHS?

The best way to export analytics data from XHS is using an automation script that extracts key data directly from the platform. The exported data can then be used for downstream analysis.

Can I use browser automation to schedule daily XHS posts?

Yes, you can use browser automation to schedule daily XHS posts by combining predefined templates with the automated login and content creation features. This allows you to automatically log in and publish posts on a regular schedule.

Why does my Xianhongshu automation workflow require specific cookies?

Your Xianhongshu automation workflow requires specific cookies to authenticate your session and maintain login state. Without these cookies, the browser automation library cannot access your account to create content or export data.