[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M783TNAP461JKDNYPEP17PWC":3,"skill-same:01M783TNAP461JKDNYPEP17PWC":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":13,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M783TNAP461JKDNYPEP17PWC","esm",null,"Use when working directly with the `esm` Python SDK, ESM3 or ESMC model IDs, Forge\u002FBiohub inference clients, or ESMFold2 folding workflows.","optimisticjp\u002FPrangan-One","optimisticjp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F287997793?v=4","01M7839VP6393NGATJTSP7FD99","01M7839VPST0N0M97782JZGYC6",0,"MIT","https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fesm\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: esm\ndescription: Use when working directly with the `esm` Python SDK, ESM3 or ESMC model IDs, Forge\u002FBiohub inference clients, or ESMFold2 folding workflows.\nlicense: MIT license\nmetadata: {\"version\": \"1.1\", \"skill-author\": \"K-Dense Inc.\"}\n---\n\n# ESM: Evolutionary Scale Modeling\n\n## Overview\n\nESM provides protein language models for understanding, generating, and designing proteins. Use this skill for current EvolutionaryScale\u002FBiohub workflows: ESM3 for generative design, ESMC for representation learning and embeddings, hosted Forge\u002FBiohub inference, and ESMFold2 all-atom structure prediction.\n\n## Core Capabilities\n\n### 1. Protein Sequence Generation with ESM3\n\nGenerate novel protein sequences with desired properties using multimodal generative modeling.\n\n**When to use:**\n- Designing proteins with specific functional properties\n- Completing partial protein sequences\n- Generating variants of existing proteins\n- Creating proteins with desired structural characteristics\n\n**Basic usage:**\n\n```python\nfrom esm.models.esm3 import ESM3\nfrom esm.sdk.api import ESM3InferenceClient, ESMProtein, GenerationConfig\n\n# Load local open weights after accepting the license on Hugging Face.\nmodel: ESM3InferenceClient = ESM3.from_pretrained(\"esm3-open\").to(\"cuda\")\n\n# Create protein prompt\nprotein = ESMProtein(sequence=\"MPRT___KEND\")  # '_' represents masked positions\n\n# Generate completion\nprotein = model.generate(protein, GenerationConfig(track=\"sequence\", num_steps=8))\nprint(protein.sequence)\n```\n\n**For remote\u002Fcloud usage via Forge API:**\n\n```python\nimport os\nimport esm\nfrom esm.sdk.api import ESMProtein, GenerationConfig\n\n# Same interface as local ESM3; token from ESM_API_KEY (see Authentication)\nmodel = esm.sdk.client(\"esm3-medium-2024-08\", token=os.environ[\"ESM_API_KEY\"])\n\n# Generate\nprotein = model.generate(protein, GenerationConfig(track=\"sequence\", num_steps=8))\n```\n\nSee `references\u002Fesm3-api.md` for detailed ESM3 model specifications, advanced generation configurations, and multimodal prompting examples.\n\n### 2. Structure Prediction and Inverse Folding\n\nUse ESM3's structure track for structure prediction from sequence or inverse folding (sequence design from structure).\n\n**Structure prediction:**\n\n```python\nfrom esm.sdk.api import ESM3InferenceClient, ESMProtein, GenerationConfig\n\n# Predict structure from sequence\nprotein = ESMProtein(sequence=\"MPRTKEINDAGLIVHSP...\")\nprotein_with_structure = model.generate(\n    protein,\n    GenerationConfig(track=\"structure\", num_steps=protein.sequence.count(\"_\"))\n)\n\n# Access predicted structure\ncoordinates = protein_with_structure.coordinates  # 3D coordinates\npdb_string = protein_with_structure.to_pdb()\n```\n\n**Inverse folding (sequence from structure):**\n\n```python\n# Design sequence for a target structure\nprotein_with_structure = ESMProtein.from_pdb(\"target_structure.pdb\")\nprotein_with_structure.sequence = None  # Remove sequence\n\n# Generate sequence that folds to this structure\ndesigned_protein = model.generate(\n    protein_with_structure,\n    GenerationConfig(track=\"sequence\", num_steps=50, temperature=0.7)\n)\n```\n\n### 3. Protein Embeddings with ESM C\n\nGenerate high-quality embeddings for downstream tasks like function prediction, classification, or similarity analysis.\n\n**When to use:**\n- Extracting protein representations for machine learning\n- Computing sequence similarities\n- Feature extraction for protein classification\n- Transfer learning for protein-related tasks\n\n**Basic usage:**\n\n```python\nfrom esm.models.esmc import ESMC\nfrom esm.sdk.api import ESMProtein, LogitsConfig\n\n# Load ESM C model\nmodel = ESMC.from_pretrained(\"esmc_300m\").to(\"cuda\")\n\n# Get embeddings\nprotein = ESMProtein(sequence=\"MPRTKEINDAGLIVHSP...\")\nprotein_tensor = model.encode(protein)\nlogits_output = model.logits(\n    protein_tensor,\n    LogitsConfig(sequence=True, return_embeddings=True),\n)\nembeddings = logits_output.embeddings\n```\n\n**Batch processing:**\n\n```python\n# Encode multiple proteins\nproteins = [\n    ESMProtein(sequence=\"MPRTKEIND...\"),\n    ESMProtein(sequence=\"AGLIVHSPQ...\"),\n    ESMProtein(sequence=\"KTEFLNDGR...\")\n]\n\nembeddings_list = [\n    model.logits(\n        model.encode(p),\n        LogitsConfig(sequence=True, return_embeddings=True),\n    ).embeddings\n    for p in proteins\n]\n```\n\nSee `references\u002Fesm-c-api.md` for ESM C model details, efficiency comparisons, and advanced embedding strategies.\n\n### 4. Function Conditioning and Annotation\n\nUse ESM3's function track to generate proteins with specific functional annotations or predict function from sequence.\n\n**Function-conditioned generation:**\n\n```python\nfrom esm.sdk.api import ESMProtein, FunctionAnnotation, GenerationConfig\n\n# Create protein with desired function\nprotein = ESMProtein(\n    sequence=\"_\" * 200,  # Generate 200 residue protein\n    function_annotations=[\n        FunctionAnnotation(label=\"fluorescent_protein\", start=50, end=150)\n    ]\n)\n\n# Generate sequence with specified function\nfunctional_protein = model.generate(\n    protein,\n    GenerationConfig(track=\"sequence\", num_steps=200)\n)\n```\n\n### 5. Chain-of-Thought Generation\n\nIteratively refine protein designs using ESM3's chain-of-thought generation approach.\n\n```python\nfrom esm.sdk.api import GenerationConfig\n\n# Multi-step refinement\nprotein = ESMProtein(sequence=\"MPRT\" + \"_\" * 100 + \"KEND\")\n\n# Step 1: Generate initial structure\nconfig = GenerationConfig(track=\"structure\", num_steps=50)\nprotein = model.generate(protein, config)\n\n# Step 2: Refine sequence based on structure\nconfig = GenerationConfig(track=\"sequence\", num_steps=50, temperature=0.5)\nprotein = model.generate(protein, config)\n\n# Step 3: Predict function\nconfig = GenerationConfig(track=\"function\", num_steps=20)\nprotein = model.generate(protein, config)\n```\n\n### 6. Batch Processing with Forge API\n\nProcess multiple proteins efficiently using Forge's async methods.\n\n```python\nimport os\nimport asyncio\nimport esm\nfrom esm.sdk.api import ESMProtein, GenerationConfig\n\nclient = esm.sdk.client(\"esm3-medium-2024-08\", token=os.environ[\"ESM_API_KEY\"])\n\n# Async batch processing\nasync def batch_generate(proteins_list):\n    tasks = [\n        client.async_generate(protein, GenerationConfig(track=\"sequence\"))\n        for protein in proteins_list\n    ]\n    return await asyncio.gather(*tasks)\n\n# Execute\nproteins = [ESMProtein(sequence=f\"MPRT{'_' * 50}KEND\") for _ in range(10)]\nresults = asyncio.run(batch_generate(proteins))\n```\n\nSee `references\u002Fforge-api.md` for detailed Forge API documentation, authentication, rate limits, and batch processing patterns.\n\n## Model Selection Guide\n\n**ESM3 Models (Generative):**\n- `esm3-open` (1.4B) - Open weights, local usage after accepting the Hugging Face license\n- `esm3-medium-2024-08` (7B) - Best balance of quality and speed (Forge only)\n- `esm3-large-2024-03` (98B) - Highest quality, slower (Forge only)\n\n**ESM C Models (Embeddings):**\n- `esmc_300m` \u002F `esmc-300m-2024-12` (30 layers) - Lightweight, fast inference (open weights, local)\n- `esmc_600m` \u002F `esmc-600m-2024-12` (36 layers) - Balanced performance (open weights, local)\n- `esmc-6b-2024-12` (80 layers) - Maximum quality (Forge API; local 6B weights require Forge or SageMaker)\n\nLocal `ESMC.from_pretrained()` examples use underscore aliases (`esmc_300m`, `esmc_600m`). Hosted API clients use dated model IDs such as `esmc-600m-2024-12`.\n\n**Selection criteria:**\n- **Local development\u002Ftesting:** Use `esm3-open` or `esmc_300m`\n- **Production quality:** Use `esm3-medium-2024-08` via Forge\n- **Maximum accuracy:** Use `esm3-large-2024-03` or `esmc-6b-2024-12` via Forge\n- **High throughput:** Use Forge or Biohub APIs with explicit async concurrency limits\n- **Cost optimization:** Use smaller models, implement caching strategies\n\n## Installation\n\nInstall from PyPI ([`esm` on PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Fesm\u002F) by EvolutionaryScale). Current PyPI release: **3.2.3** (Oct 14, 2025). Requires **Python >=3.12,\u003C3.13**.\n\n**Basic installation:**\n\n```bash\nuv pip install \"esm==3.2.3\"\n```\n\n**With Flash Attention (recommended for faster inference on NVIDIA GPUs):**\n\n```bash\nuv pip install \"esm==3.2.3\"\nuv pip install flash-attn --no-build-isolation\n```\n\nThe Forge client ships with the `esm` package - no extra install for ESM3 or ESMC Forge inference.\n\n## Authentication\n\nForge API access requires an API key. Never hardcode tokens in scripts or commit them to version control.\n\n1. Check whether `ESM_API_KEY` is already set in the environment.\n2. If not, check a local `.env` for `ESM_API_KEY` only (do not load unrelated secrets).\n3. If still missing, create a key in the [Biohub developer console](https:\u002F\u002Fbiohub.ai\u002Fdeveloper-console\u002Fapi-keys) for Biohub APIs or [Forge](https:\u002F\u002Fforge.evolutionaryscale.ai) for legacy Forge-hosted ESM3\u002FESMC access.\n\n```python\nimport os\n\ntoken = os.environ[\"ESM_API_KEY\"]  # raises KeyError if unset\n```\n\n`esm.sdk.client()` reads `ESM_API_KEY` automatically when `token` is omitted. Keep endpoint URLs fixed to trusted hosts such as `https:\u002F\u002Fforge.evolutionaryscale.ai` or `https:\u002F\u002Fbiohub.ai`; do not take API hosts from untrusted user input.\n\n**Biohub platform:** EvolutionaryScale and Forge now surface current hosted models through [biohub.ai](https:\u002F\u002Fbiohub.ai). SDK class names may still reference \"Forge\". See `references\u002Fbiohub-platform.md` for ESMFold2 and Biohub-specific setup.\n\n## Common Workflows\n\nFor detailed examples and complete workflows, see `references\u002Fworkflows.md` which includes:\n- Novel GFP design with chain-of-thought\n- Protein variant generation and screening\n- Structure-based sequence optimization\n- Function prediction pipelines\n- Embedding-based clustering and analysis\n\n## References\n\nThis skill includes comprehensive reference documentation:\n\n- `references\u002Fesm3-api.md` - ESM3 model architecture, API reference, generation parameters, and multimodal prompting\n- `references\u002Fesm-c-api.md` - ESM C model details, embedding strategies, and performance optimization\n- `references\u002Fforge-api.md` - Forge platform documentation, authentication, batch processing, and deployment\n- `references\u002Fbiohub-platform.md` - Biohub API migration, ESMFold2 structure prediction, and developer-console auth\n- `references\u002Fworkflows.md` - Complete examples and common workflow patterns\n\nThese references contain detailed API specifications, parameter descriptions, and advanced usage patterns. Load them as needed for specific tasks.\n\n## Best Practices\n\n**For generation tasks:**\n- Start with smaller models for prototyping (`esm3-open`)\n- Use temperature parameter to control diversity (0.0 = deterministic, 1.0 = diverse)\n- Implement iterative refinement with chain-of-thought for complex designs\n- Validate generated sequences with structure prediction or wet-lab experiments\n\n**For embedding tasks:**\n- Batch process sequences when possible for efficiency\n- Cache embeddings for repeated analyses\n- Normalize embeddings when computing similarities\n- Use appropriate model size based on downstream task requirements\n\n**For production deployment:**\n- Use Forge API for scalability and latest models\n- Implement error handling and retry logic for API calls\n- Monitor token usage and implement rate limiting\n- Consider AWS SageMaker deployment for dedicated infrastructure\n\n## Resources and Documentation\n\n- **GitHub Repository:** https:\u002F\u002Fgithub.com\u002FBiohub\u002Fesm (current ESMC\u002FESMFold2\u002FBiohub docs; ESM3 docs remain linked from the repository)\n- **Forge Platform:** https:\u002F\u002Fforge.evolutionaryscale.ai\n- **Biohub Platform:** https:\u002F\u002Fbiohub.ai\n- **Scientific Paper:** Hayes et al., Science (2025) - https:\u002F\u002Fwww.science.org\u002Fdoi\u002F10.1126\u002Fscience.ads0018\n- **Blog Posts:**\n  - ESM3 Release: https:\u002F\u002Fwww.evolutionaryscale.ai\u002Fblog\u002Fesm3-release\n  - ESM C Launch: https:\u002F\u002Fwww.evolutionaryscale.ai\u002Fblog\u002Fesm-cambrian\n- **Community:** Slack community at https:\u002F\u002Fbit.ly\u002F3FKwcWd\n- **Model Weights:** Hugging Face EvolutionaryScale and Biohub organizations\n\n## Responsible Use\n\nESM is designed for beneficial applications in protein engineering, drug discovery, and scientific research. Follow the Responsible Biodesign Framework (https:\u002F\u002Fresponsiblebiodesign.ai\u002F) and Biohub Acceptable Use Policy (https:\u002F\u002Fbiohub.org\u002Facceptable-use-policy\u002F) when designing novel proteins. Consider biosafety and ethical implications of protein designs before experimental validation.\n\n","# ESM: Evolutionary Scale Modeling\n\n## Overview\n\nESM provides protein language models for understanding, generating, and designing proteins. Use this skill for current EvolutionaryScale\u002FBiohub workflows: ESM3 for generative design, ESMC for representation learning and embeddings, hosted Forge\u002FBiohub inference, and ESMFold2 all-atom structure prediction.\n\n## Core Capabilities\n\n### 1. Protein Sequence Generation with ESM3\n\nGenerate novel protein sequences with desired properties using multimodal generative modeling.\n\n**When to use:**\n- Designing proteins with specific functional properties\n- Completing partial protein sequences\n- Generating variants of existing proteins\n- Creating proteins with desired structural characteristics\n\n**Basic usage:**\n\n```python\nfrom esm.models.esm3 import ESM3\nfrom esm.sdk.api import ESM3InferenceClient, ESMProtein, GenerationConfig\n\n# Load local open weights after accepting the license on Hugging Face.\nmodel: ESM3InferenceClient = ESM3.from_pretrained(\"esm3-open\").to(\"cuda\")\n\n# Create protein prompt\nprotein = ESMProtein(sequence=\"MPRT___KEND\")  # '_' represents masked positions\n\n# Generate completion\nprotein = model.generate(protein, GenerationConfig(track=\"sequence\", num_steps=8))\nprint(protein.sequence)\n```\n\n**For remote\u002Fcloud usage via Forge API:**\n\n```python\nimport os\nimport esm\nfrom esm.sdk.api import ESMProtein, GenerationConfig\n\n# Same interface as local ESM3; token from ESM_API_KEY (see Authentication)\nmodel = esm.sdk.client(\"esm3-medium-2024-08\", token=os.environ[\"ESM_API_KEY\"])\n\n# Generate\nprotein = model.generate(protein, GenerationConfig(track=\"sequence\", num_steps=8))\n```\n\nSee `references\u002Fesm3-api.md` for detailed ESM3 model specifications, advanced generation configurations, and multimodal prompting examples.\n\n### 2. Structure Prediction and Inverse Folding\n\nUse ESM3's structure track for structure prediction from sequence or inverse folding (sequence design from structure).\n\n**Structure prediction:**\n\n```python\nfrom esm.sdk.api import ESM3InferenceClient, ESMProtein, GenerationConfig\n\n# Predict structure from sequence\nprotein = ESMProtein(sequence=\"MPRTKEINDAGLIVHSP...\")\nprotein_with_structure = model.generate(\n    protein,\n    GenerationConfig(track=\"structure\", num_steps=protein.sequence.count(\"_\"))\n)\n\n# Access predicted structure\ncoordinates = protein_with_structure.coordinates  # 3D coordinates\npdb_string = protein_with_structure.to_pdb()\n```\n\n**Inverse folding (sequence from structure):**\n\n```python\n# Design sequence for a target structure\nprotein_with_structure = ESMProtein.from_pdb(\"target_structure.pdb\")\nprotein_with_structure.sequence = None  # Remove sequence\n\n# Generate sequence that folds to this structure\ndesigned_protein = model.generate(\n    protein_with_structure,\n    GenerationConfig(track=\"sequence\", num_steps=50, temperature=0.7)\n)\n```\n\n### 3. Protein Embeddings with ESM C\n\nGenerate high-quality embeddings for downstream tasks like function prediction, classification, or similarity analysis.\n\n**When to use:**\n- Extracting protein representations for machine learning\n- Computing sequence similarities\n- Feature extraction for protein classification\n- Transfer learning for protein-related tasks\n\n**Basic usage:**\n\n```python\nfrom esm.models.esmc import ESMC\nfrom esm.sdk.api import ESMProtein, LogitsConfig\n\n# Load ESM C model\nmodel = ESMC.from_pretrained(\"esmc_300m\").to(\"cuda\")\n\n# Get embeddings\nprotein = ESMProtein(sequence=\"MPRTKEINDAGLIVHSP...\")\nprotein_tensor = model.encode(protein)\nlogits_output = model.logits(\n    protein_tensor,\n    LogitsConfig(sequence=True, return_embeddings=True),\n)\nembeddings = logits_output.embeddings\n```\n\n**Batch processing:**\n\n```python\n# Encode multiple proteins\nproteins = [\n    ESMProtein(sequence=\"MPRTKEIND...\"),\n    ESMProtein(sequence=\"AGLIVHSPQ...\"),\n    ESMProtein(sequence=\"KTEFLNDGR...\")\n]\n\nembeddings_list = [\n    model.logits(\n        model.encode(p),\n        LogitsConfig(sequence=True, return_embeddings=True),\n    ).embeddings\n    for p in proteins\n]\n```\n\nSee `references\u002Fesm-c-api.md` for ESM C model details, efficiency comparisons, and advanced embedding strategies.\n\n### 4. Function Conditioning and Annotation\n\nUse ESM3's function track to generate proteins with specific functional annotations or predict function from sequence.\n\n**Function-conditioned generation:**\n\n```python\nfrom esm.sdk.api import ESMProtein, FunctionAnnotation, GenerationConfig\n\n# Create protein with desired function\nprotein = ESMProtein(\n    sequence=\"_\" * 200,  # Generate 200 residue protein\n    function_annotations=[\n        FunctionAnnotation(label=\"fluorescent_protein\", start=50, end=150)\n    ]\n)\n\n# Generate sequence with specified function\nfunctional_protein = model.generate(\n    protein,\n    GenerationConfig(track=\"sequence\", num_steps=200)\n)\n```\n\n### 5. Chain-of-Thought Generation\n\nIteratively refine protein designs using ESM3's chain-of-thought generation approach.\n\n```python\nfrom esm.sdk.api import GenerationConfig\n\n# Multi-step refinement\nprotein = ESMProtein(sequence=\"MPRT\" + \"_\" * 100 + \"KEND\")\n\n# Step 1: Generate initial structure\nconfig = GenerationConfig(track=\"structure\", num_steps=50)\nprotein = model.generate(protein, config)\n\n# Step 2: Refine sequence based on structure\nconfig = GenerationConfig(track=\"sequence\", num_steps=50, temperature=0.5)\nprotein = model.generate(protein, config)\n\n# Step 3: Predict function\nconfig = GenerationConfig(track=\"function\", num_steps=20)\nprotein = model.generate(protein, config)\n```\n\n### 6. Batch Processing with Forge API\n\nProcess multiple proteins efficiently using Forge's async methods.\n\n```python\nimport os\nimport asyncio\nimport esm\nfrom esm.sdk.api import ESMProtein, GenerationConfig\n\nclient = esm.sdk.client(\"esm3-medium-2024-08\", token=os.environ[\"ESM_API_KEY\"])\n\n# Async batch processing\nasync def batch_generate(proteins_list):\n    tasks = [\n        client.async_generate(protein, GenerationConfig(track=\"sequence\"))\n        for protein in proteins_list\n    ]\n    return await asyncio.gather(*tasks)\n\n# Execute\nproteins = [ESMProtein(sequence=f\"MPRT{'_' * 50}KEND\") for _ in range(10)]\nresults = asyncio.run(batch_generate(proteins))\n```\n\nSee `references\u002Fforge-api.md` for detailed Forge API documentation, authentication, rate limits, and batch processing patterns.\n\n## Model Selection Guide\n\n**ESM3 Models (Generative):**\n- `esm3-open` (1.4B) - Open weights, local usage after accepting the Hugging Face license\n- `esm3-medium-2024-08` (7B) - Best balance of quality and speed (Forge only)\n- `esm3-large-2024-03` (98B) - Highest quality, slower (Forge only)\n\n**ESM C Models (Embeddings):**\n- `esmc_300m` \u002F `esmc-300m-2024-12` (30 layers) - Lightweight, fast inference (open weights, local)\n- `esmc_600m` \u002F `esmc-600m-2024-12` (36 layers) - Balanced performance (open weights, local)\n- `esmc-6b-2024-12` (80 layers) - Maximum quality (Forge API; local 6B weights require Forge or SageMaker)\n\nLocal `ESMC.from_pretrained()` examples use underscore aliases (`esmc_300m`, `esmc_600m`). Hosted API clients use dated model IDs such as `esmc-600m-2024-12`.\n\n**Selection criteria:**\n- **Local development\u002Ftesting:** Use `esm3-open` or `esmc_300m`\n- **Production quality:** Use `esm3-medium-2024-08` via Forge\n- **Maximum accuracy:** Use `esm3-large-2024-03` or `esmc-6b-2024-12` via Forge\n- **High throughput:** Use Forge or Biohub APIs with explicit async concurrency limits\n- **Cost optimization:** Use smaller models, implement caching strategies\n\n## Installation\n\nInstall from PyPI ([`esm` on PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Fesm\u002F) by EvolutionaryScale). Current PyPI release: **3.2.3** (Oct 14, 2025). Requires **Python >=3.12,\u003C3.13**.\n\n**Basic installation:**\n\n```bash\nuv pip install \"esm==3.2.3\"\n```\n\n**With Flash Attention (recommended for faster inference on NVIDIA GPUs):**\n\n```bash\nuv pip install \"esm==3.2.3\"\nuv pip install flash-attn --no-build-isolation\n```\n\nThe Forge client ships with the `esm` package - no extra install for ESM3 or ESMC Forge inference.\n\n## Authentication\n\nForge API access requires an API key. Never hardcode tokens in scripts or commit them to version control.\n\n1. Check whether `ESM_API_KEY` is already set in the environment.\n2. If not, check a local `.env` for `ESM_API_KEY` only (do not load unrelated secrets).\n3. If still missing, create a key in the [Biohub developer console](https:\u002F\u002Fbiohub.ai\u002Fdeveloper-console\u002Fapi-keys) for Biohub APIs or [Forge](https:\u002F\u002Fforge.evolutionaryscale.ai) for legacy Forge-hosted ESM3\u002FESMC access.\n\n```python\nimport os\n\ntoken = os.environ[\"ESM_API_KEY\"]  # raises KeyError if unset\n```\n\n`esm.sdk.client()` reads `ESM_API_KEY` automatically when `token` is omitted. Keep endpoint URLs fixed to trusted hosts such as `https:\u002F\u002Fforge.evolutionaryscale.ai` or `https:\u002F\u002Fbiohub.ai`; do not take API hosts from untrusted user input.\n\n**Biohub platform:** EvolutionaryScale and Forge now surface current hosted models through [biohub.ai](https:\u002F\u002Fbiohub.ai). SDK class names may still reference \"Forge\". See `references\u002Fbiohub-platform.md` for ESMFold2 and Biohub-specific setup.\n\n## Common Workflows\n\nFor detailed examples and complete workflows, see `references\u002Fworkflows.md` which includes:\n- Novel GFP design with chain-of-thought\n- Protein variant generation and screening\n- Structure-based sequence optimization\n- Function prediction pipelines\n- Embedding-based clustering and analysis\n\n## References\n\nThis skill includes comprehensive reference documentation:\n\n- `references\u002Fesm3-api.md` - ESM3 model architecture, API reference, generation parameters, and multimodal prompting\n- `references\u002Fesm-c-api.md` - ESM C model details, embedding strategies, and performance optimization\n- `references\u002Fforge-api.md` - Forge platform documentation, authentication, batch processing, and deployment\n- `references\u002Fbiohub-platform.md` - Biohub API migration, ESMFold2 structure prediction, and developer-console auth\n- `references\u002Fworkflows.md` - Complete examples and common workflow patterns\n\nThese references contain detailed API specifications, parameter descriptions, and advanced usage patterns. Load them as needed for specific tasks.\n\n## Best Practices\n\n**For generation tasks:**\n- Start with smaller models for prototyping (`esm3-open`)\n- Use temperature parameter to control diversity (0.0 = deterministic, 1.0 = diverse)\n- Implement iterative refinement with chain-of-thought for complex designs\n- Validate generated sequences with structure prediction or wet-lab experiments\n\n**For embedding tasks:**\n- Batch process sequences when possible for efficiency\n- Cache embeddings for repeated analyses\n- Normalize embeddings when computing similarities\n- Use appropriate model size based on downstream task requirements\n\n**For production deployment:**\n- Use Forge API for scalability and latest models\n- Implement error handling and retry logic for API calls\n- Monitor token usage and implement rate limiting\n- Consider AWS SageMaker deployment for dedicated infrastructure\n\n## Resources and Documentation\n\n- **GitHub Repository:** https:\u002F\u002Fgithub.com\u002FBiohub\u002Fesm (current ESMC\u002FESMFold2\u002FBiohub docs; ESM3 docs remain linked from the repository)\n- **Forge Platform:** https:\u002F\u002Fforge.evolutionaryscale.ai\n- **Biohub Platform:** https:\u002F\u002Fbiohub.ai\n- **Scientific Paper:** Hayes et al., Science (2025) - https:\u002F\u002Fwww.science.org\u002Fdoi\u002F10.1126\u002Fscience.ads0018\n- **Blog Posts:**\n  - ESM3 Release: https:\u002F\u002Fwww.evolutionaryscale.ai\u002Fblog\u002Fesm3-release\n  - ESM C Launch: https:\u002F\u002Fwww.evolutionaryscale.ai\u002Fblog\u002Fesm-cambrian\n- **Community:** Slack community at https:\u002F\u002Fbit.ly\u002F3FKwcWd\n- **Model Weights:** Hugging Face EvolutionaryScale and Biohub organizations\n\n## Responsible Use\n\nESM is designed for beneficial applications in protein engineering, drug discovery, and scientific research. Follow the Responsible Biodesign Framework (https:\u002F\u002Fresponsiblebiodesign.ai\u002F) and Biohub Acceptable Use Policy (https:\u002F\u002Fbiohub.org\u002Facceptable-use-policy\u002F) when designing novel proteins. Consider biosafety and ethical implications of protein designs before experimental validation.\n\n",{"name":5,"license":23,"metadata":24,"description":7},"MIT license",{"version":25,"skill-author":26},"1.1","K-Dense Inc.","main","a5e70e5129a5fe99bc71b4c89f24890efda8cb61",".claude\u002Fskills\u002Fesm","https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One","https:\u002F\u002Fgithub.com\u002Foptimisticjp","2026-10-09 19:00:46",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add optimisticjp\u002FPrangan-One --skill esm",{"tool":39,"command":40},"bunx","bunx skills add optimisticjp\u002FPrangan-One --skill esm",{"tool":42,"command":43},"pnpm","pnpm dlx skills add optimisticjp\u002FPrangan-One --skill esm","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fesm\u002FSKILL.md",true,[47,53,57,61,65],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fbiohub-platform.md","REFERENCE","参考文档",4579,"https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fesm\u002Freferences\u002Fbiohub-platform.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fesm-c-api.md",16860,"https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fesm\u002Freferences\u002Fesm-c-api.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fesm3-api.md",12101,"https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fesm\u002Freferences\u002Fesm3-api.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fforge-api.md",18888,"https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fesm\u002Freferences\u002Fforge-api.md",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fworkflows.md",20643,"https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fesm\u002Freferences\u002Fworkflows.md",[70,77,84,91,98,106],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M785JBXDEJ8PYZWRRP0SBXK6","zarr-python","Chunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I\u002FO, S3\u002FGCS via fsspec, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M785GBBW2Y6SGT2Z7VC6YCWA","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvenue-templates\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M785G4F7S186ZAK1R8Z30T65","vaex","Use this skill for processing and analyzing large tabular datasets (billions of rows) that exceed available RAM. Vaex excels at out-of-core DataFrame operations, lazy evaluation, fast aggregations, efficient visualization of big data, and machine learning on large datasets. Apply when users need to work with large CSV\u002FHDF5\u002FArrow\u002FParquet files, perform fast statistics on massive datasets, create visualizations of big data, or build ML pipelines that do not fit in memory.","https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvaex\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M785G13P2T9CP37JMKB6V8PE","usfiscaldata","Query the U.S. Treasury Fiscal Data REST API for federal financial data. No API key required. Use for national debt (Debt to the Penny), Daily Treasury Statements, Monthly Treasury Statements, Treasury securities auctions, interest rates, foreign exchange rates, savings bonds, or U.S. government revenue and spending statistics.","https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fusfiscaldata\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M785F4RSRGPR0APFJ6N9G3A6","ckm:ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":18},"01M785ENP34D6KNV5V0H5AZ950","treatment-plans","Generate concise (3-4 page), focused medical treatment plans in LaTeX\u002FPDF format for all clinical specialties. Supports general medical treatment, rehabilitation therapy, mental health care, chronic disease management, perioperative care, and pain management. Includes SMART goal frameworks, evidence-based interventions with minimal text citations, regulatory compliance (HIPAA), and professional formatting. Prioritizes brevity and clinical actionability.","https:\u002F\u002Fgithub.com\u002Foptimisticjp\u002FPrangan-One\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftreatment-plans\u002FSKILL.md",[],[]]