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.
npx skills add HolobiomicsLab/asb-skill-collections --skill memory-profiling-and-monitoringgit clone --depth 1 https://github.com/HolobiomicsLab/asb-skill-collectionsWrote 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.
[](https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/memory-profiling-and-monitoring)<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/memory-profiling-and-monitoring"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/memory-profiling-and-monitoring/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.
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/memory-profiling-and-monitoring"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/memory-profiling-and-monitoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.01501 |
| Opus 5 | $0.00019 | $0.00750 |
| Sonnet 5 | $0.00008 | $0.00300 |
| Haiku 4.5 | $0.00004 | $0.00150 |
Grade A, and why
memory-profiling-and-monitoring 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory profiling and monitoring
Summary
Systematically measure and record peak memory usage during computationally intensive single-cell analysis operations (e.g., spectral embedding) to verify that algorithms meet claimed space complexity and scale to large datasets. This skill is essential for validating scalability claims and identifying memory bottlenecks in matrix-free and sparse-matrix workflows.
When to use
When benchmarking or validating the scalability of single-cell algorithms that claim linear or sublinear space complexity, particularly when processing datasets with ≥10 million cells. Apply this skill during spectral embedding, co-embedding, or other dimension-reduction operations on large sparse matrices in CSR format to confirm that memory usage remains manageable and does not exceed system constraints.
When NOT to use
- When profiling algorithms already known to be in-memory (e.g., dense matrix operations on small datasets <1M cells) where memory monitoring provides no new insight.
- When the algorithm's space complexity is not publicly documented or claimed; memory profiling alone cannot validate an unspecified claim.
- When the computational platform (e.g., GPU-accelerated or distributed-memory system) uses memory management schemes that are opaque to Python-level profilers.
Inputs
- single-cell count matrix with ≥10 million cells in CSR format
- algorithm implementation (e.g., tl.spectral from SnapATAC2)
- similarity metric specification (e.g., cosine similarity)
- system profiler configuration (memory_profiler or psutil)
Outputs
- peak memory usage (bytes or MB)
- wall-clock runtime for reference
- memory vs. cell count plot or table
- assessment of observed vs. claimed space complexity
How to apply
Execute the target algorithm (e.g., tl.spectral with cosine similarity metric) on your dataset while simultaneously monitoring memory consumption using a dedicated memory profiler such as memory_profiler or psutil. Record the peak memory usage throughout the entire spectral decomposition operation, noting the timestamp and algorithm phase (e.g., matrix initialization, eigendecomposition, output assembly). After execution, analyze the measured peak memory against the algorithm's documented space complexity claim by plotting execution metrics (memory vs. dataset size or cell count). Compare observed memory behavior against the claimed linear or sublinear scaling to identify whether the algorithm meets its specification or reveals unexpected memory growth.
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.
- 9d ago First seen · 104 lines · 39 tokens per session scan A 1da856ca07e0
memory-profiling-and-monitoring is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed 2d ago), licensed Apache-2.0. It adds 39 tokens to every session and 1,501 once invoked, about $0.0002 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-03.
Other skills, from other repositories
estimate-immune-score-analysis
Use this skill to compute ESTIMATE immune-related microenvironment scores from a bulk expression matrix, generate an ESTIMATE score heatmap, and optionally generate group-wise ESTIMATE score boxplots plus significance tables when a sample group file is supplied. Trigger keywords: ESTIMATE, immune score, stromal score…
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…
gsva-analysis-and-visualization
Use this skill to run GSVA or ssGSEA pathway-level differential analysis from a bulk expression matrix and a sample group file, then generate a heatmap from the saved GSVA result object. Trigger keywords: GSVA, ssGSEA, pathway enrichment, KEGG pathway analysis, MSigDB. NOT for: gene-level differential expression…
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…
roc-diagnostic-performance
Use when evaluating diagnostic biomarker performance from case-control expression data with logistic regression and ROC curves, exporting coefficient and AUC tables together with a ROC PDF. NOT for: survival analysis, time-to-event outcomes, multiclass classification, calibration curves, decision-curve analysis, or…
wgcna-analysis
Use when building a weighted gene co-expression network from a bulk expression matrix and a sample group file, filtering variable genes by MAD, identifying co-expression modules with WGCNA, correlating modules with traits, and exporting module-level plots and gene tables. NOT for single-cell RNA-seq, differential…