以下 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
all-in-one for unified CLI/agent routing.
xhs-skills / spider-xhs for API-first creator and content access.
xiaohongshu-mcp / rednote-mcp when MCP transport is easier.
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
scripts/prepare_xhs_publish_execution.py remains as a Xiaohongshu-specific compatibility entry.
Stop for login, CAPTCHA, risk-control, or final publish confirmation.
Write platform result beside the channel pack.
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.