Install
openclaw skills install xiaohongshu-image-autoAfter users provide a title and body text, automatically completes the entire process: login detection, AI-generated images, content filling, AI-generated tags, tag activation, original content declaration, and publishing.
openclaw skills install xiaohongshu-image-autoAfter users provide a title and body text, automatically completes the entire process: login detection, AI-generated images, content filling, AI-generated tags, tag activation, original content declaration, and publishing. Only QR code login requires manual operation; all other steps are fully automated.
Trigger this skill when the user mentions any of the following keywords:
You provide content → Launch browser → Check login → AI generate images → Auto-fill → AI generate tags → Activate tags → Declare original → Publish note
↑
Only QR code login requires manual operation
browser start profile=openclaw target=host
browser navigate https://creator.xiaohongshu.com/publish/publish
browser snapshot refs=aria
Login Detection Logic:
browser act ref=<Upload Image-Text Button> kind=click
# Click the "Text to Image" button
browser act ref=<Text to Image Button> kind=click
# Enter image description
browser act ref=<Text Box> kind=type text="<User Title>"
# Generate image and select style (default "Basic")
browser act ref=<Generate Button> kind=click
browser act ref=<Style Button> kind=click
browser act ref=<Next Button> kind=click
browser act ref=<Title Input Field> kind=type text="<User Title>"
browser act ref=<Body Input Field> kind=type text="<User Body Text>"
Character Count Check:
# Analyze title and body text, generate 5-10 relevant tags
# Tag types: Core topics, Scene tags, Emotion tags
Generation Rules:
Key Rule: Must click the first item in the pop-up recommendation list for the tag to become a searchable link
# Execute the following process for each tag
for each tag in tag list:
# Step 1: Click the topic button to open the input field
browser act ref=<Topic Button> kind=click
# Step 2: Enter the tag name (including # symbol)
browser act ref=<Topic Input Field> kind=type text="#tagname"
# Step 3: Wait for the recommendation pop-up to appear (approx. 1 second)
browser snapshot refs=aria
# Step 4: Click the first item in the recommendation list (must!)
browser act ref=<First Item in Recommendation List> kind=click
# Step 5: Confirm the tag is activated (displayed as a blue link)
# Continue to the next tag
Activation Success Indicator:
[Topic]#tagnameImportant Notes:
browser act ref=<Original Declaration Checkbox> kind=click
browser act ref=<Agree Checkbox> kind=click
browser act ref=<Declare Original Button> kind=click
browser act ref=<Publish Button> kind=click
browser snapshot refs=aria
Publishing Success Indicator: Page displays "Published Successfully" or redirects to the "Note Management" page
| Issue | Handling Method |
|---|---|
| Login timeout | Take screenshot, poll automatically to detect login status |
| Title too long | Automatically truncate to 20 characters, prompt user to confirm |
| Publishing failed | Take screenshot record, prompt user to retry or escalate to manual |
browser navigate <URL> # Open a page
browser snapshot refs=aria # Get page elements
browser act ref=<Element> kind=click # Click an element
browser act ref=<Element> kind=type text="Content" # Input text
browser screenshot # Take a screenshot
使用 xiaohongshu-image-auto 技能。汇总今日国内AI领域重要发布。