一键导入
baseline
Use when a quest needs to attach, import, reproduce, repair, verify, compare, or publish a baseline and its metrics.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when a quest needs to attach, import, reproduce, repair, verify, compare, or publish a baseline and its metrics.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use for natural-science or engineering tasks, scientific software routing, simulation, dataset analysis, model fitting, package checks, HPC-through-shell work, validation, and evidence-backed scientific claims using DeepScientist's `artifact.science(...)` Science Evidence Graph. Includes a progressive-disclosure catalog of FermiLink skilled-scipkg package cards.
Prepare, audit, or revise Nature-ready Data Availability statements, data repository plans, dataset citations, and FAIR metadata checklists for manuscripts. Use when the user asks about Nature data availability, research data sharing, repository selection, accession numbers, restricted or sensitive data, source data, supplementary datasets, DataCite-style dataset references, FAIR metadata for academic publication, or Chinese-to-English data availability wording for Chinese-speaking authors preparing Nature-family submissions.
Submission-grade Nature/high-impact journal figure workflow for Python or R. Use whenever the user asks to create, revise, audit, or polish manuscript figures, multi-panel scientific plots, or journal-ready SVG/PDF/TIFF outputs, especially for Nature-family or other high-impact journals. Before plotting, define the figure's conclusion, evidence logic, export needs, and review risks. If the user has not chosen Python or R, ask "Python or R?" and stop. Use only the selected backend for figure generation, previewing, exporting, and QA. Supports matplotlib/seaborn and ggplot2/patchwork/ComplexHeatmap. Not for dashboards or Illustrator/Figma-first infographics.
Build a complete but efficient Nature-style Chinese PPTX presentation from a scientific paper, preprint, PDF, article text, abstract, figure legends, or reading notes. Use this skill whenever the user asks to make slides/PPT/PPTX for journal club, group meeting, paper sharing, thesis seminar, lab meeting, department report, or academic presentation from a research paper, not only medical papers. It identifies the paper type and argument, selects only the figures needed for the story, writes Chinese slide content and speaker notes, creates the actual .pptx deck, and performs lightweight verification with cross-platform Python tooling by default.
Polish, restructure, or translate academic prose into Nature-leaning English using the paper-architecture and writing-strategy principles from Scientific English Writing & Communication, with phrase-level support from Academic Phrasebank. Use whenever the user asks to polish a manuscript paragraph, abstract, introduction, results, discussion, conclusion, title, methods section, or Chinese academic draft for publication-quality English.
Use when a quest has enough evidence to draft or refine a paper, report, or research summary without inventing missing support.
| name | baseline |
| description | Use when a quest needs to attach, import, reproduce, repair, verify, compare, or publish a baseline and its metrics. |
| skill_role | stage |
Use this skill to secure one trustworthy comparator and then get out of the way. The target is one accepted baseline line, not an endless reproduction diary.
Use baseline when:
Do not use baseline when:
idea, experiment, write, or finalizeSecure the lightest trustworthy comparator, make the comparison contract explicit, then confirm, waive, or block the baseline and stop.
attach, import, or verify-local-existing before full reproduction.artifact.confirm_baseline(...), call artifact.waive_baseline(...), or record an explicit blocker and next route.
When an already accepted baseline needs a deliberate second-pass refresh after verified code, variant, or canonical metric changes, prefer artifact.overwrite_baseline(...) over pretending the update is just a first confirmation.uv, smoke tests, detached runs, or the phase order as required paths.PLAN.md, CHECKLIST.md, setup.md, execution.md, verification.md, analysis_plan.md, and REPRO_CHECKLIST.md are allowed compatibility surfaces, not mandatory success paths.<baseline_root>/json/metric_contract.json is the canonical accepted comparison contract.artifact.confirm_baseline(...).artifact.waive_baseline(...).Before baseline can end, all applicable checks should be true:
<baseline_root>/json/metric_contract.jsonartifact.confirm_baseline(...), artifact.waive_baseline(...), or an explicit blocked state with next-step routingFollow the shared interaction contract injected by the system prompt. Keep baseline updates brief unless trust state, blocker state, route, cost, or user-facing risk changed materially.
shell_command / command_execution in this skill.bash_exec(...).artifact.git(...) before raw shell git commands.bash_exec(...) in an isolated scratch repository.artifact.arxiv(paper_id=..., full_text=False) for actually reading a source arXiv paper when it exists.full_text=True only when the short form is insufficient.The agent owns the execution path. It may choose the workspace layout, environment manager, command order, debugging route, smoke strategy, local paths, and whether the best route is attach, import, verify-local-existing, reproduce, or repair.
Ask the user only when the next move depends on a real scope, cost, permission, data-access, or scientific-preference decision that cannot be inferred from the quest contract. Ordinary route, path, environment, and debugging choices are autonomous unless they change the accepted comparison meaning.
The baseline stage is comparator-first, not reproduction-first.
For comparison_ready, the default question is:
not:
Default to the lightest baseline path that can still support a fair downstream comparison.
Default to a fast path when it can establish trust with less work.
Do not restart broad discovery or front-load a full codebase audit when the comparator, command path, and metric contract are already concrete.
When this applies, do not front-load a full codebase audit.
In that fast-path state, do not restart broad baseline discovery by default.
Do not require a fresh memory pass for every fast-path validation; use memory when it prevents repeated work or clarifies stale route state.
In short, do not require a fresh memory pass for every fast-path validation.
A bounded smoke test is usually helpful only when command path, environment viability, evaluator wiring, or output schema is still unclear.
Treat smoke/pilot work as a 0-2 default budget, and remember not to repeat an unchanged check without new evidence.
When resuming a previously blocked or ambiguous route, recover the relevant memory before trusting the old path again.
If runtime already exposes requested_baseline_ref or a matching confirmed_baseline_ref, default to reuse-and-verify.
Escalate to fuller audit, reproduction, or repair only when no concrete comparator, command path, or core comparability surface can be trusted yet.
For route examples and boundary cases, read references/route-selection.md, references/artifact-flow-examples.md, and references/boundary-cases.md.
Use references/baseline-plan-template.md and references/baseline-checklist-template.md when a baseline route is complex enough to need durable planning surfaces.
comparison_ready: the default target; one comparator is trustworthy enough for downstream comparison, and the core metric contract is durably recordedpaper_repro_ready: the baseline is strong enough to support paper-facing reproduction or comparison claimsregistry_publishable: the baseline package is reusable and clean enough to publish as a durable baseline packageblocked: the current route cannot clear the gate cleanly, and the next move is explicitwaived: the quest must continue without a baseline, and the reason is durably recordedNot every baseline needs paper-grade exact reproduction.
A verified attached, imported, or local-existing comparator can be enough when the acceptance target is only comparison_ready.
Baseline success means later stages can compare against one accepted comparator without guessing task, data, split, metric, source, command or evaluation path, provenance, or caveats.
A baseline is successful only when all applicable gates are true:
<baseline_root>/json/metric_contract.jsonartifact.confirm_baseline(...), or intentionally bypassed with artifact.waive_baseline(...)Once a comparison-ready baseline is durably confirmed, baseline should usually stop immediately. Once a comparison-ready baseline is durably confirmed, baseline should usually stop immediately and hand off to the next scientific step. Any extra baseline work after that must name one explicit unresolved comparison risk it is meant to remove.
Choose the route that maximizes trust per unit time and compute; do not follow a fixed ritual. Keep one dominant baseline route active at a time. If a lighter route already satisfies the current acceptance target, stop there.
attach succeeds when baseline identity, provenance, trusted outputs pointer, core metric contract, and accepted baseline artifact are explicitimport succeeds when the package is materialized/readable inside the quest, attachment.yaml or equivalent provenance exists, and trusted outputs or metrics are traceableverify-local-existing succeeds when the concrete local path or service, exact command or evaluation endpoint, output location, required metrics, and core metric contract are verifiedreproduce succeeds when source identity, command or evaluation path, expected outputs, verification evidence, deviations, and metric contract are explicitrepair succeeds when the broken point is identified, a bounded fix or route change is made, rerun or re-read evidence supports the new trust state, and the result is accepted or blockedPrefer reuse over redundant reproduction, but prefer reproduction or repair when reuse would still leave the baseline incomparable. Do not replace a working comparison-ready comparator with a heavier route merely because the heavier route feels cleaner or more complete.
The final evidence should cover these facts before acceptance:
Unless the user explicitly specifies otherwise, treat the original paper's evaluation protocol as the canonical starting point.
If later experiment work would still have to guess the comparison contract, the baseline is not ready.
For a compact verdict rubric, read references/comparability-contract.md.
Verification is mandatory before baseline acceptance.
Verify:
Classify the outcome as one of:
verified_matchverified_closeverified_divergedtrusted_with_caveatsbrokenVerification should explicitly separate likely implementation mismatch, environment mismatch, data or split mismatch, expected stochastic variance, and unexplained divergence when those distinctions matter.
Before declaring a baseline usable, make the core comparison contract explicit:
<baseline_root>/json/metric_contract.json is the canonical accepted comparison contract.
The comparison-ready minimum still requires <baseline_root>/json/metric_contract.json.
A core contract is enough to confirm a comparison_ready baseline; expand it later when paper claims, registry publication, or variant-heavy comparison need more coverage.
The accepted baseline artifact should include at least:
baseline_idbaseline_kindpathtaskdatasetprimary_metricmetrics_summaryenvironmentsourcesummaryMetric-contract rules:
primary_metric as the headline metric only; do not let it erase the rest of the comparison surfacemetrics_summary as a flat top-level dictionary keyed by the paper-facing metric idsdescription, either derivation or origin_path, and source_ref<baseline_root>/json/metric_contract.jsonmetrics_summary plus structured rows rather than one cherry-picked scalarjson/metric_contract.json, reuse that richer contract instead of hand-writing a thinner one that keeps only one averaged scalarResult/metric.md is optional temporary scratch memory only; reconcile against it before calling artifact.confirm_baseline(...), but do not treat it as a required durable filereferences/artifact-payload-examples.mdThe main skill keeps the control surface in front.
For the longer operational notes, read references/operational-guidance.md.
Do not accept a baseline when:
If the same failure class appears again without new evidence, code changes, environment changes, or a route change, stop looping and route through repair, decision, blocked, waive, or one bounded clarification.
Do not hide failures.
If blocked, record the class explicitly when possible:
missing_sourcemissing_metric_contractenvironment_infeasiblecommand_unknownrun_failedverification_failedA blocked result must state:
Bounded autonomous fixes are acceptable only when they do not change confirmed scope, metrics, permissions, resource assumptions, or scientific meaning. Reasonable bounded fixes include missing dependency installs, wrong dataset paths, permission fixes on scripts, obvious environment activation mistakes, and conservative batch-size reductions for OOM.
Keep baseline identifiers and variant names stable enough that later stages can cite the same comparator without guesswork.
baseline_id short, stable, and filesystem-safeExit once one of these is durably true:
Typical next anchors:
ideaexperiment in tightly scoped follow-on casesdecision if the baseline line remains contestedA good baseline pass leaves one trusted comparator, one explicit blocker, or one explicit route change, not a vague promise to keep rechecking baseline.