Molclaw Smiles Valid Check
Testing & Qualitymolclaw-smiles-valid-checkMolclaw Smiles Valid Check is an Agent Skill for testing & quality published in the InternScience/Agents-A1 repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Check if the input molecule SMILES string is valid.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/InternScience/Agents-A1/blob/HEAD/evaluation/Tools/molbench/skills/L1_tools/molclaw-smiles-valid-check/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/molclaw-smiles-valid-check, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Molecule SMILES Valid Check
The description of tool is_valid_smiles.
Check if the input SMILES string is valid
Args:
smiles_list (List[str]): List of input SMILES strings, (e.g., ["N[C@@H](Cc1ccc(O)cc1)C(=O)O", "CC(C)C1=CC=CC=C1"])
Return:
status (str): success/partial_success/error
msg (str): message
valid_res (List[dict]): List of dict, each containing the keys 'smiles' and 'is_valid'.
--smiles (str): A SMILES string of smiles_list
--is_valid (bool): Is the SMILES valid or not
How to use tool is_valid_smiles :
response = await client.session.call_tool(
"is_valid_smiles",
arguments={
"smiles_list": smiles_list
}
)
result = client.parse_result(response)
valid_res = result["valid_res"]