技能图谱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.