Skip to content
Back to skills

External Integrations

ASecurity

"Use Scanpy optional integrations, scanpy.external wrappers,

  • 247 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 9, 2026
developmentpythongoapibackend

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill external-integrations --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of External Integrations?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for External Integrations
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-external-integrations/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-external-integrations)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: external-integrations
description: "Use Scanpy optional integrations, scanpy.external wrappers,
  Dask-backed arrays, and GPU/RAPIDS handoffs without over-installing optional
  dependencies."
disable-model-invocation: true
metadata:
  disco-role: operating
license: BSD 3-Clause
---

# Scanpy External Integrations

Use this sub-skill when a task involves optional dependency extras, `scanpy.external`, Dask-backed arrays, RAPIDS/GPU acceleration, external exporting, or integration/imputation/demultiplexing/trajectory wrappers outside Scanpy's core preprocessing and tool APIs.

## Route By Need

- **Optional extras planning**: Read [references/optional-dependencies.md](references/optional-dependencies.md) before recommending installs; choose the narrow extra or upstream package for the requested feature and do not suggest installing every extra.
- **External wrapper selection**: Read [references/external-api-map.md](references/external-api-map.md) to map `scanpy.external.pp`, `scanpy.external.tl`, `scanpy.external.pl`, and `scanpy.external.exporting` methods to prerequisites, outputs, and moved APIs.
- **Dask or large arrays**: Read [references/dask-and-rapids.md](references/dask-and-rapids.md) before promising distributed support; Scanpy supports selected Dask-backed preprocessing paths, not every algorithm or external package.
- **GPU acceleration**: Route GPU requests to [references/dask-and-rapids.md](references/dask-and-rapids.md); GPU workflows are usually delegated to `rapids-singlecell`, while Scanpy's RAPIDS neighbor backend requires a compatible cuML stack.
- **Import/install failures**: Use [references/troubleshooting.md](references/troubleshooting.md) plus `scripts/check_scanpy_optional_deps.py` to diagnose missing optional packages without installing or importing heavy dependencies.

## Safe Helper

Run the bundled checker from this sub-skill directory when you need a machine-readable optional-dependency inventory:

```console
python scripts/check_scanpy_optional_deps.py --feature scanorama --feature magic --json
python scripts/check_scanpy_optional_deps.py --list-features
```

The helper uses `importlib.util.find_spec` and package metadata only. It has no network, install, import-heavy, or package-mutation side effects.

## Boundaries

- Prefer core Scanpy guidance for ordinary normalization, PCA, neighbors, clustering, plotting, and AnnData handling unless the task explicitly needs optional integrations, Dask-backed arrays, or GPU handoffs.
- Prefer `sc.pp.harmony_integrate`, `sc.pp.scrublet`, and `sc.pp.scrublet_simulate_doublets` for moved APIs; legacy `scanpy.external.pp` aliases are deprecated compatibility routes.
- Keep install advice minimal: `scanpy[leiden]`, `scanpy[skmisc]`, `scanpy[plotting]`, `scanpy[magic]`, `scanpy[scanorama]`, `scanpy[bbknn]`, `scanpy[dask]`, `scanpy[dask-ml]`, and `scanpy[scrublet]` are targeted choices for specific features.
- For wrappers without Scanpy extras, recommend the named upstream package only for that method, such as `mnnpy`, `phate`, `palantir`, `trimap`, `sc-sam`, `phenograph`, `harmonyTS`, `wishbone`, `pypairs`, or `cellbrowser`.
- Do not recommend broad optional extras, development/test dependency groups, source checkout scripts, or original repository paths for runtime use.

Files in this skill

  • SKILL.md3.2 KB
  • references/dask-and-rapids.md5.2 KB
  • references/external-api-map.md8.7 KB
  • references/optional-dependencies.md5.6 KB
  • references/troubleshooting.md7 KB
  • scripts/check_scanpy_optional_deps.py8.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.