Molclaw Compound Retrieve
Apps & Automationmolclaw-compound-retrieveMolclaw Compound Retrieve is an Agent Skill for apps & automation published in the InternScience/Agents-A1 repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Retrieve SMILES strings from PubChem database using compound names.
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-compound-retrieve/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/molclaw-compound-retrieve, 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.
Retrieve Compound SMILES
The description of tool retrieve_smiles_by_compoundname.
Retrieve SMILES strings from PubChem using compound names.
Args:
compound_names (List[str]): List of input compound names (e.g., ["aspirin", "caffeine"])
Return:
status (str): success/partial_success/error
msg (str): message
retrieve_smiles (List[dict]): List of dict, each containing the keys 'compound_name' and 'smiles'.
--compound_name (str): A compound name of compound_names
--smiles (str): The retrieved SMILES string, if it exists; otherwise, None.
How to use tool retrieve_smiles_by_compoundname :
response = await client.session.call_tool(
"retrieve_smiles_by_compoundname",
arguments={
"compound_names": compound_names
}
)
result = client.parse_result(response)
retrieve_smiles = result["retrieve_smiles"]