[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73B6EMN7DFMG7M6DBFJNNFH":3,"skill-same:01M73B6EMN7DFMG7M6DBFJNNFH":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M73B6EMN7DFMG7M6DBFJNNFH","aizynthfinder-retrosynthesis",null,"AiZynthFinder retrosynthetic route planning (CASP) from AstraZeneca Molecular AI. Monte Carlo tree search guided by a template-based neural expansion policy recursively disconnects a target SMILES until precursors are found in a purchasable stock. Covers config.yml (v4 format), aizynthcli batch screening, the AiZynthFinder\u002FAiZynthExpander Python API, one-step disconnections, custom stocks via smiles2stock, scorers, Retro*\u002Fbreadth-first\u002FDFPN search alternatives, and reading output.json.gz \u002F trees.json. Use for synthesis route planning, synthesizability screening, and building-block\u002Fprecursor search. For reaction barriers use neb-irc-activation-energy; for 2D reaction scheme drawing use rdkit-chemdraw-cdxml.","bg-szy\u002FTOP-SKILLS","bg-szy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106576190?v=4","01M73A4E8KPV67SFXRY8XZGNBX","ShuZhiyong","01M73A4E96MQ294MHM74TZBVQD",6,"MIT","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fawesome-skills\u002Faizynthfinder-retrosynthesis\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: \"aizynthfinder-retrosynthesis\"\ndescription: \"AiZynthFinder retrosynthetic route planning (CASP) from AstraZeneca Molecular AI. Monte Carlo tree search guided by a template-based neural expansion policy recursively disconnects a target SMILES until precursors are found in a purchasable stock. Covers config.yml (v4 format), aizynthcli batch screening, the AiZynthFinder\u002FAiZynthExpander Python API, one-step disconnections, custom stocks via smiles2stock, scorers, Retro*\u002Fbreadth-first\u002FDFPN search alternatives, and reading output.json.gz \u002F trees.json. Use for synthesis route planning, synthesizability screening, and building-block\u002Fprecursor search. For reaction barriers use neb-irc-activation-energy; for 2D reaction scheme drawing use rdkit-chemdraw-cdxml.\"\nlicense: \"MIT\"\n---\n\n# AiZynthFinder Retrosynthesis\n\n## Overview\n\nAiZynthFinder performs computer-aided synthesis planning (CASP): a search algorithm — Monte Carlo tree search by default — recursively disconnects a target molecule into precursors, guided by a neural expansion policy that ranks known reaction templates. The search terminates when all precursors are found in a *stock* (a set of purchasable building blocks) or the maximum depth is reached. Output is a ranked set of reaction trees plus per-target statistics (`is_solved`, step count, precursors in\u002Fout of stock).\n\nVersion covered: **4.4.1** (Python 3.10–3.12). The v4 config format differs substantially from v2\u002Fv3 as described in the 2020 paper — never copy a config from an old blog post without translating it.\n\n## When to Use\n\n- Planning a synthesis route for a designed or purchased target molecule\n- Screening a compound library for synthesizability before committing to make-on-demand\n- Finding purchasable precursors or building blocks that lead to a scaffold\n- Ranking design ideas by route length and by how many precursors fall outside a catalogue\n- Enumerating the first retro step only — plausible disconnections without a full tree\n- Testing whether a specific bond can be made disconnection-aware (`break_bonds`) in a route\n- Comparing solve rate across two building-block catalogues for the same target set\n- Use `torchdrug` instead when training a retrosynthesis model rather than running route search\n- For forward reaction barriers and transition states use `neb-irc-activation-energy`; for drawing the resulting scheme use `rdkit-chemdraw-cdxml`\n\n## Prerequisites\n\n- **Python packages**: `aizynthfinder` (4.4.x), `rdkit`, `pandas`\n- **Data requirements**: a stock file (InChIKeys), a trained expansion policy (ONNX model + template CSV), optionally a filter policy\n- **Environment**: Python 3.10–3.12. Default runtime is `onnxruntime`; TensorFlow is not needed unless serving remote models or loading legacy `.hdf5` Keras models.\n\nCheck before installing — `aizynthcli`, `download_public_data`, and `smiles2stock` ship with the package and may already be on PATH inside a pixi\u002Fconda env. Inside a pixi project, invoke them as `pixi run aizynthcli ...`.\n\n```bash\ncommand -v aizynthcli || {\n  conda create \"python>=3.10,\u003C3.13\" -n aizynth-env -y\n  conda activate aizynth-env\n  python -m pip install \"aizynthfinder[all]\"\n}\n```\n\n`[all]` adds molbloom (bloom-filter stocks), pymongo, route-distances (route clustering), scipy, and timeout-decorator. Drop it for a lighter install; add `[tf]` only for TF-serving or `.hdf5` models.\n\n## Quick Start\n\n```python\nfrom aizynthfinder.aizynthfinder import AiZynthFinder\n\nfinder = AiZynthFinder(configfile=\"config.yml\")\nfinder.stock.select(\"zinc\")\nfinder.expansion_policy.select(\"uspto\")\n\nfinder.target_smiles = \"Cc1cccc(c1N(CC(=O)Nc2ccc(cc2)c3ncon3)C(=O)C4CCS(=O)(=O)CC4)C\"\nfinder.tree_search()\nfinder.build_routes()                    # required before touching finder.routes\n\nstats = finder.extract_statistics()\nprint(f\"solved={stats['is_solved']} steps={stats['number_of_steps']} \"\n      f\"routes={stats['number_of_routes']} time={stats['search_time']:.1f}s\")\nfinder.routes[0][\"image\"].save(\"route_top.png\")\n```\n\n## Workflow\n\n### Step 1: Get the Models and Stock\n\n`download_public_data` fetches the public USPTO models and the ZINC stock subset (several hundred MB, from zenodo.org and figshare.com) and writes a ready-to-use `config.yml`.\n\n```bash\n# Skip if the folder already holds the models — this is a large download.\ntest -f my_folder\u002Fconfig.yml || download_public_data my_folder\n\nls my_folder\n# uspto_model.onnx              uspto_templates.csv.gz\n# uspto_ringbreaker_model.onnx  uspto_ringbreaker_templates.csv.gz\n# uspto_filter_model.onnx       zinc_stock.hdf5\n# config.yml\n```\n\n### Step 2: Write or Adjust config.yml\n\nThe list short-cut means \"template-based strategy, model first, templates second, defaults elsewhere\". The same short-cut works for a single `filter` model path and a single `stock` file path.\n\n```yaml\n# config.yml — minimal\nexpansion:\n  uspto:\n    - uspto_model.onnx\n    - uspto_templates.csv.gz\nstock:\n  zinc: zinc_stock.hdf5\n```\n\n```yaml\n# config.yml — explicit form, the settings that matter in practice\nsearch:\n  algorithm: mcts\n  algorithm_config:\n    C: 1.4\n    use_prior: True\n    prune_cycles_in_search: True\n    search_rewards: [\"state score\"]\n  max_transforms: 6\n  iteration_limit: 100\n  time_limit: 120\n  return_first: false\n  exclude_target_from_stock: True\nexpansion:\n  uspto:\n    type: template-based\n    model: uspto_model.onnx\n    template: uspto_templates.csv.gz\n    template_column: retro_template\n    cutoff_cumulative: 0.995\n    cutoff_number: 50\n    use_rdchiral: True\nfilter:\n  uspto:\n    type: quick-filter\n    model: uspto_filter_model.onnx\n    filter_cutoff: 0.05\nstock:\n  zinc:\n    type: inchiset\n    path: zinc_stock.hdf5\npost_processing:\n  min_routes: 5\n  max_routes: 25\n  all_routes: False\n```\n\nValues can be pulled from the environment: `iteration_limit: ${ITERATION_LIMIT}`.\n\n### Step 3: Validate the Target SMILES\n\nAn unparseable target burns the whole time limit before failing. Check first.\n\n```python\nfrom rdkit import Chem\n\nsmiles = \"Cc1cccc(c1N(CC(=O)Nc2ccc(cc2)c3ncon3)C(=O)C4CCS(=O)(=O)CC4)C\"\nmol = Chem.MolFromSmiles(smiles)\nassert mol is not None, f\"invalid SMILES: {smiles}\"\nsmiles = Chem.MolToSmiles(mol)           # canonicalize\nprint(f\"{smiles}  heavy_atoms={mol.GetNumHeavyAtoms()}\")\n```\n\n### Step 4: Run the Tree Search\n\n`select()` picks which loaded policies and stocks are active. `AiZynthFinder` also accepts `configdict=\u003Cdict>` instead of a file — the cleanest way to sweep parameters without writing YAML.\n\n```python\nfrom aizynthfinder.aizynthfinder import AiZynthFinder\n\nfinder = AiZynthFinder(configfile=\"config.yml\")\nfinder.stock.select(\"zinc\")\nfinder.expansion_policy.select(\"uspto\")\nfinder.filter_policy.select(\"uspto\")     # optional; prunes implausible reactions\n\nfinder.target_smiles = smiles\nsearch_time = finder.tree_search()\nprint(f\"search finished in {search_time:.1f}s\")\n```\n\n### Step 5: Build Routes and Read Statistics\n\n`build_routes()` extracts reaction trees from the search graph. Nothing in `finder.routes` exists until it is called.\n\n```python\nfinder.build_routes()\nstats = finder.extract_statistics()\n\nfor key in (\"is_solved\", \"number_of_steps\", \"number_of_routes\",\n            \"number_of_precursors\", \"number_of_precursors_in_stock\",\n            \"search_time\", \"first_solution_time\"):\n    print(f\"{key:32s} {stats[key]}\")\n\nprint(\"not in stock:\", stats[\"precursors_not_in_stock\"])\n```\n\n### Step 6: Inspect and Render Routes\n\n`finder.routes` is a `RouteCollection`. Show two or three distinct routes, not only the top-scored one.\n\n```python\nroutes = finder.routes\nprint(f\"{len(routes)} routes, scores: {routes.scores}\")\n\nfor i in range(min(3, len(routes))):\n    tree = routes.reaction_trees[i]\n    leafs = [m.smiles for m in tree.leafs()]\n    print(f\"route {i}: solved={tree.is_solved} \"\n          f\"steps={len(list(tree.reactions()))} branched={tree.is_branched()}\")\n    print(f\"  precursors: {leafs}\")\n    routes.images[i].save(f\"route_{i:02d}.png\")\n\nroutes.jsons[0]                          # JSON string for the top route\n```\n\n### Step 7: Batch Screen with aizynthcli\n\nFor hundreds or thousands of targets, use the CLI rather than a Python loop — `--nproc` splits the input across processes.\n\n```bash\n# One SMILES per line in smiles.txt\naizynthcli --config config.yml --smiles smiles.txt \\\n           --policy uspto --stocks zinc \\\n           --nproc 8 --checkpoint checkpoint.json.gz \\\n           --output output.json.gz --log_to_file\n```\n\n```python\nimport pandas as pd\n\ndata = pd.read_json(\"output.json.gz\", orient=\"table\")\nprint(f\"solve rate: {data.is_solved.mean():.1%}  n={len(data)}\")\nprint(data.loc[data.is_solved, \"number_of_steps\"].value_counts().sort_index())\nprint(data.loc[~data.is_solved, [\"target\", \"precursors_not_in_stock\"]].head())\n```\n\n## Key Parameters\n\n| Parameter | Default | Range \u002F Options | Effect |\n|-----------|---------|-----------------|--------|\n| `search.time_limit` | `120` | `30`–`1800` (s) | Wall-clock budget per target. Raise this first when nothing solves. |\n| `search.iteration_limit` | `100` | `50`–`1000` | MCTS iterations per target; whichever of time\u002Fiterations hits first ends the search. |\n| `search.max_transforms` | `6` | `3`–`10` | Maximum tree depth (longest route). Deeper searches cost quadratically more. |\n| `search.return_first` | `False` | `True`\u002F`False` | Stop at the first solved route — fast synthesizability yes\u002Fno, poor route quality. |\n| `search.exclude_target_from_stock` | `True` | `True`\u002F`False` | Keep `True` or a purchasable target returns an empty route. |\n| `search.algorithm_config.C` | `1.4` | `0.5`–`3.0` | UCB exploration\u002Fexploitation balance; higher explores more disconnections. |\n| `search.algorithm_config.search_rewards` | `[\"state score\"]` | any scorer names | Scorers driving the search; pair with `search_rewards_weights` for multi-objective. |\n| `expansion.cutoff_number` | `50` | `10`–`100` | Templates applied per expansion. Widens branching and slows search — tune after the time limit. |\n| `expansion.cutoff_cumulative` | `0.995` | `0.95`–`0.999` | Cumulative policy probability retained before truncating the template list. |\n| `expansion.template_column` | `retro_template` | column name | Must match the template file; a mismatch yields silently empty expansions. |\n| `filter.filter_cutoff` | `0.05` | `0.0`–`0.5` | Feasibility threshold; raising it prunes harder and can make targets unsolvable. |\n| `post_processing.max_routes` | `25` | `5`–`100` | Routes extracted after the search; `all_routes: True` returns every solved route. |\n\n## Key Concepts\n\n### The route score is not a quality score\n\nThe state score reflects the fraction of solved precursors and the route length. It was designed to *guide* the tree search and is largely indiscriminate about whether a route is chemically sensible. Solved routes score near 1.0, unsolved ones typically below 0.8. Never present `top_score` as a confidence or feasibility measure.\n\n### Solve rate is set by the stock and the template library, not the algorithm\n\nThe public ZINC subset is far smaller than commercial catalogues; in the original comparison, adding Enamine building blocks found routes for 10 more compounds out of 100. Swapping USPTO for a Reaxys-derived policy changed *which* compounds solved rather than uniformly improving them. Findability tracks synthetic complexity — an unsolved target means \"not found under this stock, this policy, and this budget\", not \"unsynthesizable\".\n\nReference performance from the paper (100 random ChEMBL compounds, single CPU + single GPU): 55 solved, mean search time 38.7 s, mean time to first solution 7.1 s, mean 2.4 steps and 2.7 precursors.\n\n### No conditions are predicted\n\nReagents, solvents, temperatures, and yields are outside scope. A predicted route is a hypothesis for a chemist to evaluate.\n\n### Scorers\n\nLoaded automatically: `state score`, `number of reactions`, `number of pre-cursors`, `number of pre-cursors in stock`. Also available in `aizynthfinder.context.scoring`: `average template occurrence`, `sum of prices`, `route cost`, `max transform`, `broken bonds`, `fraction in stock`, `fraction in source`, `fraction of intermediates in \u003Cstock>`, `stock availability`, `reaction class membership`, `reaction class-rank score`, `delta-SC score`, `route similarity`, plus `CombinedScorer` and `DeepSetScorer`. Scorers are addressed by their string name both in `search.algorithm_config.search_rewards` and in `post_processing.route_scorer` (which falls back to `search_rewards` when unset).\n\n### Search algorithms\n\nSet `search.algorithm` to a class path to replace MCTS: Retro\\* (`aizynthfinder.search.retrostar.search_tree.SearchTree`), breadth-first (`aizynthfinder.search.breadth_first.search_tree.SearchTree`), DFPN (`aizynthfinder.search.dfpn.search_tree.SearchTree`).\n\n### Choosing an entry point\n\n| User intent | Use |\n|-------------|-----|\n| One or a few molecules, wants routes and images | Python API (`AiZynthFinder`) |\n| Hundreds or thousands of molecules | `aizynthcli` with a SMILES file and `--nproc` |\n| Interactive exploration by a chemist | `aizynthapp` (Jupyter GUI) |\n| Only the first retro step | `AiZynthExpander` — far cheaper than a full tree search |\n\n## Common Recipes\n\n### Recipe: One-Step Disconnections Only\n\nWhen to use: the user wants plausible first disconnections, not a full route to purchasable material.\n\n```python\nimport pandas as pd\nfrom aizynthfinder.aizynthfinder import AiZynthExpander\n\nexpander = AiZynthExpander(configfile=\"config.yml\")\nexpander.expansion_policy.select(\"uspto\")\nexpander.filter_policy.select(\"uspto\")   # annotates feasibility only; does not prune\n\nreactions = expander.do_expansion(smiles)\n\nreactants = [[m.smiles for m in tup[0].reactants[0]] for tup in reactions]\nmetadata = pd.DataFrame([rxn.metadata for tup in reactions for rxn in tup])\nprint(f\"{len(reactions)} disconnections; metadata fields: {list(metadata.columns)}\")\nprint(metadata.head())   # template info, policy probability, filter feasibility\n```\n\n### Recipe: Build a Custom Stock from a Catalogue\n\nWhen to use: the ZINC subset is not the catalogue you actually buy from. Stock files must hold **pre-computed InChIKeys**, not SMILES — `smiles2stock` does the conversion.\n\n```bash\n# one SMILES per line\nsmiles2stock --files enamine_bb.smi inhouse.smi --output my_stock.hdf5\nsmiles2stock --files enamine_bb.smi --output my_db --target mongo   # MongoDB target\n```\n\n```yaml\nstock:\n  enamine:\n    type: inchiset\n    path: my_stock.hdf5\n  stop_criteria:\n    price: 10\n    counts:\n      C: 10\n```\n\n`inchiset` also reads a CSV with an `inchi_key` column or a plain single-column text file. For a rule-based stock, subclass `StockQueryMixin` and implement `__contains__(self, mol)` over a `Molecule`, then point `stock: type:` at the importable class path.\n\n### Recipe: Multiple Expansion Policies and Disconnection-Aware Search\n\nWhen to use: ring-forming disconnections are being missed (add RingBreaker), or a specific bond must be broken.\n\n```yaml\nexpansion:\n  uspto:\n    - uspto_model.onnx\n    - uspto_templates.csv.gz\n  ringbreaker:\n    - uspto_ringbreaker_model.onnx\n    - uspto_ringbreaker_templates.csv.gz\n  multi_expansion_strategy:\n    type: aizynthfinder.context.policy.MultiExpansionStrategy\n    expansion_strategies: [uspto, ringbreaker]\n    additive_expansion: True\nsearch:\n  break_bonds: [[1, 2], [3, 4]]     # atom-index pairs in the target\n  break_bonds_operator: and         # \"and\" = all must break, \"or\" = any\n  algorithm_config:\n    search_rewards: [\"state score\", \"broken bonds\"]\n```\n\nSelect it with `aizynthcli --policy multi_expansion_strategy ...`. Bond indices depend on the target's atom ordering — derive them from the canonical SMILES you actually pass in and confirm the atom map with the user.\n\n### Recipe: Re-rank Routes and Render from a Saved Batch Run\n\nWhen to use: the batch already ran, and you want a different ranking or images without re-searching.\n\n```python\nimport pandas as pd\nfrom aizynthfinder.analysis import RouteSelectionArguments\nfrom aizynthfinder.reactiontree import ReactionTree\n\n# Widen route extraction, then re-rank by a different scorer\nfinder.build_routes(RouteSelectionArguments(nmin=5, nmax=50, return_all=True))\nfinder.routes.compute_scores(finder.scorers[\"number of reactions\"])\nfinder.routes.rescore(finder.scorers[\"number of pre-cursors in stock\"])\n\n# Render routes stored in a batch output file\ndata = pd.read_json(\"output.json.gz\", orient=\"table\")\nfor i, tree in enumerate(data.trees.values[0]):\n    ReactionTree.from_dict(tree).to_image().save(f\"target0_route{i:03d}.png\")\n```\n\n## Expected Outputs\n\n- `output.json.gz` — batch results, one row per target; read with `pd.read_json(..., orient=\"table\")`. Columns: `target`, `search_time`, `first_solution_time`, `first_solution_iteration`, `number_of_nodes`, `max_transforms`, `max_children`, `number_of_routes`, `number_of_solved_routes`, `top_score`, `is_solved`, `number_of_steps`, `number_of_precursors`, `number_of_precursors_in_stock`, `precursors_in_stock`, `precursors_not_in_stock`, `precursors_availability`, `policy_used_counts`, `profiling`, `stock_info`, `top_scores`, `trees`\n- `trees.json` — route trees for a single-SMILES CLI run (statistics go to the terminal)\n- `checkpoint.json.gz` — processed targets, so a crashed batch resumes; `cat_aizynth_output` concatenates several output files\n- `route_*.png` — rendered reaction trees from `RouteCollection.images` or `ReactionTree.to_image()`\n\nReport `is_solved`, step count, and the precursors that fell outside stock. For a library screen report solve rate and the step-count distribution.\n\n## Troubleshooting\n\n| Problem | Cause | Solution |\n|---------|-------|----------|\n| `PolicyException: number of templates does not agree with the output dimensions of the model` | Model and template file come from different releases | Re-pair them; the ringbreaker model needs ringbreaker templates |\n| Templates load but every expansion is empty | Wrong `template_column` | Default is `retro_template`. CSV templates are read with `sep=\"\\t\"`, `index_col=0` — a comma-separated file parses silently wrong |\n| Nothing is ever in stock | Stock file holds SMILES, not InChIKeys | Rebuild with `smiles2stock --files x.smi --output stock.hdf5` |\n| Target reported solved immediately with an empty route | The target itself is in stock | Set `search.exclude_target_from_stock: True` |\n| Every search hits the time limit unsolved | Budget or branching too tight\u002Fwide | Raise `time_limit`\u002F`iteration_limit` first; then lower `cutoff_number` or `max_transforms`; `return_first: True` if any solution suffices |\n| Config with top-level `policy:` \u002F `properties:` keys fails | Pre-v4 format | Translate to `expansion:` \u002F `filter:` \u002F `search:` |\n| `--nproc` produces fewer output files than expected | One shard failed and aborted concatenation | Check the per-process `aizynthcli*.log` files |\n| `finder.routes` is empty or raises | `build_routes()` was not called | Always call `build_routes()` after `tree_search()` |\n| Clustering or `distance_to` unavailable | `route-distances` missing | Install the `[all]` extra |\n| `ImportError` on TensorFlow | Assuming the TF backend | Default runtime is onnxruntime; only `use_remote_models` or `.hdf5` Keras models need `[tf]` |\n\n## References\n\n- [AiZynthFinder documentation](https:\u002F\u002Fmolecularai.github.io\u002Faizynthfinder\u002F) — configuration, CLI, Python interface, stocks, scoring, how-to\n- [MolecularAI\u002Faizynthfinder on GitHub](https:\u002F\u002Fgithub.com\u002FMolecularAI\u002Faizynthfinder) — source, releases, `plugins\u002F` (Chemformer, disconnection-aware expansion)\n- [Genheden et al. (2020), J Cheminform 12:70](https:\u002F\u002Fdoi.org\u002F10.1186\u002Fs13321-020-00472-1) — original paper, algorithm and benchmark numbers\n- [aizynthfinder on PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Faizynthfinder\u002F) — versions, Python compatibility, extras\n","# AiZynthFinder Retrosynthesis\n\n## Overview\n\nAiZynthFinder performs computer-aided synthesis planning (CASP): a search algorithm — Monte Carlo tree search by default — recursively disconnects a target molecule into precursors, guided by a neural expansion policy that ranks known reaction templates. The search terminates when all precursors are found in a *stock* (a set of purchasable building blocks) or the maximum depth is reached. Output is a ranked set of reaction trees plus per-target statistics (`is_solved`, step count, precursors in\u002Fout of stock).\n\nVersion covered: **4.4.1** (Python 3.10–3.12). The v4 config format differs substantially from v2\u002Fv3 as described in the 2020 paper — never copy a config from an old blog post without translating it.\n\n## When to Use\n\n- Planning a synthesis route for a designed or purchased target molecule\n- Screening a compound library for synthesizability before committing to make-on-demand\n- Finding purchasable precursors or building blocks that lead to a scaffold\n- Ranking design ideas by route length and by how many precursors fall outside a catalogue\n- Enumerating the first retro step only — plausible disconnections without a full tree\n- Testing whether a specific bond can be made disconnection-aware (`break_bonds`) in a route\n- Comparing solve rate across two building-block catalogues for the same target set\n- Use `torchdrug` instead when training a retrosynthesis model rather than running route search\n- For forward reaction barriers and transition states use `neb-irc-activation-energy`; for drawing the resulting scheme use `rdkit-chemdraw-cdxml`\n\n## Prerequisites\n\n- **Python packages**: `aizynthfinder` (4.4.x), `rdkit`, `pandas`\n- **Data requirements**: a stock file (InChIKeys), a trained expansion policy (ONNX model + template CSV), optionally a filter policy\n- **Environment**: Python 3.10–3.12. Default runtime is `onnxruntime`; TensorFlow is not needed unless serving remote models or loading legacy `.hdf5` Keras models.\n\nCheck before installing — `aizynthcli`, `download_public_data`, and `smiles2stock` ship with the package and may already be on PATH inside a pixi\u002Fconda env. Inside a pixi project, invoke them as `pixi run aizynthcli ...`.\n\n```bash\ncommand -v aizynthcli || {\n  conda create \"python>=3.10,\u003C3.13\" -n aizynth-env -y\n  conda activate aizynth-env\n  python -m pip install \"aizynthfinder[all]\"\n}\n```\n\n`[all]` adds molbloom (bloom-filter stocks), pymongo, route-distances (route clustering), scipy, and timeout-decorator. Drop it for a lighter install; add `[tf]` only for TF-serving or `.hdf5` models.\n\n## Quick Start\n\n```python\nfrom aizynthfinder.aizynthfinder import AiZynthFinder\n\nfinder = AiZynthFinder(configfile=\"config.yml\")\nfinder.stock.select(\"zinc\")\nfinder.expansion_policy.select(\"uspto\")\n\nfinder.target_smiles = \"Cc1cccc(c1N(CC(=O)Nc2ccc(cc2)c3ncon3)C(=O)C4CCS(=O)(=O)CC4)C\"\nfinder.tree_search()\nfinder.build_routes()                    # required before touching finder.routes\n\nstats = finder.extract_statistics()\nprint(f\"solved={stats['is_solved']} steps={stats['number_of_steps']} \"\n      f\"routes={stats['number_of_routes']} time={stats['search_time']:.1f}s\")\nfinder.routes[0][\"image\"].save(\"route_top.png\")\n```\n\n## Workflow\n\n### Step 1: Get the Models and Stock\n\n`download_public_data` fetches the public USPTO models and the ZINC stock subset (several hundred MB, from zenodo.org and figshare.com) and writes a ready-to-use `config.yml`.\n\n```bash\n# Skip if the folder already holds the models — this is a large download.\ntest -f my_folder\u002Fconfig.yml || download_public_data my_folder\n\nls my_folder\n# uspto_model.onnx              uspto_templates.csv.gz\n# uspto_ringbreaker_model.onnx  uspto_ringbreaker_templates.csv.gz\n# uspto_filter_model.onnx       zinc_stock.hdf5\n# config.yml\n```\n\n### Step 2: Write or Adjust config.yml\n\nThe list short-cut means \"template-based strategy, model first, templates second, defaults elsewhere\". The same short-cut works for a single `filter` model path and a single `stock` file path.\n\n```yaml\n# config.yml — minimal\nexpansion:\n  uspto:\n    - uspto_model.onnx\n    - uspto_templates.csv.gz\nstock:\n  zinc: zinc_stock.hdf5\n```\n\n```yaml\n# config.yml — explicit form, the settings that matter in practice\nsearch:\n  algorithm: mcts\n  algorithm_config:\n    C: 1.4\n    use_prior: True\n    prune_cycles_in_search: True\n    search_rewards: [\"state score\"]\n  max_transforms: 6\n  iteration_limit: 100\n  time_limit: 120\n  return_first: false\n  exclude_target_from_stock: True\nexpansion:\n  uspto:\n    type: template-based\n    model: uspto_model.onnx\n    template: uspto_templates.csv.gz\n    template_column: retro_template\n    cutoff_cumulative: 0.995\n    cutoff_number: 50\n    use_rdchiral: True\nfilter:\n  uspto:\n    type: quick-filter\n    model: uspto_filter_model.onnx\n    filter_cutoff: 0.05\nstock:\n  zinc:\n    type: inchiset\n    path: zinc_stock.hdf5\npost_processing:\n  min_routes: 5\n  max_routes: 25\n  all_routes: False\n```\n\nValues can be pulled from the environment: `iteration_limit: ${ITERATION_LIMIT}`.\n\n### Step 3: Validate the Target SMILES\n\nAn unparseable target burns the whole time limit before failing. Check first.\n\n```python\nfrom rdkit import Chem\n\nsmiles = \"Cc1cccc(c1N(CC(=O)Nc2ccc(cc2)c3ncon3)C(=O)C4CCS(=O)(=O)CC4)C\"\nmol = Chem.MolFromSmiles(smiles)\nassert mol is not None, f\"invalid SMILES: {smiles}\"\nsmiles = Chem.MolToSmiles(mol)           # canonicalize\nprint(f\"{smiles}  heavy_atoms={mol.GetNumHeavyAtoms()}\")\n```\n\n### Step 4: Run the Tree Search\n\n`select()` picks which loaded policies and stocks are active. `AiZynthFinder` also accepts `configdict=\u003Cdict>` instead of a file — the cleanest way to sweep parameters without writing YAML.\n\n```python\nfrom aizynthfinder.aizynthfinder import AiZynthFinder\n\nfinder = AiZynthFinder(configfile=\"config.yml\")\nfinder.stock.select(\"zinc\")\nfinder.expansion_policy.select(\"uspto\")\nfinder.filter_policy.select(\"uspto\")     # optional; prunes implausible reactions\n\nfinder.target_smiles = smiles\nsearch_time = finder.tree_search()\nprint(f\"search finished in {search_time:.1f}s\")\n```\n\n### Step 5: Build Routes and Read Statistics\n\n`build_routes()` extracts reaction trees from the search graph. Nothing in `finder.routes` exists until it is called.\n\n```python\nfinder.build_routes()\nstats = finder.extract_statistics()\n\nfor key in (\"is_solved\", \"number_of_steps\", \"number_of_routes\",\n            \"number_of_precursors\", \"number_of_precursors_in_stock\",\n            \"search_time\", \"first_solution_time\"):\n    print(f\"{key:32s} {stats[key]}\")\n\nprint(\"not in stock:\", stats[\"precursors_not_in_stock\"])\n```\n\n### Step 6: Inspect and Render Routes\n\n`finder.routes` is a `RouteCollection`. Show two or three distinct routes, not only the top-scored one.\n\n```python\nroutes = finder.routes\nprint(f\"{len(routes)} routes, scores: {routes.scores}\")\n\nfor i in range(min(3, len(routes))):\n    tree = routes.reaction_trees[i]\n    leafs = [m.smiles for m in tree.leafs()]\n    print(f\"route {i}: solved={tree.is_solved} \"\n          f\"steps={len(list(tree.reactions()))} branched={tree.is_branched()}\")\n    print(f\"  precursors: {leafs}\")\n    routes.images[i].save(f\"route_{i:02d}.png\")\n\nroutes.jsons[0]                          # JSON string for the top route\n```\n\n### Step 7: Batch Screen with aizynthcli\n\nFor hundreds or thousands of targets, use the CLI rather than a Python loop — `--nproc` splits the input across processes.\n\n```bash\n# One SMILES per line in smiles.txt\naizynthcli --config config.yml --smiles smiles.txt \\\n           --policy uspto --stocks zinc \\\n           --nproc 8 --checkpoint checkpoint.json.gz \\\n           --output output.json.gz --log_to_file\n```\n\n```python\nimport pandas as pd\n\ndata = pd.read_json(\"output.json.gz\", orient=\"table\")\nprint(f\"solve rate: {data.is_solved.mean():.1%}  n={len(data)}\")\nprint(data.loc[data.is_solved, \"number_of_steps\"].value_counts().sort_index())\nprint(data.loc[~data.is_solved, [\"target\", \"precursors_not_in_stock\"]].head())\n```\n\n## Key Parameters\n\n| Parameter | Default | Range \u002F Options | Effect |\n|-----------|---------|-----------------|--------|\n| `search.time_limit` | `120` | `30`–`1800` (s) | Wall-clock budget per target. Raise this first when nothing solves. |\n| `search.iteration_limit` | `100` | `50`–`1000` | MCTS iterations per target; whichever of time\u002Fiterations hits first ends the search. |\n| `search.max_transforms` | `6` | `3`–`10` | Maximum tree depth (longest route). Deeper searches cost quadratically more. |\n| `search.return_first` | `False` | `True`\u002F`False` | Stop at the first solved route — fast synthesizability yes\u002Fno, poor route quality. |\n| `search.exclude_target_from_stock` | `True` | `True`\u002F`False` | Keep `True` or a purchasable target returns an empty route. |\n| `search.algorithm_config.C` | `1.4` | `0.5`–`3.0` | UCB exploration\u002Fexploitation balance; higher explores more disconnections. |\n| `search.algorithm_config.search_rewards` | `[\"state score\"]` | any scorer names | Scorers driving the search; pair with `search_rewards_weights` for multi-objective. |\n| `expansion.cutoff_number` | `50` | `10`–`100` | Templates applied per expansion. Widens branching and slows search — tune after the time limit. |\n| `expansion.cutoff_cumulative` | `0.995` | `0.95`–`0.999` | Cumulative policy probability retained before truncating the template list. |\n| `expansion.template_column` | `retro_template` | column name | Must match the template file; a mismatch yields silently empty expansions. |\n| `filter.filter_cutoff` | `0.05` | `0.0`–`0.5` | Feasibility threshold; raising it prunes harder and can make targets unsolvable. |\n| `post_processing.max_routes` | `25` | `5`–`100` | Routes extracted after the search; `all_routes: True` returns every solved route. |\n\n## Key Concepts\n\n### The route score is not a quality score\n\nThe state score reflects the fraction of solved precursors and the route length. It was designed to *guide* the tree search and is largely indiscriminate about whether a route is chemically sensible. Solved routes score near 1.0, unsolved ones typically below 0.8. Never present `top_score` as a confidence or feasibility measure.\n\n### Solve rate is set by the stock and the template library, not the algorithm\n\nThe public ZINC subset is far smaller than commercial catalogues; in the original comparison, adding Enamine building blocks found routes for 10 more compounds out of 100. Swapping USPTO for a Reaxys-derived policy changed *which* compounds solved rather than uniformly improving them. Findability tracks synthetic complexity — an unsolved target means \"not found under this stock, this policy, and this budget\", not \"unsynthesizable\".\n\nReference performance from the paper (100 random ChEMBL compounds, single CPU + single GPU): 55 solved, mean search time 38.7 s, mean time to first solution 7.1 s, mean 2.4 steps and 2.7 precursors.\n\n### No conditions are predicted\n\nReagents, solvents, temperatures, and yields are outside scope. A predicted route is a hypothesis for a chemist to evaluate.\n\n### Scorers\n\nLoaded automatically: `state score`, `number of reactions`, `number of pre-cursors`, `number of pre-cursors in stock`. Also available in `aizynthfinder.context.scoring`: `average template occurrence`, `sum of prices`, `route cost`, `max transform`, `broken bonds`, `fraction in stock`, `fraction in source`, `fraction of intermediates in \u003Cstock>`, `stock availability`, `reaction class membership`, `reaction class-rank score`, `delta-SC score`, `route similarity`, plus `CombinedScorer` and `DeepSetScorer`. Scorers are addressed by their string name both in `search.algorithm_config.search_rewards` and in `post_processing.route_scorer` (which falls back to `search_rewards` when unset).\n\n### Search algorithms\n\nSet `search.algorithm` to a class path to replace MCTS: Retro\\* (`aizynthfinder.search.retrostar.search_tree.SearchTree`), breadth-first (`aizynthfinder.search.breadth_first.search_tree.SearchTree`), DFPN (`aizynthfinder.search.dfpn.search_tree.SearchTree`).\n\n### Choosing an entry point\n\n| User intent | Use |\n|-------------|-----|\n| One or a few molecules, wants routes and images | Python API (`AiZynthFinder`) |\n| Hundreds or thousands of molecules | `aizynthcli` with a SMILES file and `--nproc` |\n| Interactive exploration by a chemist | `aizynthapp` (Jupyter GUI) |\n| Only the first retro step | `AiZynthExpander` — far cheaper than a full tree search |\n\n## Common Recipes\n\n### Recipe: One-Step Disconnections Only\n\nWhen to use: the user wants plausible first disconnections, not a full route to purchasable material.\n\n```python\nimport pandas as pd\nfrom aizynthfinder.aizynthfinder import AiZynthExpander\n\nexpander = AiZynthExpander(configfile=\"config.yml\")\nexpander.expansion_policy.select(\"uspto\")\nexpander.filter_policy.select(\"uspto\")   # annotates feasibility only; does not prune\n\nreactions = expander.do_expansion(smiles)\n\nreactants = [[m.smiles for m in tup[0].reactants[0]] for tup in reactions]\nmetadata = pd.DataFrame([rxn.metadata for tup in reactions for rxn in tup])\nprint(f\"{len(reactions)} disconnections; metadata fields: {list(metadata.columns)}\")\nprint(metadata.head())   # template info, policy probability, filter feasibility\n```\n\n### Recipe: Build a Custom Stock from a Catalogue\n\nWhen to use: the ZINC subset is not the catalogue you actually buy from. Stock files must hold **pre-computed InChIKeys**, not SMILES — `smiles2stock` does the conversion.\n\n```bash\n# one SMILES per line\nsmiles2stock --files enamine_bb.smi inhouse.smi --output my_stock.hdf5\nsmiles2stock --files enamine_bb.smi --output my_db --target mongo   # MongoDB target\n```\n\n```yaml\nstock:\n  enamine:\n    type: inchiset\n    path: my_stock.hdf5\n  stop_criteria:\n    price: 10\n    counts:\n      C: 10\n```\n\n`inchiset` also reads a CSV with an `inchi_key` column or a plain single-column text file. For a rule-based stock, subclass `StockQueryMixin` and implement `__contains__(self, mol)` over a `Molecule`, then point `stock: type:` at the importable class path.\n\n### Recipe: Multiple Expansion Policies and Disconnection-Aware Search\n\nWhen to use: ring-forming disconnections are being missed (add RingBreaker), or a specific bond must be broken.\n\n```yaml\nexpansion:\n  uspto:\n    - uspto_model.onnx\n    - uspto_templates.csv.gz\n  ringbreaker:\n    - uspto_ringbreaker_model.onnx\n    - uspto_ringbreaker_templates.csv.gz\n  multi_expansion_strategy:\n    type: aizynthfinder.context.policy.MultiExpansionStrategy\n    expansion_strategies: [uspto, ringbreaker]\n    additive_expansion: True\nsearch:\n  break_bonds: [[1, 2], [3, 4]]     # atom-index pairs in the target\n  break_bonds_operator: and         # \"and\" = all must break, \"or\" = any\n  algorithm_config:\n    search_rewards: [\"state score\", \"broken bonds\"]\n```\n\nSelect it with `aizynthcli --policy multi_expansion_strategy ...`. Bond indices depend on the target's atom ordering — derive them from the canonical SMILES you actually pass in and confirm the atom map with the user.\n\n### Recipe: Re-rank Routes and Render from a Saved Batch Run\n\nWhen to use: the batch already ran, and you want a different ranking or images without re-searching.\n\n```python\nimport pandas as pd\nfrom aizynthfinder.analysis import RouteSelectionArguments\nfrom aizynthfinder.reactiontree import ReactionTree\n\n# Widen route extraction, then re-rank by a different scorer\nfinder.build_routes(RouteSelectionArguments(nmin=5, nmax=50, return_all=True))\nfinder.routes.compute_scores(finder.scorers[\"number of reactions\"])\nfinder.routes.rescore(finder.scorers[\"number of pre-cursors in stock\"])\n\n# Render routes stored in a batch output file\ndata = pd.read_json(\"output.json.gz\", orient=\"table\")\nfor i, tree in enumerate(data.trees.values[0]):\n    ReactionTree.from_dict(tree).to_image().save(f\"target0_route{i:03d}.png\")\n```\n\n## Expected Outputs\n\n- `output.json.gz` — batch results, one row per target; read with `pd.read_json(..., orient=\"table\")`. Columns: `target`, `search_time`, `first_solution_time`, `first_solution_iteration`, `number_of_nodes`, `max_transforms`, `max_children`, `number_of_routes`, `number_of_solved_routes`, `top_score`, `is_solved`, `number_of_steps`, `number_of_precursors`, `number_of_precursors_in_stock`, `precursors_in_stock`, `precursors_not_in_stock`, `precursors_availability`, `policy_used_counts`, `profiling`, `stock_info`, `top_scores`, `trees`\n- `trees.json` — route trees for a single-SMILES CLI run (statistics go to the terminal)\n- `checkpoint.json.gz` — processed targets, so a crashed batch resumes; `cat_aizynth_output` concatenates several output files\n- `route_*.png` — rendered reaction trees from `RouteCollection.images` or `ReactionTree.to_image()`\n\nReport `is_solved`, step count, and the precursors that fell outside stock. For a library screen report solve rate and the step-count distribution.\n\n## Troubleshooting\n\n| Problem | Cause | Solution |\n|---------|-------|----------|\n| `PolicyException: number of templates does not agree with the output dimensions of the model` | Model and template file come from different releases | Re-pair them; the ringbreaker model needs ringbreaker templates |\n| Templates load but every expansion is empty | Wrong `template_column` | Default is `retro_template`. CSV templates are read with `sep=\"\\t\"`, `index_col=0` — a comma-separated file parses silently wrong |\n| Nothing is ever in stock | Stock file holds SMILES, not InChIKeys | Rebuild with `smiles2stock --files x.smi --output stock.hdf5` |\n| Target reported solved immediately with an empty route | The target itself is in stock | Set `search.exclude_target_from_stock: True` |\n| Every search hits the time limit unsolved | Budget or branching too tight\u002Fwide | Raise `time_limit`\u002F`iteration_limit` first; then lower `cutoff_number` or `max_transforms`; `return_first: True` if any solution suffices |\n| Config with top-level `policy:` \u002F `properties:` keys fails | Pre-v4 format | Translate to `expansion:` \u002F `filter:` \u002F `search:` |\n| `--nproc` produces fewer output files than expected | One shard failed and aborted concatenation | Check the per-process `aizynthcli*.log` files |\n| `finder.routes` is empty or raises | `build_routes()` was not called | Always call `build_routes()` after `tree_search()` |\n| Clustering or `distance_to` unavailable | `route-distances` missing | Install the `[all]` extra |\n| `ImportError` on TensorFlow | Assuming the TF backend | Default runtime is onnxruntime; only `use_remote_models` or `.hdf5` Keras models need `[tf]` |\n\n## References\n\n- [AiZynthFinder documentation](https:\u002F\u002Fmolecularai.github.io\u002Faizynthfinder\u002F) — configuration, CLI, Python interface, stocks, scoring, how-to\n- [MolecularAI\u002Faizynthfinder on GitHub](https:\u002F\u002Fgithub.com\u002FMolecularAI\u002Faizynthfinder) — source, releases, `plugins\u002F` (Chemformer, disconnection-aware expansion)\n- [Genheden et al. (2020), J Cheminform 12:70](https:\u002F\u002Fdoi.org\u002F10.1186\u002Fs13321-020-00472-1) — original paper, algorithm and benchmark numbers\n- [aizynthfinder on PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Faizynthfinder\u002F) — versions, Python compatibility, extras\n",{"name":5,"license":15,"description":7},"master","63f17866001c5ca854bf2fa0b678ce277133de5b","skills\u002Fawesome-skills\u002Faizynthfinder-retrosynthesis",0,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS","https:\u002F\u002Fbg-szy.github.io\u002FTOP-SKILLS\u002F","https:\u002F\u002Fgithub.com\u002Fbg-szy","https:\u002F\u002Fwww.ecust.edu.cn\u002F","a student of East China University of Science and Technology","2026-11-15 03:38:02",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add bg-szy\u002FTOP-SKILLS --skill aizynthfinder-retrosynthesis",{"tool":40,"command":41},"bunx","bunx skills add bg-szy\u002FTOP-SKILLS --skill aizynthfinder-retrosynthesis",{"tool":43,"command":44},"pnpm","pnpm dlx skills add bg-szy\u002FTOP-SKILLS --skill aizynthfinder-retrosynthesis","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fawesome-skills\u002Faizynthfinder-retrosynthesis\u002FSKILL.md",true,[],[49,57,64,71,78,85],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M7DXW9N826PKXK174PVW3038","serpmaven","Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fserpmaven\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":56},"01M7DXVHSTWDV65475QEQ915M7","revnu-landing-page-audit","Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: \"audit my landing page\", \"why isn't this page converting\", \"review my homepage\", \"my ads get clicks but no signups\", \"people bounce from the pricing page\", \"CRO review\", \"improve conversion rate\", \"is my hero section clear\", \"roast my landing page\", \"rewrite my headline\", \"what's wrong with this page\", \"landing page feedback\", \"make the signup page convert better\". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-landing-page-audit\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":56},"01M7DXV8X2D7B3VTD4HHYYHTGR","revnu-growth-context","Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents\u002Frevnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says \"set up our marketing context\", \"who is our ideal customer\", \"write our ICP\", \"describe the product for marketing\", \"positioning doc\", \"what's our brand voice\", \"remember this about our customers\", \"log what we tried\", \"what have we learned from marketing\", \"we changed pricing, update the context\", \"update our growth notes\", \"summarize the business for the agent\", \"import my product-marketing.md\", \"start a growth doc\", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-growth-context\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":56},"01M7DXV0DGJ1G0A60PAHC6J3C5","revnu-get-listed","Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: \"best X\" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says \"get us listed\", \"which directories should we submit to\", \"how do we get into best-of lists\", \"why does ChatGPT recommend competitors and not us\", \"get mentioned in AI answers\", \"submit to awesome lists\", \"get on G2\", \"where are our competitors listed\", \"pitch listicle authors\", \"find backlink opportunities\", \"launch directories\", \"get into roundups\", \"Product Hunt alternatives\", \"where should we be listed\", \"get cited by Perplexity\". Never submits, pays or posts without a yes. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-get-listed\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":56},"01M7DXTSPMGT9D6DSS0HP9BSTA","revnu-ai-readiness-audit","Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks \"is my site ready for AI search\", \"audit my site for AI answers\", \"AEO audit\", \"GEO audit\", \"why doesn't ChatGPT quote our pricing\", \"make our pages citable by AI\", \"do I need llms.txt\", \"does schema help with ChatGPT\", \"check our structured data\", \"is our content visible without JavaScript\", \"AI SEO audit\", \"optimize our homepage for AI answers\", \"LLM SEO check\", \"why does AI get our product wrong\", \"fix our site for AI Overviews\". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-ai-readiness-audit\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":56},"01M7DXSZHCVTRS620GC3S97JZV","proxy-troubleshooting","Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fproxy-troubleshooting\u002FSKILL.md",[],[]]