Run any Skill in Manus
with one click
with one click
Run any Skill in Manus with one click
Get Started$pwd:
$ git log --oneline --stat
stars:12
forks:3
updated:May 6, 2026 at 02:55
File Explorer
SKILL.md
| name | zaomeng-skill |
| description | 用于中文小说人物蒸馏、关系抽取、关系图谱导出与角色对话准备;当宿主需要基于小说内容生成结构化人物档案、关系结果或多角色对话上下文时使用。 |
| license | MIT-0 |
| compatibility | 需要宿主支持 Markdown skill 目录、YAML frontmatter,以及本 skill 内置 Python helper scripts 所需的本地 Python 运行环境。 |
| metadata | {"version":"4.1.6","hostMode":"llm-first","releaseTag":"v2026.05.09"} |
| 项目 | 内容 |
|---|---|
| 名称 | zaomeng-skill |
| 类型 | ClawHub / Host-managed skill |
| 核心模式 | LLM-first |
| 适用场景 | 人物蒸馏、人物包物化、关系图谱导出、角色 act / insert / observe |
| 宿主职责 | 调用宿主 LLM,负责最终生成与对话推进 |
| skill 职责 | 准备 prompt payload、物化人物包、导出图谱、校验产物、维护运行状态 |
prompts + helper tools + run_manifest.json,不是内嵌 chat CLI。宿主侧只需要理解四个标准能力:
| 能力 | 入口 | 作用 | 标准成功标记 |
|---|---|---|---|
distill | tools/build_prompt_payload.py --mode distill | 生成蒸馏 payload,等待宿主 LLM 产出 PROFILE.generated.md | capability status status=ready, success=true |
materialize | tools/materialize_persona_bundle.py | 把 PROFILE.generated.md 物化为完整人物包 | ARTIFACT_STATUS.generated.json + capability status |
export_graph | tools/export_relation_graph.py | 导出人物关系图谱 HTML / Mermaid / SVG | <relations>.status.json + capability status |
verify_workflow | tools/verify_host_workflow.py | 校验整条宿主工作流产物是否完整 | capability status status=complete, success=true |
所有能力都应该满足:
success 布尔值run_manifest.json能力总览集中定义在:
references/capability_index.mdexamples/host_workflow_example.mddistill 默认支持增量蒸馏:
data/characters/<novel_id>/<角色名>/ 已存在人物包,tools/build_prompt_payload.py --mode distill 会自动把已有档案并入 request.existing_profilesrequest.update_mode 会自动落成 incrementalrun_manifest.json 的 artifacts.distill_context 会记录本次是 create 还是 incremental,以及命中的已有角色数量distill 与 relation 现在也默认支持长篇自动分批:
chunks[]chunks[] 顺序调用 LLM,收集每块局部草稿merge_payload 做一次合并,得到最终 PROFILE.generated.md 或 RELATION_GRAPHrequest.chunk_mode、meta.chunk_count、meta.merge_required 会明确告诉宿主当前是否处于分批模式宿主如果要跑完整蒸馏链路,先初始化一个 run_manifest.json:
python tools/init_host_run.py --novel <路径> --characters A,B,C --output <run_manifest.json>
run_manifest.json 是宿主侧的统一索引,记录:
update_mode、已有档案数量、已有档案目录)progress.chunking、summary.chunking)宿主侧统一使用这些阶段名:
characters_lockeddistill_payload_readyrelation_payload_readychunk_startedchunk_completedmerge_startedmerge_completedcharacter_startedcharacter_completedgraph_export_startedgraph_export_completedworkflow_verified如果宿主要主动播报当前角色和进度,直接调用:
python tools/update_run_progress.py --run-manifest <run_manifest.json> --stage character_started --character 林黛玉 --message "正在蒸馏林黛玉"
如果是长篇自动分批流程,也可以写入当前块进度:
python tools/update_run_progress.py --run-manifest <run_manifest.json> --stage chunk_started --message "正在执行第 1 块" --chunk-capability distill --chunk-mode chunked --chunk-count 6 --current-chunk 1 --chunk-label 前段-1 --chunk-status running --merge-required --merge-status pending
写入后,宿主可直接从 run_manifest.json 读取:
progress.chunking.distill.current_chunkprogress.chunking.distill.chunk_countprogress.chunking.distill.current_labelsummary.chunking.distillrun_manifest.jsondistill 能力,生成蒸馏 payloadchunks[],宿主先逐块生成局部草稿,再执行 merge_payloadPROFILE.generated.mdmaterializechunks[],也先逐块抽取,再执行 merge_payloadexport_graphverify_workflowact / insert / observepython tools/init_host_run.py --novel <路径> --characters A,B --output <run_manifest.json>
python tools/build_prompt_payload.py --mode distill --novel <路径> --characters A,B --output <distill_payload.json> --run-manifest <run_manifest.json>
如果小说较长,输出 JSON 会自动包含:
chunks[]:每一块都已经是可直接交给宿主 LLM 的局部 payloadmerge_payload:宿主把所有 chunk 草稿结果塞回 request.chunk_drafts 后,再调用一次用于最终合并host_plan:宿主串联建议,包括 single_pass 或 sequential_chunks_then_merge如果宿主要显式指定已有角色目录,或强制切换创建 / 增量模式,可加:
python tools/build_prompt_payload.py --mode distill --novel <路径> --characters A,B --characters-root <data/characters 或 data/characters/<novel_id>> --update-mode auto|create|incremental --output <distill_payload.json> --run-manifest <run_manifest.json>
python tools/update_run_progress.py --run-manifest <run_manifest.json> --stage character_started --character A
python tools/update_run_progress.py --run-manifest <run_manifest.json> --stage character_completed --character A
python tools/materialize_persona_bundle.py --profile-file <character-dir/PROFILE.generated.md> --run-manifest <run_manifest.json>
python tools/export_relation_graph.py --relations-file <relations.md> --run-manifest <run_manifest.json>
python tools/verify_host_workflow.py --characters-root <characters/<novel_id>> --relations-file <relations.md> --run-manifest <run_manifest.json>
完整 run 结束后,宿主应该直接拿到:
run_manifest.jsonartifacts.distill_context.update_modeartifacts.distill_context.existing_character_countartifacts.distill_context.existing_profile_pathsARTIFACT_STATUS.generated.json*_relations.html*_relations.svg*_relations.mermaid.md*.status.json当人物包和关系图准备完成后,宿主即可进入:
act:指定角色代入发言,既可单聊,也可直接参与多人群聊insert:用户以“自己”的身份进入小说场景,角色按人设与场景身份回应用户;首次进入应建立轻量身份卡observe:进入群聊模式,但用户不代入具体角色,只观察多角色对话推进这里的对话由宿主直接驱动,skill 不提供单独的 chat CLI 能力。宿主应直接使用:
PROFILE.md / 拆分人格文件 / MEMORY.mdrun_manifest.jsonreferences/output_schema.md、references/style_differ.md、references/logic_constraint.md宿主结束提示建议直接说清楚:
actinsertobserve[HINT] Download the complete skill directory including SKILL.md and all related files