用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/InternScience/Agents-A1 --skill molclaw-smiles-valid-check命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | molclaw-smiles-valid-check |
| description | Check if the input molecule SMILES string is valid. |
| license | MIT license |
| metadata | {"skill-author":"PJLab"} |
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"]