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 leiden-clustering-resolution-optimizationgit 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/leiden-clustering-resolution-optimization)<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/leiden-clustering-resolution-optimization"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/leiden-clustering-resolution-optimization/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/leiden-clustering-resolution-optimization"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/leiden-clustering-resolution-optimization.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.00032 | $0.01496 |
| Opus 5 | $0.00016 | $0.00748 |
| Sonnet 5 | $0.00006 | $0.00299 |
| Haiku 4.5 | $0.00003 | $0.00150 |
Grade A, and why
leiden-clustering-resolution-optimization 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 — 112 lines — stays where its author put it; the contents beside it link to each section on GitHub.
leiden-clustering-resolution-optimization
Summary
Apply Leiden clustering to single-cell omics data (ATAC-seq, RNA-seq, Hi-C, methylation) with parameter tuning to identify optimal resolution values that yield biologically meaningful cluster assignments. This skill involves running the tl.leiden method on spectral embeddings and validating cluster quality through comparison with reference assignments or biological interpretation.
When to use
You have performed spectral dimension reduction on single-cell omics count matrices and wish to partition cells into discrete populations. Use this skill when you need to discover cell types or states and want to systematically evaluate whether the chosen resolution produces clusters that align with known cell annotations, downstream peak calling results, or biological markers.
When NOT to use
- Input is already annotated with ground-truth cell types and downstream biological validation is unnecessary.
- The analysis goal is to identify rare cell populations where you require soft clustering probabilities rather than hard assignments.
- Data has been pre-processed with a different clustering method (e.g., k-means or hierarchical clustering) and you are not re-optimizing.
Inputs
- spectral eigenvector matrix (output from tl.spectral or tl.multi_spectral) embedded in AnnData .obsm
- AnnData object containing the embedding
Outputs
- cluster assignment vector (integer categorical in AnnData .obs)
- UMAP coordinates for visualization (in .obsm)
How to apply
Run tl.leiden on the spectral eigenvectors or other embedding matrix with the default resolution parameter as a starting point. The Leiden algorithm optimizes community detection by repeatedly merging and splitting partitions to maximize modularity. Compare the resulting cluster assignments and UMAP/embedding coordinates against reference annotations or expected cell type markers. If clusters appear over-fragmented or merged incorrectly, iterate resolution upward (finer granularity) or downward (coarser granularity). Validate by checking whether downstream analyses—such as peak calling grouped by cluster, or differential feature analysis—produce biologically coherent results. The article demonstrates this workflow on the pbmc10k_multiome dataset, where Leiden clustering on spectral embeddings successfully recovers documented PBMC subpopulations.
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 · 112 lines · 32 tokens per session scan A 007c9b34343f
leiden-clustering-resolution-optimization is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed yesterday), licensed Apache-2.0. It adds 32 tokens to every session and 1,496 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
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…
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…