smiles-validation

smiles-validation is a skill for Claude Code, Codex from synthetic-sciences/openscience. It costs 24 tokens per session (454 once invoked), scanned A, original, Apache-2.0.

A checker for validating SMILES, the text notation used to describe chemical structures. It also compares molecules and checks whether claimed structural changes really happened.

In plain words
What is it for?
Use it to validate individual or batches of generated molecules, compare original and modified structures, and verify optimization results.
Why use it?
It catches malformed machine-generated molecules and mismatches between a molecule and the explanation given for it.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to validate individual or batches of generated molecules, compare original and modified structures, and verify optimization results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synthetic-sciences/openscience/smiles-validation
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 4,082 stars · on GitHub · openscience.sh

Install

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.

Any agent
npx skills add synthetic-sciences/openscience --skill smiles-validation
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for smiles-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/synthetic-sciences/openscience/smiles-validation/github.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/smiles-validation)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/smiles-validation"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/smiles-validation/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.

agentmods 80×15 button for smiles-validation

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00454
Opus 5.5 $0.00010 $0.00182
Sonnet 5.5 $0.00005 $0.00091
Haiku 4.5 $0.00002 $0.00045

Measured 1mo ago against content hash 351b7c62cfbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

backend/cli/skills/chemistry/smiles-validation/SKILL.md · 63 lines

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
Files

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.

Changes

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.

  1. 1mo ago First seen · 63 lines · 24 tokens per session scan A 351b7c62cfbf

Subscribe to this mod's changes

smiles-validation is a skill published in the GitHub repository synthetic-sciences/openscience (4,082 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.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.

Related

Other skills, from other repositories

knowledge-extension-ecosystem-lsp-code-intelligence

A codebase guide to LSP, the standard protocol behind editor features such as symbol queries, file diagnostics, and language-aware code information.

echoVic/blade-code · 161 tokens

gini-bug-report

File a locally-captured, already-redacted Gini crash report as a GitHub issue, with the user's consent. Reads the pending crash queue and delegates the actual filing to the github-issues skill.

Open-Curiosity/gini-agent · 47 tokens

tricorder-cli

Full CLI reference for the tricorder daemon (build diagnostics, test results, source lookup, eval comments, logs). This is the fallback invoked by the tricorder skill when the tricorder-mcp MCP tools aren't available or aren't working — invoke tricorder first; it decides whether this is needed.

tweag/tricorder · 67 tokens

knowledge-model-and-provider-runtime-provider-resilience-admission-and-observability

A codebase guide for handling unreliable AI provider requests across agents and sessions, including retries, circuit breakers, fair queues, stalled streams, cache tracking, and health checks.

echoVic/blade-code · 184 tokens

knowledge-agent-execution-and-orchestration-decision-loop-and-completion

The main execution loop that moves a coding agent through model responses, tool calls, saved conversation state, error recovery, and completion checks.

echoVic/blade-code · 145 tokens

hypothesis-testing

Applies the scientific method to debugging by helping users form specific, testable hypotheses, design targeted experiments, and systematically confirm or reject theories to find root causes. Use when a user says their code isn't working, they're getting an error, something broke, they want to troubleshoot a bug, or…

rohitg00/skillkit · 103 tokens