SkillsGrove
SkillsGrove/Vidéo courte et créateurs/leecyno1/newma-media-studio/dasheng-xhs-publish-bridge

dasheng-xhs-publish-bridge

Installation

$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
Installe pour moi cette Agent Skill : https://github.com/leecyno1/newma-media-studio/tree/1760eda6177fb7a2a566126c889c485e630c03b5/skills/dasheng-xhs-publish-bridge — 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 · MITUse when Newma Publish needs to route Xiaohongshu publishing or content access through API-first CLI, MCP, or browser fallback bridges.
Le SKILL.md ci-dessous est reproduit depuis leecyno1/newma-media-studio (commit 1760eda) 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 Newma Media Studio. Licence : LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.

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.
Voir le texte intégral de la licence (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.