echo-ikun/xhs-autopost-skill
Sanitized OpenClaw skill for Xiaohongshu drafting, cover generation, and publishing via MCP
A sanitized OpenClaw skill for Xiaohongshu (RED / 小红书) content drafting, cover generation, and publishing through the Xiaohongshu MCP service.
.
├─ SKILL.md # Main skill instructions
├─ check_env.sh # Environment checks and local startup helpers
├─ scripts/
│ ├─ cover.sh # Cover generation script
│ └─ generate.sh # Optional backup text-generation script
├─ references/
│ ├─ title-guide.md
│ ├─ content-guide.md
│ └─ cover-guide.md
├─ .env.example # Example environment variables
├─ .gitignore
└─ README.mdcurlpython3convert or magick)Xvfb for headless GUI login flowfonts-noto-cjkSuggested packages on Ubuntu/Debian:
sudo apt update
sudo apt install -y curl python3 imagemagick xvfb zbar-tools xdotool fonts-noto-cjkCopy .env.example and set values in your local shell / service environment.
Core variables:
XHS_MCP_URL=http://localhost:18060/mcp
XHS_MCP_HOME=~/xiaohongshu-mcp
DISPLAY=:99Optional image-generation variables:
GEMINI_API_KEYXHS_IMG_MODELIMG_API_TYPE=openaiIMG_API_KEYIMG_API_BASEIMG_MODELIMG_API_TYPE=hunyuanHUNYUAN_SECRET_IDHUNYUAN_SECRET_KEYHUNYUAN_REGIONHUNYUAN_ENDPOINTHUNYUAN_RSP_TYPEOptional backup text-gene
Loading reviews...