AGENT SKILL

Xiaohongshu Uploader

Upload images and videos to Xiaohongshu Creator Platform using a local MCP server with browser automation. Features enhanced title validation and improved draft saving.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
Xiaohongshu Uploader
description
Upload images and videos to Xiaohongshu Creator Platform using a local MCP server with browser automation. Features enhanced title validation and improved draft saving.

02 资源文件 10

03 SKILL.md 正文

Xiaohongshu Uploader Skill

This skill provides a Model Context Protocol (MCP) server that allows Clawdbot to upload content to Xiaohongshu.

Features

  • Smart Login: Automates login session persistence. Just scan the QR code once.
  • Auto-Upload: Supports uploading images with titles and descriptions via natural language commands.
  • Title Validation: Automatically validates and trims titles to under 20 characters to ensure proper saving.
  • Enhanced Save Functionality: Uses "暂存离开" (Save and Exit) button for more reliable draft saving.
  • Browser Automation: Leveraging Playwright for robust interaction with the Creator Platform.
  • Improved Error Handling: Better fallback mechanisms and error reporting.

Prerequisites

  • Node.js installed.
  • Playwright browsers installed (the setup script will handle this).

Setup

  1. Navigate to the server directory:

    cd server
    npm install
    npm run build
    npx playwright install chromium
    
  2. Add to your Clawdbot/Claude Desktop configuration:

    {
      "mcpServers": {
        "xiaohongshu": {
          "command": "node",
          "args": [
            "/ABSOLUTE/PATH/TO/xiaohongshu-upload-skill/server/build/index.js"
          ]
        }
      }
    }
    

    Note: Replace /ABSOLUTE/PATH/TO with the actual full path to this skill folder.

Usage

1. Login

First time use requires login.

  • Command: "Login to Xiaohongshu"
  • Action: Scan the QR code in the popped-up browser.
  • Confirmation: Wait for the browser to close or the tool to report success.

2. Upload

  • Command: "Upload [file] to Xiaohongshu with title [title] and description [content]"
  • Action: The agent will automate the upload process.
  • Automatic Title Validation: If your title exceeds 20 characters, it will be automatically truncated to ensure proper saving.

Troubleshooting

  • Login Failed: Ensure you didn't close the window manually before the success message.
  • Browser not opening: Check if npx playwright install was run.
  • Draft not saving: Titles must be under 20 characters. The system will automatically truncate longer titles.
  • Save button not found: The system now tries multiple save button variations including "暂存离开", "保存草稿", and "存草稿".

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

内容创作者
★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

Skill与智能体开发
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

资料检索与研究
★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

律师与法务Skill与智能体开发
★ 1