[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74MFJT416WH5S9RPQSHRV31":3,"skill-same:01M74MFJT416WH5S9RPQSHRV31":58},{"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":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M74MFJT416WH5S9RPQSHRV31","scgpt",null,"Embed and annotate single-cell expression data with scGPT, a foundation model for single-cell biology. Use this skill when: (1) Producing cell embeddings from an AnnData for clustering\u002Fintegration, (2) Zero-shot or fine-tuned cell-type annotation, (3) Gene-level representation for perturbation\u002FGRN tasks.\nFor probabilistic single-cell models (scVI etc.), use the scvi-tools library.","pengqianhan\u002FAI-Human-Research-OS","pengqianhan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4286531?v=4","01M74M3DT9HNZ6HPAK8TX69EX9","PengqianHan","01M74M3DTVSN2GXW0JH2W396FK",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fclaude-science-skills\u002Fskills\u002Fscgpt\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: scgpt\ndescription: >\n  Embed and annotate single-cell expression data with scGPT, a foundation model\n  for single-cell biology. Use this skill when:\n  (1) Producing cell embeddings from an AnnData for clustering\u002Fintegration,\n  (2) Zero-shot or fine-tuned cell-type annotation,\n  (3) Gene-level representation for perturbation\u002FGRN tasks.\n\n  For probabilistic single-cell models (scVI etc.), use the scvi-tools\n  library.\nlicense: Apache-2.0\ncategory: biomodels\nrequirements: [gpu]\nmetadata:\n  display-name: scGPT\n  # scGPT checkpoints are distributed as unlabeled Google Drive directories\n  # (linked from github.com\u002Fbowang-lab\u002FscGPT); the repo LICENSE (MIT) covers\n  # the CODE, and no source states a weights license. Per the sourcing rule:\n  # leave `license` absent. Repo root is a README, not a terms page —\n  # info_url. verified 2026-06-30\n  third_party:\n    - kind: weights\n      name: scGPT\n      provider: Wang Lab (University of Toronto)\n      info_url: https:\u002F\u002Fgithub.com\u002Fbowang-lab\u002FscGPT\n---\n\n# scGPT — Single-Cell Foundation Model\n\n## Prerequisites\n\n| Requirement | Minimum | Recommended |\n| ----------- | ------- | ----------- |\n| Python      | 3.10+   | 3.11        |\n| CUDA        | 12.1+   | 12.4+       |\n| GPU VRAM    | 16 GB   | 24 GB+      |\n\n## How to run\n\n### Loading the vocabulary and checkpoint\n\nscGPT checkpoints are **raw directories** (`args.json`, `best_model.pt`,\n`vocab.json`) — not Hugging Face hub repos. Point at the directory, not an HF\nrepo id.\n\n```python\nfrom scgpt.tokenizer.gene_tokenizer import GeneVocab\ngv = GeneVocab.from_file(\"\u002Fpath\u002Fto\u002Fscgpt-human\u002Fvocab.json\")\nprint(len(gv))   # 60697 for the released human checkpoint\n```\n\n### Embedding an AnnData\n\n```python\nimport anndata as ad\nfrom scgpt.tasks import embed_data\n\nadata = ad.read_h5ad(\"dataset.h5ad\")        # var must contain a gene-name column\nemb = embed_data(\n    adata,\n    model_dir=\"\u002Fpath\u002Fto\u002Fscgpt-human\",\n    gene_col=\"feature_name\",\n    use_fast_transformer=False,             # see Gotchas\n)\n# emb is an AnnData with .obsm[\"X_scGPT\"]\n```\n\n## Output format\n\n`embed_data` returns an `AnnData` whose `.obsm[\"X_scGPT\"]` is the per-cell\nembedding (`n_cells × emb_dim`, 512 by default). Downstream: feed to\n`scanpy.pp.neighbors` \u002F `scanpy.tl.umap`.\n\n\n## Remote compute\n\nNeeds ≥24 GB VRAM and the released human checkpoint (~200 MB:\n`args.json`, `best_model.pt`, `vocab.json`). Read\n`compute_details({provider, mode:'read'})` for an environment with `scgpt`\nand a pre-cached checkpoint directory, then:\n\n```python\nc = host.compute.create(provider)\njob = c.submit_job(\n    intent=\"scGPT embed 50k cells — 1×GPU, ~5 min\",\n    inputs=[\n        {\"src\": \"dataset.h5ad\", \"dst_filename\": \"dataset.h5ad\"},\n        {\"src\": \"embed.py\", \"dst_filename\": \"embed.py\"},\n    ],\n    command=\"python3 embed.py\",\n    environment=...,   # env name from compute_details\n    outputs=[\"embedded.h5ad\"],\n    timeout_seconds=1800,\n)\nprint(job.job_id)   # cell ends here — kernel never blocks on compute\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[\"featured_files\"])   # paths under hpc\u002F\u003Cjob_id>\u002F\n```\n\nFor the full result dict (`output_files`, `remote_workdir`, …), re-enter the\nkernel and bind the compute handle separately — `.close()` lives on the\nhandle, not on the job object:\n\n```python\nh = host.compute.create(provider)\nres = h.attach_job(job_id).result()\nh.close()\n```\n\nSee the `remote-compute-ssh` \u002F `remote-compute-modal` skill for the\norchestration details.\n\nIn `embed.py`, pass `model_dir=` the checkpoint path from `compute_details`.\nIf `flash-attn` is unavailable in that environment, set\n`use_fast_transformer=False`.\n\n\n## Gotchas\n\n- **`use_fast_transformer` default is `True`** but resolves to a FlashAttention\n  path that may not import in every env. Pass `use_fast_transformer=False`\n  unless you've confirmed `flash_attn` loads cleanly.\n- The package historically depended on `torchtext.vocab.Vocab`; in\n  environments without torchtext a pure-Python shim provides `Vocab` —\n  functionally identical for `GeneVocab`, but if you hit\n  `AttributeError: 'Vocab' object has no attribute …`, you're on a stale shim.\n- Gene names must match the vocab; unmatched genes are dropped. Set\n  `gene_col` to the column in `adata.var` that holds symbols.\n\n## Troubleshooting\n\n| Symptom                                           | Fix                                              |\n| ------------------------------------------------- | ------------------------------------------------ |\n| `flash_attn is not installed` warning at import   | Harmless; pass `use_fast_transformer=False`      |\n| `'Vocab' object has no attribute 'vocab'`         | Env has an old torchtext shim — update the env   |\n| Nearly all genes dropped                          | Wrong `gene_col`; check `adata.var.columns`      |\n| \"scgpt not in manifest\" \u002F env-detection misses scGPT | The baked env manifest lists the distribution as `scGPT` (and `flash_attn`), pip's canonical casing — normalize manifest keys before lookup: `name.lower().replace('-', '_')` |\n\n---\n\n**Next**: cluster\u002Fannotate the embedding with the scanpy library\n(`sc.pp.neighbors` → `sc.tl.leiden` \u002F `sc.tl.umap`), or compare to an\nscvi-tools latent space on the same data.\n","# scGPT — Single-Cell Foundation Model\n\n## Prerequisites\n\n| Requirement | Minimum | Recommended |\n| ----------- | ------- | ----------- |\n| Python      | 3.10+   | 3.11        |\n| CUDA        | 12.1+   | 12.4+       |\n| GPU VRAM    | 16 GB   | 24 GB+      |\n\n## How to run\n\n### Loading the vocabulary and checkpoint\n\nscGPT checkpoints are **raw directories** (`args.json`, `best_model.pt`,\n`vocab.json`) — not Hugging Face hub repos. Point at the directory, not an HF\nrepo id.\n\n```python\nfrom scgpt.tokenizer.gene_tokenizer import GeneVocab\ngv = GeneVocab.from_file(\"\u002Fpath\u002Fto\u002Fscgpt-human\u002Fvocab.json\")\nprint(len(gv))   # 60697 for the released human checkpoint\n```\n\n### Embedding an AnnData\n\n```python\nimport anndata as ad\nfrom scgpt.tasks import embed_data\n\nadata = ad.read_h5ad(\"dataset.h5ad\")        # var must contain a gene-name column\nemb = embed_data(\n    adata,\n    model_dir=\"\u002Fpath\u002Fto\u002Fscgpt-human\",\n    gene_col=\"feature_name\",\n    use_fast_transformer=False,             # see Gotchas\n)\n# emb is an AnnData with .obsm[\"X_scGPT\"]\n```\n\n## Output format\n\n`embed_data` returns an `AnnData` whose `.obsm[\"X_scGPT\"]` is the per-cell\nembedding (`n_cells × emb_dim`, 512 by default). Downstream: feed to\n`scanpy.pp.neighbors` \u002F `scanpy.tl.umap`.\n\n\n## Remote compute\n\nNeeds ≥24 GB VRAM and the released human checkpoint (~200 MB:\n`args.json`, `best_model.pt`, `vocab.json`). Read\n`compute_details({provider, mode:'read'})` for an environment with `scgpt`\nand a pre-cached checkpoint directory, then:\n\n```python\nc = host.compute.create(provider)\njob = c.submit_job(\n    intent=\"scGPT embed 50k cells — 1×GPU, ~5 min\",\n    inputs=[\n        {\"src\": \"dataset.h5ad\", \"dst_filename\": \"dataset.h5ad\"},\n        {\"src\": \"embed.py\", \"dst_filename\": \"embed.py\"},\n    ],\n    command=\"python3 embed.py\",\n    environment=...,   # env name from compute_details\n    outputs=[\"embedded.h5ad\"],\n    timeout_seconds=1800,\n)\nprint(job.job_id)   # cell ends here — kernel never blocks on compute\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[\"featured_files\"])   # paths under hpc\u002F\u003Cjob_id>\u002F\n```\n\nFor the full result dict (`output_files`, `remote_workdir`, …), re-enter the\nkernel and bind the compute handle separately — `.close()` lives on the\nhandle, not on the job object:\n\n```python\nh = host.compute.create(provider)\nres = h.attach_job(job_id).result()\nh.close()\n```\n\nSee the `remote-compute-ssh` \u002F `remote-compute-modal` skill for the\norchestration details.\n\nIn `embed.py`, pass `model_dir=` the checkpoint path from `compute_details`.\nIf `flash-attn` is unavailable in that environment, set\n`use_fast_transformer=False`.\n\n\n## Gotchas\n\n- **`use_fast_transformer` default is `True`** but resolves to a FlashAttention\n  path that may not import in every env. Pass `use_fast_transformer=False`\n  unless you've confirmed `flash_attn` loads cleanly.\n- The package historically depended on `torchtext.vocab.Vocab`; in\n  environments without torchtext a pure-Python shim provides `Vocab` —\n  functionally identical for `GeneVocab`, but if you hit\n  `AttributeError: 'Vocab' object has no attribute …`, you're on a stale shim.\n- Gene names must match the vocab; unmatched genes are dropped. Set\n  `gene_col` to the column in `adata.var` that holds symbols.\n\n## Troubleshooting\n\n| Symptom                                           | Fix                                              |\n| ------------------------------------------------- | ------------------------------------------------ |\n| `flash_attn is not installed` warning at import   | Harmless; pass `use_fast_transformer=False`      |\n| `'Vocab' object has no attribute 'vocab'`         | Env has an old torchtext shim — update the env   |\n| Nearly all genes dropped                          | Wrong `gene_col`; check `adata.var.columns`      |\n| \"scgpt not in manifest\" \u002F env-detection misses scGPT | The baked env manifest lists the distribution as `scGPT` (and `flash_attn`), pip's canonical casing — normalize manifest keys before lookup: `name.lower().replace('-', '_')` |\n\n---\n\n**Next**: cluster\u002Fannotate the embedding with the scanpy library\n(`sc.pp.neighbors` → `sc.tl.leiden` \u002F `sc.tl.umap`), or compare to an\nscvi-tools latent space on the same data.\n",{"name":5,"license":15,"category":24,"metadata":25,"description":32,"requirements":33},"biomodels",{"third_party":26,"display-name":29},[27],{"kind":28,"name":29,"info_url":30,"provider":31},"weights","scGPT","https:\u002F\u002Fgithub.com\u002Fbowang-lab\u002FscGPT","Wang Lab (University of Toronto)","Embed and annotate single-cell expression data with scGPT, a foundation model for single-cell biology. Use this skill when: (1) Producing cell embeddings from an AnnData for clustering\u002Fintegration, (2) Zero-shot or fine-tuned cell-type annotation, (3) Gene-level representation for perturbation\u002FGRN tasks.\nFor probabilistic single-cell models (scVI etc.), use the scvi-tools library.\n",[34],"gpu","main","e71245365df78e06cd166602744bf2491f79910e","research-skills-hub\u002Fclaude-science-skills\u002Fskills\u002Fscgpt",0,"https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS","https:\u002F\u002Fpengqianhan.github.io\u002FAI-Human-Research-OS\u002F","https:\u002F\u002Fgithub.com\u002Fpengqianhan","Ph.D. candidate of The University of Auckland, New Zealand","2026-11-14 18:08:16",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add pengqianhan\u002FAI-Human-Research-OS --skill scgpt",{"tool":50,"command":51},"bunx","bunx skills add pengqianhan\u002FAI-Human-Research-OS --skill scgpt",{"tool":53,"command":54},"pnpm","pnpm dlx skills add pengqianhan\u002FAI-Human-Research-OS --skill scgpt","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fclaude-science-skills\u002Fskills\u002Fscgpt\u002FSKILL.md",true,[],[59,67,74,81,88,95],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M74MWYTHT498SVMN823896T7","workflow-skill-creator","Distills a completed user workflow or interaction into a reusable agent skill. Use when the user asks to turn their workflow, interaction, or multi-step process into a skill, or when they say \"make this a skill\", \"create a skill from what we just did\", \"package this workflow\" or similar. Do not use for creating skills from scratch without an existing workflow (use a generic skill-creator for that).","MIT","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fworkflow_skill_creator\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M74MWWVCFZ8HQS8840F1V1FT","uv","Checks whether the uv Python package manager is installed and installs it if missing. Ensures uv is on PATH. Use when another skill requires uv as a prerequisite.","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fuv\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M74MWRH5BTSWZ2C5PCTD5FV9","uniprot-database","Access protein metadata, function, taxonomy, and sequences across UniProtKB, UniParc, and UniRef. Use when searching for proteins, mapping identifiers, or retrieving functional annotations and publications. Don't use for sequence alignment, protein folding, or sequence similarity search (use specialized skills for those tasks).","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Funiprot_database\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M74MWN1D3ER9F1FZPWH8HQC1","unibind-database","Queries the UniBind database for experimentally validated transcription factor (TF) binding sites. Use when retrieving direct TF-DNA interaction datasets, downloading binding site coordinates (BED\u002FFASTA) for local analysis, or listing available datasets by species, cell line, or TF name. Don't use to query specific intervals, locations, genes, motif models or expression data.","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Funibind_database\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M74MWHHB5QZY3NR2FYA1EK4N","ucsc-conservation-and-tfbs","Fetch Evolutionary Conservation scores (phyloP, phastCons) and Transcription Factor Binding Sites (TFBS) from the UCSC Genome Browser. Use when analyzing whether genomic variants or regions are evolutionarily conserved, functionally important, or bounded by TF regulators across major projects (ENCODE, JASPAR, ReMap).","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fucsc_conservation_and_tfbs\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M74MWERYHSY87P21FDMVE6BA","string-database","Query the STRING database for protein-protein interactions (PPIs), functional enrichment, and homology. Use when the user asks about interactions between specific proteins, interaction evidence, confidence scores, protein interaction partners, or pathway enrichments.","https:\u002F\u002Fgithub.com\u002Fpengqianhan\u002FAI-Human-Research-OS\u002Fblob\u002Fmain\u002Fresearch-skills-hub\u002Fscience-skills\u002Fstring_database\u002FSKILL.md",[],[]]