Source profileQuality 96/100Review permissions

K-Dense-AI/scientific-agent-skills/skills/waypoint-bio/SKILL.md

waypoint-bio

Use when working with Outpost Bio's open microbiome foundation models - the Waypoint checkpoints (Waypoint-6m, Waypoint-45m, Waypoint-170m), the Atlas pretraining corpus, the Compass eight-task benchmark, or the `waypoint` CLI from the `waypoint-bio` package. Covers embedding microbiome samples, fine-tuning on taxonomic abundance data, benchmarking a checkpoint on Compass, pretraining a GPT-2 model on taxonomic abundance profiles, and converting MetaPhlAn, Kraken2, QIIME 2, or MGnify abundance t

Source repository stars
34,478
Declared platforms
0
Static risk flags
2
Last source update
2026-08-24
Source checked
2026-08-26

Decision brief

What it does: where it fits

Covers embedding microbiome samples, fine-tuning on taxonomic abundance data, benchmarking a checkpoint on Compass, pretraining a GPT-2 model on taxonomic abundance profiles, and converting MetaPhlAn, Kraken2, QIIME 2, or MGnify abundance t

Best for

  • Embedding 16S/shotgun taxonomic profiles into fixed-size vectors for clustering, visualisation, or
  • Fine-tuning a Waypoint checkpoint to predict a phenotype, treatment, or continuous readout from
  • Scoring your own microbiome model against Compass so the number is comparable to the paper.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/K-Dense-AI/scientific-agent-skills --skill "skills/waypoint-bio"
Safe inspection promptEditorial

Inspect the Agent Skill "waypoint-bio" from https://github.com/K-Dense-AI/scientific-agent-skills/blob/36d8f13a1e754618794bf42f417884940077b4ae/skills/waypoint-bio/SKILL.md at commit 36d8f13a1e754618794bf42f417884940077b4ae. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Setup

    Atlas, Compass, and every Waypoint checkpoint are gated. Access is auto-approved, but you must click through once per repo and then authenticate:

    Request access on each repo page you need: Waypoint-6m,Authenticate locally:Atlas, Compass, and every Waypoint checkpoint are gated. Access is auto-approved, but you must click through once per repo and then authenticate:
  2. 02

    Workflow

    If you already have a sample × taxa (or taxa × sample) abundance matrix with lineage labels:

    If you already have a sample × taxa (or taxa × sample) abundance matrix with lineage labels:Orientation is auto-detected from the first column header (taxonomy, lineage, taxon, otu, otu id ⇒ taxa-as-rows); override with --orientation. Rows are normalised to sum to 1 unless you pass --nonormalize, and zeros are…prepare-dataset cannot read profiler output directly — MetaPhlAn uses | separators, Kraken2 reports encode the hierarchy as indentation, and QIIME 2/SILVA prefixes the domain d instead of k (which the tokenizer silently…
  3. 03

    When to use

    Do not reach for this when you have fewer than 1,000 labelled samples — see Scientific caveats. A random forest on relative abundances is the better tool there, and the paper says so.

    Embedding 16S/shotgun taxonomic profiles into fixed-size vectors for clustering, visualisation, orFine-tuning a Waypoint checkpoint to predict a phenotype, treatment, or continuous readout fromScoring your own microbiome model against Compass so the number is comparable to the paper.
  4. 04

    The waypoint data format

    Everything except prepare-dataset consumes waypoint format: a .parquet / .csv / .tsv whose rows are samples, with two aligned list-columns plus any label columns you need.

    Everything except prepare-dataset consumes waypoint format: a .parquet / .csv / .tsv whose rows are samples, with two aligned list-columns plus any label columns you need.Prefer parquet. CSV/TSV stores the lists as repr strings and round-trips through ast.literaleval.Give full lineages, not bare names. The tokenizer extracts the genus segment (g) from each lineage and falls back to the most specific higher rank when genus is missing. Bare names disable that fallback entirely.
  5. 05

    1. Get your data into waypoint format

    If you already have a sample × taxa (or taxa × sample) abundance matrix with lineage labels:

    If you already have a sample × taxa (or taxa × sample) abundance matrix with lineage labels:Orientation is auto-detected from the first column header (taxonomy, lineage, taxon, otu, otu id ⇒ taxa-as-rows); override with --orientation. Rows are normalised to sum to 1 unless you pass --nonormalize, and zeros are…prepare-dataset cannot read profiler output directly — MetaPhlAn uses | separators, Kraken2 reports encode the hierarchy as indentation, and QIIME 2/SILVA prefixes the domain d instead of k (which the tokenizer silently…

Permission review

Static risk signals and limitations

Reads files

low · line 45

The documentation asks the agent to read local files, directories, or repositories.

Request access on each repo page you need: [Waypoint-6m](https://huggingface.co/outpost-bio/Waypoint-6m),

Runs scripts

medium · line 99

The documentation asks the agent to run terminal commands or scripts.

python scripts/profiler_to_waypoint.py \

Runs scripts

medium · line 103

The documentation asks the agent to run terminal commands or scripts.

python scripts/profiler_to_waypoint.py \

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score96/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars34,478SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
K-Dense-AI/scientific-agent-skills
Skill path
skills/waypoint-bio/SKILL.md
Commit
36d8f13a1e754618794bf42f417884940077b4ae
License
MIT
Collected
2026-08-26
Default branch
main
View the original SKILL.md

Waypoint: Outpost Bio's Open Microbiome Foundation Models

Overview

Outpost Bio open-sourced three artefacts under Apache 2.0, described in Treloar et al., bioRxiv 2026.05.02.722381:

ArtefactWhat it isHugging Face
WaypointGPT-2-style causal LMs over taxonomic tokens, 6M–170M paramsoutpost-bio/Waypoint-6m, -45m, -170m
Atlas539,308 microbiome samples scraped from MGnify (485,377 pretrain / 53,931 benchmark)outpost-bio/Atlas
CompassEight downstream tasks over four studiesoutpost-bio/Compass

The unifying idea: a microbiome sample is a sentence. Each taxon is one token, tokens are ordered by descending abundance z-score, and the model is trained with next-token prediction. A pretrained checkpoint then supplies sample-level embeddings or a fine-tuning backbone for prediction tasks.

All of it is driven by one CLI, waypoint, with five subcommands: prepare-dataset, embed, finetune, benchmark, pretrain.

When to use

  • Embedding 16S/shotgun taxonomic profiles into fixed-size vectors for clustering, visualisation, or a downstream classifier.
  • Fine-tuning a Waypoint checkpoint to predict a phenotype, treatment, or continuous readout from community composition.
  • Scoring your own microbiome model against Compass so the number is comparable to the paper.
  • Pretraining a taxonomic language model on Atlas or on your own corpus.
  • Converting profiler output (MetaPhlAn, Kraken2/Bracken, QIIME 2, MGnify TSVs) into the input format these tools expect.

Do not reach for this when you have fewer than ~1,000 labelled samples — see Scientific caveats. A random forest on relative abundances is the better tool there, and the paper says so.

Setup

pip install waypoint-bio       # installs the `waypoint` command

Atlas, Compass, and every Waypoint checkpoint are gated. Access is auto-approved, but you must click through once per repo and then authenticate:

  1. Request access on each repo page you need: Waypoint-6m, Waypoint-45m, Waypoint-170m, Atlas, Compass.

  2. Authenticate locally:

    hf auth login          # or: export HF_TOKEN=hf_...
    

A 401/403 from any subcommand almost always means access was never requested on that specific repo — a token alone is not enough. Use a read-scoped token. The tokenizer loads via trust_remote_code=True, so pin a revision if you need the remote code fixed across runs.

The waypoint data format

Everything except prepare-dataset consumes waypoint format: a .parquet / .csv / .tsv whose rows are samples, with two aligned list-columns plus any label columns you need.

ColumnTypeNotes
Taxalist[str]Full lineage strings, ;-separated: k__Bacteria; p__Firmicutes; ...; g__Lactobacillus
Relative Abundanceslist[float]Same length as Taxa, same order
(any)scalarTargets, covariates, or a Split column

Prefer parquet. CSV/TSV stores the lists as repr strings and round-trips through ast.literal_eval.

Give full lineages, not bare names. The tokenizer extracts the genus segment (g__) from each lineage and falls back to the most specific higher rank when genus is missing. Bare names disable that fallback entirely.

Workflow

1. Get your data into waypoint format

If you already have a sample × taxa (or taxa × sample) abundance matrix with lineage labels:

waypoint prepare-dataset \
    --input abundance_matrix.tsv \
    --metadata sample_labels.csv \
    --output dataset.parquet

Orientation is auto-detected from the first column header (taxonomy, lineage, taxon, otu, #otu id ⇒ taxa-as-rows); override with --orientation. Rows are normalised to sum to 1 unless you pass --no_normalize, and zeros are dropped unless you pass --keep_zeros.

prepare-dataset cannot read profiler output directly — MetaPhlAn uses | separators, Kraken2 reports encode the hierarchy as indentation, and QIIME 2/SILVA prefixes the domain d__ instead of k__ (which the tokenizer silently ignores). Use the bundled converter for those:

python scripts/profiler_to_waypoint.py \
    --input merged_metaphlan.tsv --format metaphlan \
    --output dataset.parquet

python scripts/profiler_to_waypoint.py \
    --input reports/*.kreport --format kraken \
    --output dataset.parquet

python scripts/profiler_to_waypoint.py \
    --input feature-table.tsv --format qiime2 \
    --output dataset.parquet

See references/data-preparation.md for every input layout, rank handling, and the d__/| gotchas.

2. Check vocabulary coverage before anything else

Waypoint's vocabulary is fixed at pretraining time from Atlas. Taxa absent from it become <unk> and are silently dropped by waypoint embed; the paper names this as the models' main limitation. A sample whose taxa are all out-of-vocabulary yields a degenerate [BOS][EOS] embedding.

python scripts/vocab_coverage.py --model outpost-bio/Waypoint-6m --data dataset.parquet

It reports per-sample and abundance-weighted coverage and flags samples below a threshold. Treat median abundance-weighted coverage under ~0.8 as a reason to re-examine your taxonomy labels before trusting any downstream number.

3. Embed samples

waypoint embed \
    --model outpost-bio/Waypoint-6m \
    --data dataset.parquet \
    --output embeddings.parquet

Output is indexed by sample ID with columns dim_0 … dim_{H-1} (H = 256 for 6m, 512 for 45m, 768 for 170m). Defaults: --pooling last_token, --batch_size 32, --max_length 512, device auto-detected (cudampscpu).

Keep --pooling last_token unless you have a reason to change it: it matches how the checkpoints were pretrained and how benchmark and finetune pool. mean is a reasonable alternative for unsupervised use; first_token/cls_token return the BOS position and carry little signal in a causal LM.

4. Fine-tune on your labels

# classification
waypoint finetune \
    --model outpost-bio/Waypoint-45m \
    --data dataset.parquet \
    --output_dir outputs/ft_disease \
    --task_type classification \
    --target "Disease Status" \
    --config configs/finetune_classification.yaml

# regression, with a categorical covariate one-hot appended to the pooled embedding
waypoint finetune \
    --model outpost-bio/Waypoint-45m \
    --data dataset.parquet \
    --output_dir outputs/ft_degradation \
    --task_type regression \
    --target "Degradation Rate" \
    --covariate_column Drug \
    --config configs/finetune_regression.yaml

Config paths resolve against the bundled waypoint_bio/configs/ tree, so configs/... works from any directory without cloning.

Defaults worth overriding for small datasets: warmup_steps: 1000 (drop to ~50 so warmup finishes before early stopping), num_epochs: 1 in the shipped configs (raise it — early stopping on validation loss is what actually terminates training), and use_lora: true when VRAM is tight (~1% of parameters trained; adapters are merged back before saving, so the checkpoint stays a plain AutoModel).

Splits default to a random 80/10/10. Set split_column to a Split column whenever samples are correlated — repeated measures, one donor sampled over time, technical replicates — or a random split leaks and the test score is meaningless.

Outputs land in --output_dir: best_model/ (loadable by embed/benchmark), test_metrics.json, training_log.csv + .html, and finetune_results.json.

5. Benchmark on Compass

waypoint benchmark --model outpost-bio/Waypoint-6m --output_dir outputs/benchmark
waypoint benchmark --model outputs/pretrain/best_model --tasks 1 6 --output_dir outputs/smoke

Fine-tunes a fresh head per task and writes benchmark_results.json. Classification tasks score macro-F1; the one regression task scores R² clamped to [0, 1]; final_score is the unweighted mean across tasks. Full task table, metric keys, and result-file schema: references/compass-benchmark.md.

6. Pretrain

waypoint pretrain \
    --model_config configs/models/gpt2-45m.yaml \
    --pretrain_config configs/pretraining.yaml \
    --output_dir outputs/pretrain_45m

Downloads Atlas, builds a taxonomic tokenizer from the corpus, computes per-token abundance mean/std for z-score ordering, then trains with next-token prediction and early stopping. Add --data my_corpus.parquet to pretrain on your own waypoint-format corpus instead, and --max_samples N for a smoke test.

Nine architectures ship, from gpt2-6m.yaml (8 layers, 256 hidden) to gpt2-170m.yaml (24 layers, 768 hidden); per-head dimension is fixed at 64 throughout. references/cli-reference.md has the full table and every config key.

Scientific caveats

These are load-bearing. Ignoring them produces numbers that look fine and mean nothing.

  • Below ~1,000 labelled examples, Waypoint underperforms a random forest on raw abundances. The paper's crossover against the RF baseline sits near 10,000 training examples. Fit the baseline first; only adopt the transformer if it wins on your data.
  • Out-of-vocabulary taxa are dropped, not flagged. Every Compass dataset carries some. Run scripts/vocab_coverage.py and report the coverage alongside your results.
  • 45M, not 170M, was the best benchmark model. Pretraining loss keeps falling with scale, but downstream Compass score does not — start at 6m or 45m and only scale up if it demonstrably helps.
  • Genus-level tokenisation is the default, so species-level distinctions are collapsed. Changing taxon_rank requires re-pretraining, not just re-tokenising.
  • Compositional data. Relative abundances are constrained to sum to 1; differences in one taxon induce apparent changes in others. This affects interpretation of any per-taxon attribution.
  • Batch and study effects dominate microbiome data. Atlas spans MGnify pipelines v1.0–v5.0 and four sequencing modalities. Never let a study or run boundary coincide with your label boundary.
  • Not a clinical or diagnostic tool. The model cards state this explicitly.

References

  • references/cli-reference.md — every subcommand flag, every config key, the model-size table.
  • references/compass-benchmark.md — the eight tasks, filters, metrics, benchmark_results.json schema.
  • references/data-preparation.md — waypoint format, profiler conversions, taxonomy string rules.
  • references/python-api.md — using the tokenizer, datasets, heads, and checkpoints from Python.

Scripts

  • scripts/profiler_to_waypoint.py — MetaPhlAn / Kraken2 / QIIME 2 / generic lineage tables → waypoint format.
  • scripts/vocab_coverage.py — tokenizer coverage report for a waypoint-format file.

Upstream

Code github.com/Outpost-Bio/waypoint · package waypoint-bio · paper bioRxiv 2026.05.02.722381 · community Waypoint Slack · contact [email protected].

Cite Treloar, N. J., Ur-Rehman, S., Yang, J., & Outpost Bio (2026). Learning the Language of the Microbiome with Transformers. bioRxiv. Per-artefact DOIs are listed at outpost.bio/citations.

Frequently asked questions

What to verify before installation and use

What does the waypoint-bio source document cover?

Covers embedding microbiome samples, fine-tuning on taxonomic abundance data, benchmarking a checkpoint on Compass, pretraining a GPT-2 model on taxonomic abundance profiles, and converting MetaPhlAn, Kraken2, QIIME 2, or MGnify abundance t

How do I install waypoint-bio?

The source record exposes this install command: npx skills add https://github.com/K-Dense-AI/scientific-agent-skills --skill "skills/waypoint-bio". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged read-files, exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 10029,095

garrytan/gbrain

bulk-ingestion

End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.

Computed 10024,975

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 10015,246

wanshuiyin/Auto-claude-code-research-in-sleep

citation-audit

Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.

Computed 10014,678

prowler-cloud/prowler

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance