xhs-content

Generate XiaoHongShu topic research and note drafts from a keyword.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/SamCuipogobongo/xhs-content --skill xhs-content-samcuipogobongo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xhs-content
Source: https://github.com/SamCuipogobongo/xhs-content/tree/main
Command: npx skills add https://github.com/SamCuipogobongo/xhs-content --skill xhs-content-samcuipogobongo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires subprocess, json, argparse, sys, datetime, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Turning an idea into a small red book topic with the right angles and a platform-native draft is time-consuming, because you must manually collect what’s already trending, analyze recurring themes, and then write notes in XiaoHongShu style.

Core Features & Use Cases

  • Keyword-driven topic research: Searches XiaoHongShu by keyword, reads full text and metadata for top posts, and aggregates them into a structured dataset.
  • AI-generated selection report: Produces a topic report covering heat overview, angle clustering, top post summaries, and data-based differentiation suggestions.
  • XiaoHongShu-native draft generation: Generates 1–3 note drafts following a fixed prompt with XHS style and formatting rules (including title/emoji/hashtags and “dry goods” structure).

Quick Start

Ask Claude: “/xhs-content AI 桌宠”,then review the generated sources.jsonl, report.md, and drafts.md in the output data folder.

Frequently Asked Questions about xhs-content

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

FAQPage Schema
How do I generate XiaoHongShu topic research and draft posts from a keyword?

To generate XiaoHongShu topic research and drafts, use a keyword-driven workflow that searches trending notes, aggregates their metadata and angles into a dataset, and then writes 1–3 native posts. It outputs a topic report and formatted drafts using a fixed prompt.

What is the best way to analyze XiaoHongShu trending topics and angles?

The best way to analyze XiaoHongShu trending topics is to search top posts by keyword, read their full text and metadata, and aggregate them into a structured dataset. An AI-generated selection report then clusters angles and summarizes top posts for differentiation.

Do I need Python and xhs-cli login to research XiaoHongShu content in Claude Code?

Yes, you need Python with xhs-cli login to research XiaoHongShu content in Claude Code workflows. The Skill runs a Python script to collect trending notes and produce a JSONL file of sources before generating the analysis report and drafts.

Can I automate XiaoHongShu first-draft creation with title, emoji, and hashtags?

Yes, you can automate XiaoHongShu first-draft creation to produce notes with titles, emojis, hashtags, and a dry goods structure. The generation follows a fixed prompt with XHS style and formatting rules to ensure native platform output.

What files are output when drafting XiaoHongShu notes from a single keyword?

When drafting XiaoHongShu notes from a single keyword, the workflow outputs sources.jsonl containing the collected post data, report.md with the heat overview and angle clustering, and drafts.md containing the generated native note drafts.