snakemake

snakemake is a skill for Claude Code, Codex from CHENyiru3/AI-Skills-Collections. It costs 22 tokens per session (1,062 once invoked), scanned A, original, MIT.

A workflow guide for Snakemake, a tool that describes and runs multi-step data-processing jobs. It focuses on reproducible and scalable bioinformatics pipelines, including single-cell analysis.

In plain words
What is it for?
Use it to build biology data pipelines, connect inputs to outputs, run quality checks, and scale analyses to clusters or cloud systems.
Why use it?
It helps keep complex analysis steps, file dependencies, and repeated runs organized instead of managing each command manually.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is workdir: "../other-project".

Good fit Use it to build biology data pipelines, connect inputs to outputs, run quality checks, and scale analyses to clusters or cloud systems.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/CHENyiru3/AI-Skills-Collections
agentmods
npx agentmods add skills/chenyiru3/ai-skills-collections/snakemake

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 snakemake

README.md
[![agentmods](https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/snakemake/github.svg)](https://agentmods.dev/skills/chenyiru3/ai-skills-collections/snakemake)
Your own site
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/snakemake"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/snakemake/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 snakemake

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/snakemake"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/snakemake.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,062 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.
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.00022 $0.01062
Opus 5.5 $0.00009 $0.00425
Sonnet 5.5 $0.00004 $0.00212
Haiku 4.5 $0.00002 $0.00106

Measured 6d ago against content hash 07ad6aaf6fa0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

skills-market/compbio/workflows/snakemake/SKILL.md · 225 lines

How it starts

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

Snakemake: Workflow Management

Overview

Snakemake is a workflow management system that allows you to create reproducible and scalable data analysis pipelines. It is widely used in bioinformatics for automating computational biology workflows.

When to Use This Skill

This skill should be used when:

  • Creating automated analysis pipelines
  • Ensuring reproducibility
  • Scaling workflows to clusters/cloud
  • Managing complex dependencies
  • Building single-cell analysis pipelines

Quick Start

Installation

# Using conda
conda install -c conda-forge snakemake

# Using pip
pip install snakemake

Basic Workflow

# snakefile
rule all:
    input:
        "results/aligned.bam"

rule align:
    input:
        "data/sample.fastq"
    output:
        "results/aligned.bam"
    shell:
        "bwa mem {input} > {output}"

Single-Cell Example

Complete scRNA-seq Pipeline

# snakefile
configfile: "config.yaml"

rule all:
    input:
        expand("results/{sample}/qc_report.html", sample=config["samples"])

rule qc:
    input:
        "data/{sample}.fastq.gz"
    output:
        html="results/{sample}/qc_report.html",
        json="results/{sample}/qc_metrics.json"
    shell:
        """
        fastqc {input} -o results/{wildcards.sample}/
        multiqc results/{wildcards.sample}/ -o {output.html}
        """

rule trimming:
    input:
        "data/{sample}.fastq.gz"
    output:
        "results/{sample}/trimmed.fastq.gz"
    shell:
        "trim_galore {input} -o results/{wildcards.sample}/"

rule alignment:
    input:
        "results/{sample}/trimmed.fastq.gz"
    output:
        "results/{sample}/aligned.bam"
    shell:
        "star --genomeDir {config[genome]} --readFilesIn {input} --outFileNamePrefix results/{wildcards.sample}/"

rule count:
    input:
        "results/{sample}/aligned.bam"
    output:
        "results/{sample}/counts.txt"
    shell:
        "featureCounts -a {config[gtf]} -o {output} {input}"

Read the full file on GitHub · 225 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 · 225 lines · 22 tokens per session scan A 07ad6aaf6fa0

Subscribe to this mod's changes

snakemake is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (1 stars, last pushed 7d ago), licensed MIT. It adds 22 tokens to every session and 1,062 once invoked, about $0.0001 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-10-02.

Related

Other skills, from other repositories

torchdrug

Builds and troubleshoots TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. Use when code imports torchdrug or needs its datasets, models, tasks, or Engine.

K-Dense-AI/scientific-agent-skills · 64 tokens

arboreto

Infers candidate gene regulatory networks from bulk or single-cell expression data using AertsLab Arboreto GRNBoost2 and GENIE3. Use for transcription factor-target association ranking, compatible Dask execution, sparse expression inputs, and network stability checks.

K-Dense-AI/scientific-agent-skills · 55 tokens

deepspot-m

Generates transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Used for predicted log1p-CPM expression from 224x224 tiles at about 20x, querying the released protein-coding gene panel by symbol, and whole-slide prediction after resolution-aware tiling with histolab.

K-Dense-AI/scientific-agent-skills · 70 tokens

pyhealth

Builds and validates PyHealth clinical machine-learning pipelines for EHR, signals, imaging, and medical codes. Use for PyHealth dataset loading, MIMIC-III/IV, eICU or OMOP prediction tasks, patient-level evaluation, mortality/readmission/length-of-stay modeling, medication recommendation, sleep staging, Trainer…

K-Dense-AI/scientific-agent-skills · 84 tokens

nemo-mbridge-perf-expert-parallel-overlap

Validate and use MoE expert-parallel communication overlap in Megatron-Bridge, including overlapmoeexpertparallelcomm, delaywgradcompute, and flex dispatcher backends such as DeepEP and HybridEP.

NVIDIA/skills · 56 tokens

evo2

Score, embed, and generate DNA sequences with Evo 2, a long-context genomic foundation model. Use this skill when: (1) Computing per-nucleotide or per-sequence likelihoods for variant effect scoring, (2) Embedding genomic windows for downstream classification, (3) Generating DNA conditioned on a prefix, (4) Scoring…

aipoch/open-science · 83 tokens