publish-video-skill
Installation
SKILL.md
Publish Video to Xiaohongshu Skill
Publish video content to Xiaohongshu using the xiaohongshu-mcp HTTP API.
Parameters
This skill receives the following parameters:
- title: Content title (max 20 characters)
- content: Body text
- video: Local video file path
- tags: Optional array of topic tags
- schedule_at: Optional scheduled publish time
Execution
Run the publish script
Execute the Node.js script to publish content:
node skills/publish-video-skill/scripts/publish-video.mjs
The script will:
- Read parameters from the environment or stdin
- Make HTTP POST request to xiaohongshu-mcp server
- Return the result
Environment Variables
Pass parameters via environment variables:
export XIAOHONGSHU_TITLE="标题"
export XIAOHONGSHU_CONTENT="正文内容"
export XIAOHONGSHU_VIDEO="/path/to/video.mp4"
export XIAOHONGSHU_TAGS='["标签1","标签2"]'
node skills/publish-video-skill/scripts/publish-video.mjs
Return the result
After execution, return the result to the caller:
- Success: display the published content URL
- Failure: show the error details
Related skills
More from ibreez3/xiaohongshu-skill
search-feeds-skill
Search Xiaohongshu content by keyword via HTTP API
10post-comment-skill
Post a comment to a Xiaohongshu feed via HTTP API
8get-feed-detail-skill
Get detailed information about a Xiaohongshu feed via HTTP API
8list-feeds-skill
List feeds from Xiaohongshu homepage via HTTP API
7check-login-skill
Check Xiaohongshu login status and display QR code if needed
7publish-image-text-skill
Publish image/text content to Xiaohongshu (Little Red Book) via HTTP API
7