SkillsGrove
SkillsGrove/Vidéo courte et créateurs/tsingyuai/growth-lab/xhs-replicate

xhs-replicate

Installation

$npx skills add https://github.com/tsingyuai/growth-lab --skill xhs-replicate
$git clone --depth 1 https://github.com/tsingyuai/growth-lab.git /tmp/growth-lab && mkdir -p ~/.claude/skills && cp -r /tmp/growth-lab/models/xhs-replicate ~/.claude/skills/xhs-replicate
Installe pour moi cette Agent Skill : https://github.com/tsingyuai/growth-lab/tree/dea8b1121b3e89a650bfa83fdd37f729954c2e33/models/xhs-replicate — 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 · Apache-2.0小红书内容增长闭环 —— 从调研找 idea、锚定爆款骨架、填入真实产品内容、生图与合规检查,到回收 24h/48h/7d 发布结果并完成复盘。用户要求出稿、复刻、月度复盘、查看发布数据或修订内容规律时使用。
Le SKILL.md ci-dessous est reproduit depuis tsingyuai/growth-lab (commit dea8b11) sous licence Apache-2.0. 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 owner or entity authorized by. Licence : LICENSE. Seul le fichier d’instructions est affiché ; consultez le dépôt d’origine pour les éventuels scripts.

xhs-replicate — 单一参考驱动的内容生产与复盘

源 Skill 元数据

  • when_to_use:用户说「出一篇 / 复刻这条爆款 / 做 X 主题的图文 / 找个爆款套一下 / 蹭这个热点出个内容」时。可独立触发,自带前置补全。
  • arguments:"topic_or_viral_note role"
  • argument-hint:"[主题或爆款note_id] [official|personal]"

这条流程的目标(项目核心目标,重定义)

  • 高效 = 从「调研找 idea」到「发布就绪」的最短链路:锚一条用户确认的高质量参考,迁移可复用的信息层级,填入当前产品的真实内容并出图。产品事实必须来自用户当前 workspace 或明确提供的资料。
  • 优质 = 两个指标驱动,重心全在内容:
    • 曝光(阅读数)= 钩子:首页钩子照爆款实际编排,从用户痛点 / 热点出发,让人「看到标题封面就想点」。
    • 赞藏(赞阅比 / 藏阅比)= 用户价值:内容有价值、不空、有序清晰、解决用户真实问题——让人「点进来觉得值,愿意赞/收藏」。

⚠️ 诚实边界:这条流程优化的是「单帖内容质量」。曝光量本身受账号权重 × 赛道体量限制(结构性天花板,靠养号/选赛道,内容架构够不到)。复刻让产出更快更稳,不等于保证爆。

5 步闭环

若执行时发现依赖缺失,触发统一的 onboard-growth-lab,由它在一次对话里审计全部能力并让用户选择配置或绕过;本 Skill 不自行维护 onboarding 流程。

产品认知贯穿整个闭环,不在开始时一次性补齐。首次执行或当前任务缺少产品事实时,调用 research-product,只把已确认的产品形态与能力增量写入 SOUL.md;用户、问题和价值继续作为待验证项。详细连接方式见 产品能力与内容机会映射。

① 找 idea  →  ② 选择参考并迁移结构  →  ③ 填内容  →  ④ 生图 + 检查  →  ⑤ 结果回收与复盘

① 找 idea(调研驱动)

  • 调研竞品 / 爆款 / 热点话题 / 热点事件,产出「有曝光潜力的 idea」。
  • 来源:xiaohongshu-mcp 的 browser-first 只读采集 + memory/xhs-replicate/libraries/xhs/ 中本 loop 运行时派生的通用候选样本 + 当下热点。仓库不附带私有对标库。
  • 首次搜索默认采集 25 条。开始前必须告诉用户数量可调整,但建议 25 条;每批限定 20–30 条并在返回后立即落盘,不能等待无界的页面稳定判断。
  • 产出 = 一句话 idea:挂哪个热点 / 戳哪个痛点 + 锚哪条爆款(note_id)。
  • 先看可借鉴性,不用同类性做准入门槛:商业产品、课程、无源码项目、不同角色或不同宣传目的的内容都可以进入候选。找爆款不是寻找与当前产品、目标用户、产品类型、宣传目的和叙事角色完全相同的内容;只要它在钩子、叙事、信息组织、视觉编排或转化方式上有益,就可以参考。不得因为“不是开源项目”“没有源码”“是课程/商业产品”而直接剔除。
  • 对 shortlist 中每条候选都做一份差异—迁移判断,至少记录:它卖什么、对谁说、希望读者做什么、由谁叙述;分别与当前任务有什么差异;这些差异会怎样改变可信度来源、利益承诺强度、销售感、技术细节密度和整体内容调性;最后明确哪些结构可以迁移、哪些表达不能照搬。格式见 产品能力与内容机会映射。
  • 🔑 选品判断不可省:下载首批全部封面并检查联系表,只为 3–8 条视觉及内容均通过的候选补详情。直接向用户展示候选代表图、标题、评分和风险;无法确认图片内联展示时,在同一回复提供干净公开链接。若用户认为所有候选都一般,记录原因并换查询,不得强迫从弱批次中选择“最好的一条”。

② 选择参考并迁移结构

  • 由用户确认恰好 1 条主要视觉学习样本,写入 visual-reference-selection.json 并通过 Collector 验证器。其他候选只能作为被拒绝的研究证据,不能混入视觉规则或生图 reference。
  • 只迁移抽象层级、证明区比例、阅读节奏、信息密度等通用规则。不得复制来源的品牌、文案、产品 UI、专有截图、独特装饰、精确构图或完整卡片顺序。
  • 产出:draft.md、image-plan.md、单一参考选择和不可复制边界;每张卡说明自身职责、真实素材和制作模式,不以参考图卡数决定成品卡数。
  • 实操由 xhs-render-cards 总 SOP 负责,具体路线见其 references/rendering.md。

③ 填内容(优质核心 = 重心所在)

  • 把当前产品的已验证真实功能填进已批准结构;事实来源不明确就停下询问,禁止补写。
  • 按以下钩子与价值约束填写:
    • 钩子(曝光):首页/标题用爆款验证过的 hook 类型,结合自家功能本地化改写(模仿表达风格,不生搬原句)。
    • 用户价值(赞藏):每处填「用户能得到什么」,过价值三问(① 用户操作还是用户产物?② 功能名还是解决问题?③ 产品做了什么还是用户得到什么?)——能填进「我能 ___」才对。
  • ⛔ 功能 ↔ 卡位适配(防生搬硬套,唯一硬抓手):原图卡位无对应真实能力 → 砍卡 / 换功能,不凑卡数硬编。参考图有 7 卡而真实内容只支持 6 卡,就据实做 6 卡。
  • 每段必须通过 xhs-render-cards 的 DAI SOP,DAI 不再是可选的独立 Skill。
  • 内容必须坚持一个鲜明立场并单向推进。遇到有风险、无证据或无法坚定成立的 claim,整句删除;不得用“不承诺、只实现、作为 demo、局限是、并不意味着”等防御性表达保留弱化版本。
  • 真截图走 screenshot-assets(AI 不伪造产品 UI)。

④ 生图 + 自动检查

  • 官号:按 xhs-render-cards 完成 DAI、image plan、素材、渲染和质量检查。个人号:仍必须完成 DAI;无图时可跳过渲染阶段。
  • 出图 / 发布前运行两项自动检查(make lint-post,未通过时以 exit 1 阻断):
    • executors/xhs-render-cards/scripts/check-compliance.py — 通用平台合规(绝对化宣称 / 站外导流 / 虚假保证 / 敏感信息)
    • executors/xhs-render-cards/scripts/check-banned-phrases.py — 降 AI 味(「不是A而是B」/ AI 套话)

⑤ 结果回收与复盘

用户说“这批发完看数据”“月度复盘”“根据结果更新方法”时,继续执行本 loop 的 结果回收与复盘流程,不要转交独立的 result-intake Skill。

  • 发布当下以及 24h、48h、7d 的真实数据写入 memory/xhs-replicate/publish-log/。
  • 回收截图、单帖复盘和分析也留在 memory/xhs-replicate/,与产生它们的帖子建立可追溯链接。
  • 新规律必须至少有 3 条共现证据;先给用户 diff 草案,确认后才更新本 Model 或相关 Collector/Executor 的方法。
  • 不自动触发回收、不自动发布、不自动 commit 方法变更。

保留的人工反馈点(只 2 个)

  • role(官号 / 个人号)缺 → 问用户(决定 deai 规则 + 是否出图)。
  • 选哪条作为主要视觉学习样本 → 必须展示图片或干净公开链接后由用户拍板或确认。

红线(自动合规检查 + 人工最终确认)

  • 绝对化宣称、站外导流、虚假结果保证、敏感信息索取都可能在内容替换时被带入。check-compliance 只拦字面;语义层仍需人工审阅。
  • 具体行业的监管、声明和禁用表达由调用本 loop 的领域方法负责,不能写死在通用小红书流程里。

不做什么

  • 不归纳 form / 不凑 ≥5 参考 / 不走 8 步铁律 —— 那是已删的原创路线脚手架。
  • 不复制来源的精确版式、视觉身份、文案或产品界面;只迁移已记录的抽象结构规则。
  • 不把“必须同为开源项目 / 必须有源码 / 必须同目标用户与角色”当作爆款候选的硬筛选条件。
  • 不为凑原图卡数硬编无对应能力的功能(= 生搬硬套,红线)。
  • 不发布 / 不跳过合规检查 / 不让 AI 伪造产品 UI。

Growth Lab Memory 接入

  • 本轮调研证据、选品判断、锚定的 note_id / URL、执行产物路径、人工发布信息与下一步写入 memory/xhs-replicate/。
  • memory/xhs-replicate/outputs/ 继续承载本 Skill 原有的发布物目录;Memory 用可追溯链接引用这些产物,不重复保存方法论。
  • 发布数据统一写入 memory/xhs-replicate/publish-log/;不得另建 memory/result-intake/。
Voir le texte intégral de la licence (Apache-2.0)
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "[]"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright [yyyy] [name of copyright owner]

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.