Install the "xiaohongshu-auto-posting" agent skill from https://github.com/browser-act/skills/tree/main/solutions/social-listening/xiaohongshu-auto-posting into .claude/skills/xiaohongshu-auto-posting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-auto-posting", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add browser-act/skills --skill xiaohongshu-auto-posting -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "xiaohongshu-auto-posting" agent skill from https://github.com/browser-act/skills/tree/main/solutions/social-listening/xiaohongshu-auto-posting into .agents/skills/xiaohongshu-auto-posting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-auto-posting", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add browser-act/skills --skill xiaohongshu-auto-posting -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "xiaohongshu-auto-posting" agent skill from https://github.com/browser-act/skills/tree/main/solutions/social-listening/xiaohongshu-auto-posting into .cursor/skills/xiaohongshu-auto-posting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-auto-posting", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add browser-act/skills --skill xiaohongshu-auto-posting -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "xiaohongshu-auto-posting" agent skill from https://github.com/browser-act/skills/tree/main/solutions/social-listening/xiaohongshu-auto-posting into .gemini/skills/xiaohongshu-auto-posting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-auto-posting", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add browser-act/skills --skill xiaohongshu-auto-posting -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "xiaohongshu-auto-posting" agent skill from https://github.com/browser-act/skills/tree/main/solutions/social-listening/xiaohongshu-auto-posting into .github/skills/xiaohongshu-auto-posting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-auto-posting", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add browser-act/skills --skill xiaohongshu-auto-posting -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "xiaohongshu-auto-posting" agent skill from https://github.com/browser-act/skills/tree/main/solutions/social-listening/xiaohongshu-auto-posting into .opencode/skills/xiaohongshu-auto-posting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-auto-posting", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
xiaohongshu-auto-posting
GitHub stars
6.1k
Token cost
~3.9k tokens
SKILL.md length
1,640 words
Files
1
Skills in repo
87
Repo updated
First seen
Licence
MIT
At a glance
Automates the complete Xiaohongshu (XHS / Little Red Book) content operation workflow: pain-point topic collection → style case collection → topic selection → content writing → publishing →…
Works in 3 steps: Tool Readiness → Login Verification → Session Lifecycle
User mentions xiaohongshu auto posting
SKILL.md covers Language, Objective, Prerequisites and Pre-execution Checks, plus 15 more sections
Calls uv; reaches creator.xiaohongshu.com
What it does
Xiaohongshu Auto Posting is an agent skill from browser-act/skills. Automates the complete Xiaohongshu (XHS / Little Red Book) content operation workflow: pain-point topic collection → style case collection → topic selection → content writing → publishing → performance tracking. Use when user mentions xiaohongshu auto posting, xhs auto post, little red book posting, xiaohongshu post, xiaohongshu auto posting, xiaohongshu content operations, xhs content marketing, post to xiaohongshu, publish on xhs, post on xiaohongshu, xiaohongshu promotion, xiaohongshu operations, xiaohongshu…
Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Marketing & SEO, covering Content marketing, Social publishing and cross-posting and Social media marketing. It works with Xiaohongshu. The repository describes itself as: Browser automation CLI built for AI agents. Break through anti-bot walls, hand off to humans across platforms when stuck. Parallel multi-task execution, independent multi-session… The licence is MIT.
When your agent uses it
User mentions xiaohongshu auto posting
Little red book posting
Xiaohongshu post
Xiaohongshu auto posting
Example prompts
“Use the xiaohongshu-auto-posting skill to automate the complete Xiaohongshu (XHS / Little Red Book) content operation workflow: pain-point topic…”
“/xiaohongshu-auto-posting”
Requirements
Python 3
Workflow steps
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 11c057b. It shows what the files ask for, not the result of running them.
Tool permissions
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Runs code
Shell commands in SKILL.md call:
uv
From the folder's file list and the shell code blocks in SKILL.md.
Network
Hosts in commands or code, which the agent is likely to contact:
creator.xiaohongshu.com
From URLs in SKILL.md, links to its own repository left out.
Credentials
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Context cost
Xiaohongshu Auto Posting loads about 3.9k tokens when it runs. Until then it costs about 179 tokens; SKILL.md has 1,640 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~179
When it runs· the whole SKILL.md, loaded when a task matches
~3.9k
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
Safety
Auto-check passed
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Download SKILL.mdSave it as .claude/skills/xiaohongshu-auto-posting/SKILL.md (or your agent's skills folder).
name
xiaohongshu-auto-posting
description
Automates the complete Xiaohongshu (XHS / Little Red Book) content operation workflow: pain-point topic collection → style case collection → topic selection → content writing → publishing → performance tracking. Use when user mentions xiaohongshu auto posting, xhs auto post, little red book posting, xiaohongshu post, xiaohongshu auto posting, xiaohongshu content operations, xhs content marketing, post to xiaohongshu, publish on xhs, post on xiaohongshu, xiaohongshu promotion, xiaohongshu operations, xiaohongshu automation, xhs automation, track xhs performance, track xiaohongshu performance, xiaohongshu data tracking, xiaohongshu analytics, switch xhs account, update xhs keywords.
All process output to user (progress updates, questions, status notifications) follows the user's language.
Objective
Automate a complete Xiaohongshu content operation cycle for a configured product: discover high-engagement pain-point topics via search, collect writing style references, generate platform-native content aligned with the style fingerprint, publish with user approval, and track post-publish performance metrics.
Prerequisites
Xiaohongshu creator center (creator.xiaohongshu.com) already logged in on a configured stealth browser (browser ID stored in session_state.json)
workspaces/xhs-posting/ workspace (auto-created on first run)
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
2. Login Verification
Covered in Phase 0.5 — login check is deferred until session state is loaded (Phase 0.2) and the browser is opened. If the user triggers Phase 6 directly (standalone tracking mode), still complete Phase 0.2 and Phase 0.5 first.
3. Session Lifecycle
Each execution generates a unique session name (xhs-<YYYYMMDD>-<HHMM>) to avoid cross-conversation conflicts. The session is opened once in Phase 0.5 and closed at the end of the workflow. All commands in this Skill reference the session via $SESSION — the actual name is determined at runtime.
Runtime Workspace
All runtime files (config, drafts, publish records, screenshots) are written to the user's working directory (CWD) under workspaces/xhs-posting/. This directory is auto-created on first run.
workspaces/xhs-posting/ ← relative to user CWD
├── session_state.json # account & product config
├── config/
│ └── keywords.json # keyword pool
├── tracking/
│ └── published.json # published note records
├── reports/ # performance reports
└── <YYYY-MM-DD>/ # per-run date directory
├── topics/
├── selected_topics.json
├── style_fingerprint.json
├── drafts/
└── replies/
Quick Start
/xiaohongshu-auto-posting
Standalone triggers (jump directly to the corresponding phase, skipping Phase 0–4):
Three rules that apply to every browser-act session. Violating any one causes silent failures or long hangs. Full details in references/phase5-publish.md §0.
Rule 1 — Never pipe browser-act output directly
Redirect state output to a temp file, then grep the file. Piping may background the command when output contains multi-byte characters, making the result unavailable synchronously.
Rule 2 — Escape all non-ASCII content before passing to eval --stdin
Non-ASCII literals (Chinese, emoji) in JS source cause encoding errors in the subprocess pipeline. Escape to \uXXXX first:
python
def to_ascii_js(s):
return ''.join(r'\u{:04x}'.format(ord(c)) if ord(c) > 127 else c for c in s)
js = to_ascii_js(open('tmp/script.js', encoding='utf-8').read())
subprocess.run([..., 'eval', '--stdin'], input=js.encode('ascii'), ...)
Rule 3 — Use click, not eval, for actions that trigger navigation
eval hangs (~30 s timeout) when the callback causes a page redirect. Always use browser-act --session $SESSION click <index> for the publish button, then verify the URL immediately after.
Phase 0 — Initialization
0.1 Tool Check
Run browser-act browser list:
Command not found → run uv tool upgrade browser-act-cli || uv tool install browser-act-cli --python 3.12, then continue
Returns normally → continue
0.2 Session State Load
Read workspaces/xhs-posting/session_state.json:
File does not exist, or browser_id is empty → proceed to 0.3 First-time Configuration Wizard
File exists and browser_id is non-empty → load and display current config, ask user to confirm or modify
0.3 First-time Configuration Wizard (when file does not exist or browser_id is empty)
Step 1: Browser Selection
Run browser-act browser list, then:
When existing browsers are present: display all browsers (id / name / type / desc / proxy), ask the user which one to use for posting:
Existing browsers:
#1 id=xxx name="xxx" type=stealth desc="xxx" proxy=XX
#2 id=xxx name="xxx" type=chrome desc="xxx"
Select a browser number to use for posting, or enter "new" to create one:
>
Verify login: check that the current URL stays on creator.xiaohongshu.com (not redirected to the login page) and that a user avatar / nickname element is present in state.
Not logged in → instruct the user to scan the QR code in --headed mode:bash
browser-act --session $SESSION browser open <browser_id> https://creator.xiaohongshu.com/new/home --headed
Wait for the user to confirm login, then continue.
Phase 1 — Pain-Point Topic Collection
Full execution parameters: references/phase1-topic-collection.md.
Overview:
Keyword rotation: read the next keyword from config/keywords.json (sequential mode)
XHS search: search the keyword, sort by hottest, collect metadata for the top 10–15 notes
Title ≤ 20 characters (must use native setter when writing; see references/phase5-publish.md §5)
Body ≤ 1000 characters, clear paragraphs
Topic tags: 3–5, covering keyword + product brand + scene term
Must include a closing CTA (comment / save / follow)
Pre-Write Gate (confirm all items before writing begins):
key_quote extracted from Phase 1 deep pass
pain_description confirmed from Phase 1
tools_tried confirmed from Phase 1
Product info (name, install command) read from session_state.json
Style fingerprint (style_fingerprint.json) read
After writing, generate an HTML preview (see references/phase4-writing.md §7), display it in the conversation, then ask:
Preview above. Ready to publish?
- "ok" / "publish" — proceed to Phase 5 publishing
- "edit: <instruction>" — revise per instruction and re-preview
- "draft" — save as draft, do not publish
Phase 5 — Publishing
Full execution parameters: references/phase5-publish.md.
Overview:
Image generation: use XHS Creator Center's built-in "Text-to-Image" feature to auto-generate a cover (recommended), or read a user-provided local image
Image upload (external image): two-step upload — GET permit → PUT file — to obtain file_id
Content Verification Gate: title ≤ 20 characters, body non-empty, topic tags present
Fill Creator Center: navigate → paste content → add topics → set cover
Publish: click the "Publish" button
Capture publish URL: extract note_id from the redirect URL or page
Write record: update workspaces/xhs-posting/<date>/published.json, update posting.last_posted_at in session_state.json
Gate: publish only executes after user approval of the content; auto-publishing unapproved content is not allowed.
Phase 6 — Performance Tracking
Full execution parameters: references/phase6-tracking.md.
Standalone trigger: when the user says "track performance" / "see data" / similar trigger words, jump directly to this phase.
Sub-actions:
Sub-action
Trigger
Description
6.1 Single post 24h tracking
Auto-scheduled after Phase 5 publish
Revisit note_id 24h later, update initial metrics
6.2 Batch data collection
User trigger / weekly
Pull latest data for all published notes from recent N days
6.3 View comments
User trigger
View new comments, draft replies, reply after user approval
6.4 Generate report
User trigger
Aggregate data, output table report
Data stored locally in workspaces/xhs-posting/tracking/.
Account Safety Rules
Posting frequency: ≤ 1 post per account per day, ≥ 6 hours between posts
Content originality: before each publish, check title similarity against historical posts (simple character-level check to avoid exact duplicates)
Avoid sensitive terms: body and title must not contain WeChat IDs, Weibo handles, contact info, or external links
No artificial engagement: do not simulate batch likes / collects / comments
Topic tags: use existing platform topics only; do not create new ones
Image compliance: use XHS built-in generated images or self-owned copyright images; do not use screenshots from others
Phase 5: redirect URL contains published=true, note_id captured and written to published.json
Phase 6: all tracked note metrics updated without error
Session Cleanup
After completing the workflow (any phase exit — normal completion, user abort, or error), close the session to release resources:
bash
browser-act session close $SESSION
Do not close if the user explicitly requests to keep the session open for manual inspection.
Known Limitations
Max 1 post per account per day; minimum 6-hour interval enforced
window.__INITIAL_STATE__ hydration timing is inconsistent — retry once after 2 s if empty
search/notes XHR may not appear in all browser fingerprints; fall back to get markdown if missing
Topic chip insertion silently fails after execCommand body injection — always embed hashtags directly in body text (see references/phase5-publish.md §4.3)
note_id may not be auto-capturable when note is under review; record as pending_review and fill in manually later
Before execution: if the file exists, read it first — it records unexpected situations encountered during past executions (e.g., a strategy has become ineffective); adjust strategy accordingly.
After execution: if an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line:
{YYYY-MM-DD}: {what happened} → {conclusion}
Normal execution does not write to the file. Do not record which keywords were used or how many results were returned — those are task outputs, not experience.
Xiaohongshu Auto Posting next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
Xiaohongshu Auto Posting compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Xiaohongshu Auto Posting this skillbrowser-act/skills
A skill your agent uses when the user wants to monitor what is being said about the brand, competitors, and the category — channels and keywords to track, sentiment scoring, weekly and monthly…
A skill your agent uses when evaluating individual Xiaohongshu post performance, identifying what makes content succeed or fail, extracting viral content patterns, recognizing underperforming…
A skill your agent uses when optimizing hashtags and topic tags on Xiaohongshu posts to increase discoverability, improving search visibility, selecting relevant topic tags, or implementing hashtag…
A skill your agent uses when determining optimal posting times on Xiaohongshu, scheduling content for maximum engagement, analyzing audience activity patterns, or testing different publish times to…
A skill your agent uses when optimizing hashtags and topic tags on Xiaohongshu posts to increase discoverability, improving search visibility, selecting relevant topic tags, or implementing hashtag…
A skill your agent uses when implementing content marketing strategies on Xiaohongshu, building brand through valuable content, nurturing audiences with educational material, creating content…
Extracts structured Amazon product data for a keyword and marketplace through the BrowserAct API, including titles, prices, ratings, reviews, sales volume and promotions.
Analyzes a competitor's Amazon listing by ASIN with BrowserAct data extraction, then reports what it does well, where the market has gaps and opportunity points for your own listing.
Pulls structured Amazon search results (titles, ASINs, prices, ratings, specifications) for a keyword and brand through BrowserAct's Amazon Product API template.
Collects structured product data from Amazon search results for a keyword and optional brand, using a BrowserAct script, for market and competitor research.
Automates the complete Xiaohongshu (XHS / Little Red Book) content operation workflow: pain-point topic collection → style case collection → topic selection → content writing → publishing →…. Xiaohongshu Auto Posting is an agent skill from browser-act/skills. Automates the complete Xiaohongshu (XHS / Little Red Book) content operation workflow: pain-point topic collection → style case collection → topic selection → content writing → publishing → performance tracking.
When should I use Xiaohongshu Auto Posting?
Xiaohongshu Auto Posting fits situations like: user mentions xiaohongshu auto posting; little red book posting; xiaohongshu post; xiaohongshu auto posting.
How do I install Xiaohongshu Auto Posting in Claude Code?
Run `npx skills add browser-act/skills --skill xiaohongshu-auto-posting -a claude-code`. Or copy the skill folder (solutions/social-listening/xiaohongshu-auto-posting in browser-act/skills) into .claude/skills/xiaohongshu-auto-posting in your project. Claude Code loads it when a task matches its description.
How do I install Xiaohongshu Auto Posting in Codex?
Run `npx skills add browser-act/skills --skill xiaohongshu-auto-posting -a codex`. Or copy the skill folder (solutions/social-listening/xiaohongshu-auto-posting in browser-act/skills) into .agents/skills/xiaohongshu-auto-posting in your project. Codex loads it when a task matches its description.
Can I use Xiaohongshu Auto Posting in Cursor, Gemini CLI or GitHub Copilot?
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add browser-act/skills --skill xiaohongshu-auto-posting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xiaohongshu-auto-posting, .gemini/skills/xiaohongshu-auto-posting, .github/skills/xiaohongshu-auto-posting and .opencode/skills/xiaohongshu-auto-posting in your project.
What does Xiaohongshu Auto Posting need to run?
Going by SKILL.md and its folder, Xiaohongshu Auto Posting needs the command-line tools its instructions call (uv). Our summary lists: Python 3.
Does Xiaohongshu Auto Posting access the network?
SKILL.md names 1 domain. In commands or code: creator.xiaohongshu.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Is Xiaohongshu Auto Posting safe to install?
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
What licence does Xiaohongshu Auto Posting use?
Xiaohongshu Auto Posting is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Xiaohongshu Auto Posting use?
About 3.9k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
What are the alternatives to Xiaohongshu Auto Posting?
Skills that share tags, products or a category with Xiaohongshu Auto Posting: 15 Social Listening Global (minhnv0807/ai-business-skills, 610 stars), Content Performance Analysis (vivy-yi/xiaohongshu-skills, 478 stars), Hashtag Optimization (vivy-yi/xiaohongshu-skills, 478 stars) and Publishing Timing (vivy-yi/xiaohongshu-skills, 478 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Xiaohongshu Auto Posting?
browser-act (a GitHub organization) maintains it in browser-act/skills, which has 6,122 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on August 24, 2026.
Source: browser-act/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.