spectral-embedding-dimension-reduction-parameters

spectral-embedding-dimension-reduction-parameters is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 73 tokens per session (1,622 once invoked), scanned A, original, Apache-2.0.

A method for reducing very large single-cell data tables to fewer dimensions while retaining patterns between cells. It works with ATAC-seq, RNA-seq, Hi-C, and methylation data before clustering or UMAP plots.

In plain words
What is it for?
Use it to choose similarity measures and embedding settings for cell-state analysis, then pass the result to clustering or visualization tools.
Why use it?
Large feature tables can be too unwieldy for clustering and visualization. This provides an unsupervised reduction step that can also combine different single-cell data types.

Skill for Claude CodeCodex

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

Good fit Use it to choose similarity measures and embedding settings for cell-state analysis, then pass the result to clustering or visualization tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/spectral-embedding-dimension-reduction-parameters
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 spectral-embedding-dimension-reduction-parameters
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 spectral-embedding-dimension-reduction-parameters

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/spectral-embedding-dimension-reduction-parameters"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/spectral-embedding-dimension-reduction-parameters.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,622 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.00073 $0.01622
Opus 5 $0.00036 $0.00811
Sonnet 5 $0.00015 $0.00324
Haiku 4.5 $0.00007 $0.00162

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

Security

Grade A, and why

spectral-embedding-dimension-reduction-parameters 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.

collections/epigenomics/v1/skills/spectral-embedding-dimension-reduction-parameters/SKILL.md · 107 lines

How it starts

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

Spectral-embedding dimension reduction parameters

Summary

Configure and apply matrix-free spectral embedding for dimension reduction on single-cell ATAC-seq and multi-omics data, selecting appropriate similarity metrics and embedding parameters to preserve cell-state structure prior to clustering and visualization.

When to use

After generating a tile matrix or feature count matrix from single-cell ATAC-seq, RNA-seq, Hi-C, or methylation data, before clustering or UMAP visualization, when you need unsupervised dimension reduction that scales to millions of cells and is agnostic to the underlying data modality. Apply this step when the raw feature matrix is too high-dimensional for downstream clustering or when you need to integrate multi-modal single-cell data.

When NOT to use

  • Input data is already a low-dimensional embedding (e.g., pre-computed PCA or UMAP coordinates); apply clustering directly instead.
  • Single-cell ATAC-seq data has not been preprocessed (e.g., barcodes not yet assigned, fragments not imported); run pp.import_fragments and pp.add_tile_matrix first.
  • You require a linear embedding for interpretability of feature contributions; PCA or factor analysis may be more appropriate than spectral methods.

Inputs

  • AnnData object with tile matrix (pp.add_tile_matrix) or count matrix (pp.make_peak_matrix, pp.make_gene_matrix)
  • Paired-end ATAC-seq fragment counts or equivalent feature counts for other modalities
  • Optional: multiple aligned count matrices for co-embedding

Outputs

  • Spectral eigenvectors stored in adata.obsm (typically 'X_spectral')
  • UMAP coordinates derived from spectral embedding (adata.obsm['X_umap'])
  • Leiden cluster assignments using spectral eigenvectors as input

How to apply

Call tl.spectral on the tile matrix or count matrix, specifying the similarity metric (e.g., cosine similarity for ATAC-seq) and the number of dimensions to retain. The matrix-free algorithm avoids materializing the full feature matrix, making it suitable for large datasets. The resulting eigenvectors become the input to UMAP visualization or clustering algorithms (e.g., Leiden). For multi-omics integration, use tl.multi_spectral with aligned modality matrices to produce a joint embedding. Verify that the spectral eigenvectors capture expected biological structure by checking that subsequent UMAP coordinates and Leiden cluster assignments match reference cell-type annotations.

Read the full file on GitHub · 107 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. 6d ago First seen · 107 lines · 73 tokens per session scan A 35e6bf4a2136

Subscribe to this mod's changes

spectral-embedding-dimension-reduction-parameters is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed 2d ago), licensed Apache-2.0. It adds 73 tokens to every session and 1,622 once invoked, about $0.0004 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.

Related

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…

aipoch/medical-research-skills · 66 tokens

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.…

aipoch/medical-research-skills · 199 tokens

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.

aipoch/medical-research-skills · 57 tokens

anatomy-quiz-master

Generate interactive anatomy quizzes for medical education with multiple.

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