技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
cli-and-storage【数据与研究】Use this sub-skill for Optuna command-line workflows and persistent/distributed storage: CLI commands, SQLite/RDB URLs, JournalStorage, GrpcStorageProxy, schema upgrades, CLI ask/tell, OPTUNA_STORAGE, and heartbeat/stale-trial behavior.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task involves operating Optuna studies from the command line or choosing/configuring persistent storage for resumable or distributed optimization.
optuna CLI commands such as create-study, ask, tell, trials, studies, best-trial, best-trials, delete-study, study set-user-attr, and storage upgrade.--storage, --storage-class, OPTUNA_STORAGE, SQLite URLs, RDBStorage, JournalStorage, JournalFileBackend, JournalRedisBackend, or GrpcStorageProxy.Study.optimize, Study.ask, and Study.tell authoring patterns: use ../optimization-workflows/SKILL.md.../samplers-pruners/SKILL.md.../analysis-visualization/SKILL.md.../artifacts-integrations/SKILL.md.references/cli-reference.md.references/storage-workflows.md.references/troubleshooting.md.scripts/optuna_cli_smoke.py: creates a temporary SQLite-backed study through the installed optuna CLI, runs ask/tell, and inspects trials.scripts/storage_smoke.py: verifies local RDBStorage and file-backed JournalStorage behavior without external services.Run bundled scripts from this sub-skill directory with an environment where optuna is importable:
python scripts/optuna_cli_smoke.py
python scripts/storage_smoke.py
sqlite:///relative-or-absolute-file.db for local persistent smoke tests and examples.RDBStorage backed by PostgreSQL/MySQL for real multi-node optimization; SQLite is suitable for local development, not high-concurrency production.JournalStorage(JournalFileBackend(...)) for simple local or single-node multiprocess sharing.--storage-class JournalFileBackend when a CLI storage path is a journal log file or when URL inference is ambiguous.heartbeat_interval and grace_period only for RDBStorage-style heartbeat workflows, and use RetryHeartbeatStaleTrialCallback when stale trials should be retried automatically.