What does xhs-content-skill do?
AI Agent Skill for Xiaohongshu short-image posts — topic prioritization, 4D scoring, hook library, and AI-detection avoidance.
Overview
This skill helps AI agents (e.g., Claude Code, Cursor, Codex) produce high-quality short-image posts for Xiaohongshu. It combines:
- Topic Prioritization: Uses a confidence-weighting algorithm to rank potential topics based on trending data, user interest, and seasonality.
- Four-Dimensional Scoring (4D Scoring): Evaluates each post draft on: Information Density, Emotional Resonance, Meme Potential, and Visual Impact.
- Hook Library: A curated collection of proven attention-grabbing hooks optimized for Xiaohongshu's audience.
- Anti AI-Detection: A set of editing rules and rewriting prompts to make AI-generated text feel more human, reducing the chance of being flagged as AI content.
How to Use
- Install the skill in your AI agent environment (e.g., add to
CLAUDE.md,skills/folder, or agent configuration). - Invoke the skill by providing a topic or keyword for the short-image post.
- The agent will:
- Run topic prioritization on a list of candidate topics.
- Generate an initial draft.
- Score the draft using the 4D system.
- Apply the hook library and anti-detection transforms.
- Output: A final post draft with a suggested image description and formatted text for Xiaohongshu.
Supported Platforms
- Claude CLI / Claude Code
- Cursor
- Codex
- Any AI agent that can read a markdown skill file and execute its instructions.
Example Workflow
User: "Write a short post about sustainable fashion for XHS."
Agent:
1. Topics: ["thrift flip", "slow fashion", "eco-friendly materials"]
2. Prioritize: "thrift flip" (highest confidence score: 85)
3. Draft: "Did you know thrifting can reduce your wardrobe's carbon footprint by 60%? Check out this thrift flip I did last weekend..."
4. Score: Info Density=8/10, Emotional Resonance=9/10, Meme Potential=6/10, Visual Impact=9/10
5. Hook: "You won't believe how I transformed this (insert item) ..."
6. Anti-AI: Add personal anecdote, vary sentence length, replace formal phrases with conversational ones.
7. Final output.
Configuration
No external API keys required. All logic is prompt-based and can be customized by editing the skill markdown file.
References
- Xiaohongshu Creator Guidelines
- Anti AI-Detection Tips (placeholder)
Skill maintained by cool111111.