[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DKTCNWJM1CV1YESD8PK7E7":3,"skill-same:01M6DKTCNWJM1CV1YESD8PK7E7":59},{"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":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6DKTCNWJM1CV1YESD8PK7E7","boltz2-binding-affinity",null,"Predict protein-ligand binding affinity using Boltz-2 model to assess molecular interactions and binding probability for drug discovery.","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\u002Flocal_skill_hub\u002Fscience\u002Fdrug\u002Fboltz2-binding-affinity\u002FSKILL.md",[],[19,20,21,22,23,24,25],"boltz2 binding affinity","binding","discovery","model","probability","molecular","drug discovery","2026-11-10 10:12:30",false,"---\nname: boltz2-binding-affinity\ndescription: Predict protein-ligand binding affinity using Boltz-2 model to assess\n  molecular interactions and binding probability for drug discovery.\nlicense: MIT license\nmetadata:\n  skill-author: PJLab\ni18n:\n  zh:\n    description: 预测蛋白配体结合亲和力。\n---\n\n# Boltz-2 Protein-Ligand Binding Affinity Prediction\n\n## Usage\n\n### 1. MCP Server Definition\n\n```python\nimport asyncio\nimport json\nfrom mcp.client.streamable_http import streamablehttp_client\nfrom mcp import ClientSession\n\nclass DrugSDAClient:\n    \"\"\"DrugSDA-Model MCP Client\"\"\"\n\n    def __init__(self, server_url: str, api_key: str):\n        self.server_url = server_url\n        self.api_key = api_key\n        self.session = None\n\n    async def connect(self):\n        \"\"\"Establish connection and initialize session\"\"\"\n        print(f\"server url: {self.server_url}\")\n        try:\n            self.transport = streamablehttp_client(\n                url=self.server_url,\n                headers={\"SCP-HUB-API-KEY\": self.api_key}\n            )\n            self.read, self.write, self.get_session_id = await self.transport.__aenter__()\n\n            self.session_ctx = ClientSession(self.read, self.write)\n            self.session = await self.session_ctx.__aenter__()\n\n            await self.session.initialize()\n            session_id = self.get_session_id()\n\n            print(f\"✓ connect success\")\n            return True\n\n        except Exception as e:\n            print(f\"✗ connect failure: {e}\")\n            import traceback\n            traceback.print_exc()\n            return False\n\n    async def disconnect(self):\n        \"\"\"Disconnect from server\"\"\"\n        try:\n            if self.session:\n                await self.session_ctx.__aexit__(None, None, None)\n            if hasattr(self, 'transport'):\n                await self.transport.__aexit__(None, None, None)\n            print(\"✓ already disconnect\")\n        except Exception as e:\n            print(f\"✗ disconnect error: {e}\")\n\n    def parse_result(self, result):\n        \"\"\"Parse MCP tool call result\"\"\"\n        try:\n            if hasattr(result, 'content') and result.content:\n                content = result.content[0]\n                if hasattr(content, 'text'):\n                    return json.loads(content.text)\n            return str(result)\n        except Exception as e:\n            return {\"error\": f\"parse error: {e}\", \"raw\": str(result)}\n```\n\n### 2. Boltz-2 Binding Affinity Workflow\n\nThis workflow predicts protein-ligand binding affinity using the Boltz-2 deep learning model, providing affinity probabilities and 3D complex structures.\n\n**Workflow Steps:**\n\n1. **Prepare Input** - Define protein sequence and SMILES list for ligands\n2. **Run Boltz-2 Prediction** - Calculate binding affinity probability for each ligand\n3. **Analyze Results** - Extract affinity scores and structure files\n\n**Implementation:**\n\n```python\n## Initialize client\nclient = DrugSDAClient(\n    \"https:\u002F\u002Fscp.intern-ai.org.cn\u002Fapi\u002Fv1\u002Fmcp\u002F3\u002FDrugSDA-Model\",\n    \"\u003Cyour-api-key>\"\n)\n\nif not await client.connect():\n    print(\"connection failed\")\n    exit()\n\n## Input: Protein sequence and ligand SMILES\nsequence = 'PIVQNLQGQMVHQCISPRTLNAWVKVVEEKAFSPEVIPMFSALSCGATPQDLNTMLNTVGGHQAAMQMLKETINEEAAEWDRLHPVHAGPIAPGQMREPRGSDIAGTTSTLQEQIGWMTHNPPIPVGEIYKRWIILGLNKIVRMYSPTSILDIRQGPKEPFRDYVDRFYKTLRAEQASQEVKNAATETLLVQNANPDCKTILKALGPGATLEEMMTACQG'\nprotein = [{'chain': 'A', 'sequence': sequence}]\nsmiles_list = ['N[C@@H](Cc1ccc(O)cc1)C(=O)O', \"CC(C)C1=CC=CC=C1\"]\n\n## Execute Boltz-2 binding affinity prediction\nresult = await client.session.call_tool(\n    \"boltz_binding_affinity\",\n    arguments={\n        \"protein\": protein,\n        \"smiles_list\": smiles_list\n    }\n)\n\nresult_data = client.parse_result(result)\nboltz_res = result_data[\"boltz_res\"]\n\n## Display results\nfor i, item in enumerate(boltz_res, 1):\n    print(f\"{i}. SMILES: {item['smiles']}\")\n    print(f\"   Affinity Probability: {item['affinity_probability']:.4f}\")\n    print(f\"   Structure File: {item['cif_file']}\\n\")\n\nawait client.disconnect()\n```\n\n### Tool Descriptions\n\n**DrugSDA-Model Server:**\n- `boltz_binding_affinity`: Predict protein-ligand binding affinity using Boltz-2\n  - Args:\n    - `protein` (list): List of protein chains with sequence information\n      - Each chain: `{'chain': str, 'sequence': str}`\n    - `smiles_list` (list): List of ligand SMILES strings\n  - Returns:\n    - `boltz_res` (list): List of binding predictions\n      - `smiles` (str): Ligand SMILES string\n      - `affinity_probability` (float): Binding affinity probability (0-1)\n      - `cif_file` (str): Path to predicted complex structure\n\n### Input\u002FOutput\n\n**Input:**\n- `protein`: List of protein chains\n  - `chain`: Chain identifier (e.g., 'A', 'B')\n  - `sequence`: Amino acid sequence in single-letter code\n- `smiles_list`: List of SMILES strings for ligand molecules\n\n**Output:**\n- List of binding predictions, each containing:\n  - `smiles`: Ligand SMILES string\n  - `affinity_probability`: Binding probability (0-1, higher is better)\n  - `cif_file`: Path to predicted protein-ligand complex structure in CIF format\n\n### Affinity Interpretation\n\n- **Probability > 0.5**: Strong binding likelihood\n- **Probability 0.3-0.5**: Moderate binding potential\n- **Probability \u003C 0.3**: Weak or no binding expected\n\n### Use Cases\n\n- Virtual screening of compound libraries\n- Lead optimization in drug discovery\n- Protein-ligand binding mode prediction\n- Structure-based drug design\n- Comparative binding analysis across ligands\n\n### Performance Notes\n\n- **Execution time**: 30-120 seconds per ligand depending on protein size\n- **Protein length**: Best for proteins \u003C1000 amino acids\n- **Multiple ligands**: Processes sequentially, allow sufficient time\n- **Structure output**: CIF files can be visualized in PyMOL, ChimeraX, or similar tools\n","# Boltz-2 Protein-Ligand Binding Affinity Prediction\n\n## Usage\n\n### 1. MCP Server Definition\n\n```python\nimport asyncio\nimport json\nfrom mcp.client.streamable_http import streamablehttp_client\nfrom mcp import ClientSession\n\nclass DrugSDAClient:\n    \"\"\"DrugSDA-Model MCP Client\"\"\"\n\n    def __init__(self, server_url: str, api_key: str):\n        self.server_url = server_url\n        self.api_key = api_key\n        self.session = None\n\n    async def connect(self):\n        \"\"\"Establish connection and initialize session\"\"\"\n        print(f\"server url: {self.server_url}\")\n        try:\n            self.transport = streamablehttp_client(\n                url=self.server_url,\n                headers={\"SCP-HUB-API-KEY\": self.api_key}\n            )\n            self.read, self.write, self.get_session_id = await self.transport.__aenter__()\n\n            self.session_ctx = ClientSession(self.read, self.write)\n            self.session = await self.session_ctx.__aenter__()\n\n            await self.session.initialize()\n            session_id = self.get_session_id()\n\n            print(f\"✓ connect success\")\n            return True\n\n        except Exception as e:\n            print(f\"✗ connect failure: {e}\")\n            import traceback\n            traceback.print_exc()\n            return False\n\n    async def disconnect(self):\n        \"\"\"Disconnect from server\"\"\"\n        try:\n            if self.session:\n                await self.session_ctx.__aexit__(None, None, None)\n            if hasattr(self, 'transport'):\n                await self.transport.__aexit__(None, None, None)\n            print(\"✓ already disconnect\")\n        except Exception as e:\n            print(f\"✗ disconnect error: {e}\")\n\n    def parse_result(self, result):\n        \"\"\"Parse MCP tool call result\"\"\"\n        try:\n            if hasattr(result, 'content') and result.content:\n                content = result.content[0]\n                if hasattr(content, 'text'):\n                    return json.loads(content.text)\n            return str(result)\n        except Exception as e:\n            return {\"error\": f\"parse error: {e}\", \"raw\": str(result)}\n```\n\n### 2. Boltz-2 Binding Affinity Workflow\n\nThis workflow predicts protein-ligand binding affinity using the Boltz-2 deep learning model, providing affinity probabilities and 3D complex structures.\n\n**Workflow Steps:**\n\n1. **Prepare Input** - Define protein sequence and SMILES list for ligands\n2. **Run Boltz-2 Prediction** - Calculate binding affinity probability for each ligand\n3. **Analyze Results** - Extract affinity scores and structure files\n\n**Implementation:**\n\n```python\n## Initialize client\nclient = DrugSDAClient(\n    \"https:\u002F\u002Fscp.intern-ai.org.cn\u002Fapi\u002Fv1\u002Fmcp\u002F3\u002FDrugSDA-Model\",\n    \"\u003Cyour-api-key>\"\n)\n\nif not await client.connect():\n    print(\"connection failed\")\n    exit()\n\n## Input: Protein sequence and ligand SMILES\nsequence = 'PIVQNLQGQMVHQCISPRTLNAWVKVVEEKAFSPEVIPMFSALSCGATPQDLNTMLNTVGGHQAAMQMLKETINEEAAEWDRLHPVHAGPIAPGQMREPRGSDIAGTTSTLQEQIGWMTHNPPIPVGEIYKRWIILGLNKIVRMYSPTSILDIRQGPKEPFRDYVDRFYKTLRAEQASQEVKNAATETLLVQNANPDCKTILKALGPGATLEEMMTACQG'\nprotein = [{'chain': 'A', 'sequence': sequence}]\nsmiles_list = ['N[C@@H](Cc1ccc(O)cc1)C(=O)O', \"CC(C)C1=CC=CC=C1\"]\n\n## Execute Boltz-2 binding affinity prediction\nresult = await client.session.call_tool(\n    \"boltz_binding_affinity\",\n    arguments={\n        \"protein\": protein,\n        \"smiles_list\": smiles_list\n    }\n)\n\nresult_data = client.parse_result(result)\nboltz_res = result_data[\"boltz_res\"]\n\n## Display results\nfor i, item in enumerate(boltz_res, 1):\n    print(f\"{i}. SMILES: {item['smiles']}\")\n    print(f\"   Affinity Probability: {item['affinity_probability']:.4f}\")\n    print(f\"   Structure File: {item['cif_file']}\\n\")\n\nawait client.disconnect()\n```\n\n### Tool Descriptions\n\n**DrugSDA-Model Server:**\n- `boltz_binding_affinity`: Predict protein-ligand binding affinity using Boltz-2\n  - Args:\n    - `protein` (list): List of protein chains with sequence information\n      - Each chain: `{'chain': str, 'sequence': str}`\n    - `smiles_list` (list): List of ligand SMILES strings\n  - Returns:\n    - `boltz_res` (list): List of binding predictions\n      - `smiles` (str): Ligand SMILES string\n      - `affinity_probability` (float): Binding affinity probability (0-1)\n      - `cif_file` (str): Path to predicted complex structure\n\n### Input\u002FOutput\n\n**Input:**\n- `protein`: List of protein chains\n  - `chain`: Chain identifier (e.g., 'A', 'B')\n  - `sequence`: Amino acid sequence in single-letter code\n- `smiles_list`: List of SMILES strings for ligand molecules\n\n**Output:**\n- List of binding predictions, each containing:\n  - `smiles`: Ligand SMILES string\n  - `affinity_probability`: Binding probability (0-1, higher is better)\n  - `cif_file`: Path to predicted protein-ligand complex structure in CIF format\n\n### Affinity Interpretation\n\n- **Probability > 0.5**: Strong binding likelihood\n- **Probability 0.3-0.5**: Moderate binding potential\n- **Probability \u003C 0.3**: Weak or no binding expected\n\n### Use Cases\n\n- Virtual screening of compound libraries\n- Lead optimization in drug discovery\n- Protein-ligand binding mode prediction\n- Structure-based drug design\n- Comparative binding analysis across ligands\n\n### Performance Notes\n\n- **Execution time**: 30-120 seconds per ligand depending on protein size\n- **Protein length**: Best for proteins \u003C1000 amino acids\n- **Multiple ligands**: Processes sequentially, allow sufficient time\n- **Structure output**: CIF files can be visualized in PyMOL, ChimeraX, or similar tools\n",{"i18n":31,"name":5,"license":34,"metadata":35,"description":7},{"zh":32},{"description":33},"预测蛋白配体结合亲和力。","MIT license",{"skill-author":36},"PJLab","main","4f96df0d9df0eae24a992afabe08edec5fc575f0","drclaw\u002Flocal_skill_hub\u002Fscience\u002Fdrug\u002Fboltz2-binding-affinity",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":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add InternScience\u002FDrClaw --skill boltz2-binding-affinity",{"tool":51,"command":52},"bunx","bunx skills add InternScience\u002FDrClaw --skill boltz2-binding-affinity",{"tool":54,"command":55},"pnpm","pnpm dlx skills add InternScience\u002FDrClaw --skill boltz2-binding-affinity","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FInternScience\u002FDrClaw\u002Fblob\u002Fmain\u002Fdrclaw\u002Flocal_skill_hub\u002Fscience\u002Fdrug\u002Fboltz2-binding-affinity\u002FSKILL.md",true,[],[60,87,110,122,134,148],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"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",[],[67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86],"critical","scientific critical thinking","thinking","design","writing","review","risk","analysis","peer review","Bash","quality","read","write","edit","use","evidence","peer","frameworks","teaching","bias",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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",[],[94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,81],"brainstorming","scientific brainstorming","research ideation","stage","connections","generation","exploration","do","planning","creative","ideation","research","sessions","data","hypothesis","open",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"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",[],[117,118,105,119,120,121],"search","scientific literature search","find","Academic","搜索",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"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",[],[129,130,117,121,131,132,133],"pubmed article search","article","database","pubmed database","biomedical",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"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",[],[141,133,142,117,143,144,105,145,146,121,147],"biomedical web search","web search","web","tavily","content","engine","clinical",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"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",[],[155,131,74,156,157,158,159],"uniprot protein retrieval","uniprot database","bioinformatics","name","workflows"]