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 sparse-matrix-subset-indexinggit 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/sparse-matrix-subset-indexing)<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/sparse-matrix-subset-indexing"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/sparse-matrix-subset-indexing/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/sparse-matrix-subset-indexing"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/sparse-matrix-subset-indexing.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.00028 | $0.01413 |
| Opus 5 | $0.00014 | $0.00707 |
| Sonnet 5 | $0.00006 | $0.00283 |
| Haiku 4.5 | $0.00003 | $0.00141 |
Grade A, and why
sparse-matrix-subset-indexing 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.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
sparse-matrix-subset-indexing
Summary
Subset annotation matrices within chromVAR Deviations objects by selecting specific rows (annotation sets) or columns (samples) using standard R indexing to isolate feature pairs of interest before computing correlation or synergy metrics. This is a foundational data manipulation step that preserves sparsity and enables targeted pairwise annotation analysis.
When to use
When you have a chromVARDeviations object with multiple annotation sets (e.g., JASPAR motif indices and kmer indices) and you need to isolate two specific annotation sets for correlation or synergy computation, or when you wish to exclude low-quality or irrelevant samples before annotation relationship analysis.
When NOT to use
- Input annotation matrix is already filtered to a single annotation set or fewer than two sets (nothing to subset).
- Performing whole-matrix analysis intended to compare all annotation pairs simultaneously; subsetting prematurely may exclude relevant cross-set comparisons.
- Working with a dense matrix representation; sparse subsetting assumes sparse Matrix format to preserve efficiency.
Inputs
- chromVARDeviations object with annotation matrix (assay)
- Column/row indices or names identifying the two annotation sets of interest
Outputs
- Subsetted sparse matrix of annotations (typically Matrix::dgCMatrix or similar)
- Annotation pair identifiers (e.g., motif_ix and kmer_ix column names)
How to apply
Load the chromVARDeviations object containing precomputed bias-corrected deviations and z-scores. Identify the column indices (or names) corresponding to the two annotation sets of interest in the annotation matrix—for example, motif_ix columns for JASPAR motifs and kmer_ix columns for kmers. Use standard R matrix subsetting syntax (e.g., annotations[, c(motif_cols, kmer_cols)] or by named column selection) to extract the subset. Verify that the resulting matrix retains the sparse Matrix format to avoid memory overhead. The subsetted matrix then serves as input to downstream functions like getAnnotationCorrelation or getAnnotationSynergy, which operate on pairs of annotations across all retained samples.
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.
- 6d ago First seen · 100 lines · 28 tokens per session scan A a7d6e5ca51f4
sparse-matrix-subset-indexing is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed 2d ago), licensed Apache-2.0. It adds 28 tokens to every session and 1,413 once invoked, about $0.0001 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.
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…
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.…
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.
anatomy-quiz-master
Generate interactive anatomy quizzes for medical education with multiple.
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…
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…