bio-alignment-multiple

A workflow for lining up three or more related biological sequences so corresponding positions can be compared. It helps choose among MAFFT, MUSCLE5, ClustalOmega, and T-Coffee based on the data and intended analysis.

In plain words
What is it for?
Use it to align homologous sequences for phylogenetics, conservation analysis, or evolutionary research.
Why use it?
Different alignment programs suit different dataset sizes and levels of sequence difference. Choosing an appropriate method can improve comparisons used in evolutionary or conservation studies.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/pku-yuangroup/openai4s/bio-alignment-multiple-alignment
Any agent
npx skills add PKU-YuanGroup/OpenAI4S --skill bio-alignment-multiple-alignment
Clone the repo
git clone --depth 1 https://github.com/PKU-YuanGroup/OpenAI4S

Made for: Claude Code, Codex.

Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,597 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00066 $0.08597
Opus 5 $0.00033 $0.04299
Sonnet 5 $0.00013 $0.01719
Haiku 4.5 $0.00007 $0.00860

Measured yesterday against content hash ff8a8f6274ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bio-alignment-multiple scanned grade A with 1 finding 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/codon_alignment.py, scripts/run_msa.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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- Python: `subprocess.run()` wrapping CLI tools; BioPython `Bio.Align.Applications` was removed in BioPython 1.86 (verify with `pip show biopython`); use `subprocess` directly
Origin

This is a copy

100% identical to bio-alignment-multiple — 12 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/bioskills/bio-alignment-multiple-alignment/SKILL.md · 485 lines

How it starts

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

Version Compatibility

Reference examples tested with: MAFFT 7.520+, MUSCLE 5.1+, ClustalOmega 1.2.4+, T-Coffee 13+, PAL2NAL 14+, BioPython 1.83+

Before using code patterns, verify installed versions match. If versions differ:

  • CLI: mafft --version, muscle -version, clustalo --version
  • Python: pip show biopython then help(module.function) to check signatures

If code throws errors, introspect the installed tool and adapt the example to match the actual CLI flags rather than retrying.

Multiple Sequence Alignment

"Align multiple sequences" -> Compute an optimal alignment of three or more homologous sequences using progressive, iterative, or consistency-based methods.

  • CLI: mafft (most versatile), muscle (highest accuracy), clustalo (scales well), t_coffee (consistency-based)
  • Python: subprocess.run() wrapping CLI tools; BioPython Bio.Align.Applications was removed in BioPython 1.86 (verify with pip show biopython); use subprocess directly

MSA Algorithm Taxonomy

When a tool is failing on a dataset, switch to a tool from a different algorithmic family rather than tuning flags. The six families and their characteristic failure modes:

Family Representative tools Best at Fails when
Progressive ClustalW, MAFFT FFT-NS-2 Fast, large datasets, similar lengths Early-stage gap errors propagate; no recovery
Iterative refinement MAFFT L-INS-i, MUSCLE3, PRRN Recovers from progressive errors at <2000 seqs Slow on >2000; still guide-tree dependent
Consistency-based T-Coffee, ProbCons Highest accuracy <100 seqs; integrates evidence O(N^2 to N^4) scaling; heavy compute
HMM-based HMMER hmmalign, ClustalOmega (HHalign), UPP, WITCH Adding sequences to a curated profile; fragmentary input Needs an existing high-quality profile or backbone
Divide-and-conquer PASTA, MAGUS, MUSCLE5 super5 Heterogeneous large datasets (>10k seqs) Sub-alignment merges can introduce artefacts
Structure or pLM-informed Foldmason, PROMALS3D, vcMSA, 3D-Coffee Dark proteome, <15% identity, dataset has structures Requires structures or a working pLM

Read the full file on GitHub · 485 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. yesterday First seen · 485 lines · 66 tokens per session scan A ff8a8f6274ce

Subscribe to this mod's changes

bio-alignment-multiple is a skill published in the GitHub repository PKU-YuanGroup/OpenAI4S (373 stars, last pushed 2d ago), licensed MIT. It adds 66 tokens to every session and 8,597 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). It is 100% identical to bio-alignment-multiple, differing in 12 lines, and is treated as a copy.

Related

Other skills, from other repositories

cn-check

Install and run the Continue CLI (cn) to execute AI agent checks on local code changes. Use when asked to "run checks", "lint with AI", "review my changes with cn", or set up Continue CI locally.

continuedev/continue · 49 tokens

docs-style

Style guidelines for writing and updating documentation. Use when writing new docs, updating existing docs, or reviewing docs for quality.

continuedev/continue · 27 tokens

openagentskill-registry

Discover, compare, audit, and safely install reusable AI Agent Skills with OpenAgentSkill. Use whenever an agent needs a capability it does not already have, must compare Skill alternatives, or needs evidence before installing third-party instructions.

Leon-Drq/openagentskill · 51 tokens

open-video

Generate, edit, or direct videos via open-source models (MiniMax H3 baseline; Wan2.2 / LTX future). Use when the user wants to turn a concept, script, or reference image into a finished video or multi-shot film — single shots, image-to-video, first-last-frame interpolation, reference-video/audio styling, or stitched…

open-video-ai/open-video · 107 tokens

shaman-linus

开源思维,技术实用主义,代码至上.

linkerlin/PUAX · 18 tokens

api-design

Design public interfaces for libraries and tools that other people depend on. Use when designing or reviewing a public API surface, deciding what to export, naming functions and CLI flags, adding configuration options, planning deprecations, or when the user asks "is this a good API" or "how do I change this without…

the-open-agent/oss-skills · 107 tokens