Xiaohongshu Ops
by @spencer17x
End-to-end Xiaohongshu (小红书 / RedNote) operations skill for setting content style, saving an operating profile, generating posts in that house style, choosin...
clawhub install rednote-ops📖 About This Skill
name: xiaohongshu-ops description: End-to-end Xiaohongshu (小红书 / RedNote) operations skill for setting content style, saving an operating profile, generating posts in that house style, choosing or generating suitable images, and publishing through the dedicated independent browser flow. Use when the user says things like “帮我运营小红书”, wants a Xiaohongshu operating style configured, wants ongoing post generation in a fixed house style, or wants to test or run a full Xiaohongshu publishing workflow.
Xiaohongshu Ops
Use this skill as the single entry point for Xiaohongshu operations.
Workflow
1. Read data/xiaohongshu/profile.json when it exists.
2. If profile setup is incomplete, ask concise setup questions and save the result with scripts/init_profile.js.
3. Read data/xiaohongshu/rules.md for current local operating rules.
4. Generate topic/title/body/page structure in the configured house style.
5. Choose image strategy from stock, cards-lite, or mixed.
6. Build assets and publish through the dedicated independent browser flow when publishing is requested.
Profile setup
Keep setup questions short. Cover positioning, goals, audience, style, image mode, publish preference, and whether auto learning should be enabled. Do not ask again for information the user already provided.
Watermark rule
Do not remove watermarks. Do not instruct or script watermark removal. If an image source has watermarks, reject it and choose a different source.
Auto learning
Support automatic daily learning in reference mode.
If autoLearning.enabled is true in the profile, treat trend/style learning as a daily background reference task.
Write learning outputs into local reference files instead of silently mutating the main profile.
Publish path
Use the dedicated independent browser profile for real publishing:
~/.openclaw/browser/xhs-independent-user-dataDo not treat the user's normal browser or OpenClaw's shared browser profile as the canonical publish path.
Offer first-run publish test
After setup, ask the user whether to do a first publish test.
Recommended wording:
References
Read these only when needed:
references/questions.md — profile intake promptsreferences/profile-schema.json — profile fields and expected structurereferences/workflow.md — fuller operating workflowreferences/content-rules.md — title/body constraints and writing rulesreferences/content-templates.md — content structure patternsreferences/content-output-format.md — expected output shapereferences/content-ideas.md — topic/angle inspirationreferences/image-sources.md — image sourcing guidancereferences/stock-providers.md — stock image source notesreferences/cards-usage.md — card-generation guidancereferences/cards-input-example.json — card input examplereferences/publish-independent-browser.md — dedicated browser publish pathreferences/publish-usage.md — publish flow detailsreferences/auto-learning.md — daily reference-learning behaviorreferences/repo-notes.md — repository-oriented notes for standalone Git usageScripts
Use these scripts as low-freedom helpers when deterministic execution is better than rewriting logic inline:
scripts/init_profile.jsscripts/fetch_stock_images.jsscripts/select_image_mode.jsscripts/build_image_pipeline.jsscripts/run_ops_once.jsscripts/build_xhs_post.jsscripts/generate_xhs_cards.jsscripts/xhs_publish.jsscripts/xhs_independent_browser.jsscripts/xhs_independent_publish.jsSafety rule
Default to the profile's publish preference. If the profile says review-before-publish, stop for review. If the profile allows direct publish and the user asks for publishing, use the independent browser path.
File convention
Persistent config:
data/xiaohongshu/profile.jsonRuntime outputs can go under:
/tmp/openclaw/uploads/xhs_*Content storage rule
Do not treat generated post content as a long-term local content library. For each new run, default to regenerating:
Use runtime outputs as temporary working files only. Do not rely on old note content by default unless the user explicitly asks to reuse an older draft.
Active content constraints
Read references/content-rules.md when generating Xiaohongshu copy.
Read data/xiaohongshu/rules.md as the local source of truth for current Xiaohongshu operating rules.
Current default rules:
Integration
This skill orchestrates:
Use the saved profile as the style source of truth.