[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DKSNDPEWTFDGB2EYG6KD4D":3,"skill-same:01M7DKSNDPEWTFDGB2EYG6KD4D":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":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M7DKSNDPEWTFDGB2EYG6KD4D","annotate-cells-with-scgpt-mcp",null,"Transfer cell labels from an approved reference model through an already configured scgpt-annotation MCP service. Use for GPU inference on an AnnData query when the validated harness and model are staged, then check predictions against independent structure and markers; do not substitute it for a marker-only annotation or assume the service is installed.","lijinbio\u002Faiscientist-skills","lijinbio","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16247242?v=4","01M7DKPQK7Q6V7QXAAPV51Z89N","Jin Li","01M7DKPQM0NMDN3M6XH7Z9AAKM",0,"MIT","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsingle-cell\u002Fannotate-cells-with-scgpt-mcp\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: annotate-cells-with-scgpt-mcp\ndescription: Transfer cell labels from an approved reference model through an already configured scgpt-annotation MCP service. Use for GPU inference on an AnnData query when the validated harness and model are staged, then check predictions against independent structure and markers; do not substitute it for a marker-only annotation or assume the service is installed.\nlicense: MIT\nmetadata:\n  category: single-cell\n  version: 0.1.1\n  status: community\n  tags: mcp, scgpt-annotation\n  tested-with: aiscientist-mcp-scgpt-annotation 0.0.3, common 0.0.4, torch 2.3.0, scGPT 0.2.4, scanpy 1.11.5, anndata 0.11.4; real GPU old\u002Fnew parity on 480 HECA cells\n  compute: NVIDIA V100 or A30, 4 CPUs, 48 GB requested; 480 cells x 36601 genes; final-image V100 inference 42.5 seconds; earlier A30 validation 40.8 seconds\n  requires-gpu: 'true'\n  scheduler: optional\n  requires-network: install\n  requires-secrets: none\n  mcp-server: scgpt-annotation\n  mcp-package-version: 0.0.3\n  image: \"docker:\u002F\u002Fghcr.io\u002Flijinbio\u002Fmcp-scgpt-annotation@sha256:7ee18dc0df9f11ebc4cb9cc9ec417d99c2a94b1f664fe3561f78e88b0a954df9\"\n  cpus: \"4\"\n  mem_gb: \"48\"\n  time_limit: \"01:00:00\"\n---\n\n# Annotate cells with the scGPT MCP service\n\nThis is reference-model inference with the validated scGPT harness. It does not ask a language\nmodel to name cells. Use the client's registered `scgpt-annotation` tools and advertised names;\nif unavailable, retain the existing approved scGPT deployment. Do not invent an MCP prefix,\ndownload unapproved weights, or change the released standalone workflow's environment. The pinned image is the upstream `scgpt-annotation-v0.0.3` release; external assets remain operator supplied.\n\n## Verify external assets and GPU\n\nThe operator stages the validated `step1_preprocess.py`, `step2_inference.py` and helpers,\nsets `SCGPT_REFACTOR`, and provides the trained reference through `SCGPT_MODEL_DIR`.\nThe reference requires `best_model.pt`, `vocab.json`, `id2type.json`, and `dev_train_args.yml`.\nHarness and model are external, read-only assets; they are not bundled with this skill.\nThe MCP Python runtime is separate from the validated torch\u002FCUDA scientific interpreter.\n\nUse an authorized `.h5ad` query from `SCGPT_DATASET` or `SCGPT_READ_ROOTS`. An explicit\n`model_dir` must be admitted by `SCGPT_MODEL_ROOTS`. GPU availability is checked by default;\n`SCGPT_REQUIRE_CUDA=0` is an operator diagnostic setting, not evidence of GPU inference.\n\n## Run and retrieve the result\n\nCall `scgpt_annotate` with a stable `analysis_id` and optional admitted `dataset`\u002F`model_dir`.\nPoll `scgpt_job_status(analysis_id, task_id)` to `COMPLETED` for Slurm\u002Flocal execution. Save the\nSlurm job ID when present. Inline execution waits inside the caller's GPU allocation. A failed\ncall provides a task ID for inspecting its failure evidence; do not use stale predictions.\n\nCollect `predictions_csv` under `artifact_root`, and verify one prediction per expected barcode.\nThe response contains `n_cells`, `n_cell_types`, `label_counts`, `species_harmonization`, and\n`input_compatibility`. Read the per-cell confidence values from the CSV rather than assuming\nthat a high aggregate label count establishes accuracy.\n\nThe original case-folding rule is retained: uppercase names are used only when their vocabulary\noverlap is at least five times the exact match count and at least 1,000 genes greater. A changed\nrule explicitly reports the cross-species name-based orthology assumption. New AnnData nullable\nstring indices\u002Fmetadata are converted only in a private working copy when needed by the old\nscientific environment; `input_compatibility` records those fields. Expression values and the\noriginal query are not rewritten by that storage conversion.\n\n## Validate labels independently\n\nCompare barcode-aligned predictions with clustering, canonical positive\u002Fdiscriminating markers,\nand the expected tissue classes. Inspect low-confidence calls and discordant groups. The known\nmouse-to-human retinal transfer needs particular care for glial and vascular labels. Retain\nunassigned or uncertain results rather than forcing agreement. The existing\n`crossvalidate-scgpt-vs-leiden` skill remains useful for that separate analysis.\n\nA real V100 run on 480 public human-retina cells matched the original deployed harness's\nbarcode-aligned predictions and confidence values with zero differences at tolerance 1e-6,\nusing identical weights, scientific image and prepared query. Matched A30 runs also agreed\nexactly between old and new workflows. Comparing A30 with V100 preserved all 480 labels but\nchanged 35 confidence values by at most 0.0026; record the GPU when comparing confidence.\nNullable-string compatibility\nwas exercised on a new AnnData checkpoint. This is migration parity, not an accuracy benchmark\nor proof that a different model\u002Fspecies transfer is valid. Record the actual model\u002Fharness\u002Fimage\nidentities, GPU, task IDs, cell counts, compatibility changes and collected outputs.\n","# Annotate cells with the scGPT MCP service\n\nThis is reference-model inference with the validated scGPT harness. It does not ask a language\nmodel to name cells. Use the client's registered `scgpt-annotation` tools and advertised names;\nif unavailable, retain the existing approved scGPT deployment. Do not invent an MCP prefix,\ndownload unapproved weights, or change the released standalone workflow's environment. The pinned image is the upstream `scgpt-annotation-v0.0.3` release; external assets remain operator supplied.\n\n## Verify external assets and GPU\n\nThe operator stages the validated `step1_preprocess.py`, `step2_inference.py` and helpers,\nsets `SCGPT_REFACTOR`, and provides the trained reference through `SCGPT_MODEL_DIR`.\nThe reference requires `best_model.pt`, `vocab.json`, `id2type.json`, and `dev_train_args.yml`.\nHarness and model are external, read-only assets; they are not bundled with this skill.\nThe MCP Python runtime is separate from the validated torch\u002FCUDA scientific interpreter.\n\nUse an authorized `.h5ad` query from `SCGPT_DATASET` or `SCGPT_READ_ROOTS`. An explicit\n`model_dir` must be admitted by `SCGPT_MODEL_ROOTS`. GPU availability is checked by default;\n`SCGPT_REQUIRE_CUDA=0` is an operator diagnostic setting, not evidence of GPU inference.\n\n## Run and retrieve the result\n\nCall `scgpt_annotate` with a stable `analysis_id` and optional admitted `dataset`\u002F`model_dir`.\nPoll `scgpt_job_status(analysis_id, task_id)` to `COMPLETED` for Slurm\u002Flocal execution. Save the\nSlurm job ID when present. Inline execution waits inside the caller's GPU allocation. A failed\ncall provides a task ID for inspecting its failure evidence; do not use stale predictions.\n\nCollect `predictions_csv` under `artifact_root`, and verify one prediction per expected barcode.\nThe response contains `n_cells`, `n_cell_types`, `label_counts`, `species_harmonization`, and\n`input_compatibility`. Read the per-cell confidence values from the CSV rather than assuming\nthat a high aggregate label count establishes accuracy.\n\nThe original case-folding rule is retained: uppercase names are used only when their vocabulary\noverlap is at least five times the exact match count and at least 1,000 genes greater. A changed\nrule explicitly reports the cross-species name-based orthology assumption. New AnnData nullable\nstring indices\u002Fmetadata are converted only in a private working copy when needed by the old\nscientific environment; `input_compatibility` records those fields. Expression values and the\noriginal query are not rewritten by that storage conversion.\n\n## Validate labels independently\n\nCompare barcode-aligned predictions with clustering, canonical positive\u002Fdiscriminating markers,\nand the expected tissue classes. Inspect low-confidence calls and discordant groups. The known\nmouse-to-human retinal transfer needs particular care for glial and vascular labels. Retain\nunassigned or uncertain results rather than forcing agreement. The existing\n`crossvalidate-scgpt-vs-leiden` skill remains useful for that separate analysis.\n\nA real V100 run on 480 public human-retina cells matched the original deployed harness's\nbarcode-aligned predictions and confidence values with zero differences at tolerance 1e-6,\nusing identical weights, scientific image and prepared query. Matched A30 runs also agreed\nexactly between old and new workflows. Comparing A30 with V100 preserved all 480 labels but\nchanged 35 confidence values by at most 0.0026; record the GPU when comparing confidence.\nNullable-string compatibility\nwas exercised on a new AnnData checkpoint. This is migration parity, not an accuracy benchmark\nor proof that a different model\u002Fspecies transfer is valid. Record the actual model\u002Fharness\u002Fimage\nidentities, GPU, task IDs, cell counts, compatibility changes and collected outputs.\n",{"name":5,"license":15,"metadata":24,"description":7},{"cpus":25,"tags":26,"image":27,"mem_gb":28,"status":29,"compute":30,"version":31,"category":32,"scheduler":33,"mcp-server":34,"time_limit":35,"tested-with":36,"requires-gpu":37,"requires-network":38,"requires-secrets":39,"mcp-package-version":40},"4","mcp, scgpt-annotation","docker:\u002F\u002Fghcr.io\u002Flijinbio\u002Fmcp-scgpt-annotation@sha256:7ee18dc0df9f11ebc4cb9cc9ec417d99c2a94b1f664fe3561f78e88b0a954df9","48","community","NVIDIA V100 or A30, 4 CPUs, 48 GB requested; 480 cells x 36601 genes; final-image V100 inference 42.5 seconds; earlier A30 validation 40.8 seconds","0.1.1","single-cell","optional","scgpt-annotation","01:00:00","aiscientist-mcp-scgpt-annotation 0.0.3, common 0.0.4, torch 2.3.0, scGPT 0.2.4, scanpy 1.11.5, anndata 0.11.4; real GPU old\u002Fnew parity on 480 HECA cells","true","install","none","0.0.3","main","5c42aa74b19348cb68aa35301eba042a737d94d4","skills\u002Fsingle-cell\u002Fannotate-cells-with-scgpt-mcp",2,"https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills","https:\u002F\u002Fgithub.com\u002Flijinbio","2026-11-14 05:44:08",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add lijinbio\u002Faiscientist-skills --skill annotate-cells-with-scgpt-mcp",{"tool":54,"command":55},"bunx","bunx skills add lijinbio\u002Faiscientist-skills --skill annotate-cells-with-scgpt-mcp",{"tool":57,"command":58},"pnpm","pnpm dlx skills add lijinbio\u002Faiscientist-skills --skill annotate-cells-with-scgpt-mcp","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsingle-cell\u002Fannotate-cells-with-scgpt-mcp\u002FSKILL.md",true,[],[63,70,77,84,91,98],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7DKZPCPYM78N1R0MVAVVYKT","verb-object-with-tool","One or two sentences on what the skill does and when to use it. Name the tool, the input it takes and the output it produces, then list the situations that should trigger it (for example \"Use when setting up X, writing a Y config, or diagnosing a failed Z run\").","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Ftemplate\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7DKZCJMFJJB9ZH9YGCSQHR5","write-variant-tables","Write the five standard variant-annotation result tables - consequence, impact and ClinVar-significance distributions, a ClinVar pathogenic and likely-pathogenic list, and a shortlist of rare, damaging variants not in ClinVar - plus a JSON summary, from an annotated per-variant TSV (VEP consequence and impact, SIFT, PolyPhen, max population AF, rsID, ClinVar significance), in pure Python without re-parsing the VCF or re-running VEP. Use when a study needs these tables with a different rarity cutoff, impact set or damaging-predictor rule, or when rebuilding them from an existing annotation table. In AiScientist, annotate_variants already writes the default tables, so use this only for a custom cut.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fwrite-variant-tables\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7DKZ3R4E6JEJT3YB6AHXE60","rank-phenotype-differentials-with-mcp","Map clinical phenotype text to grounded HPO terms and rank a research differential through an already configured phenotype-diagnosis MCP service with LIRICAL and optional literature adjudication. Use for explicit service-based analysis while preserving negation, uncertainty and original probabilities; retain the established workflow when the service is unavailable.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Frank-phenotype-differentials-with-mcp\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7DKYS9R4F5EPCMDHSH3TEZ7","qc-vcf-callset","Judge whether a germline VCF callset is trustworthy before interpreting any variant - Ti\u002FTv, Het\u002FHom, SNP, indel and multiallelic counts, sample count and genotype call rate from bcftools stats (falling back to cyvcf2, then to a plain-Python Ti\u002FTv scan) - and flag values outside the expected human WGS or WES ranges. Writes tables\u002Fvcf_qc_summary.csv and data\u002Fvcf_qc.json with a qc_flags list. Use when a VCF (one sample or a cohort) arrives for annotation or prioritization, when a Ti\u002FTv or Het\u002FHom value needs interpreting, or when deciding whether downstream variant tables must carry a low-confidence caveat.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fqc-vcf-callset\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7DKYDRBFTBS2J58QMB7SMHK","prioritize-clinical-variants","Rank annotated variants into research-triage tiers (ClinVar pathogenic, likely pathogenic, VUS favouring pathogenic, VUS, likely benign, benign) from ClinVar significance used verbatim, gnomAD allele frequency against a dominant or recessive disease-model cutoff and the ACMG BA1 5 percent rule, and in-silico predictors (SIFT, PolyPhen, REVEL, CADD, AlphaMissense) as supporting evidence only. Pure Python; reads a per-variant annotation TSV and writes a tier-sorted CSV with the evidence for each tier plus a JSON of tier counts. Use when a rare-variant list from VEP, ClinVar and gnomAD annotation must be ordered for review (which variants to look at first) or when choosing the disease model and cutoffs for that ordering. Research triage only, NOT a clinical ACMG\u002FAMP classification.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fprioritize-clinical-variants\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7DKY2XPCQ2S639KTPSAJ170","normalize-vcf-with-bcftools","Normalize a VCF with bcftools norm before annotation or ClinVar\u002FgnomAD matching - split multiallelic sites into biallelic records, atomize MNPs into SNPs, then left-align and trim indels against the reference FASTA of the same build - writing an indexed normalized.vcf.gz and a JSON of record counts before and after. Use when a VCF not known to be normalized (especially an indel-heavy one) will be matched against ClinVar, gnomAD or dbSNP, compared between callers or loaded into PLINK, or when a known pathogenic indel comes back as not in ClinVar. In AiScientist, the offline annotate_variants path already normalizes, so do not plan it as a separate step there.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fnormalize-vcf-with-bcftools\u002FSKILL.md",[],[]]