[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AWT4QQHTN06JNY0638X806":3,"skill-same:01M7AWT4QQHTN06JNY0638X806":62},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":14,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M7AWT4QQHTN06JNY0638X806","chai1",null,"Structure prediction for protein, nucleic-acid, and small-molecule complexes with the Chai-1 foundation model (Chai Discovery 2024, github.com\u002Fchaidiscovery\u002Fchai-lab). Reach for this skill to predict an antibody-antigen or protein-ligand complex from a single FASTA, to re-fold designed binders as an AlphaFold-multimer alternative, or to drive co-folding from Python for batched campaigns on a GPU.","flyme2bluemoon\u002Fskills","flyme2bluemoon","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F37197710?v=4","01M7AWSKCXRPGZSNS26MTB5YR4","Matthew Shen","01M7AWSKE11G83QK1885PSGJ3K",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills\u002Fblob\u002Fmain\u002Fskills-examples\u002Fclaude-science-skills\u002Fchai1\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: chai1\ndescription: >\n  Structure prediction for protein, nucleic-acid, and small-molecule complexes\n  with the Chai-1 foundation model (Chai Discovery 2024,\n  github.com\u002Fchaidiscovery\u002Fchai-lab). Reach for this skill to predict an\n  antibody-antigen or protein-ligand complex from a single FASTA, to re-fold\n  designed binders as an AlphaFold-multimer alternative, or to drive\n  co-folding from Python for batched campaigns on a GPU.\nlicense: Apache-2.0\nmetadata:\n  category: biomodels\n  requirements: [gpu]\n  display-name: Chai-1\n  # github.com\u002Fchaidiscovery\u002Fchai-lab\u002Fblob\u002Fmain\u002FLICENSE: Apache-2.0\n  # (relicensed at v0.4.0). verified 2026-06-30\n  third_party:\n    - kind: weights\n      name: Chai-1\n      provider: Chai Discovery\n      license: Apache-2.0\n      terms_url: https:\u002F\u002Fgithub.com\u002Fchaidiscovery\u002Fchai-lab\u002Fblob\u002Fmain\u002FLICENSE\n    # SKILL.md — `--use-msa-server` \u002F `use_msa_server=True` sends the sequence\n    # to the public ColabFold MMseqs2 server. No published ToS — wiki is the\n    # closest data-use reference.\n    - kind: service\n      name: ColabFold MSA server (api.colabfold.com)\n      provider: Steinegger Lab\n      info_url: https:\u002F\u002Fgithub.com\u002Fsokrypton\u002FColabFold\u002Fwiki\n---\n\n# Chai-1\n\nChai-1 is an all-atom diffusion co-folder in the same family as Boltz-2 and\nAlphaFold3: a multi-entity FASTA in, mmCIF plus pTM\u002FipTM\u002FpLDDT out, with\nprotein, RNA, DNA, and SMILES-ligand chains all first-class. It and `boltz`\ncover the same surface; running both and keeping designs that pass either is a\ncommon consensus filter, and Chai's Python entry point makes it the easier of\nthe two to embed in a loop. Code and weights are Apache-2.0 — commercial use\nincluding drug discovery is explicitly permitted\n(github.com\u002Fchaidiscovery\u002Fchai-lab).\n\n## Running it\n\n```python\nfrom pathlib import Path\nfrom chai_lab.chai1 import run_inference\n\nPath(\"complex.fasta\").write_text(\"\"\"\n>protein|name=target\nMVTPEGNVSLVDESLLVGVTDEDRAVRS...\n>protein|name=binder\nAIQRTPKIQVYSRHPAENG...\n>ligand|name=cofactor\nCCCCCCCCCCCCCC(=O)O\n\"\"\".strip())\n\ncandidates = run_inference(\n    fasta_file=Path(\"complex.fasta\"),\n    output_dir=Path(\"out\u002F\"),\n    num_trunk_recycles=3,\n    num_diffn_timesteps=200,\n    seed=42,\n    device=\"cuda:0\",\n    use_esm_embeddings=True,\n)\nprint([rd.aggregate_score.item() for rd in candidates.ranking_data])\n```\n\nThe FASTA header is `>{entity_type}|name={id}` with `entity_type` ∈\n{`protein`, `rna`, `dna`, `ligand`}; ligand records carry a SMILES string as\nthe sequence body, and modified residues are written inline as\n`...AAK(SEP)AAG...`. From the shell the same job is `chai-lab fold\ncomplex.fasta out\u002F --use-msa-server`. Without `--use-msa-server` (or\n`use_msa_server=True` in Python) the model runs on ESM embeddings alone, which\nis faster but typically a few ipTM points behind the MSA-backed run.\n\n`output_dir` receives `pred.model_idx_{0..4}.cif` plus a matching\n`scores.model_idx_{N}.npz` per sample with `aggregate_score`, `ptm`, `iptm`,\n`per_chain_ptm`, and clash flags. Rank by `aggregate_score`; treat `iptm` >\n0.5 as a soft pass for an interface. The function refuses a non-empty `output_dir`, so\nclear or rotate it between calls.\n\n## Unset `CHAI_DOWNLOADS_DIR` fails mid-run with PermissionError on a read-only image\n\nChai downloads ~5 GB on the first inference call (not at install time),\nincluding its own traced ESM2-3B for the embedding path. If\n`CHAI_DOWNLOADS_DIR` is unset, the default is inside `site-packages`: on a\nread-only image that fails with a confusing `PermissionError` mid-run, and on\na writable one it silently re-downloads ~5 GB into the container on every cold\nstart. Export the variable to a persisted volume so the download happens once.\n\n## No-MSA mode still loads a 3 B-parameter ESM — same VRAM, not less\n\n`use_esm_embeddings=True` without an MSA still loads a 3-billion-parameter\nlanguage model into GPU memory alongside the trunk; it removes the MSA-server\nround-trip, not the VRAM cost. If you OOM, drop `num_diffn_timesteps` or fold\nfewer chains per call rather than expecting the no-MSA mode to fit a smaller\ncard.\n\n## Errors worth recognizing\n\n| You see | It means \u002F do this |\n|---|---|\n| `PermissionError` under `site-packages\u002Fchai_lab\u002F...` | `CHAI_DOWNLOADS_DIR` not set on a read-only image — export it to a writable path or the pre-populated mount. |\n| `RuntimeError: CUDA out of memory` during ESM embedding | The traced ESM2-3B is loading alongside the trunk — use an 80 GB tier or split chains across calls. |\n\n---\n\n**Next:** filter survivors on confidence\u002Fclash metrics or feed them back to\n`proteinmpnn` for the next design round.\n","# Chai-1\n\nChai-1 is an all-atom diffusion co-folder in the same family as Boltz-2 and\nAlphaFold3: a multi-entity FASTA in, mmCIF plus pTM\u002FipTM\u002FpLDDT out, with\nprotein, RNA, DNA, and SMILES-ligand chains all first-class. It and `boltz`\ncover the same surface; running both and keeping designs that pass either is a\ncommon consensus filter, and Chai's Python entry point makes it the easier of\nthe two to embed in a loop. Code and weights are Apache-2.0 — commercial use\nincluding drug discovery is explicitly permitted\n(github.com\u002Fchaidiscovery\u002Fchai-lab).\n\n## Running it\n\n```python\nfrom pathlib import Path\nfrom chai_lab.chai1 import run_inference\n\nPath(\"complex.fasta\").write_text(\"\"\"\n>protein|name=target\nMVTPEGNVSLVDESLLVGVTDEDRAVRS...\n>protein|name=binder\nAIQRTPKIQVYSRHPAENG...\n>ligand|name=cofactor\nCCCCCCCCCCCCCC(=O)O\n\"\"\".strip())\n\ncandidates = run_inference(\n    fasta_file=Path(\"complex.fasta\"),\n    output_dir=Path(\"out\u002F\"),\n    num_trunk_recycles=3,\n    num_diffn_timesteps=200,\n    seed=42,\n    device=\"cuda:0\",\n    use_esm_embeddings=True,\n)\nprint([rd.aggregate_score.item() for rd in candidates.ranking_data])\n```\n\nThe FASTA header is `>{entity_type}|name={id}` with `entity_type` ∈\n{`protein`, `rna`, `dna`, `ligand`}; ligand records carry a SMILES string as\nthe sequence body, and modified residues are written inline as\n`...AAK(SEP)AAG...`. From the shell the same job is `chai-lab fold\ncomplex.fasta out\u002F --use-msa-server`. Without `--use-msa-server` (or\n`use_msa_server=True` in Python) the model runs on ESM embeddings alone, which\nis faster but typically a few ipTM points behind the MSA-backed run.\n\n`output_dir` receives `pred.model_idx_{0..4}.cif` plus a matching\n`scores.model_idx_{N}.npz` per sample with `aggregate_score`, `ptm`, `iptm`,\n`per_chain_ptm`, and clash flags. Rank by `aggregate_score`; treat `iptm` >\n0.5 as a soft pass for an interface. The function refuses a non-empty `output_dir`, so\nclear or rotate it between calls.\n\n## Unset `CHAI_DOWNLOADS_DIR` fails mid-run with PermissionError on a read-only image\n\nChai downloads ~5 GB on the first inference call (not at install time),\nincluding its own traced ESM2-3B for the embedding path. If\n`CHAI_DOWNLOADS_DIR` is unset, the default is inside `site-packages`: on a\nread-only image that fails with a confusing `PermissionError` mid-run, and on\na writable one it silently re-downloads ~5 GB into the container on every cold\nstart. Export the variable to a persisted volume so the download happens once.\n\n## No-MSA mode still loads a 3 B-parameter ESM — same VRAM, not less\n\n`use_esm_embeddings=True` without an MSA still loads a 3-billion-parameter\nlanguage model into GPU memory alongside the trunk; it removes the MSA-server\nround-trip, not the VRAM cost. If you OOM, drop `num_diffn_timesteps` or fold\nfewer chains per call rather than expecting the no-MSA mode to fit a smaller\ncard.\n\n## Errors worth recognizing\n\n| You see | It means \u002F do this |\n|---|---|\n| `PermissionError` under `site-packages\u002Fchai_lab\u002F...` | `CHAI_DOWNLOADS_DIR` not set on a read-only image — export it to a writable path or the pre-populated mount. |\n| `RuntimeError: CUDA out of memory` during ESM embedding | The traced ESM2-3B is loading alongside the trunk — use an 80 GB tier or split chains across calls. |\n\n---\n\n**Next:** filter survivors on confidence\u002Fclash metrics or feed them back to\n`proteinmpnn` for the next design round.\n",{"name":5,"license":15,"metadata":24,"description":39},{"category":25,"third_party":26,"display-name":29,"requirements":37},"biomodels",[27,32],{"kind":28,"name":29,"license":15,"provider":30,"terms_url":31},"weights","Chai-1","Chai Discovery","https:\u002F\u002Fgithub.com\u002Fchaidiscovery\u002Fchai-lab\u002Fblob\u002Fmain\u002FLICENSE",{"kind":33,"name":34,"info_url":35,"provider":36},"service","ColabFold MSA server (api.colabfold.com)","https:\u002F\u002Fgithub.com\u002Fsokrypton\u002FColabFold\u002Fwiki","Steinegger Lab",[38],"gpu","Structure prediction for protein, nucleic-acid, and small-molecule complexes with the Chai-1 foundation model (Chai Discovery 2024, github.com\u002Fchaidiscovery\u002Fchai-lab). Reach for this skill to predict an antibody-antigen or protein-ligand complex from a single FASTA, to re-fold designed binders as an AlphaFold-multimer alternative, or to drive co-folding from Python for batched campaigns on a GPU.\n","main","9a28ca56870fad42cc4efa04a1d487c07a561ab1","skills-examples\u002Fclaude-science-skills\u002Fchai1","https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills","https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon","https:\u002F\u002Fflyme2bluemoon.github.io","Computer Science and Biology @ McGill University | making computer do cool thing","2026-10-31 13:32:13",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add flyme2bluemoon\u002Fskills --skill chai1",{"tool":54,"command":55},"bunx","bunx skills add flyme2bluemoon\u002Fskills --skill chai1",{"tool":57,"command":58},"pnpm","pnpm dlx skills add flyme2bluemoon\u002Fskills --skill chai1","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills\u002Fblob\u002Fmain\u002Fskills-examples\u002Fclaude-science-skills\u002Fchai1\u002FSKILL.md",true,[],[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7AWZ83KYJ9YSB4E5VQJ1K9B","unslop","Edit substantive human-facing prose to remove AI writing patterns while preserving meaning and tone.","MIT","https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpstack\u002Funslop\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7AWZ4FJPVNRMFFJC6JSHHKQ","pstack-principle-type-system-discipline","Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, refuse to lie to the compiler, exhaust variants, derive from authoritative schemas.","https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpstack\u002Fpstack-principle-type-system-discipline\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7AWZ11K4KET3ASESNABPE52","pstack-principle-test-behavior-not-implementation","Apply when you write, change, or keep a test. Call the code the way its users do and assert the result they observe against a literal expected value. If the test would still pass when every imported function returns undefined, rewrite the assertion or delete the test.","https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpstack\u002Fpstack-principle-test-behavior-not-implementation\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7AWYWT47M5JG7XV6ZK6QSSX","pstack-principle-subtract-before-you-add","Apply when sequencing an addition, refactor, or rewrite. Remove dead weight, redundant validators, and stub references first, then build on the simpler base.","https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpstack\u002Fpstack-principle-subtract-before-you-add\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7AWYTNNHNGHB583NEV888BB","pstack-principle-sequence-verifiable-units","Sequence migrations or dependent changes around meaningful verification boundaries.","https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpstack\u002Fpstack-principle-sequence-verifiable-units\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":67,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7AWYQ2C15PV2W2V6ZVMK3ZM","pstack-principle-separate-before-serializing-shared-state","Apply when concurrent actors might write to the same file, branch, key, or state object. Eliminate the sharing first; serialize structurally only when one shared writer is a real invariant.","https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fpstack\u002Fpstack-principle-separate-before-serializing-shared-state\u002FSKILL.md",[],[]]