memory-profiling-and-monitoring

memory-profiling-and-monitoring is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 39 tokens per session (1,501 once invoked), scanned A, original, Apache-2.0.

A measurement process for recording the highest amount of computer memory used while running large single-cell analysis operations. It is aimed at datasets with millions of cells and sparse matrices.

In plain words
What is it for?
Use it while benchmarking spectral embedding, co-embedding, or similar dimension-reduction workflows. It helps validate scalability claims and system requirements.
Why use it?
It reveals memory bottlenecks and checks whether an algorithm can scale within the claimed memory limits.

Skill for Claude CodeCodex

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

Good fit Use it while benchmarking spectral embedding, co-embedding, or similar dimension-reduction workflows. It helps validate scalability claims and system requirements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/memory-profiling-and-monitoring
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 memory-profiling-and-monitoring
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 memory-profiling-and-monitoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/memory-profiling-and-monitoring/github.svg)](https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/memory-profiling-and-monitoring)
Your own site
<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.

agentmods 80×15 button for memory-profiling-and-monitoring

Your own site · 80×15
<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>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,501 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.00039 $0.01501
Opus 5 $0.00019 $0.00750
Sonnet 5 $0.00008 $0.00300
Haiku 4.5 $0.00004 $0.00150

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

Security

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.

collections/epigenomics/v1/skills/memory-profiling-and-monitoring/SKILL.md · 104 lines

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.

Read the full file on GitHub · 104 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. 9d ago First seen · 104 lines · 39 tokens per session scan A 1da856ca07e0

Subscribe to this mod's changes

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.

Related

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…

aipoch/medical-research-skills · 90 tokens

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

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…

aipoch/medical-research-skills · 88 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

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…

aipoch/medical-research-skills · 64 tokens

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…

aipoch/medical-research-skills · 85 tokens