epigenetic-sample-stratification

epigenetic-sample-stratification is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 61 tokens per session (1,722 once invoked), scanned A, original, Apache-2.0.

A workflow for grouping and visualizing samples by their DNA methylation patterns using clustering and principal component analysis (PCA), a method that summarizes major differences in many measurements.

In plain words
What is it for?
It helps assess merged methylation data before differential methylation analysis and inspect relationships among biological samples.
Why use it?
It can reveal whether replicates behave alike, whether expected groups separate, and whether batch effects, contamination, or sample mix-ups may be present.

Skill for Claude CodeCodex

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

Good fit It helps assess merged methylation data before differential methylation analysis and inspect relationships among biological samples.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/epigenetic-sample-stratification"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/epigenetic-sample-stratification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,722 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.00061 $0.01722
Opus 5 $0.00030 $0.00861
Sonnet 5 $0.00012 $0.00344
Haiku 4.5 $0.00006 $0.00172

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

Security

Grade A, and why

epigenetic-sample-stratification 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/epigenetic-sample-stratification/SKILL.md · 102 lines

How it starts

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

epigenetic-sample-stratification

Summary

Stratify and visualize biological samples by their methylation profiles using unsupervised clustering and principal component analysis on base-pair resolution methylation data. This skill reveals sample relationships and groupings driven by DNA methylation similarity, enabling detection of batch effects, tissue/phenotype separation, and quality assessment of bisulfite sequencing experiments.

When to use

After merging methylation call files into a unified methylBase object (covering all samples at common base positions), apply this skill to assess whether biological replicates cluster together, whether case/control or treatment groups separate as expected, and to identify potential sample contamination or mislabeling before proceeding to differential methylation analysis.

When NOT to use

  • Input methylation files have not been merged to a common set of covered positions (use unite() first)
  • Sample number is very small (< 3 samples total); clustering and PCA require sufficient replication to reveal meaningful structure
  • Methylation data come from highly heterogeneous tissues or cell types where within-group heterogeneity dominates; the skill may show dispersed rather than informative clustering

Inputs

  • methylBase object (unified methylation matrix across all samples)
  • sample metadata or grouping information (phenotype/treatment assignments)

Outputs

  • dendrogram object from hierarchical clustering
  • scree plot showing variance explained by principal components
  • PC1 vs PC2 scatter plot with sample labels/colors

How to apply

Load a methylBase object produced by unite() function from methRead output files. Apply clusterSamples() to perform hierarchical clustering on methylation profiles using correlation distance with Ward linkage, generating a dendrogram that reveals sample grouping. Then apply PCASamples() to compute principal components and generate a scree plot showing the proportion of variance explained by each PC. Extract and visualize PC1 and PC2 as a 2D scatter plot to assess sample separation in methylation space. Interpret the dendrogram branch distances and PC scatter plot positioning to evaluate whether biological replicates show high similarity and whether experimental groups separate as hypothesized. High within-group correlation and clear between-group separation indicate good data quality and expected biological structure.

Read the full file on GitHub · 102 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 · 102 lines · 61 tokens per session scan A ec3a368c7232

Subscribe to this mod's changes

epigenetic-sample-stratification is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed yesterday), licensed Apache-2.0. It adds 61 tokens to every session and 1,722 once invoked, about $0.0003 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

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