xiaohongshu-auto-posting
ما الذي تفعله
تُرشد هذه المهارة إلى دورة محتوى كاملة على Xiaohongshu لمنتج تضبطه. وهي موجهة للمسوّقين وصنّاع المحتوى الذين يريدون مساعدة في البحث عن المواضيع وكتابة المنشورات وتتبع النتائج على المنصة.
متى تستخدمها
- ✓عندما تريد إيجاد مواضيع رائجة على Xiaohongshu لمنتجك.
- ✓عندما تريد مساعدة في كتابة منشورات Xiaohongshu بأسلوب المنشورات الناجحة.
- ✓عندما تريد نشر منشور وتتبع أدائه بعد أن يصبح متاحًا.
رابط المهارة
https://github.com/browser-act/skills/blob/main/solutions/social-listening/xiaohongshu-auto-posting/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ابحث عن مواضيع رائجة على Xiaohongshu تلامس مشكلات الناس بشأن منتج العناية بالبشرة الخاص بي، واكتب ثلاثة منشورات مسودة، وانتظر موافقتي قبل النشر.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تعمل المهارة على مراحل. تجمع المواضيع من البحث، وتجمع مراجع الأسلوب، وتكتب منشورات تناسب الأسلوب، ثم تنشر فقط بعد موافقتك. ثم تتتبع أداء كل منشور.
المحتوى التقني (ملف 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 insession_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_idis 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
- آخر تحديث
- 24/8/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
browser-act-skill-forge
6.3kيساعد وكيلك على استكشاف موقع ويب مرة واحدة وحفظ مهارة قابلة لإعادة الاستخدام مع سكربتات، حتى تكون عمليات جلب البيانات اللاحقة من الموقع أسرع.
browser-act
6.3kيساعد وكيلك على تشغيل أداة أتمتة المتصفح لفتح الصفحات وقراءة المحتوى المعروض وملء النماذج وأخذ لقطات الشاشة وإدارة الجلسات المسجّل فيها الدخول.
1688-product-detail
6.3kيساعد وكيلك على جلب تفاصيل المنتجات من صفحة الجملة في 1688.com، مثل شرائح الأسعار والمتغيرات وإحصائيات البائع والخصائص.
airbnb-listing-detail
6.3kيساعد وكيلك على جلب التفاصيل العامة لإعلان Airbnb برقمه، مثل الصور والمرافق والتقييمات وقواعد المنزل.
مهارات مشابهة
xurl
394kيساعد وكيلك على النشر والرد والبحث والقراءة على X، وإرسال الرسائل المباشرة ورفع الوسائط، باستخدام أداة xurl المصادَق عليها.
connections-optimizer
280kيحسّن روابطك على شبكات التواصل الاجتماعي. يقترح من تتابع ومن تلغي متابعته، ويساعدك على كتابة رسائل مخصصة لتوسيع شبكتك.
content-engine
280kينشئ محتوى لمنصات مختلفة. يساعد على إنتاج منشورات وسيناريوهات وتقاويم محتوى تناسب شبكات مثل X وLinkedIn وYouTube.