chai1

chai1 is a skill for Claude Code, Codex from naity/FM4Life. It costs 106 tokens per session (1,852 once invoked), scanned A, original, MIT.

A tool for predicting the three-dimensional shapes of proteins and other biological molecules, including small drug-like molecules, RNA, and DNA.

In plain words
What is it for?
Use it to predict protein structures, protein–ligand complexes, protein–nucleic-acid complexes, and assemblies made of multiple molecular chains.
Why use it?
It helps researchers estimate molecular structures when laboratory measurements are not available or are too slow for initial exploration.

Skill for Claude CodeCodex

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

Good fit Use it to predict protein structures, protein–ligand complexes, protein–nucleic-acid complexes, and assemblies made of multiple molecular chains.

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

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 chai1

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/naity/fm4life/chai1"><img src="https://agentmods.dev/badge/skills/naity/fm4life/chai1.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,852 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.00106 $0.01852
Opus 5 $0.00053 $0.00926
Sonnet 5 $0.00021 $0.00370
Haiku 4.5 $0.00011 $0.00185

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/predict.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/chai1/SKILL.md · 197 lines

How it starts

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

Chai-1: Biomolecular Structure Prediction

Overview

Chai-1 is a multimodal structure prediction model that handles proteins, small molecules, RNA, DNA, and modifications in a single unified framework. It is a direct competitor to AlphaFold 3 and Boltz-2.

Key differentiators:

  • Apache 2.0 license (commercial use explicitly permitted, including drug discovery)
  • Simple pip install + FASTA-like input format
  • Returns PAE, PDE, pLDDT, pTM, ipTM confidence metrics
  • Optional MSA server integration (ColabFold MMseqs2)
  • Supports templates, restraints, and covalent bonds

Supported entity types:

  • protein — amino acid sequences
  • ligand — SMILES-encoded small molecules
  • rna — RNA sequences
  • dna — DNA sequences
  • Modified residues (e.g., phosphoserine: AAA(SEP)AAA)

Installation

pip install chai_lab==0.6.1

Requirements: Python ≥ 3.10, Linux, CUDA GPU with bfloat16 support.

Recommended GPUs: A100 (80GB), H100 (80GB), L40S (48GB). Also works on A10, A30, RTX 4090 for smaller complexes.

Model weights download automatically on first run to ~/.chai/ (or $CHAI_DOWNLOADS_DIR).

Input Format

Chai-1 uses a FASTA-like format with entity type headers:

>protein|name=receptor
AGSHSMRYFSTSVSRPGRGEPRFIAVGYVDDTQFVRFDSDAA...

>protein|name=peptide
GAAL

>ligand|name=inhibitor
CC(=O)Nc1ccc(O)cc1

>rna|name=guide_rna
AUGCUAGCUAGC

>dna|name=template
ATGCTAGCTAG
  • Each entity needs a unique name= identifier
  • All entities in one file form a complex
  • Ligands use SMILES notation
  • Modified residues use parenthetical notation: AAA(SEP)AAA (phosphoserine at position 4)

Core Usage

Python API

from pathlib import Path
from chai_lab.chai1 import run_inference

candidates = run_inference(
    fasta_file=Path("input.fasta"),
    output_dir=Path("output/"),
    num_trunk_recycles=3,
    num_diffn_timesteps=200,
    num_diffn_samples=5,
    seed=42,
)

# Access results
for i, (cif_path, ranking) in enumerate(zip(candidates.cif_paths, candidates.ranking_data)):
    score = ranking.aggregate_score.item()
    print(f"Sample {i}: {cif_path}  aggregate_score={score:.3f}")

# Confidence tensors
plddt = candidates.plddt   # (num_samples, num_tokens)
pae   = candidates.pae     # (num_samples, num_tokens, num_tokens)
pde   = candidates.pde     # (num_samples, num_tokens, num_tokens)

Read the full file on GitHub · 197 lines

Files

What ships with it

2 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. 9d ago First seen · 197 lines · 106 tokens per session scan A c3c44568d5c9

Subscribe to this mod's changes

chai1 is a skill published in the GitHub repository naity/FM4Life (2 stars, last pushed 5mo ago), licensed MIT. It adds 106 tokens to every session and 1,852 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

drug-repurposing

Systematic drug repurposing via signature matching, target-based analysis, network proximity, genetic evidence scoring, and clinical evidence mining.

inflexa-ai/inflexa · 30 tokens

genomic-variants

Analysis of called genomic variants — filtering, annotation, GWAS, and population-genetics summaries from VCF and PLINK-format data.

inflexa-ai/inflexa · 31 tokens

omics-general

Cross-cutting principles for all omics analysis — AnnData/MuData universal containers, Python-first policy, data format detection, analysis phases, and shared analytical methods.

inflexa-ai/inflexa · 36 tokens

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

gsva-analysis-and-visualization

Use this skill to run GSVA or ssGSEA pathway-level differential analysis from a bulk expression matrix and a sample group file, then generate a heatmap from the saved GSVA result object. Trigger keywords: GSVA, ssGSEA, pathway enrichment, KEGG pathway analysis, MSigDB. NOT for: gene-level differential expression…

aipoch/medical-research-skills · 88 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