SkillsGrove
SkillsGrove/ショート動画・クリエイター/ibreez3/xiaohongshu-skill/publish-video-skill

publish-video-skill

インストール

$npx skills add https://github.com/ibreez3/xiaohongshu-skill --skill publish-video-skill
$git clone --depth 1 https://github.com/ibreez3/xiaohongshu-skill.git /tmp/xiaohongshu-skill && mkdir -p ~/.claude/skills && cp -r /tmp/xiaohongshu-skill/skills/publish-video-skill ~/.claude/skills/publish-video-skill
この Agent Skill をインストールしてください:https://github.com/ibreez3/xiaohongshu-skill/tree/5928cc45a0219df922cbbf1b5b819a343f94a8f2/skills/publish-video-skill — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · MITPublish video content to Xiaohongshu (Little Red Book) via HTTP API
以下の SKILL.md は ibreez3/xiaohongshu-skill(コミット 5928cc4)から MIT ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright 2025 xiaohongshu-skill。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

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:

  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:

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
ライセンス全文を見る(MIT)
MIT License

Copyright (c) 2025 xiaohongshu-skill

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.