xhs

Automate Xiaohongshu note and comment posting via Chrome DevTools MCP.

2|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/AINightCoder/claude-code-social-skills --skill xhs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xhs
Source: https://github.com/AINightCoder/claude-code-social-skills/tree/main/skills/xhs
Command: npx skills add https://github.com/AINightCoder/claude-code-social-skills --skill xhs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates posting notes or comments to Xiaohongshu (RED) through Chrome DevTools MCP, including automatic creation of a text card image to meet Xiaohongshu's image requirement.

Core Features & Use Cases

  • Post notes or comments on Xiaohongshu via browser automation using Chrome DevTools MCP.
  • Automatically generate text card images when no image is provided, ensuring compliance with Xiaohongshu's image requirement.
  • Support optional title, tags, and image paths, and trigger with the /xhs command for quick publishing.
  • Optional comment feature to reply to a specific note via --comment.

Quick Start

Use /xhs with content and optional --title, --tags, and --images to publish a note.

Frequently Asked Questions about xhs

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

FAQPage Schema
How do I automate Xiaohongshu posting via browser automation?

You can automate Xiaohongshu posting by using Chrome DevTools MCP to control the browser, entering note content and tags, and triggering the workflow with the /xhs command to publish notes automatically.

Can I publish Xiaohongshu notes without providing my own images?

Yes, you can publish Xiaohongshu notes without providing images because the automation automatically generates a text card image to meet the platform's image requirement when no image path is specified.

How do I leave automated comments on Xiaohongshu notes?

You can leave automated comments on Xiaohongshu notes by triggering the workflow with the --comment flag, which uses browser automation to reply to a specific note.

Do I need Python dependencies to automate Xiaohongshu content publishing?

Yes, you need Python dependencies installed in your environment to execute the browser automation workflows that handle Xiaohongshu content publishing and commenting reliably.

What optional parameters can I set when automating Xiaohongshu note creation?

When automating Xiaohongshu note creation, you can set optional parameters including --title for the note header, --tags for categorization, and --images to attach specific local image paths.