一键导入
compile-context
检索 effective views 与章节归档,并生成当前章节的 published compiled packs。Use when scene beats, context_permission_source, and context_query are ready.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
检索 effective views 与章节归档,并生成当前章节的 published compiled packs。Use when scene beats, context_permission_source, and context_query are ready.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
拆解参考作品、提炼节奏、情绪、场景结构与禁用模式。Use when benchmarking imported novels from projects/<project-id>/references/raw/ and writing v2 outputs into source_assets/reference_analysis/.
生成 authoring_setup proposal,并通过 scoped publish 更新 project_playbook、input_policy、output_policy、failure_mode_policy 或 planning_branch_modes。Use when authoring contract needs setup or revision.
生成高烈度改局 planning branch proposal,只产出分支提案,不直接写正式 chapter planning 产物。
根据参考拆解结果编译 style_dna、scene_formulas、reader_hook_map、banned_patterns 和 prose_constraints。Use when source_assets/reference_analysis/reference_summary.json and reports/ already exist.
根据 published views 与 chapter planning source 生成章节 proposal;必要时调用 discussion agents,并通过 confirm-stage chapter_planning 生效。Use when chapter_planning is ready or a chapter plan needs revision.
为单张角色卡生成或修订 proposal,并通过 scoped confirm-stage materialize。Use when a character card needs creation, revision, lifecycle change, or reactivation.
| name | compile-context |
| description | 检索 effective views 与章节归档,并生成当前章节的 published compiled packs。Use when scene beats, context_permission_source, and context_query are ready. |
| argument-hint | <project-id> [chapter-id] |
| disable-model-invocation | true |
$0:project_id$1:可选,chapter_id,默认 ch001python app.py ensure-prereq "$0" context_compile --chapter-id "${1:-ch001}"。canon-librarian 子代理,先完成 effective views 与章节归档的召回判断。python app.py build-permission-pack "$0" --chapter-id "${1:-ch001}"python app.py retrieve-assets "$0" --chapter-id "${1:-ch001}"python app.py compile-context "$0" --chapter-id "${1:-ch001}"projects/$0/published/compiled/chapters/${1:-ch001}/permission_pack.json、context_pack.json、retrieval_bundle.json,确认编译结果可用。/draft-chapter。projects/$0/chapters/${1:-ch001}/scene_beats.json、context_permission_source.json、context_query.json、projects/$0/published/effective_views/*.json、assets/chapter_archive/*.md。projects/$0/published/compiled/chapters/${1:-ch001}/permission_pack.json、context_pack.json、context_pack.md、retrieval_bundle.json、compiled_pack_manifest.json。source_notes、context_source_priority、retrieval_boundary 这类边界信息;不要把 legacy mirror 当主 contract。