view --main publish-video-skill-skill-dlya-publikatsii-video-v-xiaohongshu.md
publish-video-skill: Скилл для публикации видео в Xiaohongshu
readonly
--- lines
---
name: publish-video-skill
description: Publish video content to Xiaohongshu (Little Red Book) via HTTP API
allowed-tools: Bash, Read
---
# 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:
```bash
node skills/publish-video-skill/scripts/publish-video.mjs
```
The script will:
1. Read parameters from the environment or stdin
2. Make HTTP POST request to xiaohongshu-mcp server
3. Return the result
### Environment Variables
Pass parameters via environment variables:
```bash
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
Инициализация мануала...
//
$ ls -R related_skills/
package.json
$ install --global
skills.sh
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/main/data/skills-md/ibreez3/xiaohongshu-skill/publish-video-skill
$ download --local
man
[HINT] Скачивает всю директорию скилла с GitHub: SKILL.md и все связанные файлы