computational-complexity-validation

computational-complexity-validation is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 50 tokens per session (1,870 once invoked), scanned A, original, Apache-2.0.

A testing method for checking whether an algorithm really scales as its documentation claims. It runs the algorithm on increasingly large datasets, including datasets with more than 10 million cells, and measures runtime and memory use.

In plain words
What is it for?
It is for validating claimed linear or sublinear time and memory use. Results can be compared with the predicted growth and plotted to show how the algorithm behaves.
Why use it?
Theoretical complexity claims do not always match real performance. This helps reveal whether an algorithm remains practical as the dataset grows.

Skill for Claude CodeCodex

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

Good fit It is for validating claimed linear or sublinear time and memory use. Results can be compared with the predicted growth and plotted to show how the algorithm behaves.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/computational-complexity-validation
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 computational-complexity-validation
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 computational-complexity-validation

README.md
[![agentmods](https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/computational-complexity-validation/github.svg)](https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/computational-complexity-validation)
Your own site
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/computational-complexity-validation"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/computational-complexity-validation/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 computational-complexity-validation

Your own site · 80×15
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/computational-complexity-validation"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/computational-complexity-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,870 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.00050 $0.01870
Opus 5.5 $0.00020 $0.00748
Sonnet 5.5 $0.00010 $0.00374
Haiku 4.5 $0.00005 $0.00187

Measured 1mo ago against content hash 61603646ebf6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

computational-complexity-validation 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 1mo 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/computational-complexity-validation/SKILL.md · 113 lines

How it starts

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

computational-complexity-validation

Summary

Empirically validate theoretical time and space complexity claims of a scalable algorithm by executing it on progressively large datasets (10M+ cells), measuring wall-clock runtime and peak memory, and plotting observed metrics against the predicted complexity curve to confirm linear or sublinear behavior.

When to use

When an algorithm claims linear or sublinear time/space complexity (e.g., matrix-free spectral embedding) and you need to verify that claim holds for datasets at the scale intended (10 million+ cells). Typical trigger: the algorithm's documentation or paper asserts O(n) or O(n log n) complexity, but you have access to datasets large enough to test empirically, and the scaling behavior is critical to your application's feasibility.

When NOT to use

  • Algorithm documentation does not make an explicit complexity claim to validate.
  • Datasets available are too small (< 100K cells) to reliably distinguish linear from polynomial growth; noise in measurements dominates.
  • Input is already preprocessed to a lower-dimensional representation (e.g., PCA scores, gene expression matrix); complexity validation requires full-rank or near-full-rank input.

Inputs

  • single-cell count matrix in CSR (compressed sparse row) format with ≥1M cells
  • cell and feature annotation metadata (optional but recommended for reproducibility)

Outputs

  • wall-clock runtime measurements (seconds) for each dataset size
  • peak memory usage (GB) for each dataset size
  • log-log plot of runtime vs. cell count with fitted complexity slope
  • log-log plot of memory vs. cell count with fitted complexity slope
  • summary table: cell count, runtime, peak memory, eigenvectors returned, output structure validation status

How to apply

Execute the algorithm on a series of datasets of increasing size (e.g., 1M, 5M, 10M+ cells), ensuring input matrices are in the same sparse format (e.g., CSR) that the algorithm expects. Measure wall-clock runtime using Python's time module or system profilers, and track peak memory consumption throughout execution using memory_profiler or psutil. Record the number of output features (e.g., eigenvectors) and verify they match expected output structure (e.g., weighted by eigenvalues). Plot runtime and memory against dataset size on log-log axes; a linear complexity algorithm should produce a slope near 1.0 when both axes are logarithmic. Analyze deviations from theory—actual overhead, constant factors, and memory alignment effects often cause a steeper slope at smaller sizes—and document whether the observed complexity is consistent with the published claim at the target scale.

Read the full file on GitHub · 113 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. 1mo ago First seen · 113 lines · 50 tokens per session scan A 61603646ebf6

Subscribe to this mod's changes

computational-complexity-validation is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (16 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 1,870 once invoked, about $0.0002 per session on Opus 5.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-08-30.

Related

Other skills, from other repositories

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

cibersort-immune-infiltration-analysis

Use when estimating relative immune cell infiltration from a bulk expression matrix with a CIBERSORT-style nu-SVR deconvolution workflow based on an LM22 signature matrix, comparing one case group against one control group, and generating structured tables plus immune-fraction plots. NOT for single-cell RNA-seq…

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

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

tf-target-gene-regulatory-network

Use when analyzing transcription factor (TF) regulatory networks using Dorothea database. Input gene list, identify regulating transcription factors, generate TF-Target network visualization. For: transcription factor enrichment analysis, gene regulatory network research.

aipoch/medical-research-skills · 52 tokens