본문으로 건너뛰기
Skillpedia
소셜 미디어6.3k · #14323

xiaohongshu-auto-posting

하는 일

이 스킬은 내가 설정한 제품을 위해 Xiaohongshu 콘텐츠 작업 전체를 안내합니다. 주제 조사, 글쓰기, 게시 후 성과 추적을 도와 달라는 마케터와 크리에이터를 위한 스킬입니다.

사용하는 경우

  • ✓내 제품과 관련된 Xiaohongshu 인기 주제를 찾고 싶을 때.
  • ✓성공한 노트 스타일에 맞춰 Xiaohongshu 게시물 쓰는 것을 돕고 싶을 때.
  • ✓게시물을 올리고 공개 후 성과를 추적하고 싶을 때.

스킬 링크

https://github.com/browser-act/skills/blob/main/solutions/social-listening/xiaohongshu-auto-posting/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/browser-act/skills/blob/main/solutions/social-listening/xiaohongshu-auto-posting/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 스킨케어 제품과 관련된 Xiaohongshu 고민 주제를 조사하고, 초안 게시물 세 개를 써 주세요. 게시하기 전에 내 승인을 기다려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 단계별로 움직입니다. 검색에서 주제를 모으고, 스타일 참고 자료를 찾고, 그 스타일에 맞는 게시물을 쓰고, 승인한 뒤에만 게시합니다. 이후 각 게시물의 성과 지표를 추적합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Xiaohongshu Auto-Posting (XHS Auto-Posting)

End-to-end Xiaohongshu content operation: topic discovery → style reference → writing → publishing → performance tracking.

Language

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):

  • "track performance" / "see data" / "data collection" → Phase 6 performance tracking
  • "settings" / "switch account" / "update keywords" → Phase 0 configuration wizard

Operational Rules

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.

# WRONG
browser-act --session $SESSION state | grep "Publish"
# CORRECT
browser-act --session $SESSION state > /tmp/s.txt 2>&1 && grep "Publish" /tmp/s.txt

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:

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 `b
자주 묻는 질문

내게 묻지 않고 게시물을 올리나요?

아니요, 설명에 따르면 게시는 사용자 승인을 거친 뒤에만 진행됩니다.

Xiaohongshu에 로그인되어 있어야 하나요?

네, 게시 단계 전에 설정된 브라우저에서 크리에이터 센터에 로그인되어 있어야 합니다.

결과도 추적하나요?

네, 마지막 단계에서 게시 후 성과 지표를 추적합니다.

상세 정보

작성자의 원본 설명

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, x

repo: browser-act/skills

인기도

GitHub 스타
6.3k
순위
#14323
라이선스
MIT
업데이트
2026. 8. 24.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬