Command Palette

Search for a command to run...

Назад к скиллам
скилл № 96334

create-topic-synthesis-prepare

Prepare the context for create topic synthesis workflow. Use this skill when user wants to create a new topic. DO NOT invoke unless you can access to the…

БесплатноЗапускает вложенные скрипты
leike0813от leike0813★ 17 звёзд на GitHub

Установить create-topic-synthesis-prepare в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

创建主题综合准备

范围

Prepare the context for create topic synthesis workflow. Use this skill when user wants to create a new topic. DO NOT invoke unless you can access to the Zotero library through zotero-bridge CLI.

本包由 skills_src/topic-synthesis/ 生成。执行时以包内 SKILL.md、 scripts/ 和 assets/schemas/ 作为当前技能的执行合同。

产品目标与质量标准

Topic Synthesis 是 Zotero 中的信息密集型 topic 知识窗口,也是 Introduction / Related Work 等写作 workflow 的上游证据材料。它的目标不是字段填空,也不是把论文摘要拼在一起,而是帮助用户理解一个 topic 的概念边界、研究路线、历史沿革、主要结论、争议、缺口、库内覆盖状态、库外补充方向和综述写作角度。

本技能的最低质量目标:

  • topic intent 必须把 seed 转成稳定 topic identity:标题、别名、定义、纳入/排除范围都要能指导 resolver。
  • duplicate check 只基于 Host topic list 中现有 topic 的 title、description、aliases 和 id,不能把宽泛相关主题误判为同一主题。
  • resolver proposal 要可复现、边界清楚;runtime 负责执行 resolvers resolve、citation metrics 和 filtered artifact export,LLM 不手写 resolver result。
  • 远程 SkillRunner profile 下 filtered artifact export 可能返回 bridge-download;按 runtime 写出的 runtime/payloads/paper-artifacts-export-delivery.json 执行 downloadCommand/unpackHint 后再继续。
  • paper triage 必须保持 paper-local,为每篇 resolved paper 给出 relevance、quality、core_digest 和 caveats,不提前写跨文献综合。

必需运行输入

  • .audit//input_manifest.json
  • runtime/input.json(兼容旧执行器,可选)

执行合同

  • scripts/gate.py 是唯一面向执行代理的 CLI。
  • 不要直接调用 scripts/topic_synthesis_db.py。
  • 不要传入 stage 名称或 action 名称。
  • 命令型 stage 只执行 gate 返回 JSON 的 command 字段,不写 JSON payload。
  • payload 型 stage 需要把一个 JSON payload 写入 gate 指定的 payload_path, 然后用 gate 返回 JSON 的 submit_command 提交。
  • gate 返回的 command / submit_command 是执行真源;本文档中的命令模板只用于解释等价形态。

zotero-bridge CLI 使用说明

Host Bridge CLI 的完整命令映射由内置 zotero-bridge-cli wrapper skill 维护。 使用 Zotero host 能力前,先阅读该 wrapper skill 及其生成的 references/host-bridge-cli.md 参考。

Host Bridge CLI 使用说明由内置 zotero-bridge-cli wrapper skill 维护。 当前 topic synthesis 相关命令族摘要:citation-graph get-layout, citation-graph get-metrics, citation-graph get-slice, citation-graph overview, citation-graph query-cluster, citation-graph rank-external-references, citation-graph rank-library-papers, citation-graph refresh-metrics, insights attention-queue, library-index get, paper-artifacts export-filtered, paper-artifacts manifest, paper-artifacts read, paper-artifacts resolve-topic-digest, reference-index get, resolvers resolve, topics find-by-paper-ref, topics get-context, topics get-report, topics get-review-input, topics list。 使用 Host Bridge 能力前,先读取该 wrapper skill 及其 references/host-bridge-cli.md 生成映射参考。 不要绕过 Host Bridge 直接读取 Zotero DB/storage;除非用户明确要求 MCP 诊断,否则不要切换到 MCP。

在 ACP run workspace 中,优先使用工作区注入的 Host Bridge shim:

  • Windows:.\.zotero-bridge\bin\zotero-bridge.cmd
  • POSIX:./.zotero-bridge/bin/zotero-bridge

只有找不到 workspace shim 时,才使用裸命令 zotero-bridge。无论使用哪种入口, 都只能通过 Host Bridge 合同读取 Zotero 数据;不要直接读取 Zotero DB/storage, 也不要在用户未要求 MCP 诊断时切换到 MCP。

运行状态

  • SQLite 只保存 stage state 和必要的跨 stage 上下文。
  • 跨 skill 业务状态来自 SQLite 与 handoff/files,不从 prompt 文本传递。
  • 命令型入口 stage 负责处理本包的 runtime 初始化或状态校验。

LLM 与脚本职责边界

必须由 LLM 完成:

  • create topic intent 和 duplicate check 判断。
  • resolver proposal 设计。
  • per-paper triage:relevance、quality、core_digest、caveats。

必须由脚本/runtime 完成:

  • 初始化 SQLite 和 stage state。
  • 执行 resolver cascade:resolvers resolve、citation metrics、filtered artifact export。
  • 远程 Host Bridge export 返回 bridge-download 时,写出 runtime/payloads/paper-artifacts-export-delivery.json 并要求 agent 执行 downloadCommand/unpackHint。
  • 校验 create topic context、resolver proposal 和 paper triage payload。
  • 生成 cross-paper context、external-literature context、source evidence index 和 prepare handoff。

绝对禁止:

  • 手写 SQLite rows、handoff manifest 或 runtime-owned files。
  • 用临时脚本生成语义分析 payload。
  • 把 citation metrics 或外部文献当作 core claim/timeline 的主 evidence。
  • 修改 gate 返回的 command 或 submit command 来跳 stage。

阶段循环

  1. 运行 gate,读取返回 JSON。
  2. 只处理返回 JSON 中的当前 stage,不得跳 stage。
  3. command stage 执行返回 JSON 的 command 字段。
  4. payload stage 先按返回 JSON 的 required_reads 获取材料,再写 payload_path,最后执行 submit_command。
  5. 每次 command 或 submit 成功后,都必须重新运行 gate。
  6. gate 返回 stage: "completed" 时,输出其中的 output 对象作为本技能结果。

严格执行顺序

每个 stage 都按 gate JSON 驱动执行。不要根据记忆跳 stage。

先从运行器提供的 run workspace 启动 gate。不要 cd 到 skill package; 不要自行拼接 runtime/topic-synthesis.sqlite。gate JSON 返回的 db_path、 command、submit_command 和 runtime 文件路径是执行真源。

如果 gate 返回 needs_payload: false:

  1. 确认 stage 是当前 SKILL.md 中的本地 stage。
  2. 复制并执行 gate JSON 的 command 字段。
  3. 命令成功后,立刻重新运行初始 gate。

如果 gate 返回 needs_payload: true:

  1. 确认 stage 是当前 SKILL.md 中的本地 stage。
  2. 读取 gate JSON 的 required_reads、payload_path、payload_schema 和 submit_command。
  3. 按本 stage 的“上下文获取方式”执行 Host read 命令或读取 runtime 文件。
  4. 只手写 payload_path 指向的 JSON payload,不写 runtime-owned 文件。
  5. 复制并执行 gate JSON 的 submit_command。
  6. submit 成功后,立刻重新运行初始 gate。

阶段

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • assets/input.schema.json
  • assets/output.schema.json
  • assets/parameter.schema.json
  • assets/runner.json
  • assets/schemas/handoff.schema.json
  • assets/schemas/stage-10-create-topic-context.schema.json
  • assets/schemas/stage-20-resolver-and-workset.schema.json
  • assets/schemas/stage-30-prepare-analysis-context.schema.json
  • scripts/gate.py
  • scripts/topic_synthesis_db.py

FAQ

Что делает скилл create-topic-synthesis-prepare?

Prepare the context for create topic synthesis workflow. Use this skill when user wants to create a new topic. DO NOT invoke unless you can access to the Zotero library through zotero-bridge CLI.

Как установить скилл create-topic-synthesis-prepare?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-topic-synthesis-prepare запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить create-topic-synthesis-prepare с