metagenomics

metagenomics is a skill for Claude Code, Codex from zongtingwei/Bioclaw_Skills_Hub. It costs 36 tokens per session (1,000 once invoked), scanned A, original, MIT.

A workflow for studying all DNA in a mixed microbial sample, such as a soil or gut sample, using shotgun sequencing, which reads many organisms at once.

In plain words
What is it for?
Use it to produce taxonomic abundance tables, functional pathway profiles, antibiotic-resistance summaries, and follow-up analyses of strains or cohorts.
Why use it?
It organizes quality checks, removal of host DNA, and analysis so results about which organisms are present, what they may do, and possible antibiotic resistance are easier to compare across samples.

Skill for Claude CodeCodex

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

Good fit Use it to produce taxonomic abundance tables, functional pathway profiles, antibiotic-resistance summaries, and follow-up analyses of strains or cohorts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zongtingwei/bioclaw_skills_hub/metagenomics
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 zongtingwei/Bioclaw_Skills_Hub --skill metagenomics
Clone the repo
git clone --depth 1 https://github.com/zongtingwei/Bioclaw_Skills_Hub

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 metagenomics

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zongtingwei/bioclaw_skills_hub/metagenomics"><img src="https://agentmods.dev/badge/skills/zongtingwei/bioclaw_skills_hub/metagenomics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,000 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.00036 $0.01000
Opus 5 $0.00018 $0.00500
Sonnet 5 $0.00007 $0.00200
Haiku 4.5 $0.00004 $0.00100

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

Security

Grade A, and why

metagenomics 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 12d 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/metagenomics-and-microbiome/metagenomics/SKILL.md · 146 lines

How it starts

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

Metagenomics

Version Compatibility

Reference examples assume:

  • fastp 0.23+
  • kraken2 2.1+
  • bracken 2.8+
  • metaphlan 4+
  • humann 3.9+

Verify the environment first:

  • CLI: kraken2 --version, bracken -v, metaphlan --version, humann --version

Overview

Use this skill for shotgun metagenomics when the user needs:

  • QC and host depletion review
  • taxonomic abundance tables
  • functional pathway profiles
  • AMR or strain-level follow-up

When To Use This Skill

  • the data are shotgun metagenomics rather than amplicon sequencing
  • the user wants species or genus abundances, function, or resistance summaries
  • multiple samples need cohort-level comparison

Quick Route

  • host-associated samples: perform host depletion before interpretation
  • taxonomy only: kraken2 + bracken is a common pragmatic route
  • function only or plus taxonomy: add humann
  • strain claims require more evidence than top-level taxonomy calls

Progressive Disclosure

Expected Inputs

  • paired or single-end metagenomic FASTQ
  • sample metadata
  • taxonomy and optional function databases

Expected Outputs

  • results/taxonomy/bracken_species.tsv
  • results/taxonomy/bracken_genus.tsv
  • results/function/pathabundance.tsv
  • results/amr/amr_summary.tsv
  • qc/read_processing_summary.tsv

Starter Pattern

fastp \
  -i sample_R1.fastq.gz \
  -I sample_R2.fastq.gz \
  -o qc/sample.clean.R1.fastq.gz \
  -O qc/sample.clean.R2.fastq.gz \
  --html qc/sample.fastp.html \
  --json qc/sample.fastp.json

kraken2 \
  --db $KRAKEN_DB \
  --paired qc/sample.clean.R1.fastq.gz qc/sample.clean.R2.fastq.gz \
  --report results/taxonomy/sample.kraken.report \
  --output results/taxonomy/sample.kraken.out \
  --confidence 0.1

Read the full file on GitHub · 146 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 146 lines · 36 tokens per session scan A 5c2c1a40af64

Subscribe to this mod's changes

metagenomics is a skill published in the GitHub repository zongtingwei/Bioclaw_Skills_Hub (26 stars, last pushed 5mo ago), licensed MIT. It adds 36 tokens to every session and 1,000 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-08-30.

Related

Other skills, from other repositories

academic-paper-to-chinese-insight-pdf

Turn an academic paper PDF into a high-quality Chinese insight report and export it as a polished Chinese PDF. Use when asked to read a paper, translate or summarize a paper into Chinese, extract the paper's core ideas, produce original insights/opinions, explain the paper in simpler language, or deliver a Chinese PDF…

davidtoby/agent-skills · 113 tokens

chinese-pdf-document-workflows

Class-level workflow for extracting, converting, editing, and producing polished Chinese PDFs and document reports from PDFs, papers, webpages, markdown, and video transcripts. Use when asked to create Chinese PDF reports, fix Chinese font/glyph rendering, summarize academic papers into Chinese insight reports…

davidtoby/agent-skills · 83 tokens

jupyter-live-kernel

Iterative Python via live Jupyter kernel (hamelnb).

davidtoby/agent-skills · 19 tokens

ilya-sutskever-perspective

A thinking guide based on Ilya Sutskever’s public conversations, research papers, testimony, and recommended sources. It applies that material to AI research direction, technical reasoning, and safety questions.

davidtoby/agent-skills · 183 tokens

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…

iOfficeAI/OfficeCLI · 169 tokens

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens