360 Secure SkillHub
360 安全技能中心

Xiaohongshu Automation Suite

该 Skill 打包三部分能力:xiaohongshu-publish 自动发布长文(含 pro 平台),xiaohongshu-reply 抓取并回复最新评论、生成模板回复,login_helper 通过 Playwright 完成隐匿登录并持久化 Cookie。依赖 Python 3.8+、Playwright 与 Chromium。

dingkwang
dingkwang
热度 42.25
最近更新 2026-05-17 12:29:24
分类:营销依赖:联网浏览搜索 / 代码执行 / 读写文件应用场景:社交媒体 / 自动化脚本 / 文案创作

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add xiaohongshu-automation
Metadata
name
xiaohongshu-automation
description
A complete automation suite for Xiaohongshu (Little Red Book). Includes long-text publishing, comment management (reply/check), and stealth login helpers.
author
Dingkang Wang

Xiaohongshu Automation Suite

This skill bundle provides a set of tools to automate your Xiaohongshu content creation and community management.

Included Tools

1. 📝 Publishing (xiaohongshu-publish)

  • publish_long_text: Automatically publish long-form articles with titles and content.
  • Supports "Pro" platform (pro.xiaohongshu.com).

2. 💬 Community Management (xiaohongshu-reply)

  • check_comments: Fetch and reply to latest comments.
  • reply_fixed: Alternative reply logic.
  • generate_replies: Generate template replies.

3. 🔐 Authentication

  • login_helper: Stealth login script using Playwright (independent, no plugin required).
  • Cookie management and persistence.

Usage

Login (First Time)

Run the login helper to capture cookies:

python3 skills/xiaohongshu-skill/login_helper.py

Publish an Article

python3 skills/xiaohongshu-skill/xiaohongshu-publish/publish_long_text.py --title "My Title" --content "My Content"

Requirements

  • Python 3.8+
  • Playwright (pip install playwright && playwright install chromium)