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 agentmods add skills/synthetic-sciences/openscience/smiles-validationnpx skills add synthetic-sciences/openscience --skill smiles-validationgit clone --depth 1 https://github.com/synthetic-sciences/openscienceWrote 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/synthetic-sciences/openscience/smiles-validation)<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/smiles-validation"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/smiles-validation.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00024 | $0.00454 |
| Opus 5 | $0.00012 | $0.00227 |
| Sonnet 5 | $0.00005 | $0.00091 |
| Haiku 4.5 | $0.00002 | $0.00045 |
Grade A, and why
smiles-validation 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 today.
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.
What it actually says
SMILES Validation
Overview
LLMs frequently generate invalid SMILES or produce molecules that don't match their stated reasoning. This skill provides strict validation, structural comparison, and modification verification.
Key checks:
- Parse validation: RDKit sanitization, valence checking, parenthesis/bracket balance
- Structural comparison: Tanimoto similarity, scaffold preservation, MCS analysis
- Modification verification: Confirm claimed structural changes exist in the actual molecule
- Classification: Categorize changes as optimization (>0.6 similarity), significant modification (0.4-0.6), or de novo design (<0.4)
When to Use This Skill
- After molecule generation: Validate every SMILES before reporting results
- Optimization verification: Confirm proposed modifications match the actual structure
- Batch validation: Check a library of generated molecules for validity
- Quality control: Ensure reproducibility of molecular designs
Installation
pip install rdkit-pypi
Core Workflows
1. Validate a Single SMILES
python scripts/validate.py --smiles "c1ccccc1"
2. Compare Original vs Modified
python scripts/validate.py --original "c1ccccc1" --proposed "c1ccc(O)cc1" --check-modification "Added hydroxyl group"
3. Batch Validation
python scripts/validate.py --input generated_molecules.csv --output validation_report.json
Script Reference
| Script | Purpose | Key Outputs |
|---|---|---|
validate.py |
SMILES validation, comparison, and modification checking | JSON report with validity, similarity, scaffold match, modification verification |
What ships with it
1 file 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.
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.
- today First seen · 63 lines · 24 tokens per session scan A 351b7c62cfbf
smiles-validation is a skill published in the GitHub repository synthetic-sciences/openscience (3,432 stars, last pushed today), licensed Apache-2.0. It adds 24 tokens to every session and 454 once invoked, about $0.0001 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-09-03.
Other skills, from other repositories
pepflex
Use when working with PepFlex for in silico peptide screening and evolutionary optimization. Handles peptide population management, mutation, crossover, custom evaluation pipelines, and multi-round evolutionary simulation.
chem-brainstorm
Use at the start of any computational chemistry task to structure thinking, map available tools, and generate concrete hypotheses. Covers molecule evaluation, hypothesis building, reaction assessment, and pipeline design. Flexible guide — adapt depth to problem complexity.
generative-design
Use when designing or evaluating generative models for de novo drug/molecule design. Covers molecular generation theory and evaluation (MOSES/GuacaMol), SELFIES + language models, RL-based optimization with REINVENT 4, JT-VAE and graph-based generation, and structure-based 3D generation (DiffSBDD, Pocket2Mol…
homology-modeling
Use when building a 3D protein structure from sequence (no experimental structure available). Covers comparative homology modeling (MODELLER), AI-based prediction (AlphaFold2/ColabFold/ESMFold), model quality assessment (DOPE, pLDDT, Ramachandran), template search (HHblits, BLAST, Biopython), and structure preparation…
lit-rescue
Last-resort skill. Invoke when no obvious or coherent solution is available and hallucination risk is high. Searches peer-reviewed literature and validated sources (Perplexity, bioRxiv, PubMed) before attempting an answer. Generalist — applies to any domain.
uncertainty-qsar
Use when building QSAR/ML models that need calibrated uncertainty estimates. Covers epistemic vs aleatoric uncertainty theory, conformal prediction with MAPIE (guaranteed coverage), Gaussian processes with Tanimoto kernel, deep uncertainty (MC dropout, deep ensembles, Laplace), and applicability domain (AD)…