SkillsGrove
SkillsGrove/Короткие видео и авторы/leecyno1/newma-media-studio/dasheng-xhs-publish-bridge

dasheng-xhs-publish-bridge

Установка

$npx skills add https://github.com/leecyno1/newma-media-studio --skill dasheng-xhs-publish-bridge
$git clone --depth 1 https://github.com/leecyno1/newma-media-studio.git /tmp/newma-media-studio && mkdir -p ~/.claude/skills && cp -r /tmp/newma-media-studio/skills/dasheng-xhs-publish-bridge ~/.claude/skills/dasheng-xhs-publish-bridge
Пожалуйста, установи для меня этот Agent Skill: https://github.com/leecyno1/newma-media-studio/tree/1760eda6177fb7a2a566126c889c485e630c03b5/skills/dasheng-xhs-publish-bridge — сначала прочитай его SKILL.md и скрипты и устанавливай в мою папку навыков только после того, как убедишься, что он безопасен.

Кратко

Исходное описание · MITUse when Newma Publish needs to route Xiaohongshu publishing or content access through API-first CLI, MCP, or browser fallback bridges.
Приведённый ниже SKILL.md воспроизведён из leecyno1/newma-media-studio (коммит 1760eda) под лицензией MIT. Текст не изменён; опущены только метаданные заголовка файла, изображения показаны как ссылки, а очень длинные файлы сокращены. Авторские права: 2026 Newma Media Studio. Лицензия: LICENSE. Показан только файл с инструкциями; скрипты смотрите в исходном репозитории.

Newma XHS Publish Bridge

Overview

This is the thin Xiaohongshu publish bridge for Newma. Keep it API-first. Use the smallest viable external surface for the current channel pack and fall back only when the primary path fails.

When to Use

  • The channel pack targets Xiaohongshu publish, draft, or post-publish verification.
  • You need to choose between CLI, API wrapper, MCP, or browser fallback.
  • You need a stable handoff from Newma publish packs to an external XHS tool.

Priority Order

  1. all-in-one for unified CLI/agent routing.
  2. xhs-skills / spider-xhs for API-first creator and content access.
  3. xiaohongshu-mcp / rednote-mcp when MCP transport is easier.
  4. xiaohongshu-auto or browser fallback when API transport is blocked.

Inputs

  • channel_pack.json
  • execution_request.json
  • verification_request.json
  • Final video or image assets referenced by artifact_hint

Execution Contract

  1. Read execution_request.json.
  2. Run the local preparation script:
    python3 scripts/prepare_publish_execution.py --execution-request <execution_request.json>
    
    scripts/prepare_xhs_publish_execution.py remains as a Xiaohongshu-specific compatibility entry.
  3. Stop for login, CAPTCHA, risk-control, or final publish confirmation.
  4. Write platform result beside the channel pack.
  5. Run or prepare publish-guard verification from verification_request.json.

Rules

  • Do not vendor upstream repositories into Newma.
  • Do not store cookies, media, or publish outputs inside skills/.
  • Use persistent browser profiles for any browser fallback.
  • Always return a verification artifact or a clear fallback reason.
Полный текст лицензии (MIT)
MIT License

Copyright (c) 2026 Newma Media Studio

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.