Skip to content
Skillpedia
Agents51k · #2001

waypoint-bio

Helps your agent work with microbiome models. It allows embedding samples, fine-tuning models, and testing their performance.

What it does

This tool helps you work with AI models for microbiomes called Waypoint. It allows you to transform microbiome sample data into a format the AI understands, so you can train it or use it to make predictions.

When to use it

  • ✓When you want to turn microbiome profiles into vectors for analysis.
  • ✓To train an AI model to predict something based on microbiome composition.
  • ✓To test your own AI model on a standard dataset.

Example of what to ask your AI

“Transform my microbiome data so the AI can use it.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/waypoint-bio/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/waypoint-bio/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool organizes your microbiome data into a specific format where each organism is a 'token'. It uses pre-trained language models to understand these 'tokens' and perform tasks like creating numerical representations of samples or training models for predictions.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add K-Dense-AI/scientific-agent-skills --skill waypoint-bio

Or download just the file:

curl -L https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/main/skills/waypoint-bio/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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:

Artefact What it is Hugging Face
Waypoint GPT-2-style causal LMs over taxonomic tokens, 6M–170M params outpost-bio/Waypoint-6m, -45m, -170m
Atlas 539,308 microbiome samples scraped from MGnify (485,377 pretrain / 53,931 benchmark) outpost-bio/Atlas
Compass Eight downstream tasks over four studies outpost-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 on Compass with an explicitly recorded protocol.
  • 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.

For small labelled datasets, start with a random-forest baseline and grouped validation. The paper's sample-size crossover is an empirical result from its experiments, not a universal cutoff for using embeddings or a guarantee of performance on a new study.

Setup

pip install "waypoint-bio==1.0.2" "transformers==4.57.6" "peft==0.18.1" "huggingface-hub<1"

The 2026-10-01 review checked the published wheel, GitHub main f45eee6d07a480bfc90f84ab8082bbc969dec15d (1.0.4), and current Hub metadata. Small native CPU/tokenizer tests used Python 3.12, Torch 2.14.1, Transformers 4.57.6, PEFT 0.18.1 and pandas 3.0.6; no pretrained weights or gated rows were downloaded. The package leaves dependencies unbounded: Transformers 5 removes its pretraining logging_dir argument. Keep a separate compatible environment.

Upstream limitations: local TaxonomicTokenizer.save_pretrained() raises NotImplementedError in both reviewed versions, blocking pretrain before training and finetune export when using that local tokenizer. Released 1.0.2 does not merge LoRA adapters or write training logs; GitHub 1.0.4 does. See references/upstream-review.md before training. Training examples below are source-checked templates, not completed scientific runs.

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

For 401/403 errors, check token validity, read scope, and approval for the specific repo. The tokenizer loader executes repository code with trust_remote_code=True. Review that code and pin an immutable Hub commit. The upstream CLI has no --revision; download a reviewed snapshot and pass its local path so model, tokenizer and ordering statistics share one revision (see references/python-api.md).

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.

Column Type Notes
Taxa list[str] Full lineage strings, ;-separated: k__Bacteria; p__Firmicutes; ...; g__Lactobacillus
Relative Abundances list[float] Same length as Taxa, same order
(any) scalar Targets, covariates, or a Split column

…

FAQ

What are 'tokens' in this context?

In this case, 'tokens' are the organisms (taxa) found in the microbiome samples. The tool organizes them and treats them like words in a sentence so the AI can process them.

Do I need prior programming knowledge to use this?

The tool is designed to be used with simple commands, but initial setup and understanding data formats may require some attention. It's ideal to have a guide or someone with knowledge to assist in the first steps.

What does 'open foundation models' mean?

It means the AI models were created by Outpost Bio and made publicly available under a permissive license (Apache 2.0), allowing anyone to use, modify, and distribute them.

Details

Original description by the author

Supports work 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 o

repo: K-Dense-AI/scientific-agent-skills

Popularity

GitHub stars
51k
Ranking position
#2001
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills