iamzifei avatar

Xiaohongshu Publisher

This automates posting images to Xiaohongshu's creator platform using CDP to connect to your existing logged-in Chrome session. You launch Chrome with remote debugging on port 9222, log in once via QR code, and from then on it can upload images, fill titles and descriptions, and handle the whole publishing flow without managing auth tokens. It defaults to saving drafts unless you explicitly say "publish now" or similar phrases. The workflow is methodical: verify connection, check login status, parse any markdown input, upload images through file inputs, fill form fields, and save. Built for folks who need to batch-publish or automate their Xiaohongshu content workflow without clicking through the web UI manually each time. Python scripts included for parsing markdown notes and clipboard operations.

skills.sh installs
266
GitHub stars
11
last updated
Aug 21, 2026

Install

$ npx -y skills add iamzifei/red-publisher-skill --skill xiaohongshu-publisher --agent claude-code

Installs into .claude/skills of the current project.

Files

Xiaohongshu Publisher (小红书发布器)

Publish images and notes to Xiaohongshu (小红书) Creator Platform using agent-browser with CDP (Chrome DevTools Protocol) mode.

Architecture: CDP Mode

This skill uses CDP mode - connecting to an existing browser instance where the user is already logged in. This approach:

  • Eliminates QR code scanning - User logs in once in their browser
  • Leverages existing session - Uses the browser's cookies and auth state
  • More stable - No need to manage auth state files
  • agent-browser CLI - Simple command-line interface with --cdp flag

⚠️ IMPORTANT: Draft Mode by Default

This skill ALWAYS saves notes as DRAFT by default. It will NEVER auto-publish.

Only click the "发布" (publish) button if the user EXPLICITLY requests immediate publishing with phrases like:

  • "直接发布" / "立即发布" / "马上发布"
  • "publish now" / "publish directly" / "publish immediately"
  • "不要草稿,直接发" / "不存草稿"

If unsure, ALWAYS save as draft and let user review before publishing.

Prerequisites

1. Launch Chrome with Remote Debugging

Before using this skill, the user must launch Chrome with remote debugging enabled:

Sponsors

Details

Repository
github.com/iamzifei/red-publisher-skill
Categories
Release Management, Automation & Workflows
First seen
Jun 3, 2026
1tencentcloudbase avatarcloudbase-agenttencentcloudbase/skillsBuild and deploy AI agents with CloudBase Agent SDK (TypeScript & Python). Implements the AG-UI protocol for streaming agent-UI communication. Use when deployin266skills.sh installs
2jezweb avatarelectron-basejezweb/claude-skillsBuild secure desktop applications with Electron 33, Vite, React, and TypeScript. Covers type-safe IPC via contextBridge, OAuth with custom protocol handlers, na263skills.sh installs
3patricio0312rev avatarrollback-workflow-builderpatricio0312rev/skillsCreates safe rollback procedures for deployments with automated workflows, rollback runbooks, version management, and incident response. Use for "rollback autom262skills.sh installs
4awslabs avataraws-lambdaawslabs/agent-pluginsDesign, build, deploy, test, and debug serverless applications with AWS Lambda. Triggers on phrases like: Lambda function, event source, serverless application,260skills.sh installs
5josiahsiegel avatarsql-server-2025josiahsiegel/claude-plugin-marketplaceSQL Server 2025 and SqlPackage 170.2.70 (October 2025) — vector databases, AI integration, and modern features. PROACTIVELY activate for: (1) SQL Server 2025 fe260skills.sh installs
6patricio0312rev avatardeployment-checklist-generatorpatricio0312rev/skillsCreates comprehensive deployment checklists with pre-deployment checks, smoke tests, verification steps, and sign-off workflows. Use for "deployment checklist",259skills.sh installs