[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DJ5PH29A6XE031JS4BBS8Z":3,"skill-same:01M6DJ5PH29A6XE031JS4BBS8Z":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":6,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M6DJ5PH29A6XE031JS4BBS8Z","molecular-format-conversion",null,"Convert between molecular formats including SMILES, InChI, InChIKey, and SELFIES for cheminformatics applications.","InternScience\u002FDrClaw","InternScience","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F154449623?v=4","01M6DHY1ZF02QASNAVMNPT7NP6","Intern Science","01M6DHY2523FY56Q5572NKAAD0",172,"MIT","https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw\u002Fblob\u002Fmain\u002Fdrclaw\u002Fagent_hub\u002Ftemplates\u002Fchemistry\u002Fskills\u002Fmolecular-format-conversion\u002FSKILL.md",[],[19,20,21,22,23,24,25],"format","conversion","molecular","molecular format conversion","applications","convert","cheminformatics","2026-11-10 10:12:30",false,"---\nname: molecular-format-conversion\ndescription: Convert between molecular formats including SMILES, InChI, InChIKey, and SELFIES for cheminformatics applications.\nlicense: MIT license\nmetadata:\n    skill-author: PJLab\n---\n\n# Molecular Format Conversion\n\n## Usage\n\n### 1. MCP Server Definition\n\nUse the same `ChemicalToolsClient` class as defined in the molecular-properties-calculation skill.\n\n### 2. Molecular Format Conversion Workflow\n\nThis workflow converts molecules between different chemical formats (SMILES, InChI, SELFIES) for database searching, machine learning, and cheminformatics applications.\n\n**Workflow Steps:**\n\n1. **SMILES to InChI** - Convert SMILES to International Chemical Identifier\n2. **InChI to SMILES** - Convert InChI back to SMILES\n3. **SMILES to SELFIES** - Convert to string-based molecular representation\n\n**Implementation:**\n\n```python\n## Initialize client\nHEADERS = {\"SCP-HUB-API-KEY\": \"\u003Cyour-api-key>\"}\n\nclient = ChemicalToolsClient(\n    \"https:\u002F\u002Fscp.intern-ai.org.cn\u002Fapi\u002Fv1\u002Fmcp\u002F31\u002FSciToolAgent-Chem\",\n    HEADERS\n)\n\nif not await client.connect():\n    print(\"connection failed\")\n    exit()\n\nprint(\"=== Molecular Format Conversion ===\\n\")\n\n## Test molecules\nsmiles = \"CCO\"  # Ethanol\ninchi = \"InChI=1S\u002FC2H6O\u002Fc1-2-3\u002Fh3H,2H2,1H3\"\n\n## Step 1: SMILES to InChI\nprint(\"Step 1: SMILES to InChI\")\nresult = await client.client.call_tool(\n    \"SMILESToInChI\",\n    arguments={\"smiles\": smiles}\n)\nresult_data = client.parse_result(result)\nprint(f\"SMILES: {smiles}\")\nprint(f\"{result_data}\\n\")\n\n## Step 2: InChI to SMILES\nprint(\"Step 2: InChI to SMILES\")\nresult = await client.client.call_tool(\n    \"InChIToSMILES\",\n    arguments={\"inchi\": inchi}\n)\nresult_data = client.parse_result(result)\nprint(f\"InChI: {inchi}\")\nprint(f\"{result_data}\\n\")\n\n## Step 3: SMILES to SELFIES\nprint(\"Step 3: SMILES to SELFIES\")\nresult = await client.client.call_tool(\n    \"SMILEStoSELFIES\",\n    arguments={\"smiles\": smiles}\n)\nresult_data = client.parse_result(result)\nprint(f\"SMILES: {smiles}\")\nprint(f\"{result_data}\\n\")\n\n## Step 4: SELFIES to SMILES\nprint(\"Step 4: SELFIES to SMILES\")\nselfies = \"[C][C][O]\"\nresult = await client.client.call_tool(\n    \"SELFIEStoSMILES\",\n    arguments={\"selfies\": selfies}\n)\nresult_data = client.parse_result(result)\nprint(f\"SELFIES: {selfies}\")\nprint(f\"{result_data}\\n\")\n\nawait client.disconnect()\n```\n\n### Tool Descriptions\n\n**SciToolAgent-Chem Server:**\n- `SMILESToInChI`: Convert SMILES to InChI\n  - Args: `smiles` (str)\n  - Returns: InChI string\n\n- `InChIToSMILES`: Convert InChI to SMILES\n  - Args: `inchi` (str)\n  - Returns: SMILES string\n\n- `SMILEStoSELFIES`: Convert SMILES to SELFIES\n  - Args: `smiles` (str)\n  - Returns: SELFIES string\n\n- `SELFIEStoSMILES`: Convert SELFIES to SMILES\n  - Args: `selfies` (str)\n  - Returns: SMILES string\n\n- `InChIToInChIKey`: Convert InChI to InChIKey\n  - Args: `inchi` (str)\n  - Returns: InChIKey (27-character hash)\n\n- `InChIKeyToInChI`: Convert InChIKey to InChI\n  - Args: `inchikey` (str)\n  - Returns: InChI string\n\n### Input\u002FOutput\n\n**Input:**\n- **SMILES**: Simplified Molecular Input Line Entry System (e.g., \"CCO\")\n- **InChI**: IUPAC International Chemical Identifier (e.g., \"InChI=1S\u002FC2H6O\u002Fc1-2-3\u002Fh3H,2H2,1H3\")\n- **InChIKey**: Hashed InChI (27 characters, e.g., \"LFQSCWFLJHTTHZ-UHFFFAOYSA-N\")\n- **SELFIES**: Self-Referencing Embedded Strings (e.g., \"[C][C][O]\")\n\n**Output:**\n- Converted molecular representation in target format\n\n### Format Comparison\n\n| Format | Canonical | Human-Readable | Database-Friendly | ML-Friendly |\n|--------|-----------|----------------|-------------------|-------------|\n| SMILES | Partial | High | Medium | Medium |\n| InChI | Yes | Low | High | Low |\n| InChIKey | Yes | No | Very High | No |\n| SELFIES | Yes | Low | Low | Very High |\n\n### Use Cases\n\n- **SMILES**: Standard format for most cheminformatics tools\n- **InChI**: Canonical representation for database searching\n- **InChIKey**: Fast database lookups and duplicate detection\n- **SELFIES**: Machine learning models (guarantees valid molecules)\n\n### Format Details\n\n**SMILES (Simplified Molecular Input Line Entry System)**\n- Pros: Human-readable, widely supported\n- Cons: Not canonical (multiple SMILES for same molecule)\n- Example: \"CCO\", \"c1ccccc1\", \"CC(=O)O\"\n\n**InChI (International Chemical Identifier)**\n- Pros: Canonical, includes stereochemistry and isotopes\n- Cons: Long, not human-readable\n- Example: \"InChI=1S\u002FC2H6O\u002Fc1-2-3\u002Fh3H,2H2,1H3\"\n\n**InChIKey**\n- Pros: Fixed-length hash, fast comparison\n- Cons: Cannot reconstruct molecule from key\n- Example: \"LFQSCWFLJHTTHZ-UHFFFAOYSA-N\"\n- Structure: 14 characters (connectivity) + separator + 8 characters (stereo) + separator + version\n\n**SELFIES (Self-Referencing Embedded Strings)**\n- Pros: Always generates valid molecules, ideal for ML\n- Cons: Less human-readable, newer format\n- Example: \"[C][C][O]\"\n- Used in: Generative models, molecular optimization\n\n### Additional Conversion Tools\n\n- `ConvertSmilesToInchi`: Alternative SMILES to InChI converter\n- `GenerateMolKeyFromSmiles`: Generate molecular key\n- `InChIKeyToMOL`: Convert InChIKey to MOL file\n- `IsValidInChIKey`: Validate InChIKey format\n\n### Error Handling\n\nSome conversions may fail for:\n- Invalid input formats\n- Unsupported chemical features\n- Very large or complex molecules\n\nAlways check for errors in the returned data.\n","# Molecular Format Conversion\n\n## Usage\n\n### 1. MCP Server Definition\n\nUse the same `ChemicalToolsClient` class as defined in the molecular-properties-calculation skill.\n\n### 2. Molecular Format Conversion Workflow\n\nThis workflow converts molecules between different chemical formats (SMILES, InChI, SELFIES) for database searching, machine learning, and cheminformatics applications.\n\n**Workflow Steps:**\n\n1. **SMILES to InChI** - Convert SMILES to International Chemical Identifier\n2. **InChI to SMILES** - Convert InChI back to SMILES\n3. **SMILES to SELFIES** - Convert to string-based molecular representation\n\n**Implementation:**\n\n```python\n## Initialize client\nHEADERS = {\"SCP-HUB-API-KEY\": \"\u003Cyour-api-key>\"}\n\nclient = ChemicalToolsClient(\n    \"https:\u002F\u002Fscp.intern-ai.org.cn\u002Fapi\u002Fv1\u002Fmcp\u002F31\u002FSciToolAgent-Chem\",\n    HEADERS\n)\n\nif not await client.connect():\n    print(\"connection failed\")\n    exit()\n\nprint(\"=== Molecular Format Conversion ===\\n\")\n\n## Test molecules\nsmiles = \"CCO\"  # Ethanol\ninchi = \"InChI=1S\u002FC2H6O\u002Fc1-2-3\u002Fh3H,2H2,1H3\"\n\n## Step 1: SMILES to InChI\nprint(\"Step 1: SMILES to InChI\")\nresult = await client.client.call_tool(\n    \"SMILESToInChI\",\n    arguments={\"smiles\": smiles}\n)\nresult_data = client.parse_result(result)\nprint(f\"SMILES: {smiles}\")\nprint(f\"{result_data}\\n\")\n\n## Step 2: InChI to SMILES\nprint(\"Step 2: InChI to SMILES\")\nresult = await client.client.call_tool(\n    \"InChIToSMILES\",\n    arguments={\"inchi\": inchi}\n)\nresult_data = client.parse_result(result)\nprint(f\"InChI: {inchi}\")\nprint(f\"{result_data}\\n\")\n\n## Step 3: SMILES to SELFIES\nprint(\"Step 3: SMILES to SELFIES\")\nresult = await client.client.call_tool(\n    \"SMILEStoSELFIES\",\n    arguments={\"smiles\": smiles}\n)\nresult_data = client.parse_result(result)\nprint(f\"SMILES: {smiles}\")\nprint(f\"{result_data}\\n\")\n\n## Step 4: SELFIES to SMILES\nprint(\"Step 4: SELFIES to SMILES\")\nselfies = \"[C][C][O]\"\nresult = await client.client.call_tool(\n    \"SELFIEStoSMILES\",\n    arguments={\"selfies\": selfies}\n)\nresult_data = client.parse_result(result)\nprint(f\"SELFIES: {selfies}\")\nprint(f\"{result_data}\\n\")\n\nawait client.disconnect()\n```\n\n### Tool Descriptions\n\n**SciToolAgent-Chem Server:**\n- `SMILESToInChI`: Convert SMILES to InChI\n  - Args: `smiles` (str)\n  - Returns: InChI string\n\n- `InChIToSMILES`: Convert InChI to SMILES\n  - Args: `inchi` (str)\n  - Returns: SMILES string\n\n- `SMILEStoSELFIES`: Convert SMILES to SELFIES\n  - Args: `smiles` (str)\n  - Returns: SELFIES string\n\n- `SELFIEStoSMILES`: Convert SELFIES to SMILES\n  - Args: `selfies` (str)\n  - Returns: SMILES string\n\n- `InChIToInChIKey`: Convert InChI to InChIKey\n  - Args: `inchi` (str)\n  - Returns: InChIKey (27-character hash)\n\n- `InChIKeyToInChI`: Convert InChIKey to InChI\n  - Args: `inchikey` (str)\n  - Returns: InChI string\n\n### Input\u002FOutput\n\n**Input:**\n- **SMILES**: Simplified Molecular Input Line Entry System (e.g., \"CCO\")\n- **InChI**: IUPAC International Chemical Identifier (e.g., \"InChI=1S\u002FC2H6O\u002Fc1-2-3\u002Fh3H,2H2,1H3\")\n- **InChIKey**: Hashed InChI (27 characters, e.g., \"LFQSCWFLJHTTHZ-UHFFFAOYSA-N\")\n- **SELFIES**: Self-Referencing Embedded Strings (e.g., \"[C][C][O]\")\n\n**Output:**\n- Converted molecular representation in target format\n\n### Format Comparison\n\n| Format | Canonical | Human-Readable | Database-Friendly | ML-Friendly |\n|--------|-----------|----------------|-------------------|-------------|\n| SMILES | Partial | High | Medium | Medium |\n| InChI | Yes | Low | High | Low |\n| InChIKey | Yes | No | Very High | No |\n| SELFIES | Yes | Low | Low | Very High |\n\n### Use Cases\n\n- **SMILES**: Standard format for most cheminformatics tools\n- **InChI**: Canonical representation for database searching\n- **InChIKey**: Fast database lookups and duplicate detection\n- **SELFIES**: Machine learning models (guarantees valid molecules)\n\n### Format Details\n\n**SMILES (Simplified Molecular Input Line Entry System)**\n- Pros: Human-readable, widely supported\n- Cons: Not canonical (multiple SMILES for same molecule)\n- Example: \"CCO\", \"c1ccccc1\", \"CC(=O)O\"\n\n**InChI (International Chemical Identifier)**\n- Pros: Canonical, includes stereochemistry and isotopes\n- Cons: Long, not human-readable\n- Example: \"InChI=1S\u002FC2H6O\u002Fc1-2-3\u002Fh3H,2H2,1H3\"\n\n**InChIKey**\n- Pros: Fixed-length hash, fast comparison\n- Cons: Cannot reconstruct molecule from key\n- Example: \"LFQSCWFLJHTTHZ-UHFFFAOYSA-N\"\n- Structure: 14 characters (connectivity) + separator + 8 characters (stereo) + separator + version\n\n**SELFIES (Self-Referencing Embedded Strings)**\n- Pros: Always generates valid molecules, ideal for ML\n- Cons: Less human-readable, newer format\n- Example: \"[C][C][O]\"\n- Used in: Generative models, molecular optimization\n\n### Additional Conversion Tools\n\n- `ConvertSmilesToInchi`: Alternative SMILES to InChI converter\n- `GenerateMolKeyFromSmiles`: Generate molecular key\n- `InChIKeyToMOL`: Convert InChIKey to MOL file\n- `IsValidInChIKey`: Validate InChIKey format\n\n### Error Handling\n\nSome conversions may fail for:\n- Invalid input formats\n- Unsupported chemical features\n- Very large or complex molecules\n\nAlways check for errors in the returned data.\n",{"name":5,"license":31,"metadata":32,"description":7},"MIT license",{"skill-author":33},"PJLab","main","4f96df0d9df0eae24a992afabe08edec5fc575f0","drclaw\u002Fagent_hub\u002Ftemplates\u002Fchemistry\u002Fskills\u002Fmolecular-format-conversion",10,"https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw","https:\u002F\u002Fgithub.com\u002FInternScience","Shanghai Artificial Intelligence Laboratory","2026-03-20 17:06:10",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add InternScience\u002FDrClaw --skill molecular-format-conversion",{"tool":48,"command":49},"bunx","bunx skills add InternScience\u002FDrClaw --skill molecular-format-conversion",{"tool":51,"command":52},"pnpm","pnpm dlx skills add InternScience\u002FDrClaw --skill molecular-format-conversion","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw\u002Fblob\u002Fmain\u002Fdrclaw\u002Fagent_hub\u002Ftemplates\u002Fchemistry\u002Fskills\u002Fmolecular-format-conversion\u002FSKILL.md",true,[],[57,84,107,119,131,145],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":26},"01M6DMQESTSBW8VJW03QWHMT85","scientific-critical-thinking","Evaluate scientific claims and evidence quality. Use for assessing experimental design validity, identifying biases and confounders, applying evidence grading frameworks (GRADE, Cochrane Risk of Bias), or teaching critical analysis. Best for understanding evidence quality, identifying flaws. For formal peer review writing use peer-review.","https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw\u002Fblob\u002Fmain\u002Fdrclaw\u002Flocal_skill_hub\u002Fthinking\u002Fscientific-critical-thinking\u002FSKILL.md",[],[64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83],"critical","scientific critical thinking","thinking","design","writing","review","risk","analysis","peer review","Bash","quality","read","write","edit","use","evidence","peer","frameworks","teaching","bias",{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":26},"01M6DMQ77Z121463E049G2DG8K","scientific-brainstorming","Creative research ideation and exploration. Use for open-ended brainstorming sessions, exploring interdisciplinary connections, challenging assumptions, or identifying research gaps. Best for early-stage research planning when you do not have specific observations yet. For formulating testable hypotheses from data use hypothesis-generation.","https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw\u002Fblob\u002Fmain\u002Fdrclaw\u002Flocal_skill_hub\u002Fthinking\u002Fscientific-brainstorming\u002FSKILL.md",[],[91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,78],"brainstorming","scientific brainstorming","research ideation","stage","connections","generation","exploration","do","planning","creative","ideation","research","sessions","data","hypothesis","open",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":26},"01M6DMPV4AMCCTWARGPSFHDWJB","scientific-literature-search","Search scientific literature and research papers using FlowSearch to find relevant academic articles and publications.","https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw\u002Fblob\u002Fmain\u002Fdrclaw\u002Flocal_skill_hub\u002Fsearch\u002Fscientific-literature-search\u002FSKILL.md",[],[114,115,102,116,117,118],"search","scientific literature search","find","Academic","搜索",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":26},"01M6DMPQJP8HVFV54V05D6K9HA","pubmed-article-search","Search PubMed database for scientific articles and publications to retrieve biomedical literature.","https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw\u002Fblob\u002Fmain\u002Fdrclaw\u002Flocal_skill_hub\u002Fsearch\u002Fpubmed-article-search\u002FSKILL.md",[],[126,127,114,118,128,129,130],"pubmed article search","article","database","pubmed database","biomedical",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":26},"01M6DMPK4H3JQ185M97BRB9KQJ","biomedical-web-search","Search biomedical literature and web content using Tavily search engine for research and clinical information.","https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw\u002Fblob\u002Fmain\u002Fdrclaw\u002Flocal_skill_hub\u002Fsearch\u002Fbiomedical-web-search\u002FSKILL.md",[],[138,130,139,114,140,141,102,142,143,118,144],"biomedical web search","web search","web","tavily","content","engine","clinical",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":26},"01M6DMNNJH9V1S5PQHZRX0N934","uniprot-protein-retrieval","Retrieve protein sequences and functional information from UniProt database by protein name, enabling protein analysis and bioinformatics workflows.","https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw\u002Fblob\u002Fmain\u002Fdrclaw\u002Flocal_skill_hub\u002Fscience\u002Fprotein\u002Funiprot-protein-retrieval\u002FSKILL.md",[],[152,128,71,153,154,155,156],"uniprot protein retrieval","uniprot database","bioinformatics","name","workflows"]