[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ASZ1CEWWP83886R4GWJS47":3,"skill-same:01M7ASZ1CEWWP83886R4GWJS47":149},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7ASZ1CEWWP83886R4GWJS47","scanpy",null,"Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA\u002FUMAP\u002Ft-SNE), clustering, differential expression, visualization, and converting R-friendly single-cell formats such as Seurat or SingleCellExperiment RDS files into h5ad for Scanpy. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use anndata.","nikhilesh-s\u002Fclaude-toolkit","nikhilesh-s","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F123913414?v=4","01M7ARX6NXB6DFY1CCP91599KE","Nikhilesh Suravarjjala","01M7ARX6PFTQKR6ME1K2S4AZ9K",0,"BSD-3-Clause","https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: scanpy\ndescription: Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA\u002FUMAP\u002Ft-SNE), clustering, differential expression, visualization, and converting R-friendly single-cell formats such as Seurat or SingleCellExperiment RDS files into h5ad for Scanpy. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use anndata.\nlicense: BSD-3-Clause\nmetadata:\n  version: \"1.5\"\n  skill-author: K-Dense Inc.\n---\n\n# Scanpy: Single-Cell Analysis\n\n## Overview\n\nScanpy is a scalable Python toolkit for analyzing single-cell RNA-seq data, built on AnnData. Apply this skill for complete single-cell workflows including quality control, normalization, dimensionality reduction, clustering, marker gene identification, visualization, and trajectory analysis. Current stable release: **scanpy 1.12.x** (January 2026).\n\n## Installation\n\nRequires Python **3.12+** (scanpy 1.12 dropped Python ≤3.11) and anndata **≥0.10**.\n\n```bash\nuv pip install \"scanpy[leiden]\"\n```\n\nThe `[leiden]` extra installs `python-igraph` and `leidenalg`, required for Leiden clustering. For reproducible environments, pin a version: `uv pip install \"scanpy[leiden]==1.12.1\"`.\n\nFor large or out-of-core datasets, many functions support [Dask](https:\u002F\u002Fdocs.dask.org\u002F) arrays (experimental):\n\n```bash\nuv pip install \"scanpy[leiden]\" dask\n```\n\nSee the [Using dask with Scanpy](https:\u002F\u002Fscanpy.scverse.org\u002Fen\u002Fstable\u002Ftutorials\u002Fexperimental\u002Fdask.html) tutorial. For GPU-accelerated scanpy-like operations, use [rapids-singlecell](https:\u002F\u002Frapids-singlecell.readthedocs.io\u002F) as a separate package.\n\nIf the input is an R-native single-cell object (`.rds`, `.RData`, Seurat, or SingleCellExperiment), first convert it to `.h5ad` with R tooling, then load it with Scanpy. Read `references\u002Fr_interop.md` for agent-run installation and conversion instructions across macOS, Linux, and Windows.\n\nFor AnnData structure and I\u002FO details, use the **anndata** skill. For probabilistic models and batch correction, use **scvi-tools**.\n\n## When to Use This Skill\n\nThis skill should be used when:\n- Analyzing single-cell RNA-seq data (.h5ad, 10X, CSV formats)\n- Working with R-friendly single-cell datasets (`.rds`, `.RData`, Seurat, SingleCellExperiment) that need conversion to `.h5ad`\n- Performing quality control on scRNA-seq datasets\n- Creating UMAP, t-SNE, or PCA visualizations\n- Identifying cell clusters and finding marker genes\n- Annotating cell types based on gene expression\n- Conducting trajectory inference or pseudotime analysis\n- Generating publication-quality single-cell plots\n\n## Script Toolkit (prefer these over writing code from scratch)\n\nThis skill bundles ready-to-run CLI scripts in `scripts\u002F` for every common step. **Run these instead of hand-writing scanpy code** — they handle file loading by extension, figure setup, sensible defaults, raw-count preservation, and progress logging. Each reads and writes `.h5ad`, so they chain together, and each has its own `--help`. Only drop down to writing scanpy code when a task isn't covered by a script or needs unusual customization.\n\nAll scripts use a shared `scripts\u002F_common.py` helper (loading, saving, figure config) — keep it alongside the others. Run from the skill directory or pass full paths; figures default to `.\u002Ffigures\u002F`.\n\n| Script | Purpose | Typical call |\n|--------|---------|--------------|\n| `run_pipeline.py` | **Full workflow in one command**: load → QC → normalize → HVG → PCA → (batch) → UMAP → Leiden → markers | `python scripts\u002Frun_pipeline.py raw.h5ad -o processed.h5ad` |\n| `inspect_data.py` | Summarize an unknown dataset (shape, obs\u002Fvar, layers, what's already computed, raw vs normalized) | `python scripts\u002Finspect_data.py data.h5ad` |\n| `convert.py` | Load any format (10x dir\u002F.h5, csv, loom, mtx) and write `.h5ad` | `python scripts\u002Fconvert.py 10x_dir\u002F -o data.h5ad` |\n| `qc_analysis.py` | QC metrics, before\u002Fafter plots, filtering, optional Scrublet doublets | `python scripts\u002Fqc_analysis.py raw.h5ad -o qc.h5ad --scrublet` |\n| `preprocess.py` | Normalize, log1p, HVG, optional scale\u002Fregress (keeps `counts` layer + `raw`) | `python scripts\u002Fpreprocess.py qc.h5ad -o norm.h5ad` |\n| `reduce_dimensions.py` | PCA + variance plot, neighbors, UMAP, optional t-SNE | `python scripts\u002Freduce_dimensions.py norm.h5ad -o red.h5ad` |\n| `batch_correct.py` | Integration: harmony \u002F bbknn \u002F combat | `python scripts\u002Fbatch_correct.py red.h5ad -o int.h5ad --method harmony --batch-key sample` |\n| `cluster.py` | Leiden (or louvain) at one or many resolutions | `python scripts\u002Fcluster.py red.h5ad -o clu.h5ad --resolution 0.3 0.6 1.0` |\n| `find_markers.py` | `rank_genes_groups` + per-group CSVs + marker plots | `python scripts\u002Ffind_markers.py clu.h5ad --groupby leiden -o clu.h5ad` |\n| `annotate.py` | Map clusters → cell types from JSON\u002FCSV; optional marker reference dotplot | `python scripts\u002Fannotate.py clu.h5ad -o ann.h5ad --mapping map.json` |\n| `score_genes.py` | Score gene signatures (JSON) and\u002For cell-cycle phase | `python scripts\u002Fscore_genes.py ann.h5ad -o scored.h5ad --gene-sets sigs.json` |\n| `pseudobulk.py` | Aggregate counts by sample × cell type → matrix for pydeseq2 | `python scripts\u002Fpseudobulk.py ann.h5ad --by sample cell_type --out-prefix pb` |\n| `subset.py` | Subset by obs values or gene list (optionally clear stale embeddings) | `python scripts\u002Fsubset.py ann.h5ad -o tcells.h5ad --obs cell_type --keep \"T cells\"` |\n| `plot.py` | Generate umap\u002Ftsne\u002Fpca\u002Fviolin\u002Fdotplot\u002Fheatmap\u002Fetc. from a processed object | `python scripts\u002Fplot.py ann.h5ad --kind dotplot --genes CD3D CD14 --groupby cell_type` |\n\n### One-shot end-to-end run\n\n```bash\n# Counts → clustered, marker-annotated object + figures + marker CSVs\npython scripts\u002Frun_pipeline.py raw.h5ad -o processed.h5ad \\\n    --resolution 0.5 --n-top-genes 2000 --scrublet\n# With multi-sample integration:\npython scripts\u002Frun_pipeline.py raw.h5ad -o processed.h5ad --batch-key sample --batch-method harmony\n# Reproducible parameters via JSON (keys mirror flag names with underscores):\npython scripts\u002Frun_pipeline.py raw.h5ad -o processed.h5ad --config params.json\n```\n\n### Step-by-step chain (when you need to inspect\u002Fiterate between stages)\n\n```bash\npython scripts\u002Fqc_analysis.py        raw.h5ad  -o qc.h5ad   --scrublet\npython scripts\u002Fpreprocess.py         qc.h5ad   -o norm.h5ad --n-top-genes 2000\npython scripts\u002Freduce_dimensions.py  norm.h5ad -o red.h5ad  --n-pcs 40\npython scripts\u002Fcluster.py            red.h5ad  -o clu.h5ad  --resolution 0.3 0.5 0.8\npython scripts\u002Ffind_markers.py       clu.h5ad  -o clu.h5ad  --groupby leiden --use-raw\n# inspect results\u002Fmarkers\u002F*.csv, decide labels, write a mapping JSON, then:\npython scripts\u002Fannotate.py           clu.h5ad  -o ann.h5ad  --mapping celltypes.json\n```\n\nThe sections below document the underlying scanpy calls each script performs — read them when customizing beyond the script flags.\n\n## Quick Start\n\n### Basic Import and Setup\n\n```python\nimport scanpy as sc\nimport pandas as pd\nimport numpy as np\n\n# Configure settings\nsc.settings.verbosity = 3\nsc.settings.set_figure_params(dpi=80, facecolor='white')\nsc.settings.figdir = '.\u002Ffigures\u002F'\nsc.settings.autosave = True  # Preferred over per-plot save= (deprecated in scanpy 1.12)\n```\n\n### Loading Data\n\n```python\n# From 10X Genomics\nadata = sc.read_10x_mtx('path\u002Fto\u002Fdata\u002F')\nadata = sc.read_10x_h5('path\u002Fto\u002Fdata.h5')\n\n# From h5ad (AnnData format)\nadata = sc.read_h5ad('path\u002Fto\u002Fdata.h5ad')\n\n# From CSV\nadata = sc.read_csv('path\u002Fto\u002Fdata.csv')\n```\n\nFor R-native files, do not try to parse Seurat `.rds` directly in Python. Convert first:\n\n```bash\n# See references\u002Fr_interop.md for installing R and conversion packages.\nRscript convert_rds_to_h5ad.R input.rds output.h5ad\n```\n\n```python\nadata = sc.read_h5ad('output.h5ad')\n```\n\n### Understanding AnnData Structure\n\nThe AnnData object is the core data structure in scanpy:\n\n```python\nadata.X          # Expression matrix (cells × genes)\nadata.obs        # Cell metadata (DataFrame)\nadata.var        # Gene metadata (DataFrame)\nadata.uns        # Unstructured annotations (dict)\nadata.obsm       # Multi-dimensional cell data (PCA, UMAP)\nadata.raw        # Raw data backup\n\n# Access cell and gene names\nadata.obs_names  # Cell barcodes\nadata.var_names  # Gene names\n```\n\n## Standard Analysis Workflow\n\nThe seven steps, with code and the parameters that matter at each, are in\n[references\u002Fanalysis_workflow.md](references\u002Fanalysis_workflow.md):\n\n1. **Quality control** — filter cells and genes; inspect mitochondrial fraction and counts\n   before choosing thresholds rather than copying defaults.\n2. **Normalization and preprocessing** — normalize, log-transform, select highly variable\n   genes, and keep `.raw` for later plotting.\n3. **Dimensionality reduction** — PCA, then the neighbour graph, then UMAP.\n4. **Clustering** — Leiden at a resolution chosen for the question, not the default.\n5. **Marker gene identification** — ranked genes per cluster.\n6. **Cell type annotation** — mapping clusters to types from markers.\n7. **Save results** — writing the annotated `AnnData`.\n\nCommon follow-on tasks — publication plots, trajectory inference, pseudobulk differential\nexpression between conditions, gene set scoring, and batch correction — are in the same\nfile. See also [references\u002Fstandard_workflow.md](references\u002Fstandard_workflow.md) and\n[references\u002Fplotting_guide.md](references\u002Fplotting_guide.md).\n\n## Key Parameters to Adjust\n\n### Quality Control\n- `min_genes`: Minimum genes per cell (typically 200-500)\n- `min_cells`: Minimum cells per gene (typically 3-10)\n- `pct_counts_mt`: Mitochondrial threshold (typically 5-20%)\n\n### Normalization\n- `target_sum`: Target counts per cell (default 1e4)\n\n### Feature Selection\n- `n_top_genes`: Number of HVGs (typically 2000-3000)\n- `min_mean`, `max_mean`, `min_disp`: HVG selection parameters\n\n### Dimensionality Reduction\n- `n_pcs`: Number of principal components (check variance ratio plot)\n- `n_neighbors`: Number of neighbors (typically 10-30)\n\n### Clustering\n- `resolution`: Clustering granularity (0.4-1.2, higher = more clusters)\n\n## Common Pitfalls and Best Practices\n\n1. **Always save raw counts**: `adata.raw = adata` before filtering genes\n2. **Check QC plots carefully**: Adjust thresholds based on dataset quality\n3. **Use Leiden clustering**: `sc.tl.louvain` is deprecated in scanpy 1.12\n4. **Try multiple clustering resolutions**: Find optimal granularity\n5. **Validate cell type annotations**: Use multiple marker genes\n6. **Use `use_raw=True` for gene expression plots**: Shows normalized counts from `.raw`\n7. **Check PCA variance ratio**: Determine optimal number of PCs\n8. **Save intermediate results**: Long workflows can fail partway through\n9. **Pseudobulk for DE**: Do not treat `rank_genes_groups` p-values as rigorous DE between conditions\n10. **Save plots via settings**: Use `sc.settings.autosave` instead of deprecated `save=` on plot functions\n11. **Convert R objects before Scanpy**: Use R packages to convert Seurat or SingleCellExperiment `.rds` files to `.h5ad`, preserving counts, metadata, and gene identifiers\n\n## Bundled Resources\n\n### scripts\u002F (CLI toolkit)\nA composable set of `.h5ad`-in\u002F`.h5ad`-out scripts covering the whole workflow plus a one-command end-to-end pipeline. See the **Script Toolkit** section above for the full table and chaining examples. Each script has `--help`. Files:\n\n- `_common.py` — shared loading\u002Fsaving\u002Ffigure helpers imported by the others (not a CLI)\n- `run_pipeline.py` — full pipeline in one command (flags or `--config` JSON)\n- `inspect_data.py`, `convert.py` — explore and load\u002Fconvert any input format\n- `qc_analysis.py`, `preprocess.py`, `reduce_dimensions.py`, `batch_correct.py`, `cluster.py` — pipeline steps\n- `find_markers.py`, `annotate.py`, `score_genes.py`, `pseudobulk.py` — markers, annotation, scoring, DE prep\n- `subset.py`, `plot.py` — subset by metadata\u002Fgenes; generate any standard plot\n\n**Default to these scripts before writing scanpy code from scratch.**\n\n### references\u002Fstandard_workflow.md\nComplete step-by-step workflow with detailed explanations and code examples for:\n- Data loading and setup\n- Quality control with visualization\n- Normalization and scaling\n- Feature selection\n- Dimensionality reduction (PCA, UMAP, t-SNE)\n- Clustering (Leiden)\n- Doublet detection (scrublet) and pseudobulk aggregation\n- Marker gene identification\n- Cell type annotation\n- Trajectory inference\n- Differential expression\n\nRead this reference when performing a complete analysis from scratch.\n\n### references\u002Fapi_reference.md\nQuick reference guide for scanpy functions organized by module:\n- Reading\u002Fwriting data (`sc.read_*`, `adata.write_*`)\n- Preprocessing (`sc.pp.*`)\n- Tools (`sc.tl.*`)\n- Plotting (`sc.pl.*`)\n- AnnData structure and manipulation\n- Settings and utilities\n\nUse this for quick lookup of function signatures and common parameters.\n\n### references\u002Fplotting_guide.md\nComprehensive visualization guide including:\n- Quality control plots\n- Dimensionality reduction visualizations\n- Clustering visualizations\n- Marker gene plots (heatmaps, dot plots, violin plots)\n- Trajectory and pseudotime plots\n- Publication-quality customization\n- Multi-panel figures\n- Color palettes and styling\n\nConsult this when creating publication-ready figures.\n\n### references\u002Fr_interop.md\nAgent runbook for installing R on macOS, Linux, and Windows, installing CRAN\u002FBioconductor conversion packages, inspecting `.rds`\u002F`.RData` inputs, converting Seurat or SingleCellExperiment objects to `.h5ad`, and validating the result in Scanpy.\n\n### assets\u002Fanalysis_template.py\nComplete analysis template providing a full workflow from data loading through cell type annotation. Copy and customize this template for new analyses:\n\n```bash\ncp assets\u002Fanalysis_template.py my_analysis.py\n# Edit parameters and run\npython my_analysis.py\n```\n\nThe template includes all standard steps with configurable parameters and helpful comments.\n\n### assets\u002F JSON templates\nEdit-and-pass templates so you don't author config\u002Fmappings from scratch:\n- `assets\u002Fpipeline_config.json` — parameter set for `run_pipeline.py --config`\n- `assets\u002Fcelltype_mapping.json` — cluster → cell-type map for `annotate.py --mapping`\n- `assets\u002Fgene_signatures.json` — gene-set signatures for `score_genes.py --gene-sets`\n\n## Additional Resources\n\n- **Official scanpy documentation**: https:\u002F\u002Fscanpy.scverse.org\u002Fen\u002Fstable\u002F\n- **Scanpy tutorials**: https:\u002F\u002Fscanpy.scverse.org\u002Fen\u002Fstable\u002Ftutorials\u002Findex.html\n- **Release notes**: https:\u002F\u002Fscanpy.scverse.org\u002Fen\u002Fstable\u002Frelease-notes\u002Findex.html\n- **scverse ecosystem**: https:\u002F\u002Fscverse.org\u002F (related tools: squidpy, scvi-tools, cellrank)\n- **R interoperability**: https:\u002F\u002Fwww.bioconductor.org\u002Fpackages\u002Frelease\u002Fbioc\u002Fhtml\u002Fzellkonverter.html and https:\u002F\u002Fmojaveazure.github.io\u002Fseurat-disk\u002F\n- **Best practices**: Luecken & Theis (2019) \"Current best practices in single-cell RNA-seq\"\n\n## Tips for Effective Analysis\n\n1. **Start with the template**: Use `assets\u002Fanalysis_template.py` as a starting point\n2. **Run QC script first**: Use `scripts\u002Fqc_analysis.py` for initial filtering\n3. **Consult references as needed**: Load workflow and API references into context\n4. **Iterate on clustering**: Try multiple resolutions and visualization methods\n5. **Validate biologically**: Check marker genes match expected cell types\n6. **Document parameters**: Record QC thresholds and analysis settings\n7. **Save checkpoints**: Write intermediate results at key steps\n","# Scanpy: Single-Cell Analysis\n\n## Overview\n\nScanpy is a scalable Python toolkit for analyzing single-cell RNA-seq data, built on AnnData. Apply this skill for complete single-cell workflows including quality control, normalization, dimensionality reduction, clustering, marker gene identification, visualization, and trajectory analysis. Current stable release: **scanpy 1.12.x** (January 2026).\n\n## Installation\n\nRequires Python **3.12+** (scanpy 1.12 dropped Python ≤3.11) and anndata **≥0.10**.\n\n```bash\nuv pip install \"scanpy[leiden]\"\n```\n\nThe `[leiden]` extra installs `python-igraph` and `leidenalg`, required for Leiden clustering. For reproducible environments, pin a version: `uv pip install \"scanpy[leiden]==1.12.1\"`.\n\nFor large or out-of-core datasets, many functions support [Dask](https:\u002F\u002Fdocs.dask.org\u002F) arrays (experimental):\n\n```bash\nuv pip install \"scanpy[leiden]\" dask\n```\n\nSee the [Using dask with Scanpy](https:\u002F\u002Fscanpy.scverse.org\u002Fen\u002Fstable\u002Ftutorials\u002Fexperimental\u002Fdask.html) tutorial. For GPU-accelerated scanpy-like operations, use [rapids-singlecell](https:\u002F\u002Frapids-singlecell.readthedocs.io\u002F) as a separate package.\n\nIf the input is an R-native single-cell object (`.rds`, `.RData`, Seurat, or SingleCellExperiment), first convert it to `.h5ad` with R tooling, then load it with Scanpy. Read `references\u002Fr_interop.md` for agent-run installation and conversion instructions across macOS, Linux, and Windows.\n\nFor AnnData structure and I\u002FO details, use the **anndata** skill. For probabilistic models and batch correction, use **scvi-tools**.\n\n## When to Use This Skill\n\nThis skill should be used when:\n- Analyzing single-cell RNA-seq data (.h5ad, 10X, CSV formats)\n- Working with R-friendly single-cell datasets (`.rds`, `.RData`, Seurat, SingleCellExperiment) that need conversion to `.h5ad`\n- Performing quality control on scRNA-seq datasets\n- Creating UMAP, t-SNE, or PCA visualizations\n- Identifying cell clusters and finding marker genes\n- Annotating cell types based on gene expression\n- Conducting trajectory inference or pseudotime analysis\n- Generating publication-quality single-cell plots\n\n## Script Toolkit (prefer these over writing code from scratch)\n\nThis skill bundles ready-to-run CLI scripts in `scripts\u002F` for every common step. **Run these instead of hand-writing scanpy code** — they handle file loading by extension, figure setup, sensible defaults, raw-count preservation, and progress logging. Each reads and writes `.h5ad`, so they chain together, and each has its own `--help`. Only drop down to writing scanpy code when a task isn't covered by a script or needs unusual customization.\n\nAll scripts use a shared `scripts\u002F_common.py` helper (loading, saving, figure config) — keep it alongside the others. Run from the skill directory or pass full paths; figures default to `.\u002Ffigures\u002F`.\n\n| Script | Purpose | Typical call |\n|--------|---------|--------------|\n| `run_pipeline.py` | **Full workflow in one command**: load → QC → normalize → HVG → PCA → (batch) → UMAP → Leiden → markers | `python scripts\u002Frun_pipeline.py raw.h5ad -o processed.h5ad` |\n| `inspect_data.py` | Summarize an unknown dataset (shape, obs\u002Fvar, layers, what's already computed, raw vs normalized) | `python scripts\u002Finspect_data.py data.h5ad` |\n| `convert.py` | Load any format (10x dir\u002F.h5, csv, loom, mtx) and write `.h5ad` | `python scripts\u002Fconvert.py 10x_dir\u002F -o data.h5ad` |\n| `qc_analysis.py` | QC metrics, before\u002Fafter plots, filtering, optional Scrublet doublets | `python scripts\u002Fqc_analysis.py raw.h5ad -o qc.h5ad --scrublet` |\n| `preprocess.py` | Normalize, log1p, HVG, optional scale\u002Fregress (keeps `counts` layer + `raw`) | `python scripts\u002Fpreprocess.py qc.h5ad -o norm.h5ad` |\n| `reduce_dimensions.py` | PCA + variance plot, neighbors, UMAP, optional t-SNE | `python scripts\u002Freduce_dimensions.py norm.h5ad -o red.h5ad` |\n| `batch_correct.py` | Integration: harmony \u002F bbknn \u002F combat | `python scripts\u002Fbatch_correct.py red.h5ad -o int.h5ad --method harmony --batch-key sample` |\n| `cluster.py` | Leiden (or louvain) at one or many resolutions | `python scripts\u002Fcluster.py red.h5ad -o clu.h5ad --resolution 0.3 0.6 1.0` |\n| `find_markers.py` | `rank_genes_groups` + per-group CSVs + marker plots | `python scripts\u002Ffind_markers.py clu.h5ad --groupby leiden -o clu.h5ad` |\n| `annotate.py` | Map clusters → cell types from JSON\u002FCSV; optional marker reference dotplot | `python scripts\u002Fannotate.py clu.h5ad -o ann.h5ad --mapping map.json` |\n| `score_genes.py` | Score gene signatures (JSON) and\u002For cell-cycle phase | `python scripts\u002Fscore_genes.py ann.h5ad -o scored.h5ad --gene-sets sigs.json` |\n| `pseudobulk.py` | Aggregate counts by sample × cell type → matrix for pydeseq2 | `python scripts\u002Fpseudobulk.py ann.h5ad --by sample cell_type --out-prefix pb` |\n| `subset.py` | Subset by obs values or gene list (optionally clear stale embeddings) | `python scripts\u002Fsubset.py ann.h5ad -o tcells.h5ad --obs cell_type --keep \"T cells\"` |\n| `plot.py` | Generate umap\u002Ftsne\u002Fpca\u002Fviolin\u002Fdotplot\u002Fheatmap\u002Fetc. from a processed object | `python scripts\u002Fplot.py ann.h5ad --kind dotplot --genes CD3D CD14 --groupby cell_type` |\n\n### One-shot end-to-end run\n\n```bash\n# Counts → clustered, marker-annotated object + figures + marker CSVs\npython scripts\u002Frun_pipeline.py raw.h5ad -o processed.h5ad \\\n    --resolution 0.5 --n-top-genes 2000 --scrublet\n# With multi-sample integration:\npython scripts\u002Frun_pipeline.py raw.h5ad -o processed.h5ad --batch-key sample --batch-method harmony\n# Reproducible parameters via JSON (keys mirror flag names with underscores):\npython scripts\u002Frun_pipeline.py raw.h5ad -o processed.h5ad --config params.json\n```\n\n### Step-by-step chain (when you need to inspect\u002Fiterate between stages)\n\n```bash\npython scripts\u002Fqc_analysis.py        raw.h5ad  -o qc.h5ad   --scrublet\npython scripts\u002Fpreprocess.py         qc.h5ad   -o norm.h5ad --n-top-genes 2000\npython scripts\u002Freduce_dimensions.py  norm.h5ad -o red.h5ad  --n-pcs 40\npython scripts\u002Fcluster.py            red.h5ad  -o clu.h5ad  --resolution 0.3 0.5 0.8\npython scripts\u002Ffind_markers.py       clu.h5ad  -o clu.h5ad  --groupby leiden --use-raw\n# inspect results\u002Fmarkers\u002F*.csv, decide labels, write a mapping JSON, then:\npython scripts\u002Fannotate.py           clu.h5ad  -o ann.h5ad  --mapping celltypes.json\n```\n\nThe sections below document the underlying scanpy calls each script performs — read them when customizing beyond the script flags.\n\n## Quick Start\n\n### Basic Import and Setup\n\n```python\nimport scanpy as sc\nimport pandas as pd\nimport numpy as np\n\n# Configure settings\nsc.settings.verbosity = 3\nsc.settings.set_figure_params(dpi=80, facecolor='white')\nsc.settings.figdir = '.\u002Ffigures\u002F'\nsc.settings.autosave = True  # Preferred over per-plot save= (deprecated in scanpy 1.12)\n```\n\n### Loading Data\n\n```python\n# From 10X Genomics\nadata = sc.read_10x_mtx('path\u002Fto\u002Fdata\u002F')\nadata = sc.read_10x_h5('path\u002Fto\u002Fdata.h5')\n\n# From h5ad (AnnData format)\nadata = sc.read_h5ad('path\u002Fto\u002Fdata.h5ad')\n\n# From CSV\nadata = sc.read_csv('path\u002Fto\u002Fdata.csv')\n```\n\nFor R-native files, do not try to parse Seurat `.rds` directly in Python. Convert first:\n\n```bash\n# See references\u002Fr_interop.md for installing R and conversion packages.\nRscript convert_rds_to_h5ad.R input.rds output.h5ad\n```\n\n```python\nadata = sc.read_h5ad('output.h5ad')\n```\n\n### Understanding AnnData Structure\n\nThe AnnData object is the core data structure in scanpy:\n\n```python\nadata.X          # Expression matrix (cells × genes)\nadata.obs        # Cell metadata (DataFrame)\nadata.var        # Gene metadata (DataFrame)\nadata.uns        # Unstructured annotations (dict)\nadata.obsm       # Multi-dimensional cell data (PCA, UMAP)\nadata.raw        # Raw data backup\n\n# Access cell and gene names\nadata.obs_names  # Cell barcodes\nadata.var_names  # Gene names\n```\n\n## Standard Analysis Workflow\n\nThe seven steps, with code and the parameters that matter at each, are in\n[references\u002Fanalysis_workflow.md](references\u002Fanalysis_workflow.md):\n\n1. **Quality control** — filter cells and genes; inspect mitochondrial fraction and counts\n   before choosing thresholds rather than copying defaults.\n2. **Normalization and preprocessing** — normalize, log-transform, select highly variable\n   genes, and keep `.raw` for later plotting.\n3. **Dimensionality reduction** — PCA, then the neighbour graph, then UMAP.\n4. **Clustering** — Leiden at a resolution chosen for the question, not the default.\n5. **Marker gene identification** — ranked genes per cluster.\n6. **Cell type annotation** — mapping clusters to types from markers.\n7. **Save results** — writing the annotated `AnnData`.\n\nCommon follow-on tasks — publication plots, trajectory inference, pseudobulk differential\nexpression between conditions, gene set scoring, and batch correction — are in the same\nfile. See also [references\u002Fstandard_workflow.md](references\u002Fstandard_workflow.md) and\n[references\u002Fplotting_guide.md](references\u002Fplotting_guide.md).\n\n## Key Parameters to Adjust\n\n### Quality Control\n- `min_genes`: Minimum genes per cell (typically 200-500)\n- `min_cells`: Minimum cells per gene (typically 3-10)\n- `pct_counts_mt`: Mitochondrial threshold (typically 5-20%)\n\n### Normalization\n- `target_sum`: Target counts per cell (default 1e4)\n\n### Feature Selection\n- `n_top_genes`: Number of HVGs (typically 2000-3000)\n- `min_mean`, `max_mean`, `min_disp`: HVG selection parameters\n\n### Dimensionality Reduction\n- `n_pcs`: Number of principal components (check variance ratio plot)\n- `n_neighbors`: Number of neighbors (typically 10-30)\n\n### Clustering\n- `resolution`: Clustering granularity (0.4-1.2, higher = more clusters)\n\n## Common Pitfalls and Best Practices\n\n1. **Always save raw counts**: `adata.raw = adata` before filtering genes\n2. **Check QC plots carefully**: Adjust thresholds based on dataset quality\n3. **Use Leiden clustering**: `sc.tl.louvain` is deprecated in scanpy 1.12\n4. **Try multiple clustering resolutions**: Find optimal granularity\n5. **Validate cell type annotations**: Use multiple marker genes\n6. **Use `use_raw=True` for gene expression plots**: Shows normalized counts from `.raw`\n7. **Check PCA variance ratio**: Determine optimal number of PCs\n8. **Save intermediate results**: Long workflows can fail partway through\n9. **Pseudobulk for DE**: Do not treat `rank_genes_groups` p-values as rigorous DE between conditions\n10. **Save plots via settings**: Use `sc.settings.autosave` instead of deprecated `save=` on plot functions\n11. **Convert R objects before Scanpy**: Use R packages to convert Seurat or SingleCellExperiment `.rds` files to `.h5ad`, preserving counts, metadata, and gene identifiers\n\n## Bundled Resources\n\n### scripts\u002F (CLI toolkit)\nA composable set of `.h5ad`-in\u002F`.h5ad`-out scripts covering the whole workflow plus a one-command end-to-end pipeline. See the **Script Toolkit** section above for the full table and chaining examples. Each script has `--help`. Files:\n\n- `_common.py` — shared loading\u002Fsaving\u002Ffigure helpers imported by the others (not a CLI)\n- `run_pipeline.py` — full pipeline in one command (flags or `--config` JSON)\n- `inspect_data.py`, `convert.py` — explore and load\u002Fconvert any input format\n- `qc_analysis.py`, `preprocess.py`, `reduce_dimensions.py`, `batch_correct.py`, `cluster.py` — pipeline steps\n- `find_markers.py`, `annotate.py`, `score_genes.py`, `pseudobulk.py` — markers, annotation, scoring, DE prep\n- `subset.py`, `plot.py` — subset by metadata\u002Fgenes; generate any standard plot\n\n**Default to these scripts before writing scanpy code from scratch.**\n\n### references\u002Fstandard_workflow.md\nComplete step-by-step workflow with detailed explanations and code examples for:\n- Data loading and setup\n- Quality control with visualization\n- Normalization and scaling\n- Feature selection\n- Dimensionality reduction (PCA, UMAP, t-SNE)\n- Clustering (Leiden)\n- Doublet detection (scrublet) and pseudobulk aggregation\n- Marker gene identification\n- Cell type annotation\n- Trajectory inference\n- Differential expression\n\nRead this reference when performing a complete analysis from scratch.\n\n### references\u002Fapi_reference.md\nQuick reference guide for scanpy functions organized by module:\n- Reading\u002Fwriting data (`sc.read_*`, `adata.write_*`)\n- Preprocessing (`sc.pp.*`)\n- Tools (`sc.tl.*`)\n- Plotting (`sc.pl.*`)\n- AnnData structure and manipulation\n- Settings and utilities\n\nUse this for quick lookup of function signatures and common parameters.\n\n### references\u002Fplotting_guide.md\nComprehensive visualization guide including:\n- Quality control plots\n- Dimensionality reduction visualizations\n- Clustering visualizations\n- Marker gene plots (heatmaps, dot plots, violin plots)\n- Trajectory and pseudotime plots\n- Publication-quality customization\n- Multi-panel figures\n- Color palettes and styling\n\nConsult this when creating publication-ready figures.\n\n### references\u002Fr_interop.md\nAgent runbook for installing R on macOS, Linux, and Windows, installing CRAN\u002FBioconductor conversion packages, inspecting `.rds`\u002F`.RData` inputs, converting Seurat or SingleCellExperiment objects to `.h5ad`, and validating the result in Scanpy.\n\n### assets\u002Fanalysis_template.py\nComplete analysis template providing a full workflow from data loading through cell type annotation. Copy and customize this template for new analyses:\n\n```bash\ncp assets\u002Fanalysis_template.py my_analysis.py\n# Edit parameters and run\npython my_analysis.py\n```\n\nThe template includes all standard steps with configurable parameters and helpful comments.\n\n### assets\u002F JSON templates\nEdit-and-pass templates so you don't author config\u002Fmappings from scratch:\n- `assets\u002Fpipeline_config.json` — parameter set for `run_pipeline.py --config`\n- `assets\u002Fcelltype_mapping.json` — cluster → cell-type map for `annotate.py --mapping`\n- `assets\u002Fgene_signatures.json` — gene-set signatures for `score_genes.py --gene-sets`\n\n## Additional Resources\n\n- **Official scanpy documentation**: https:\u002F\u002Fscanpy.scverse.org\u002Fen\u002Fstable\u002F\n- **Scanpy tutorials**: https:\u002F\u002Fscanpy.scverse.org\u002Fen\u002Fstable\u002Ftutorials\u002Findex.html\n- **Release notes**: https:\u002F\u002Fscanpy.scverse.org\u002Fen\u002Fstable\u002Frelease-notes\u002Findex.html\n- **scverse ecosystem**: https:\u002F\u002Fscverse.org\u002F (related tools: squidpy, scvi-tools, cellrank)\n- **R interoperability**: https:\u002F\u002Fwww.bioconductor.org\u002Fpackages\u002Frelease\u002Fbioc\u002Fhtml\u002Fzellkonverter.html and https:\u002F\u002Fmojaveazure.github.io\u002Fseurat-disk\u002F\n- **Best practices**: Luecken & Theis (2019) \"Current best practices in single-cell RNA-seq\"\n\n## Tips for Effective Analysis\n\n1. **Start with the template**: Use `assets\u002Fanalysis_template.py` as a starting point\n2. **Run QC script first**: Use `scripts\u002Fqc_analysis.py` for initial filtering\n3. **Consult references as needed**: Load workflow and API references into context\n4. **Iterate on clustering**: Try multiple resolutions and visualization methods\n5. **Validate biologically**: Check marker genes match expected cell types\n6. **Document parameters**: Record QC thresholds and analysis settings\n7. **Save checkpoints**: Write intermediate results at key steps\n",{"name":5,"license":15,"metadata":24,"description":7},{"version":25,"skill-author":26},"1.5","K-Dense Inc.","nik-claude-toolkit","4feaa2876384b593d9e30d9190bc56985eeeeb8e","skills\u002Fscanpy","https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit","https:\u002F\u002Fgithub.com\u002Fnikhilesh-s","2026-10-22 14:30:58",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add nikhilesh-s\u002Fclaude-toolkit --skill scanpy",{"tool":39,"command":40},"bunx","bunx skills add nikhilesh-s\u002Fclaude-toolkit --skill scanpy",{"tool":42,"command":43},"pnpm","pnpm dlx skills add nikhilesh-s\u002Fclaude-toolkit --skill scanpy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002FSKILL.md",true,[47,53,59,63,67,73,77,81,85,89,93,97,101,105,109,113,117,121,125,129,133,137,141,145],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"assets\u002Fanalysis_template.py","SCRIPT","脚本",9806,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fassets\u002Fanalysis_template.py",{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"assets\u002Fcelltype_mapping.json","ASSET","资产文件",184,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fassets\u002Fcelltype_mapping.json",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"assets\u002Fgene_signatures.json",355,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fassets\u002Fgene_signatures.json",{"path":64,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":65,"sourceHtmlUrl":66},"assets\u002Fpipeline_config.json",380,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fassets\u002Fpipeline_config.json",{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fanalysis_workflow.md","REFERENCE","参考文档",6668,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Freferences\u002Fanalysis_workflow.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fapi_reference.md",8441,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Freferences\u002Fapi_reference.md",{"path":78,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fplotting_guide.md",10094,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Freferences\u002Fplotting_guide.md",{"path":82,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fr_interop.md",10800,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Freferences\u002Fr_interop.md",{"path":86,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fstandard_workflow.md",6146,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Freferences\u002Fstandard_workflow.md",{"path":90,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":91,"sourceHtmlUrl":92},"scripts\u002F_common.py",4459,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002F_common.py",{"path":94,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":95,"sourceHtmlUrl":96},"scripts\u002Fannotate.py",3604,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fannotate.py",{"path":98,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":99,"sourceHtmlUrl":100},"scripts\u002Fbatch_correct.py",2745,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fbatch_correct.py",{"path":102,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":103,"sourceHtmlUrl":104},"scripts\u002Fcluster.py",2523,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fcluster.py",{"path":106,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":107,"sourceHtmlUrl":108},"scripts\u002Fconvert.py",1514,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fconvert.py",{"path":110,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":111,"sourceHtmlUrl":112},"scripts\u002Ffind_markers.py",3445,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Ffind_markers.py",{"path":114,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":115,"sourceHtmlUrl":116},"scripts\u002Finspect_data.py",2886,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Finspect_data.py",{"path":118,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":119,"sourceHtmlUrl":120},"scripts\u002Fplot.py",3595,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fplot.py",{"path":122,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":123,"sourceHtmlUrl":124},"scripts\u002Fpreprocess.py",3801,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fpreprocess.py",{"path":126,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":127,"sourceHtmlUrl":128},"scripts\u002Fpseudobulk.py",2972,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fpseudobulk.py",{"path":130,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":131,"sourceHtmlUrl":132},"scripts\u002Fqc_analysis.py",4645,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fqc_analysis.py",{"path":134,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":135,"sourceHtmlUrl":136},"scripts\u002Freduce_dimensions.py",2684,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Freduce_dimensions.py",{"path":138,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":139,"sourceHtmlUrl":140},"scripts\u002Frun_pipeline.py",8112,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Frun_pipeline.py",{"path":142,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":143,"sourceHtmlUrl":144},"scripts\u002Fscore_genes.py",3743,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fscore_genes.py",{"path":146,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":147,"sourceHtmlUrl":148},"scripts\u002Fsubset.py",2533,"https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fscanpy\u002Fscripts\u002Fsubset.py",[150,158,166,173,180,187],{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":19},"01M7AT8339CZMCRMRZP6G1R329","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.","MIT","https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":162,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":19},"01M7AT77E7JPH96ETQBNDVVYDM","video-use","Edit any video by conversation. Transcribe, cut, color grade, generate overlay animations, burn subtitles — for talking heads, montages, tutorials, travel, interviews. No presets, no menus. Ask questions, confirm the plan, execute, iterate, persist. Production-correctness rules are hard; everything else is artistic freedom.","https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fvideo-use\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fvideo-use\u002FSKILL.md",[],[],{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":19},"01M7AT6YVX000D73Q40SBPZYKP","venue-templates","Prepare journal manuscripts, conference papers, research posters, and grant documents using venue-specific formatting guidance and bundled LaTeX scaffolds. Use when selecting an official template, checking current page or anonymity rules, adapting academic writing to a venue, or inspecting a submission PDF.","https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fvenue-templates\u002FSKILL.md",[],[],{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":19},"01M7AT6SGGBENKX1G6V8V9G2MJ","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\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fvaex\u002FSKILL.md",[],[],{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":19},"01M7AT6HHDJ54MR4HDPFHJYR7G","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\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Fusfiscaldata\u002FSKILL.md",[],[],{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":154,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":19},"01M7AT662JFE4THBVAZBB3ANJD","uncertainty-and-units","Track physical units and propagate measurement uncertainty in scientific calculations using pint and uncertainties. Use for unit conversion and dimensional checking, GUM uncertainty budgets, Type A and Type B evaluation, coverage factors and expanded uncertainty, Monte Carlo propagation, significant-figure and plus-minus reporting, error propagation through curve fits, CODATA constants, auditing Python code for stripped units or broken uncertainty propagation, and order-of-magnitude plausibility checks using dimensionless groups (Reynolds, Peclet, Damkohler, Knudsen, Biot, Womersley), characteristic scales such as diffusion time or Debye length, and observed magnitude ranges. Trigger on \"is this number physically reasonable\", \"sanity check these units\", \"what regime is this flow in\", or a result that looks off by orders of magnitude.","https:\u002F\u002Fgithub.com\u002Fnikhilesh-s\u002Fclaude-toolkit\u002Fblob\u002Fnik-claude-toolkit\u002Fskills\u002Funcertainty-and-units\u002FSKILL.md",[],[]]