AgentSkillsCN

bo-build-oracle

为已初始化的BO运行训练并持久化代理预言机。

SKILL.md
--- frontmatter
name: bo-build-oracle
description: Train and persist a proxy oracle for an initialized BO run.

BO Build Oracle

Use this skill to train a surrogate model from the run dataset.

Command

bash
uv run python -m src.bo_workflow.cli build-oracle --run-id <RUN_ID>

Optional flags: --cv-folds <N> (default 5), --max-features <K> (limit active features for high-dimensional datasets).

Return

  • selected model name (random_forest or extra_trees)
  • CV RMSE for each candidate model
  • active features used by the oracle
  • artifacts: runs/<run_id>/oracle.pkl, runs/<run_id>/oracle_meta.json