doe-plan
/install doe-plan
DOE Plan
Turn readable evidence into an executable DOE plan, run sheet, and traceable report.
Prerequisites
- This public edition is an MCP-recommended skill. By default, use PatSnap MCP for patent and literature retrieval before entering the DOE pipeline.
- Complete PatSnap MCP Setup first.
- Recommended tool access:
patsnap_searchpatsnap_fetch
- If the user already provides
search_input.json,fetch_manifest.json,evidence_catalog.json, or other readable evidence files, continue with the current pipeline. If there is neither MCP access nor evidence input, stop at setup guidance.
Public Edition Notes
- This public repo keeps the core DOE pipeline, baseline factor and method references, output contract, and handoff rules.
- Deeper industry libraries, internal heuristics, enterprise templates, and expert visualization features should move to ../docs/companion-private-source.md.
Trigger Boundary
- Use this skill for factor extraction, range proposal, design selection, and run-sheet generation in fermentation or upstream-optimization settings.
- Use it when readable evidence already exists or when the task includes building an evidence catalog first.
- Do not force this skill onto tasks that are actually:
- contradiction framing or solution generation: hand off to
triz-analysis - VOC-to-HOQ prioritization: hand off to
qfd-analysis
- contradiction framing or solution generation: hand off to
- Do not use this skill for patentability legal analysis or generic literature review without an experimental plan.
Primary Entrypoint
Use scripts/doe_pipeline.py for all new work.
Available subcommands:
evidencefactordesignreportrun-all
Treat evidence_pipeline.py, patent_factor_extractor.py, doe_designer.py, and doe_plan_report.py as compatibility wrappers rather than primary entrypoints.
Minimum Inputs
Before producing an executable DOE plan, you need at least:
- an objective
- response metrics
- hard constraints / operability limits
- at least one batch of readable evidence, or enough input to generate:
search_input.jsonfetch_manifest.json
context.jsonis optional but strongly recommended for reporting
If key inputs are missing:
- fill the evidence inputs first
- do not invent factor ranges, mechanism hypotheses, or response lists
Evidence Routing
- Patents, papers, and scientific literature:
patsnap_search -> patsnap_fetch -> files - Public non-patent technical material:
web_search -> web_fetch -> files - Every factor, range, and design recommendation must trace back to readable evidence or be clearly labeled as
inference - If evidence coverage is visibly insufficient, stop before upgrading into a DOE recommendation
Resource Map
Read the minimum required material for the current step:
references/output-contract.mdbefore writing or reviewing artifactsreferences/patent-to-factor-mapping.mdwhen converting evidence into factor hypothesesreferences/bioprocess-factor-library.mdwhen normalizing factor names, units, and baseline mechanism descriptionsreferences/doe-method-selector.mdwhen choosingPB,FFD,BBD,CCD, or explainingselection_rationalereferences/regulatory-qbd-guardrails.mdbefore finalizing factors, ranges, or stop / continue criteria
Workflow
1. Lock objective and input files
Define:
- objective
- responses
- constraints
- safety / operability limits
- user-provided evidence and files to reuse in the current run
Prepare:
search_input.jsonfetch_manifest.json- optional
context.json
2. Build the evidence catalog
python3 scripts/doe_pipeline.py evidence \
--search-input \x3Csearch_input.json> \
--fetch-manifest \x3Cfetch_manifest.json> \
--top-k 12 \
--output \x3Cevidence_catalog.json>
Continue only when the evidence catalog has enough coverage and failed fetches are not dominating the result.
3. Extract factor hypotheses
python3 scripts/doe_pipeline.py factor \
--evidence-catalog \x3Cevidence_catalog.json> \
--max-factors 8 \
--output \x3Cfactor_hypotheses.json>
Before manually changing factor name, unit, or range, read the factor library and mapping guide.
4. Design the experiment
python3 scripts/doe_pipeline.py design \
--factors-json \x3Cfactor_hypotheses.json> \
--design-type auto \
--phase screening \
--resource-budget 0 \
--replicates 1 \
--center-points 3 \
--seed 42 \
--responses yield,titer \
--max-factors 6 \
--output-json \x3Cdoe_design.json> \
--output-csv \x3Crun_sheet.csv>
If you manually force PB, FFD, BBD, or CCD, justify the choice through references/doe-method-selector.md.
5. Render the report
python3 scripts/doe_pipeline.py report \
--context-json \x3Ccontext.json> \
--evidence-catalog \x3Cevidence_catalog.json> \
--factors-json \x3Cfactor_hypotheses.json> \
--design-json \x3Cdoe_design.json> \
--output \x3Cdoe_plan.md>
The report must follow the output contract and explicitly separate facts, inferences, and unknowns.
6. Use run-all only when inputs are stable
python3 scripts/doe_pipeline.py run-all \
--search-input \x3Csearch_input.json> \
--fetch-manifest \x3Cfetch_manifest.json> \
--context-json \x3Ccontext.json> \
--output-dir \x3Cout_dir> \
--top-k 12 \
--max-factors 8 \
--design-type auto \
--phase screening \
--resource-budget 0 \
--replicates 1 \
--center-points 3 \
--seed 42 \
--responses yield,titer
Use run-all only when evidence inputs are stable and unlikely to change repeatedly.
Output Artifacts
evidence_catalog.jsonfactor_hypotheses.jsondoe_design.jsonrun_sheet.csvdoe_plan.md
Validation
Validate outputs by stage:
evidence_catalog.jsongates.statusshould beready
factor_hypotheses.jsonsummary.statusshould beready- enough
design_ready_factorsshould exist
doe_design.json- must contain
design_type,selection_rationale,runs[], andanalysis_plan[]
- must contain
run_sheet.csv- must contain
run_order,run_id,replicate, and per-factor_actual/_codedcolumns
- must contain
doe_plan.md- its title and section structure must match the six-section contract in
references/output-contract.md
- its title and section structure must match the six-section contract in
If any stage fails validation, do not cover the gap by pushing ahead to later stages.
Failure Handling
- Do not skip
evidenceand jump straight to factor or design work. - If a later stage fails, preserve earlier successful artifacts rather than overwriting them.
- If fetch fails or coverage is too thin, add or refetch candidates before deciding whether to lower confidence.
- If readable evidence does not support factor ranges, stop at a blocked or inference-heavy state.
- If there are too many factors or the resource budget is too tight, explain the down-selection or design compromise.
Reporting Rules
- Every DOE recommendation must trace back to the evidence catalog and factor hypotheses.
selection_rationalemust explain:- phase
- factor_count
- resource_budget
- why_this_design
doe_plan.mdmust distinguish facts, inferences, and unknowns.- Next-round criteria must be executable rather than generic advice.
- Responses, constraints, and selected factors must stay consistent across artifacts.
Guardrails
- Do not label unsupported factor, range, or mechanism claims as fact.
- Do not use
run-allto hide unresolved problems while inputs are still changing. - Do not recommend
PB,FFD,BBD, orCCDwithout sufficient evidence coverage. - Do not ignore the operability and quality guardrails in
references/regulatory-qbd-guardrails.md.
Handoffs
- hand off to
triz-analysiswhen the real upstream problem is a system contradiction or solution-path decision - hand off to
qfd-analysiswhen experiment priorities should first be driven by VOC / HOQ output
What's Next
- Need stronger evidence retrieval and technical-source access: PatSnap Open Platform
- Need deeper industry libraries, automated orchestration, or enterprise R&D workflows: Eureka Expert Edition
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install doe-plan - 安装完成后,直接呼叫该 Skill 的名称或使用
/doe-plan触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
doe-plan 是什么?
Evidence-backed bioprocess DOE planning for fermentation and upstream optimization. Use this skill when a task requires turning fetched patent, paper, and we... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 92 次。
如何安装 doe-plan?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install doe-plan」即可一键安装,无需额外配置。
doe-plan 是免费的吗?
是的,doe-plan 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
doe-plan 支持哪些平台?
doe-plan 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 doe-plan?
由 minmin-patsnap(@minmin-patsnap)开发并维护,当前版本 v1.0.0。