[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AWTSCGNYQ4XM4K3G67TM14":3,"skill-same:01M7AWTSCGNYQ4XM4K3G67TM14":57},{"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":35,"commitSha":36,"skillDirectory":37,"forksCount":14,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M7AWTSCGNYQ4XM4K3G67TM14","evo2",null,"Score, embed, and generate DNA sequences with Evo 2, a long-context genomic foundation model. Use this skill when: (1) Computing per-nucleotide or per-sequence likelihoods for variant effect\n    scoring,\n(2) Embedding genomic windows for downstream classification, (3) Generating DNA conditioned on a prefix, (4) Scoring regulatory or coding regions across species.","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\u002Fevo2\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: evo2\ndescription: >\n  Score, embed, and generate DNA sequences with Evo 2, a long-context genomic\n  foundation model. Use this skill when:\n  (1) Computing per-nucleotide or per-sequence likelihoods for variant effect\n      scoring,\n  (2) Embedding genomic windows for downstream classification,\n  (3) Generating DNA conditioned on a prefix,\n  (4) Scoring regulatory or coding regions across species.\nlicense: Apache-2.0\nmetadata:\n  category: biomodels\n  requirements: [gpu]\n  display-name: Evo 2\n  # github.com\u002FArcInstitute\u002Fevo2\u002Fblob\u002Fmain\u002FLICENSE: Apache-2.0 boilerplate.\n  # HuggingFace model cards `arcinstitute\u002Fevo2_{40b_base,20b}` declare\n  # `license: apache-2.0`. verified 2026-06-30\n  third_party:\n    - kind: weights\n      name: Evo 2\n      provider: Arc Institute\n      license: Apache-2.0\n      terms_url: https:\u002F\u002Fgithub.com\u002FArcInstitute\u002Fevo2\u002Fblob\u002Fmain\u002FLICENSE\n---\n\n# Evo 2 — DNA Language Model\n\n## Prerequisites\n\n| Requirement | Minimum | Recommended      |\n| ----------- | ------- | ---------------- |\n| Python      | 3.11    | 3.12 (\u003C3.13)     |\n| CUDA        | 12.1+   | 12.4+            |\n| GPU VRAM    | 24 GB (7B bf16) | 80 GB (40B) |\n| RAM         | 32 GB   | 128 GB           |\n\n## How to run\n\n### Installation\n\n```bash\npip install evo2\n# Weights pulled from Hugging Face on first model load.\n```\n\n### Loading and scoring\n\n```python\nfrom evo2 import Evo2\n\nmodel = Evo2(\"evo2_7b\")        # or \"evo2_40b\" — see model table\nseqs = [\"ATCG\" * 50, \"GGGCTTAA\" * 25]\nll = model.score_sequences(seqs)   # → list[float], mean per-token log-likelihood\nprint(ll)\n```\n\n### Generation\n\n```python\nout = model.generate(\n    prompt_seqs=[\"ATGAAAGCT\"],\n    n_tokens=256,\n    temperature=0.7,\n)\nprint(out.sequences[0])\n```\n\n## Models\n\n| Name        | Params | Context | VRAM (bf16) | Notes                              |\n| ----------- | ------ | ------- | ----------- | ---------------------------------- |\n| `evo2_7b`   | 7 B    | 1 M nt  | ~22 GB      | Default; fits on a single 24 GB+ GPU |\n| `evo2_40b`  | 40 B   | 1 M nt  | ~78 GB      | H100 80 GB or multi-GPU            |\n| `evo2_1b_base` | 1 B | 8 K nt  | ~6 GB       | FP8 path requires sm_89+ (H100)    |\n\n## Output format\n\n`score_sequences` returns a `list[float]` (or `np.ndarray`) of mean log-likelihoods,\none per input sequence. More negative ⇒ less likely under the model. For variant\neffect, compute `Δll = ll_alt - ll_ref` over a fixed window.\n\n`generate` returns a `GenerationOutput` with `.sequences` (list[str]), `.logits`\n(list[Tensor]), and `.logprobs_mean` (list[float]) — always populated, no flag required.\n\n## Decision tree\n\n```\nNeed a DNA model?\n│\n├─ Per-base\u002Fper-sequence likelihood, generation → Evo 2 ✓\n├─ Predict experimental tracks (expression, accessibility) → borzoi\n└─ Protein, not DNA → fair-esm2 \u002F esmfold2\n```\n\n\n## Remote compute\n\n7B\u002F40B inference is GPU-bound (≥24 GB \u002F 80 GB VRAM). Read\n`compute_details({provider, mode:'read'})` for an environment with `evo2` +\n`flash-attn` and a pre-cached HF weight mount, then submit:\n\n```python\nc = host.compute.create(provider)\njob = c.submit_job(\n    intent=\"Evo2-7B score 200bp variant window — 1×GPU, ~2 min\",\n    inputs=[\"score_evo2.py\"],\n    command=\"python3 score_evo2.py\",   # env selection is host-specific — see compute_details for your provider\n    outputs=[\"scores.json\"],\n    run_timeout_s=1800,\n)\n# the Job repr just printed itself (id, notes) — cell ends here; the kernel never waits on the job\n```\n\nThen call the `wait_for_notification` brain-tool. When the\n`compute_done` notification arrives, act on its payload:\n\n```python\nsave_artifacts(payload[\"output_files\"])   # paths under hpc\u002F\u003Cjob_id>\u002F\n```\n\nFor the full record (`files`, `stdout_tail`, `notes`, …), re-enter the\nkernel: `res = c.attach_job(job_id).result()` then `c.close(intent=...)`. See the\n`remote-compute-ssh` \u002F `remote-compute-modal` skill for the orchestration\ndetails.\n\nInside `score_evo2.py`, point `HF_HOME` at the provider's weight-cache mount\n(path is in `compute_details`) and set `HF_HUB_OFFLINE=1` so the loader\ndoesn't try to write `refs\u002F` into a read-only mount. Weight footprint:\n~15 GB (7B), ~80 GB (40B).\n\n\n## Typical performance\n\n| Task                        | 7B on H100 | Notes                       |\n| --------------------------- | ---------- | --------------------------- |\n| Model load (cached)         | ~5-7 min   | First call hydrates weights |\n| `score_sequences`, 200×200bp| ~10-20 s   | After load                  |\n| `generate`, 1×512 nt        | ~15 s      |                             |\n\n## Troubleshooting\n\n| Symptom                              | Cause                          | Fix                                        |\n| ------------------------------------ | ------------------------------ | ------------------------------------------ |\n| `Transformer Engine not installed`   | No FP8 — falls back to bf16    | Informational only on non-H100; ignore     |\n| OOM on load                          | 40B on \u003C80 GB GPU              | Use `evo2_7b` or shard with `device_map`   |\n| HF tries to write `refs\u002Fmain`        | `HF_HOME` points at RO mount   | Set `HF_HUB_OFFLINE=1`                     |\n| `dtype mismatch` in `score_sequences`| Passing tensors not strings    | Pass `list[str]`; the API tokenizes for you |\n\n---\n\n**Next**: pair with `borzoi` to predict track-level effects of the same\nvariants.\n","# Evo 2 — DNA Language Model\n\n## Prerequisites\n\n| Requirement | Minimum | Recommended      |\n| ----------- | ------- | ---------------- |\n| Python      | 3.11    | 3.12 (\u003C3.13)     |\n| CUDA        | 12.1+   | 12.4+            |\n| GPU VRAM    | 24 GB (7B bf16) | 80 GB (40B) |\n| RAM         | 32 GB   | 128 GB           |\n\n## How to run\n\n### Installation\n\n```bash\npip install evo2\n# Weights pulled from Hugging Face on first model load.\n```\n\n### Loading and scoring\n\n```python\nfrom evo2 import Evo2\n\nmodel = Evo2(\"evo2_7b\")        # or \"evo2_40b\" — see model table\nseqs = [\"ATCG\" * 50, \"GGGCTTAA\" * 25]\nll = model.score_sequences(seqs)   # → list[float], mean per-token log-likelihood\nprint(ll)\n```\n\n### Generation\n\n```python\nout = model.generate(\n    prompt_seqs=[\"ATGAAAGCT\"],\n    n_tokens=256,\n    temperature=0.7,\n)\nprint(out.sequences[0])\n```\n\n## Models\n\n| Name        | Params | Context | VRAM (bf16) | Notes                              |\n| ----------- | ------ | ------- | ----------- | ---------------------------------- |\n| `evo2_7b`   | 7 B    | 1 M nt  | ~22 GB      | Default; fits on a single 24 GB+ GPU |\n| `evo2_40b`  | 40 B   | 1 M nt  | ~78 GB      | H100 80 GB or multi-GPU            |\n| `evo2_1b_base` | 1 B | 8 K nt  | ~6 GB       | FP8 path requires sm_89+ (H100)    |\n\n## Output format\n\n`score_sequences` returns a `list[float]` (or `np.ndarray`) of mean log-likelihoods,\none per input sequence. More negative ⇒ less likely under the model. For variant\neffect, compute `Δll = ll_alt - ll_ref` over a fixed window.\n\n`generate` returns a `GenerationOutput` with `.sequences` (list[str]), `.logits`\n(list[Tensor]), and `.logprobs_mean` (list[float]) — always populated, no flag required.\n\n## Decision tree\n\n```\nNeed a DNA model?\n│\n├─ Per-base\u002Fper-sequence likelihood, generation → Evo 2 ✓\n├─ Predict experimental tracks (expression, accessibility) → borzoi\n└─ Protein, not DNA → fair-esm2 \u002F esmfold2\n```\n\n\n## Remote compute\n\n7B\u002F40B inference is GPU-bound (≥24 GB \u002F 80 GB VRAM). Read\n`compute_details({provider, mode:'read'})` for an environment with `evo2` +\n`flash-attn` and a pre-cached HF weight mount, then submit:\n\n```python\nc = host.compute.create(provider)\njob = c.submit_job(\n    intent=\"Evo2-7B score 200bp variant window — 1×GPU, ~2 min\",\n    inputs=[\"score_evo2.py\"],\n    command=\"python3 score_evo2.py\",   # env selection is host-specific — see compute_details for your provider\n    outputs=[\"scores.json\"],\n    run_timeout_s=1800,\n)\n# the Job repr just printed itself (id, notes) — cell ends here; the kernel never waits on the job\n```\n\nThen call the `wait_for_notification` brain-tool. When the\n`compute_done` notification arrives, act on its payload:\n\n```python\nsave_artifacts(payload[\"output_files\"])   # paths under hpc\u002F\u003Cjob_id>\u002F\n```\n\nFor the full record (`files`, `stdout_tail`, `notes`, …), re-enter the\nkernel: `res = c.attach_job(job_id).result()` then `c.close(intent=...)`. See the\n`remote-compute-ssh` \u002F `remote-compute-modal` skill for the orchestration\ndetails.\n\nInside `score_evo2.py`, point `HF_HOME` at the provider's weight-cache mount\n(path is in `compute_details`) and set `HF_HUB_OFFLINE=1` so the loader\ndoesn't try to write `refs\u002F` into a read-only mount. Weight footprint:\n~15 GB (7B), ~80 GB (40B).\n\n\n## Typical performance\n\n| Task                        | 7B on H100 | Notes                       |\n| --------------------------- | ---------- | --------------------------- |\n| Model load (cached)         | ~5-7 min   | First call hydrates weights |\n| `score_sequences`, 200×200bp| ~10-20 s   | After load                  |\n| `generate`, 1×512 nt        | ~15 s      |                             |\n\n## Troubleshooting\n\n| Symptom                              | Cause                          | Fix                                        |\n| ------------------------------------ | ------------------------------ | ------------------------------------------ |\n| `Transformer Engine not installed`   | No FP8 — falls back to bf16    | Informational only on non-H100; ignore     |\n| OOM on load                          | 40B on \u003C80 GB GPU              | Use `evo2_7b` or shard with `device_map`   |\n| HF tries to write `refs\u002Fmain`        | `HF_HOME` points at RO mount   | Set `HF_HUB_OFFLINE=1`                     |\n| `dtype mismatch` in `score_sequences`| Passing tensors not strings    | Pass `list[str]`; the API tokenizes for you |\n\n---\n\n**Next**: pair with `borzoi` to predict track-level effects of the same\nvariants.\n",{"name":5,"license":15,"metadata":24,"description":34},{"category":25,"third_party":26,"display-name":29,"requirements":32},"biomodels",[27],{"kind":28,"name":29,"license":15,"provider":30,"terms_url":31},"weights","Evo 2","Arc Institute","https:\u002F\u002Fgithub.com\u002FArcInstitute\u002Fevo2\u002Fblob\u002Fmain\u002FLICENSE",[33],"gpu","Score, embed, and generate DNA sequences with Evo 2, a long-context genomic foundation model. Use this skill when: (1) Computing per-nucleotide or per-sequence likelihoods for variant effect\n    scoring,\n(2) Embedding genomic windows for downstream classification, (3) Generating DNA conditioned on a prefix, (4) Scoring regulatory or coding regions across species.\n","main","9a28ca56870fad42cc4efa04a1d487c07a561ab1","skills-examples\u002Fclaude-science-skills\u002Fevo2","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":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add flyme2bluemoon\u002Fskills --skill evo2",{"tool":49,"command":50},"bunx","bunx skills add flyme2bluemoon\u002Fskills --skill evo2",{"tool":52,"command":53},"pnpm","pnpm dlx skills add flyme2bluemoon\u002Fskills --skill evo2","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fflyme2bluemoon\u002Fskills\u002Fblob\u002Fmain\u002Fskills-examples\u002Fclaude-science-skills\u002Fevo2\u002FSKILL.md",true,[],[58,66,73,80,87,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"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":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"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":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"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":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"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":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":62,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"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",[],[]]