configuration-and-data
Create, validate, and troubleshoot AiZynthFinder configuration files, stocks, model assets, public-data setup commands, and data-tool commands.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- configuration-and-data
- license
- MIT
- metadata
- { "disco-role": "operating" }
- description
- Create, validate, and troubleshoot AiZynthFinder configuration files, stocks, model assets, public-data setup commands, and data-tool commands.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/cli-tools.md6.1 KB
- 参考文档references/configuration.md9.1 KB
- 参考文档references/stocks-and-assets.md5.8 KB
- 参考文档references/troubleshooting.md8.0 KB
03 SKILL.md 正文
Configuration and Data
Use this sub-skill when the task is about AiZynthFinder YAML configuration, data assets, stock files, policy/filter model references, or the bundled data-preparation CLIs. Stay in this sub-skill for safe static validation and setup guidance; route out before running retrosynthesis or interpreting output.
Owns
- Creating and reviewing YAML sections:
search,post_processing,expansion,filter,stock, and optionalscorer. - Explaining env-var interpolation with
${VAR}and the failure mode for missing variables. - Choosing short-form versus full-form syntax for expansion policies, filter policies, and stocks.
- Documenting search defaults,
algorithm_config, bond controls, post-processing keys, and stock stop criteria. - Preparing asset guidance for model checkpoints, template tables, HDF5/CSV/text stocks, MongoDB stocks, and molbloom stocks.
- Giving safe recipes for
smiles2stockanddownload_public_datawithout executing downloads, Mongo writes, or bloom creation unless explicitly requested. - Running the bundled static validator script to catch schema-shape issues and missing local file references before a search run.
Routes
- Use planning-workflows to execute
aizynthcli,aizynthapp, or an actual retrosynthesis run from a config. - Use route-analysis to inspect outputs, route trees, statistics, clustering, or solved-route quality.
- Use extension-and-development to implement custom expansion strategies, stock query classes, scorers, filters, plugins, or custom search algorithms.
References
- Configuration reference covers YAML sections, defaults, env vars, policy/filter/stock syntax, and validation expectations.
- Stocks and assets covers model/template/stock file formats, optional dependencies, and service assumptions.
- CLI tools covers safe
smiles2stockanddownload_public_datarecipes and when commands mutate external state. - Troubleshooting covers common configuration, data, optional dependency, and service failures.
Safe Validation
Before running a user-provided config, run the bundled validator from any working directory:
python skills/aizynthfinder/sub-skills/configuration-and-data/scripts/validate_aizynth_config.py path/to/config.yml --json
The validator intentionally does not import AiZynthFinder and does not load models, templates, stocks, MongoDB, TensorFlow servers, molbloom filters, or run tree search. Treat errors as blockers and warnings as setup issues to review with the user.
Operating Rules
- Keep public guidance asset-agnostic: use user-provided or project-relative paths, not local checkout paths or environment prefixes.
- Do not claim MongoDB, molbloom, TensorFlow serving, public downloads, or route-distance features work until the user confirms the needed optional dependencies and services.
- Do not execute
download_public_data, Mongo writes, or molbloom creation without explicit user intent because they can use network, storage, or external services. - If a config validates statically but no expansion policy will be selected during planning, route to planning-workflows for the runtime selection step.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.