[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKERQSRT0D0PSJ12ENHE2N":3,"skill-same:01M7EKERQSRT0D0PSJ12ENHE2N":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7EKERQSRT0D0PSJ12ENHE2N","scvelo",null,"Performs RNA velocity analysis with scVelo from spliced and unspliced single-cell RNA counts. Fits deterministic or dynamical models, examines gene phase portraits, builds velocity graphs, estimates relative latent time, and ranks velocity-associated genes. Use for directional trajectory hypotheses and kinetic-model diagnostics alongside Scanpy; velocity alone does not establish cell fate or causal drivers.","mhyahya854\u002FAI-Second-Brain_Universal-Rules","mhyahya854","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F194078115?v=4","01M7EGSP2M9T858SDHJMXQ257Y","01M7EGSP3N6HN6879SVDPMD4DZ",0,"BSD-3-Clause","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FK-Dense-AI\u002Fscientific-agent-skills\u002Fscvelo\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: scvelo\ndescription: Performs RNA velocity analysis with scVelo from spliced and unspliced single-cell RNA counts. Fits deterministic or dynamical models, examines gene phase portraits, builds velocity graphs, estimates relative latent time, and ranks velocity-associated genes. Use for directional trajectory hypotheses and kinetic-model diagnostics alongside Scanpy; velocity alone does not establish cell fate or causal drivers.\nlicense: BSD-3-Clause\ncompatibility: Requires Python 3.13 for the tested stack with scvelo 0.3.4, scanpy 1.12.4, anndata 0.13.4, numpy 2.5.3 and pandas 2.3.3. Loom import requires loompy. Local H5AD analysis needs no network or credentials. The default stochastic solver is incompatible with NumPy 2.\nmetadata:\n  version: \"2.0\"\n  skill-author: Kuan-lin Huang\n  last-reviewed: \"2026-10-01\"\n---\n\n# scVelo RNA Velocity\n\n## When to use\n\nUse for kinetic analysis of aligned spliced\u002Funspliced RNA counts, directional\ntrajectory hypotheses, gene-level phase portraits, and dynamical latent time.\nUse the [model reference](references\u002Fvelocity_models.md) for assumptions,\ntransition probabilities, and an optional CellRank handoff.\n\nRNA velocity estimates an expression derivative under a model. Smooth arrows\nare not observed cell movement, lineage tracing, causal drivers, or proof of\nfuture fate. The dynamical estimator is not automatically more accurate than\na steady-state estimator on every dataset.\n\n## Tested environment and compatibility\n\nThe maintained workflow targets scVelo **0.3.4**, Scanpy **1.12.4**, AnnData\n**0.13.4**, NumPy **2.5.3**, pandas **2.3.3**, SciPy **1.18.1**, Matplotlib\n**3.11.2**, and loompy **3.0.8** on Python 3.13. Use an isolated environment:\n\n```bash\nuv venv --python 3.13 .venv-velocity\nuv pip install --python .venv-velocity\u002Fbin\u002Fpython \\\n  scvelo==0.3.4 scanpy==1.12.4 anndata==0.13.4 numpy==2.5.3 \\\n  pandas==2.3.3 scipy==1.18.1 matplotlib==3.11.2 loompy==3.0.8\n```\n\nThe packages above were resolved from cache and tested in an isolated `uv`\nenvironment; shell paths above use POSIX syntax. Installation requires network\naccess unless packages are cached. No API key is required.\n\n- **Deterministic and dynamical models:** native synthetic fitting, graphs,\n  relative times, plots and H5AD round trips are tested on this stack.\n- **Stochastic model:** scVelo 0.3.4's default GLS scalar assignment fails with\n  NumPy 2. Scanpy 1.12 requires NumPy 2, so installing `numpy\u003C2` beside current\n  Scanpy is not a solution. A separately validated legacy Scanpy\u002FNumPy environment\n  is required; that legacy stack was not executed in this review. The helper\n  rejects this combination before modifying data, without changing the model.\n- **pandas 3:** scVelo 0.3.4 dynamical fitting and some plots use operations no\n  longer supported by pandas 3. Keep the explicit pandas pin.\n- The upstream stable tutorial still contains removed `scv.read` and older\n  preprocessing calls. Check the [0.3.4 source](https:\u002F\u002Fgithub.com\u002Ftheislab\u002Fscvelo\u002Ftree\u002Fv0.3.4)\n  when a tutorial disagrees with the installed API.\n\n## Input contract\n\n1. Obtain spliced and unspliced counts from a velocity-aware quantifier. Keep\n   quantifier\u002Fversion, reference annotation, counting mode, sample IDs and cell\n   barcode mapping. Upstream quantification is outside the bundled script.\n2. Supply **cells by genes** matrices in `adata.layers['spliced']` and\n   `adata.layers['unspliced']`, with identical cell\u002Fgene ordering and unique IDs.\n   Counts must be finite and nonnegative; fractional count estimates are allowed.\n   Never use logged, scaled, residualized, or batch-corrected values as counts.\n   Numerical inspection alone cannot establish that data are raw.\n3. Inspect per-library\u002Fcluster coverage, doublets, ambient RNA, zero-count cells,\n   and annotation compatibility before fitting. Preserve the original full-gene\n   count file. Retained-gene backups do not preserve filtered-out genes.\n4. Resolve barcode prefixes and gene identifiers explicitly when combining\n   files. Do not silently strip library IDs, intersect away most cells, or make\n   duplicated biological IDs unique without understanding why they repeat.\n\nRead H5AD through AnnData. scVelo 0.3.4 has no `scv.read` or `scv.DataFrame`:\n\n```python\nimport anndata as ad\nadata = ad.read_h5ad(\"velocity_counts.h5ad\")\n```\n\nFor legacy loom input use `ad.io.read_loom('counts.loom', X_name='spliced',\nsparse=True)`. AnnData 0.13 deprecates loom; convert to H5AD for further work.\nIts `layers[None]` aliases `X`: do not delete it or iterate all layers as if every\nkey were a string. The helper accesses only named velocity layers. Native loom\nreading and exact, reordered metadata alignment are covered by the tests;\nAnnData 0.13 `write_loom` is not used.\n\n## Run the maintained workflow\n\nThe [bundled script](scripts\u002Frna_velocity_workflow.py) accepts local files and\nnever downloads a demonstration dataset on startup:\n\n```bash\nMPLBACKEND=Agg .venv-velocity\u002Fbin\u002Fpython scripts\u002Frna_velocity_workflow.py \\\n  velocity_counts.h5ad --mode dynamical --groupby clusters \\\n  --n-top-genes 2000 --n-neighbors 30 --n-jobs 1 --output-dir velocity_results\n\n# Import a loom and align its raw counts to an existing annotation file:\nMPLBACKEND=Agg .venv-velocity\u002Fbin\u002Fpython scripts\u002Frna_velocity_workflow.py \\\n  counts.loom --processed-h5ad annotated.h5ad --groupby clusters \\\n  --mode deterministic --output-dir velocity_check\n```\n\nRun these from the skill directory. Input filenames and biological annotations\nare illustrative; the same CLI and functions are tested on small generated\nkinetic fixtures. Omit `--groupby` when annotations are unavailable. Use\n`--no-plots` for analysis without computing UMAP.\n\nThe helper performs these steps:\n\n1. Validate layers, IDs, model compatibility and grouping; refuse previously\n   generated moments\u002Fvelocity so preprocessing cannot silently run twice.\n2. Back up retained raw layers as `spliced_counts` and `unspliced_counts` and\n   rebuild `X` from raw spliced counts. Filter genes and normalize `X` and the\n   two count layers on a linear scale.\n3. Apply `sc.pp.log1p` **only to X**, select highly variable genes with Scanpy,\n   and rebuild PCA and neighbors after subsetting. Reusing stale PCA\u002Fneighbors\n   from an unrelated feature set can silently change the velocity model.\n4. Compute `Ms` and `Mu` with `scv.pp.moments(adata, n_neighbors=None)` from the\n   explicit Scanpy graph. Moments are dense: budget memory for multiple\n   cells-by-genes arrays, not only the sparse input.\n5. For dynamical mode, call `recover_dynamics(var_names='all')` on the selected\n   genes before `velocity(mode='dynamical')`; otherwise fit the selected model.\n   Require usable genes and a nonempty velocity graph.\n6. Compute velocity coherence and velocity pseudotime; add latent time only for\n   dynamical fits. Rank velocity-associated genes only with at least two groups\n   and at least two cells per group. Record\u002Fwarn about nonfinite or constant\n   time\u002Fcoherence outputs in `uns['velocity_workflow']['diagnostics']`; a\n   constant pseudotime does not support a trajectory ordering. Ranking is exploratory.\n7. For plots, recompute UMAP from the rebuilt graph, project velocities, save\n   PNGs directly to the requested directory, then save H5AD with package versions\n   and selected parameters. Existing labels remain annotations, not validated\n   cell identities.\n\nThe Python function mutates its argument in place; pass `adata.copy()` to keep\nthe original object. The CLI writes to `output_dir\u002Fadata_velocity.h5ad`.\nVersion 2 changes the former helper's behavior deliberately: raw layer geometry\nis rebuilt, missing requested labels are errors, and plots\u002Fparallelism can be\ncontrolled explicitly. Runtime depends on cells, genes and fit difficulty;\nthere is no universal 10–30 minute expectation.\n\n## Inspect the evidence before interpretation\n\nAfter a dynamical run (dataset-specific gene selection is illustrative):\n\n```python\nimport pandas as pd\nimport scvelo as scv\n\n# Candidate kinetic genes, not experimentally established drivers.\ncandidates = adata.var['fit_likelihood'].dropna().nlargest(6).index.tolist()\nscv.pl.velocity(adata, var_names=candidates, basis='umap', show=False)\n\n# This ranks group-associated velocities, not causal influence or condition DE.\nscv.tl.rank_velocity_genes(adata, groupby='clusters', min_corr=0.3)\nranked = pd.DataFrame(adata.uns['rank_velocity_genes']['names'])\n\nscv.tl.velocity_confidence(adata)\nscv.pl.scatter(adata, color=['velocity_length', 'velocity_confidence'], show=False)\n```\n\nInspect spliced-versus-unspliced phase portraits, coverage across induction and\nrepression, fitted parameters, failed\u002FNaN fits, and branch-specific kinetics.\nCheck sensitivity to gene set, neighbors, subsampling and model assumptions.\nUse time-course labels, perturbations, lineage tracing or labeling experiments\nas independent directional evidence where available. A plausible UMAP alone\ncannot validate a fit, and tuning until arrows match a desired story is not a\nvalidation strategy.\n\nThere is no general minimum of 2,000 cells, universal unspliced fraction, or\nrule that root cells must have the highest unspliced\u002Fspliced ratio. Coverage of\nrelevant kinetic states and measurement quality matter. Negative velocity can\nrepresent repression or model misspecification; it is not by itself evidence\nthat layers were swapped.\n\n## Output interpretation\n\n| Field | Interpretation |\n| --- | --- |\n| `layers['velocity']` | Model-estimated derivative in processed gene-expression space |\n| `var['velocity_genes']` | Genes selected for the velocity graph; distinct from all HVGs |\n| `layers['Ms']`, `layers['Mu']` | Neighbor-averaged linear-scale spliced\u002Funspliced expression |\n| `layers['fit_t']` | Gene-specific fitted time coordinates, dynamical model only |\n| `var['fit_alpha\u002Fbeta\u002Fgamma']` | Fitted rates on the model's inferred scale; not calibrated physical rates |\n| `var['fit_likelihood']` | Relative model-fit diagnostic; not a posterior probability of biological truth |\n| `uns['velocity_graph']` | Sparse positive cosine correlations for candidate transitions; not row-stochastic |\n| `obsm['velocity_umap']` | Projected vectors, only after embedding computation\u002Fplotting |\n| `obs['velocity_pseudotime']` | Graph-based relative ordering |\n| `obs['latent_time']` | Coupled dynamical ordering; normally scaled 0–1, not elapsed hours |\n| `obs['velocity_length']` | Processed-space vector magnitude; not physical cell speed |\n| `obs['velocity_confidence']` | Neighbor velocity coherence, not calibrated uncertainty |\n\nFor fate probabilities use an explicitly normalized transition kernel and a\nvalidated terminal-state definition; see the optional CellRank example in the\nreference. PAGA requires optional igraph and compatible Scanpy internals; it is\nnot part of the tested core workflow or a substitute for fate inference.\n\n## Troubleshooting\n\n| Problem | Action |\n| --- | --- |\n| Missing or mismatched layers | Revisit quantification and explicit ID alignment; X cannot substitute for unspliced counts |\n| Very few velocity genes | Inspect depth, state coverage and phase portraits before altering thresholds |\n| Smooth but implausible arrows | Check model assumptions, batch geometry and individual genes; compare independent evidence |\n| Nonfinite fit or empty graph | Stop interpretation and investigate degenerate features\u002Fcoverage |\n| Excessive memory or fitting time | Use a justified gene set and `n_jobs=1`; account for dense moments and fit arrays |\n| Stochastic failure on NumPy 2 | Use a separately validated compatible legacy stack or explicitly reconsider the model |\n| pandas `unique` error in fit\u002Fplot | Use the tested pandas 2.3.3 pin |\n\n## Sources and verification scope\n\nReviewed 2026-10-01 against the [released source](https:\u002F\u002Fgithub.com\u002Ftheislab\u002Fscvelo\u002Ftree\u002Fv0.3.4),\n[API](https:\u002F\u002Fscvelo.readthedocs.io\u002Fen\u002Flatest\u002Fapi.html),\n[kinetic-model caveats](https:\u002F\u002Fscvelo.readthedocs.io\u002Fen\u002Flatest\u002Fperspectives\u002FPerspectives.html),\nand [AnnData loom reader](https:\u002F\u002Fanndata.readthedocs.io\u002Fen\u002Fstable\u002Fgenerated\u002Fanndata.io.read_loom.html).\nThe main paper is [Bergen et al., 2020](https:\u002F\u002Fdoi.org\u002F10.1038\u002Fs41587-020-0591-3).\nSynthetic execution tests verify software contracts and file\u002Ffigure production;\nthey do not establish biological accuracy, identifiability or dataset-specific\nparameter recovery. Optional CellRank\u002FPAGA analyses remain source-reviewed,\nillustrative extensions. No authenticated remote service is used.\n","# scVelo RNA Velocity\n\n## When to use\n\nUse for kinetic analysis of aligned spliced\u002Funspliced RNA counts, directional\ntrajectory hypotheses, gene-level phase portraits, and dynamical latent time.\nUse the [model reference](references\u002Fvelocity_models.md) for assumptions,\ntransition probabilities, and an optional CellRank handoff.\n\nRNA velocity estimates an expression derivative under a model. Smooth arrows\nare not observed cell movement, lineage tracing, causal drivers, or proof of\nfuture fate. The dynamical estimator is not automatically more accurate than\na steady-state estimator on every dataset.\n\n## Tested environment and compatibility\n\nThe maintained workflow targets scVelo **0.3.4**, Scanpy **1.12.4**, AnnData\n**0.13.4**, NumPy **2.5.3**, pandas **2.3.3**, SciPy **1.18.1**, Matplotlib\n**3.11.2**, and loompy **3.0.8** on Python 3.13. Use an isolated environment:\n\n```bash\nuv venv --python 3.13 .venv-velocity\nuv pip install --python .venv-velocity\u002Fbin\u002Fpython \\\n  scvelo==0.3.4 scanpy==1.12.4 anndata==0.13.4 numpy==2.5.3 \\\n  pandas==2.3.3 scipy==1.18.1 matplotlib==3.11.2 loompy==3.0.8\n```\n\nThe packages above were resolved from cache and tested in an isolated `uv`\nenvironment; shell paths above use POSIX syntax. Installation requires network\naccess unless packages are cached. No API key is required.\n\n- **Deterministic and dynamical models:** native synthetic fitting, graphs,\n  relative times, plots and H5AD round trips are tested on this stack.\n- **Stochastic model:** scVelo 0.3.4's default GLS scalar assignment fails with\n  NumPy 2. Scanpy 1.12 requires NumPy 2, so installing `numpy\u003C2` beside current\n  Scanpy is not a solution. A separately validated legacy Scanpy\u002FNumPy environment\n  is required; that legacy stack was not executed in this review. The helper\n  rejects this combination before modifying data, without changing the model.\n- **pandas 3:** scVelo 0.3.4 dynamical fitting and some plots use operations no\n  longer supported by pandas 3. Keep the explicit pandas pin.\n- The upstream stable tutorial still contains removed `scv.read` and older\n  preprocessing calls. Check the [0.3.4 source](https:\u002F\u002Fgithub.com\u002Ftheislab\u002Fscvelo\u002Ftree\u002Fv0.3.4)\n  when a tutorial disagrees with the installed API.\n\n## Input contract\n\n1. Obtain spliced and unspliced counts from a velocity-aware quantifier. Keep\n   quantifier\u002Fversion, reference annotation, counting mode, sample IDs and cell\n   barcode mapping. Upstream quantification is outside the bundled script.\n2. Supply **cells by genes** matrices in `adata.layers['spliced']` and\n   `adata.layers['unspliced']`, with identical cell\u002Fgene ordering and unique IDs.\n   Counts must be finite and nonnegative; fractional count estimates are allowed.\n   Never use logged, scaled, residualized, or batch-corrected values as counts.\n   Numerical inspection alone cannot establish that data are raw.\n3. Inspect per-library\u002Fcluster coverage, doublets, ambient RNA, zero-count cells,\n   and annotation compatibility before fitting. Preserve the original full-gene\n   count file. Retained-gene backups do not preserve filtered-out genes.\n4. Resolve barcode prefixes and gene identifiers explicitly when combining\n   files. Do not silently strip library IDs, intersect away most cells, or make\n   duplicated biological IDs unique without understanding why they repeat.\n\nRead H5AD through AnnData. scVelo 0.3.4 has no `scv.read` or `scv.DataFrame`:\n\n```python\nimport anndata as ad\nadata = ad.read_h5ad(\"velocity_counts.h5ad\")\n```\n\nFor legacy loom input use `ad.io.read_loom('counts.loom', X_name='spliced',\nsparse=True)`. AnnData 0.13 deprecates loom; convert to H5AD for further work.\nIts `layers[None]` aliases `X`: do not delete it or iterate all layers as if every\nkey were a string. The helper accesses only named velocity layers. Native loom\nreading and exact, reordered metadata alignment are covered by the tests;\nAnnData 0.13 `write_loom` is not used.\n\n## Run the maintained workflow\n\nThe [bundled script](scripts\u002Frna_velocity_workflow.py) accepts local files and\nnever downloads a demonstration dataset on startup:\n\n```bash\nMPLBACKEND=Agg .venv-velocity\u002Fbin\u002Fpython scripts\u002Frna_velocity_workflow.py \\\n  velocity_counts.h5ad --mode dynamical --groupby clusters \\\n  --n-top-genes 2000 --n-neighbors 30 --n-jobs 1 --output-dir velocity_results\n\n# Import a loom and align its raw counts to an existing annotation file:\nMPLBACKEND=Agg .venv-velocity\u002Fbin\u002Fpython scripts\u002Frna_velocity_workflow.py \\\n  counts.loom --processed-h5ad annotated.h5ad --groupby clusters \\\n  --mode deterministic --output-dir velocity_check\n```\n\nRun these from the skill directory. Input filenames and biological annotations\nare illustrative; the same CLI and functions are tested on small generated\nkinetic fixtures. Omit `--groupby` when annotations are unavailable. Use\n`--no-plots` for analysis without computing UMAP.\n\nThe helper performs these steps:\n\n1. Validate layers, IDs, model compatibility and grouping; refuse previously\n   generated moments\u002Fvelocity so preprocessing cannot silently run twice.\n2. Back up retained raw layers as `spliced_counts` and `unspliced_counts` and\n   rebuild `X` from raw spliced counts. Filter genes and normalize `X` and the\n   two count layers on a linear scale.\n3. Apply `sc.pp.log1p` **only to X**, select highly variable genes with Scanpy,\n   and rebuild PCA and neighbors after subsetting. Reusing stale PCA\u002Fneighbors\n   from an unrelated feature set can silently change the velocity model.\n4. Compute `Ms` and `Mu` with `scv.pp.moments(adata, n_neighbors=None)` from the\n   explicit Scanpy graph. Moments are dense: budget memory for multiple\n   cells-by-genes arrays, not only the sparse input.\n5. For dynamical mode, call `recover_dynamics(var_names='all')` on the selected\n   genes before `velocity(mode='dynamical')`; otherwise fit the selected model.\n   Require usable genes and a nonempty velocity graph.\n6. Compute velocity coherence and velocity pseudotime; add latent time only for\n   dynamical fits. Rank velocity-associated genes only with at least two groups\n   and at least two cells per group. Record\u002Fwarn about nonfinite or constant\n   time\u002Fcoherence outputs in `uns['velocity_workflow']['diagnostics']`; a\n   constant pseudotime does not support a trajectory ordering. Ranking is exploratory.\n7. For plots, recompute UMAP from the rebuilt graph, project velocities, save\n   PNGs directly to the requested directory, then save H5AD with package versions\n   and selected parameters. Existing labels remain annotations, not validated\n   cell identities.\n\nThe Python function mutates its argument in place; pass `adata.copy()` to keep\nthe original object. The CLI writes to `output_dir\u002Fadata_velocity.h5ad`.\nVersion 2 changes the former helper's behavior deliberately: raw layer geometry\nis rebuilt, missing requested labels are errors, and plots\u002Fparallelism can be\ncontrolled explicitly. Runtime depends on cells, genes and fit difficulty;\nthere is no universal 10–30 minute expectation.\n\n## Inspect the evidence before interpretation\n\nAfter a dynamical run (dataset-specific gene selection is illustrative):\n\n```python\nimport pandas as pd\nimport scvelo as scv\n\n# Candidate kinetic genes, not experimentally established drivers.\ncandidates = adata.var['fit_likelihood'].dropna().nlargest(6).index.tolist()\nscv.pl.velocity(adata, var_names=candidates, basis='umap', show=False)\n\n# This ranks group-associated velocities, not causal influence or condition DE.\nscv.tl.rank_velocity_genes(adata, groupby='clusters', min_corr=0.3)\nranked = pd.DataFrame(adata.uns['rank_velocity_genes']['names'])\n\nscv.tl.velocity_confidence(adata)\nscv.pl.scatter(adata, color=['velocity_length', 'velocity_confidence'], show=False)\n```\n\nInspect spliced-versus-unspliced phase portraits, coverage across induction and\nrepression, fitted parameters, failed\u002FNaN fits, and branch-specific kinetics.\nCheck sensitivity to gene set, neighbors, subsampling and model assumptions.\nUse time-course labels, perturbations, lineage tracing or labeling experiments\nas independent directional evidence where available. A plausible UMAP alone\ncannot validate a fit, and tuning until arrows match a desired story is not a\nvalidation strategy.\n\nThere is no general minimum of 2,000 cells, universal unspliced fraction, or\nrule that root cells must have the highest unspliced\u002Fspliced ratio. Coverage of\nrelevant kinetic states and measurement quality matter. Negative velocity can\nrepresent repression or model misspecification; it is not by itself evidence\nthat layers were swapped.\n\n## Output interpretation\n\n| Field | Interpretation |\n| --- | --- |\n| `layers['velocity']` | Model-estimated derivative in processed gene-expression space |\n| `var['velocity_genes']` | Genes selected for the velocity graph; distinct from all HVGs |\n| `layers['Ms']`, `layers['Mu']` | Neighbor-averaged linear-scale spliced\u002Funspliced expression |\n| `layers['fit_t']` | Gene-specific fitted time coordinates, dynamical model only |\n| `var['fit_alpha\u002Fbeta\u002Fgamma']` | Fitted rates on the model's inferred scale; not calibrated physical rates |\n| `var['fit_likelihood']` | Relative model-fit diagnostic; not a posterior probability of biological truth |\n| `uns['velocity_graph']` | Sparse positive cosine correlations for candidate transitions; not row-stochastic |\n| `obsm['velocity_umap']` | Projected vectors, only after embedding computation\u002Fplotting |\n| `obs['velocity_pseudotime']` | Graph-based relative ordering |\n| `obs['latent_time']` | Coupled dynamical ordering; normally scaled 0–1, not elapsed hours |\n| `obs['velocity_length']` | Processed-space vector magnitude; not physical cell speed |\n| `obs['velocity_confidence']` | Neighbor velocity coherence, not calibrated uncertainty |\n\nFor fate probabilities use an explicitly normalized transition kernel and a\nvalidated terminal-state definition; see the optional CellRank example in the\nreference. PAGA requires optional igraph and compatible Scanpy internals; it is\nnot part of the tested core workflow or a substitute for fate inference.\n\n## Troubleshooting\n\n| Problem | Action |\n| --- | --- |\n| Missing or mismatched layers | Revisit quantification and explicit ID alignment; X cannot substitute for unspliced counts |\n| Very few velocity genes | Inspect depth, state coverage and phase portraits before altering thresholds |\n| Smooth but implausible arrows | Check model assumptions, batch geometry and individual genes; compare independent evidence |\n| Nonfinite fit or empty graph | Stop interpretation and investigate degenerate features\u002Fcoverage |\n| Excessive memory or fitting time | Use a justified gene set and `n_jobs=1`; account for dense moments and fit arrays |\n| Stochastic failure on NumPy 2 | Use a separately validated compatible legacy stack or explicitly reconsider the model |\n| pandas `unique` error in fit\u002Fplot | Use the tested pandas 2.3.3 pin |\n\n## Sources and verification scope\n\nReviewed 2026-10-01 against the [released source](https:\u002F\u002Fgithub.com\u002Ftheislab\u002Fscvelo\u002Ftree\u002Fv0.3.4),\n[API](https:\u002F\u002Fscvelo.readthedocs.io\u002Fen\u002Flatest\u002Fapi.html),\n[kinetic-model caveats](https:\u002F\u002Fscvelo.readthedocs.io\u002Fen\u002Flatest\u002Fperspectives\u002FPerspectives.html),\nand [AnnData loom reader](https:\u002F\u002Fanndata.readthedocs.io\u002Fen\u002Fstable\u002Fgenerated\u002Fanndata.io.read_loom.html).\nThe main paper is [Bergen et al., 2020](https:\u002F\u002Fdoi.org\u002F10.1038\u002Fs41587-020-0591-3).\nSynthetic execution tests verify software contracts and file\u002Ffigure production;\nthey do not establish biological accuracy, identifiability or dataset-specific\nparameter recovery. Optional CellRank\u002FPAGA analyses remain source-reviewed,\nillustrative extensions. No authenticated remote service is used.\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":27},{"version":24,"skill-author":25,"last-reviewed":26},"2.0","Kuan-lin Huang","2026-10-01","Requires Python 3.13 for the tested stack with scvelo 0.3.4, scanpy 1.12.4, anndata 0.13.4, numpy 2.5.3 and pandas 2.3.3. Loom import requires loompy. Local H5AD analysis needs no network or credentials. The default stochastic solver is incompatible with NumPy 2.","main","4c174e06a831864e98c30f630a7aa6c04738b094","skills\u002F_intake\u002Fgithub\u002FK-Dense-AI\u002Fscientific-agent-skills\u002Fscvelo","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules","https:\u002F\u002Fgithub.com\u002Fmhyahya854","2026-11-06 02:03:37",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill scvelo",{"tool":40,"command":41},"bunx","bunx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill scvelo",{"tool":43,"command":44},"pnpm","pnpm dlx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill scvelo","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FK-Dense-AI\u002Fscientific-agent-skills\u002Fscvelo\u002FSKILL.md",true,[48,54],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fvelocity_models.md","REFERENCE","参考文档",9438,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FK-Dense-AI\u002Fscientific-agent-skills\u002Fscvelo\u002Freferences\u002Fvelocity_models.md",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Frna_velocity_workflow.py","SCRIPT","脚本",13207,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FK-Dense-AI\u002Fscientific-agent-skills\u002Fscvelo\u002Fscripts\u002Frna_velocity_workflow.py",[61,70,78,86,93,100],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M7EX4T721AAH60R0239P8WBZ","frontend-slides","Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT\u002FPPTX to web, or create slides for a talk\u002Fpitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.","MIT","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzarazhangrui\u002Ffrontend-slides\u002Ffrontend-slides\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzarazhangrui\u002Ffrontend-slides\u002Ffrontend-slides\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7EX495RSHTTCEJVX7C83FA3","design-dna","Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure\u002Fschema, (2) a user provides images, screenshots, or URLs of reference designs and wants them analyzed into a structured JSON profile covering all three dimensions, (3) a user has a Design DNA JSON and content and wants a design generated from it, or (4) any combination of these phases. Triggers on \"design DNA\", \"extract design style\", \"analyze design\", \"design tokens from reference\", \"generate design from JSON\", \"design system from screenshot\", \"design profile\", \"style guide JSON\", \"visual effects analysis\", \"design with effects\", \"3d design analysis\".","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzanwei\u002Fdesign-dna\u002Fdesign-dna\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzanwei\u002Fdesign-dna\u002Fdesign-dna\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EX45RF2XZKRC3KDJDTT1PH","wireframe","Generate JSON wireframe with HTML preview","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fyhassy\u002Fwireframe-skill\u002Fwireframe-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fyhassy\u002Fwireframe-skill\u002Fwireframe-skill\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M7EWZEM3MHD48AYSYFR2C9JP","social-publishing","Schedule and publish social media posts across 13 platforms (X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, Pinterest) via the SocialClaw API. Use when the user wants to publish, schedule, or manage social media content programmatically. Requires SOCIALCLAW_API_KEY.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwshobson\u002Fagents\u002Fsocial-publishing\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":18},"01M7EWKDEK9840C728VXT78EQ9","hermes-tweet","Install and operate Hermes Tweet, a Hermes Agent plugin for X\u002FTwitter research, timeline reading, tweet analysis, and approval-gated private or state-changing operations. Use this skill when installing Hermes Tweet, researching X\u002FTwitter accounts, monitoring launch signals, investigating mentions, auditing giveaways, or preparing gated X operations. Use proactively when a Hermes Agent workflow needs current X\u002FTwitter context. Requires XQUIK_API_KEY for read and action tools.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwshobson\u002Fagents\u002Fhermes-tweet\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M7EWASXP3NZWW95CJPT2CRWN","refactoring-ui","Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions \"my UI looks off\" (or amateur\u002Funprofessional), \"fix the design\", \"Tailwind styling\", \"color palette\", \"visual hierarchy\", \"design system\", \"spacing scale\", or \"component styling\". Also trigger when building consistent design tokens, creating dark mode themes, improving data-visualization clarity, or polishing UI details before launch. Covers grayscale-first workflow, constrained design scales, shadows, and component styling. For typeface selection, see web-typography. For usability audits, see ux-heuristics.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwondelai\u002Fskills\u002Frefactoring-ui\u002FSKILL.md",[],[]]