SkillsGrove
SkillsGrove/Vidéo courte et créateurs/gybin02/easypost/xiaohongshu-upload

xiaohongshu-upload

Installation

$npx skills add https://github.com/gybin02/easypost --skill xiaohongshu-upload
$git clone --depth 1 https://github.com/gybin02/easypost.git /tmp/easypost && mkdir -p ~/.claude/skills && cp -r /tmp/easypost/skills/xiaohongshu-upload ~/.claude/skills/xiaohongshu-upload
Installe pour moi cette Agent Skill : https://github.com/gybin02/easypost/tree/03eaf87d961d1dc6497d93f4d59a7fa0c13545d8/skills/xiaohongshu-upload — lis d’abord son SKILL.md et ses scripts, et ne l’installe dans mon dossier de compétences qu’après avoir vérifié qu’elle est sûre.

Résumé

Description d’origine · MIT使用 EasyPost 自动填充或发布小红书创作者中心的图文笔记与短视频。Use when 用户需要向小红书发布图文或短视频。
Le SKILL.md ci-dessous est reproduit depuis gybin02/easypost (commit 03eaf87) sous licence MIT. Le texte est inchangé ; seules les métadonnées d’en-tête du fichier sont omises, les images sont affichées sous forme de liens et les fichiers très longs sont tronqués. Copyright 2026 EasyPost Authors. Licence : LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.

小红书自动填充与发布 Skill

使用 EasyPost 通过创作者日常已登录的 Chrome 浏览器无感填充或发布小红书内容,免配置 Cookie,避免 CDP 探针风控。

平台规格限制与最佳实践

  • 内容形态:
    • imageText:图文笔记(1~18 张图片,推荐 3:4 比例);
    • shortVideo:短视频(推荐 9:16 竖版)。
  • 字段限制:
    • 标题:最大 20 个字(超过会被平台截断或拒绝);
    • 正文:最多 1000 字,支持 #话题 格式;
    • 封面:短视频建议提供竖版封面,对应 role: "cover"。

工作流程

  1. 核验参数:确保标题不超过 20 字,提取前 3~5 个核心标签;
  2. 生成任务配置;
  3. 优先执行 easypost fill(将图片与标题文案填入小红书创作后台,让用户人工在浏览器中微调并点击发布);
  4. 若用户显式要求自动提交,附加 --yes 执行 easypost publish。

示例

发布图文笔记

printf '%s\n' '{
  "type": "imageText",
  "platforms": ["xiaohongshu"],
  "data": {
    "title": "极简桌面好物推荐",
    "content": "近期淘到的几款提升办公幸福感的小物件,尤其是这个磁吸支架... #桌面搭配 #好物推荐 #生产力工具",
    "tags": ["桌面搭配", "好物推荐"]
  },
  "assets": [
    {
      "path": "/absolute/path/to/desktop1.jpg",
      "role": "media"
    },
    {
      "path": "/absolute/path/to/desktop2.jpg",
      "role": "media"
    }
  ]
}' | easypost fill

发布短视频

printf '%s\n' '{
  "type": "shortVideo",
  "platforms": ["xiaohongshu"],
  "data": {
    "title": "3分钟学会高效剪辑",
    "content": "新手剪辑避免踩坑的几个技巧,建议收藏!#剪辑教程 #创作日常"
  },
  "assets": [
    {
      "path": "/absolute/path/to/video.mp4",
      "role": "media"
    },
    {
      "path": "/absolute/path/to/cover_vertical.jpg",
      "role": "cover"
    }
  ]
}' | easypost fill
Voir le texte intégral de la licence (MIT)
MIT License

Copyright (c) 2026 EasyPost Authors

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.