spectral-embedding-scalability-benchmarking

spectral-embedding-scalability-benchmarking is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 57 tokens per session (1,773 once invoked), scanned A, original, Apache-2.0.

A benchmark for testing the speed and peak memory use of SnapATAC2's matrix-free spectral embedding on very large single-cell count matrices. Spectral embedding is a way to place high-dimensional cells in a smaller coordinate space for later analysis.

In plain words
What is it for?
Use it with a CSR-format matrix containing at least 10 million cells, isolated profiling tools, and repeatable runs. Measure runtime and maximum memory for the embedding step.
Why use it?
It checks whether the method scales as expected on the actual hardware and data, rather than relying only on its documented complexity. This can reveal performance regressions before committing to a large analysis.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with a CSR-format matrix containing at least 10 million cells, isolated profiling tools, and repeatable runs. Measure runtime and maximum memory for the embedding step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/spectral-embedding-scalability-benchmarking
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HolobiomicsLab/asb-skill-collections --skill spectral-embedding-scalability-benchmarking
Clone the repo
git clone --depth 1 https://github.com/HolobiomicsLab/asb-skill-collections

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spectral-embedding-scalability-benchmarking

README.md
[![agentmods](https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/spectral-embedding-scalability-benchmarking/github.svg)](https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/spectral-embedding-scalability-benchmarking)
Your own site
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/spectral-embedding-scalability-benchmarking"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/spectral-embedding-scalability-benchmarking/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spectral-embedding-scalability-benchmarking

Your own site · 80×15
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/spectral-embedding-scalability-benchmarking"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/spectral-embedding-scalability-benchmarking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,773 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01773
Opus 5 $0.00028 $0.00886
Sonnet 5 $0.00011 $0.00355
Haiku 4.5 $0.00006 $0.00177

Measured 6d ago against content hash 129785bca15d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

spectral-embedding-scalability-benchmarking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

collections/epigenomics/v1/skills/spectral-embedding-scalability-benchmarking/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

spectral-embedding-scalability-benchmarking

Summary

Benchmark the matrix-free spectral embedding algorithm (tl.spectral) in SnapATAC2 to validate its claimed linear time and space complexity when applied to single-cell datasets of 10 million or more cells. This skill confirms scalability performance through empirical measurement of runtime and peak memory consumption against the theoretical complexity claim.

When to use

Apply this skill when you have a large single-cell count matrix (≥10 million cells) in CSR format and need to verify whether the matrix-free spectral embedding in SnapATAC2 achieves its documented linear scaling behavior on your hardware and dataset characteristics. Use it as a validation step before committing large-scale analyses or as a performance regression test when upgrading SnapATAC2 versions.

When NOT to use

  • Input matrix is already embedded or has been pre-reduced to <10 million cells; use this skill only when validating large-scale scalability is the explicit goal.
  • You lack memory profiling tools or cannot isolate the spectral embedding step from the surrounding pipeline; meaningful benchmarking requires isolated, repeatable measurement.
  • The research question does not concern algorithmic scalability or performance validation; if you only need the embedding result, apply tl.spectral directly without instrumentation.

Inputs

  • Single-cell count matrix with ≥10 million cells in CSR (compressed sparse row) format
  • SnapATAC2 AnnData object or compatible matrix container

Outputs

  • Wall-clock runtime measurements (seconds) as a function of cell count
  • Peak memory usage profile (megabytes or gigabytes) throughout spectral decomposition
  • Spectral embedding matrix with weighted eigenvectors
  • Performance plot comparing observed time/space complexity to linear scaling expectation

How to apply

Load or generate a single-cell count matrix with ≥10 million cells and initialize it in CSR format compatible with SnapATAC2. Execute tl.spectral using the default cosine similarity metric (as of Release 2.3.0) while capturing wall-clock runtime using Python's time module or system profiler (e.g., cProfile). Monitor peak memory usage throughout spectral decomposition using a memory profiler such as memory_profiler or psutil. Document the number of eigenvectors returned and verify they are weighted by eigenvalues (default behavior in Release 2.3.0) to confirm correct output structure. Finally, plot the measured execution time and peak memory against dataset size and compare the observed slopes to the linear complexity claim; deviation from linearity may indicate algorithmic, hardware, or data-specific constraints.

Read the full file on GitHub · 110 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 110 lines · 57 tokens per session scan A 129785bca15d

Subscribe to this mod's changes

spectral-embedding-scalability-benchmarking is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed 2d ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,773 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

external-model-validation

Use when validating an existing prognostic risk signature on an external bulk expression cohort with survival outcomes, producing risk scores, Kaplan-Meier curves, risk distribution plots, heatmap, and time-dependent ROC curves. NOT for: model training, feature selection, nomogram construction, calibration analysis…

aipoch/medical-research-skills · 66 tokens

medical-research-literature-reader-pro

A medical-research-native literature reading skill for users with clinical, bioinformatics, translational, and basic experimental backgrounds. Use this skill whenever a user wants to read, analyze, critique, or interpret a medical or scientific paper — whether they provide a PDF, abstract, DOI, PMID, or just a title.…

aipoch/medical-research-skills · 199 tokens

adverse-event-narrative

Generates CIOMS I-compliant ICSR narratives from adverse event case data for FDA and EMA regulatory submission. Includes temporal analysis, MedDRA coding, causality assessment using WHO-UMC or Naranjo criteria, and multi-format output.

aipoch/medical-research-skills · 57 tokens

anatomy-quiz-master

Generate interactive anatomy quizzes for medical education with multiple.

aipoch/medical-research-skills · 17 tokens

decision-curve-analysis

Use when evaluating the clinical utility of a binary prediction model from a single clinical CSV file by fitting a logistic decision-curve model, plotting decision and clinical-impact curves, and exporting summary outputs. NOT for: survival calibration, ROC-only discrimination analysis, nomogram construction, or…

aipoch/medical-research-skills · 64 tokens

elastic-net-feature-selection

Use when selecting predictive genes or other molecular features from bulk expression matrices for binary case-vs-control classification with elastic net logistic regression, including coefficient path and cross-validation plots. Trigger keywords: elastic net, glmnet, feature selection, binary classification…

aipoch/medical-research-skills · 83 tokens