Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add PKU-YuanGroup/OpenAI4S --skill admet_geneticgit clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4SWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pku-yuangroup/openai4s/admet_genetic)<a href="https://agentmods.dev/skills/pku-yuangroup/openai4s/admet_genetic"><img src="https://agentmods.dev/badge/skills/pku-yuangroup/openai4s/admet_genetic/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pku-yuangroup/openai4s/admet_genetic"><img src="https://agentmods.dev/badge/skills/pku-yuangroup/openai4s/admet_genetic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.02958 |
| Opus 5 | $0.00032 | $0.01479 |
| Sonnet 5 | $0.00013 | $0.00592 |
| Haiku 4.5 | $0.00006 | $0.00296 |
Grade A, and why
admet_genetic scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ADMET Genetic Optimization
Use this skill to build and run a molecular optimization loop from seed SMILES. The target artifact is a ranked set of optimized candidate molecules with auditable lineage, scores, and report artifacts.
The sidecar deliberately does not provide a fixed GA engine. The agent must
assemble and tune mutation, crossover, evaluation, filtering, and selection for
the user's objective. kernel.py provides reusable molecule normalization,
ADMET aggregation, lineage validation, and result visualization.
Special Reminder
In this skill, when see references/<file_name>.md is suggested, use host call to retrieval the complementary material.
host.skills.read("admet_genetic", "references/<file_name>.md")
Prerequisites
conda create -n admet-sa-ga python=3.11 -y
conda activate admet-sa-ga
python -m pip install pandas pyyaml matplotlib rdkit
python -m pip install admet-ai # depends on torch; installation/import may take time
After creating the environment, select it with host.env.use("admet-sa-ga")
before importing this skill's sidecar. Switching environments restarts the
session kernel, so switch before constructing the pipeline. An in-kernel
pipeline is fine while you are still exploring; see Formal runs below for
what a run has to leave behind.
See references/admet.md for ADMET-AI installation details, endpoint behavior, runtime notes, and troubleshooting.
Data Contracts
For molecular representation, expected fields, candidate recording and lineage logging, see references/data_contracts.md. Must view these contracts before running the main pipeline.
Core Workflow
- Collect user-provided seed molecules or uploaded files and normalize them into a CSV input. The CSV should contain
smiles; includemolecule_idwhen stable user-facing IDs are available, otherwise synthesize deterministic IDs. - Standardize each input using
standardize_smiles(...), then usecanonicalize_smiles(...)fromkernel.pywhere a strict canonical string is needed. Molecule ID and canonical SMILES must be one-to-one for all logged records. - Design a genetic algorithm that includes molecular mutation and crossover. Match population size, generation count, operators, filters, and scoring weights to the user’s problem scale and constraints. For a starter design and implementation choices, see
references/ga.md. - Evaluate each valid molecule with RDKit descriptors, QED, SA-Score, and ADMET predictions. Aggregate ADMET endpoints into
admet_scoreandadmet_risk_flags; preserve raw endpoint outputs. Seereferences/data_contracts.mdfor required evaluation fields. - Apply hard filters, compute total score, select diverse candidates by Morgan fingerprint similarity, and update the population. See
references/ga.mdfor starter designs. - Assess whether the final candidates improve on the seeds and satisfy the user’s requirements. If they do not, adjust GA parameters, mutation/crossover operators, filters, or scoring weights, then rerun the internal GA workflow before finalizing output.
- Output final candidates, logs, report, visualization dashboard, and any other produced artifacts. See Artifacts for log schema and lineage rules.
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- examples/build_example.py 18 KB runs code
- examples/candidates_final.csv 23 KB
- examples/config.yaml 589 B
- examples/generation_log.csv 619 KB
- examples/generation_summary.csv 330 B
- examples/optimization_dashboard.html 1455 KB
- examples/README_zh.md 2.7 KB
- examples/README.md 3.0 KB
- examples/report.md 4.1 KB
- examples/seed_molecules.csv 370 B
- kernel.py 33 KB runs code
- README_zh.md 3.7 KB
- README.md 3.9 KB
- references/admet.md 3.7 KB
- references/data_contracts.md 2.6 KB
- references/ga.md 3.6 KB
- references/README_zh.md 920 B
- references/README.md 1012 B
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago Changed · +4 lines a2b088267042
- 12d ago First seen · 265 lines · 63 tokens per session scan A 1820b9a06272
admet_genetic is a skill published in the GitHub repository PKU-YuanGroup/OpenAI4S (407 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 2,958 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
deepchem
Molecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive featurization options and MoleculeNet benchmarks. Best for quick experiments with pre-trained models, diverse molecular representations. For graph-first…
molfeat
Molecular featurization for ML (100+ featurizers). ECFP, MACCS, descriptors, pretrained models (ChemBERTa), convert SMILES to features, for QSAR and molecular ML.
pytdc
Therapeutics Data Commons. AI-ready drug discovery datasets (ADME, toxicity, DTI), benchmarks, scaffold splits, molecular oracles, for therapeutic ML and pharmacological prediction.
torchdrug
PyTorch-native graph neural networks for molecules and proteins. Use when building custom GNN architectures for drug discovery, protein modeling, or knowledge graph reasoning. Best for custom model development, protein property prediction, retrosynthesis. For pre-trained models and diverse featurizers use deepchem…
binding-affinity
Empirical affinity estimates, ligand energy inspection, docking-score consensus, and batch virtual screening. Full MM/GBSA requires a validated external workflow.
structure-prediction
Protein structure prediction from sequence. ESMFold-based, single GPU, no MSA needed. Predicts 3D structures with pLDDT confidence scores for drug discovery targets.