一键导入
finalize
Use when the quest is ready to consolidate final claims, limitations, recommendations, summary state, and graph exports before stopping or archiving.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the quest is ready to consolidate final claims, limitations, recommendations, summary state, and graph exports before stopping or archiving.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | finalize |
| description | Use when the quest is ready to consolidate final claims, limitations, recommendations, summary state, and graph exports before stopping or archiving. |
| skill_role | stage |
Use this skill to close or pause a quest responsibly.
ds_artifact_record payload={'kind': 'milestone'}, ...) update that names the recommendation, why it is the right call, and any reopen condition that still matters.a Codex-controlled finalize recommendation record(...).ds_bash_exec only for final closure validations whose logs must be retained as DeepScientist evidence.The finalize stage should not pretend every line succeeded. It should produce the most accurate final state of the quest:
Finalize is not just a short summary. It is the durable closure protocol that turns a long-running research graph into a recoverable stopping point, a publishable handoff, or an honest continue-later checkpoint.
Before finalizing, gather:
If finalization reveals that the quest is still too uncertain, route back through decision rather than forcing closure.
For paper-like deliverables, do not finalize while any of these remain true:
If the current paper-state blocker is not obvious from the existing files, call artifact.get_paper_contract_health(detail='full') before deciding whether finalize is legitimate.
If the active quest/runtime state is unclear after restart or long pause, call artifact.get_quest_state(detail='summary') first.
If the exact latest SUMMARY.md, status.md, or active user requirement wording matters for closure, call artifact.read_quest_documents(...).
If earlier user/assistant continuity matters for whether the quest should really stop, call artifact.get_conversation_context(...) instead of guessing from prompt context alone.
Use:
SUMMARY.mdartifact.arxiv(...) when final claim checks require rereading an arXiv paperDo not finalize from chat memory alone.
The finalize stage should usually leave behind:
SUMMARY.mdstatus.mdIf the quest produced a paper-style bundle, finalization should also check that the writing stage left behind enough closure evidence, such as:
State clearly:
Do not only say that evidence exists. Say clearly what exists and why it matters. Name concrete paths or artifact ids only when the user asks for them or needs them to act. When a paper bundle exists, verify the manifest inventory explicitly, including:
paper/paper_bundle_manifest.jsonpaper/evidence_ledger.jsonpaper_branch and source evidence branch / run fields in that manifestoutline_pathdraft_pathwriting_plan_pathreferences_pathclaim_evidence_map_pathevidence_ledger_pathbaseline_inventory_pathcompile_report_pathpdf_pathlatex_root_pathrelease/open_source/manifest.json when open-source preparation has startedrelease/open_source/cleanup_plan.md when the paper line is being prepared for a public code releaseFor every important outcome, classify it as one of:
For each claim, record:
If a claim was once believed and later weakened, preserve that downgrade history rather than silently deleting it.
Also build a compact belief-change log for the most important claim transitions, such as:
For each transition, record:
Limitations should include:
Also preserve:
Choose the most honest next recommendation, such as:
The recommendation should include:
When deciding whether the quest is publish-ready or only archive-ready, be explicit about which writing or validation gates have actually passed.
If the quest may continue later, leave behind a compact restart packet that answers:
This packet should be short, high-signal, and directly usable by a future agent turn.
Refresh:
SUMMARY.mdstatus.mdIf the summary changes materially, make it clear why the quest is now considered final or paused.
When summarizing long histories, prefer the highest-impact findings and decisions rather than a full chronological replay.
The final stage should end with an explicit durable decision or report rather than an implied stopping point. If multiple closure options were available, record why the chosen one beat the alternatives.
Good finalization:
Weak finalization:
Stage-start requirement:
ds_memory_search(scope='quest', limit=5)ds_memory_search(...) before closure writingFinalize should read memory before writing closure, especially:
decisionsknowledgeepisodespapers when the final story depends on citation or literature contextIf final closure depends on rereading a paper, keep the same split:
artifact.arxiv(paper_id=..., full_text=False) for the actual paper reading or refreshfull_text=True only when the shorter view is insufficientWrite to memory only when the lesson is reusable across quests, such as:
Stage-end requirement:
ds_memory_write(...) before leaving the stageQuest-specific closure state belongs in files and artifacts first, not only memory.
Typical final artifacts:
Codex/plugin graph inspection()Good final artifacts often include:
If finalization is premature, record that explicitly.
Common blocked finalize states:
In that case, route back to the proper stage through decision.
Use these references when you need a denser closure checklist:
references/finalization-checklist.mdreferences/resume-packet-template.mdExit the finalize stage once one of the following is durably true:
Use DeepScientist from Codex CLI through the native dsctl adapter for research semantics/provenance: quests, memory, artifacts, experiments, strict literature workflow, paper/resource operations, and formal ds_bash_exec evidence. Routine file/search/edit, shell, Git, tests/builds, and process work remains Codex-native. This adapter is not MCP and does not call external ds.
Use when a quest needs one or more follow-up runs such as ablations, robustness checks, error analysis, or failure analysis after a main experiment.
Use when a quest needs to attach, import, reproduce, repair, verify, compare, or publish a baseline and its metrics.
Use when the quest needs an explicit go, stop, branch, reuse-baseline, write, finalize, reset, or user-decision transition with reasons and evidence.
Use when a quest is ready for a concrete implementation pass or a main experiment run tied to a selected idea and an accepted baseline.
Use when a quest does not start from a blank state and the agent must first audit, trust-rank, and reconcile existing baselines, results, drafts, or review materials before choosing the next anchor.