Skill instructions
biohub3.27 KB
View saved version →
---
name: biohub
description: Route Biohub requests to ESMC, ESMFold2, or the ESM Atlas on the Biohub MCP. Use for explicitly ESM or Biohub work, ESM mutation scoring, ESMFold2 folding, Atlas discovery, or showing a protein's 3D structure in the Biohub MCP's Mol* viewer. Also use when someone asks to design a protein binder, minibinder, or scFv, which this plugin declines. Do not use for unrelated non-ESM models, generic sequence alignment, or opening a local structure file in another viewer.
license: MIT
---
# Biohub router
The user's instructions take precedence over guidelines provided in a skill.
If explicit user instructions conflict with a skill's instructions, prioritize the user's instructions.
Use this as the implicit entry point. Identify the scientific goal, then load exactly the specialist it needs; ESMC, ESMFold2, and the Atlas are different things.
Every specialist answers through Biohub MCP tools, which need the user to be signed in to Biohub.
## Route
| User need | Specialist |
| --- | --- |
| Similar proteins, a protein name or accession, an Atlas record, clusters, SAE features of a protein, or bulk Atlas data | `$esm-atlas` |
| A protein's stored ESM Atlas structure, such as `Show me the ESM Atlas structure for P69905.` | `$esm-atlas` |
| Scores for named substitutions, or where a protein is constrained or tolerant | `$esmc` |
| To fold or see a protein, a complex, or a protein with DNA, RNA, or a ligand, such as `Could you display the 3D structure of GB1?` | `$esmfold2` |
| To see again a protein that `$esmc` analyzed in this conversation | `$esmc` |
| Installing the plugin, connecting the MCP, or signing in | `$biohub-setup` |
- For a protein name, let the specialist resolve it; never choose a chain, isoform, organism, or accession yourself first.
- A request that needs two specialists, such as a fold and then a mutation scan, loads both in order.
## Not offered
- Binder, minibinder, and scFv design: say plainly that this plugin does not offer it, name what it does cover, and stop. Hand it to no specialist.
- Folding with an MSA, modified residues, covalent bonds, or pocket constraints: the Biohub MCP does not take them. Say so and offer a plain fold with `$esmfold2`.
- Embeddings, raw logits, SAE activation extraction, fitted heads, or fine-tuning: the Biohub MCP does not return them. Point to the open ESMC weights, as `$esmc` describes.
- Other structure predictors, such as AlphaFold: this plugin does not run them. Answer a comparison question from what ESMFold2 returns, without claiming results for the other model.
- Private, offline, or data-resident sequences: the Biohub MCP sends sequences to Biohub. Say so before any call, and point to the open weights on Hugging Face for running on the user's own compute.
## Invariants
- Never ask for credentials in chat. Sign-in happens in the host's browser flow, as `$biohub-setup` describes.
- Folds and ESMC calls bill the user's Biohub account; the specialists say when to confirm first.
- The MCP writes no files, so every answer ends with a source line naming the tools called.
- Show structures only with the Biohub MCP viewer, as [Show a structure](../../references/show-a-structure.md) describes; never draw one yourself.
- Follow the shared [safety and provenance rules](../../references/safety-and-provenance.md).
Referenced files: 2 — file references are metadata, not package contents.
biohub-setup2.94 KB
View saved version →
---
name: biohub-setup
description: Connect and sign in to the Biohub MCP that every Biohub skill uses, and fix connection, sign-in, permission, or credit problems. Use when the Biohub tools are missing from the catalog, a tool returns an authentication or permission error, or the user asks how to install or set up Biohub. Never ask for secret values.
license: MIT
---
# Biohub setup
The user's instructions take precedence over guidelines provided in a skill.
If explicit user instructions conflict with a skill's instructions, prioritize the user's instructions.
Every Biohub skill runs on one remote server, the Biohub MCP at `https://biohub.ai/mcp`.
It needs no API key, no local Python, and no other install. The user signs in to Biohub once, in the browser, through the host.
The plugin declares the server in `.mcp.json` as `biohub`, so a plugin install adds it.
## Check the connection
The Biohub MCP is connected and signed in when the tool catalog lists, with or without a host prefix:
- `ui_show_structure` and the `esm_atlas_*` tools, for Atlas lookups and structure views;
- `esmfold2_fold_complex`, `esmfold2_fold_max_accuracy`, and `biohub_get_inference_run`, for folding;
- `esmc_score_mutations` and `esmc_scan_mutation_tolerance`, for ESMC.
If the tools are missing, the server is either not added or not signed in.
## Add the server
Give the user the one command for their host, because it changes their host configuration; never run it yourself:
- Claude Code: `claude mcp add --transport http biohub https://biohub.ai/mcp`
- Codex: `codex mcp add biohub --url https://biohub.ai/mcp`
- Any other host: add a streamable HTTP server at `https://biohub.ai/mcp` that signs in with OAuth.
## Sign in
- Claude Code: run `/mcp`, choose `biohub`, and choose to authenticate.
- Codex: run `codex mcp login biohub`.
- Any other host: use its connect or sign-in button for the server.
The host opens a Biohub sign-in page in the browser. The user signs in, or creates a free account at <https://biohub.ai>, and approves access.
The host may need to reload its MCP servers before the tools appear; then resume the original request on the user's next message.
Resume only the steps that did not run: when an analysis finished and only its structure view failed, make only that view call.
## Fix errors
- Sign-in expired, or a `401`: sign in again as above.
- A `403` naming the app: Biohub does not accept that client; connect with a supported app, such as Claude Code or Codex.
- A `403` about the account: quote the message, which says what access the account needs.
- A `503` saying sign-in could not be checked: try again shortly; the sign-in is not lost.
- Out of credits: point to <https://biohub.ai/developer-console> for the account's credits, and never invent a quota.
- A call the host blocks, for example by denying approval, is a tool failure, not a missing connection or sign-in.
Never ask the user to paste a password, token, or key in the chat, and never print or store one.
Referenced files: 2 — file references are metadata, not package contents.
esm-atlas8.84 KB
View saved version →
---
name: esm-atlas
description: Use when the user wants proteins similar to a protein, a protein name or accession resolved to a sequence, an Atlas record, SAE feature profile, or cluster context for a sequence, one Atlas SAE feature explained, or a protein's stored ESM Atlas structure viewed, all through the Biohub MCP. Also use for questions about bulk ESM Atlas data. Atlas is a dataset to search, not a model to run.
license: MIT
---
# ESM Atlas
The user's instructions take precedence over guidelines provided in a skill.
If explicit user instructions conflict with a skill's instructions, prioritize the user's instructions.
Atlas is public data and discovery infrastructure, not a model to run on Modal or Hugging Face.
Answer Atlas questions through the Biohub MCP, which needs the user to be signed in to Biohub, and never through `curl` or another HTTP client.
Every reply, including a clarifying question, states limits and choices as facts about the Atlas and never mentions, quotes, or links this skill, its rules, or its file.
## Tools
| Need | Tool |
| --- | --- |
| Protein name or UniProt accession to sequence | `esm_atlas_search_uniprot` |
| UniParc or MGnify accession to sequence | `esm_atlas_lookup_accession` |
| Similar proteins | `esm_atlas_search_similar_protein_clusters` |
| Atlas record and top SAE features | `esm_atlas_get_protein_details` |
| Cluster context for a sequence | `esm_atlas_get_cluster_info` |
| One SAE feature | `esm_atlas_get_sae_feature_detail` |
| Structure view | `ui_show_structure` |
A host may show a server prefix around a name, so match the name and never hard-code a prefix.
If these tools are not in the catalog, say the Biohub MCP is not connected or the user is not signed in, and point to `$biohub-setup`; if that skill is not installed, tell the user to add the Biohub MCP at `https://biohub.ai/mcp` to their client, which signs them in to Biohub.
Read [the MCP tool reference](references/mcp-tools.md) for arguments, returned fields, and error codes.
## Resolve the input
- Raw sequence or FASTA: drop the header and whitespace, keep every residue letter, and pass it on unchanged.
- UniProt accession, such as `P69905`: call `esm_atlas_search_uniprot` once with the accession as `query` and `size=1`, and accept only a record whose accession matches exactly.
- Protein name, such as `hemoglobin`: call `esm_atlas_search_uniprot` once with the name verbatim as `query` and `size=6`; never rewrite it, field it, or guess an accession first.
When several candidates return, list their accessions, protein names, and organisms, and ask the user to choose without recommending one, even one you already mentioned.
- UniParc or MGnify accession: call `esm_atlas_lookup_accession`, which does not accept UniProt accessions.
- `GB1` means the B1 domain of streptococcal protein G, PDB 1PGA chain A, 56 residues: `MTYKLILNGKTLKGETTTEAVDAATAEKVFKQYANDNGVDGEWTYDDATKTFTVTE`. Use it directly; a UniProt search returns the full-length protein instead.
- A 32-character MD5 protein hash with no sequence: the MCP is keyed by sequence, so ask the user for the sequence and point to the [Atlas API](https://biohub.ai/esm/protein/atlas/api-docs/api_reference.html), which reads records by hash.
Function text returned while resolving an input describes the input, not the Atlas result, so never present it as Atlas evidence.
## Length limits
Never clip, truncate, or window a sequence yourself.
- Similarity search and SAE features take at most 2,048 residues.
For a longer sequence, do not call the search; name the limit and the sequence length, and ask the user for a domain or residue range.
A `sequence_too_long_for_features` error from `esm_atlas_get_protein_details` gets the same answer.
- `ui_show_structure` returns a stored Atlas structure at any supported length, and predicts a miss only up to 700 residues.
On `sequence_too_long_to_fold`, explain the 700-residue limit with the returned `actual_length`, and ask for
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 4 — file references are metadata, not package contents.
esmc6.63 KB
View saved version →
---
name: esmc
description: Use when the user wants ESMC to score named substitutions such as W43F, or to find where a protein is most constrained or tolerant to mutation, or wants to see an analyzed protein's highlighted residues again. Sequence only; not for folding, Atlas lookup, or measured fitness. Embeddings, raw logits, SAE activation extraction, and fine-tuning need the open weights.
license: MIT
---
# ESMC
The user's instructions take precedence over guidelines provided in a skill.
If explicit user instructions conflict with a skill's instructions, prioritize the user's instructions.
ESMC is a sequence-only masked protein language model, and it runs on the Biohub MCP.
Every tool needs the user to be signed in to Biohub.
If the tools are not in the catalog, say the Biohub MCP is not connected or the user is not signed in, and point to `$biohub-setup`; if that skill is not installed, tell the user to add the Biohub MCP at `https://biohub.ai/mcp` to their client, which signs them in to Biohub.
## Choose the tool
| The user wants | Call |
| --- | --- |
| Scores for substitutions they named, such as W43F or a list from a paper | `esmc_score_mutations` |
| Where a protein is most constrained or tolerant, with no substitutions named | `esmc_scan_mutation_tolerance` |
| To see the analyzed protein with the singled-out residues | `ui_show_structure` |
- Use each tool's default model unless the user names one of `esmc-300m-2024-12`, `esmc-600m-2024-12`, or `esmc-6b-2024-12`.
- Pass one protein chain of one-letter codes. Do not pass structures, DNA, RNA, or ligands, and never clip a long sequence; the tool refuses what it cannot score and suggests a window.
- For a protein name or accession, get the sequence first with `esm_atlas_search_uniprot` or `esm_atlas_lookup_accession`.
- Use the user's own sequence. If it is missing, ask for it instead of substituting a familiar example.
- `GB1` means the B1 domain of streptococcal protein G, PDB 1PGA chain A, 56 residues: `MTYKLILNGKTLKGETTTEAVDAATAEKVFKQYANDNGVDGEWTYDDATKTFTVTE`. Use it directly; a UniProt search returns the full-length protein instead.
- Positions are 1-based, and each substitution names the wild-type residue it expects; the tool checks it. If it does not match, say so and ask which numbering the user meant.
The MCP does not return embeddings, hidden states, raw logits, or SAE activations, and it cannot fit or fine-tune heads.
For those, point to the open `biohub/ESMC-300M`, `biohub/ESMC-600M`, and `biohub/ESMC-6B` weights on Hugging Face and the [ESMC model page](https://biohub.ai/models/esmc).
For "what has ESMC learned about this protein", hand off to `$esm-atlas`, whose protein record lists the top SAE features of a sequence.
For private, offline, or unpublished sequences, say that the MCP sends sequences to Biohub, and point to the same open weights.
## Cost and retries
- Every call bills the user's Biohub account: one ESMC call per scored or scanned position.
- Report the credit usage the tool returns; otherwise state that the tool did not report usage or cost, and never invent an estimate.
- Before scoring or scanning more than one protein in a request, say how many calls that is and ask a plain yes/no question.
- Each call starts new work and bills again. After a timeout or an unclear error, do not repeat it.
- A scan can return partial results at its time limit or on a rate limit; report which positions it did not scan and offer to scan only those.
## When a tool fails
Branch on the returned `code`, not on the message text.
- `rate_limited`: wait as the error advises, then retry once.
- `indeterminate`: the outcome is unknown, and it may have billed; never retry.
- `invalid_input`: say what the tool rejected, such as a wild-type mismatch or too many positions, and ask the user how to proceed.
- `restricted`: a safety restriction; do not work around it.
- A call the host blocks, for example by denying approval, is a failure, not a missing connectio
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 2 — file references are metadata, not package contents.
esmfold26.87 KB
View saved version →
---
name: esmfold2
description: Use when the user wants to fold or see the predicted structure of a protein, several protein chains, or proteins with DNA, RNA, or small-molecule ligands with ESMFold2, wants structure confidence such as pTM, ipTM, or pLDDT, or asks how ESMFold2 compares with other structure predictors. Not for MSAs or modified residues, dynamics, binding affinity, experimental structures, or ESM Atlas lookup or stored Atlas structure views.
license: MIT
---
# ESMFold2
The user's instructions take precedence over guidelines provided in a skill.
If explicit user instructions conflict with a skill's instructions, prioritize the user's instructions.
The Biohub MCP needs the user to be signed in to Biohub for every tool, including the ESM Atlas lookups.
If the fold tools are not in the catalog, say the Biohub MCP is not connected or the user is not signed in, and point to `$biohub-setup`; if that skill is not installed, tell the user to add the Biohub MCP at `https://biohub.ai/mcp` to their client, which signs them in to Biohub. If a tool returns an authentication error, say the user is not signed in to Biohub.
## Choose the tool
| The user wants | Call |
| --- | --- |
| To see a structure: one protein, a complex, or a protein with DNA, RNA, or a ligand | `ui_show_structure` |
| Confidence scores without a view, such as comparing several designs | `esmfold2_fold_complex` |
| The most accurate prediction, and can wait minutes to hours | `esmfold2_fold_max_accuracy` |
| The result of a fold that returned `queued` | `biohub_get_inference_run` with its `run_id` |
- `ui_show_structure` folds and shows in one call, and returns pTM and ipTM. Do not also call `esmfold2_fold_complex` for the same input; that bills a second fold.
- `esmfold2_fold_complex` uses the fast model by default. Pass `model_id: esmfold2-2026-05`, the larger model at the same price, for difficult complexes or when the user asks for it.
- `esmfold2_fold_max_accuracy` costs more, always queues, and is limited to a few runs a day. Confirm before calling it unless the user asked for maximum accuracy.
## Build the input
- Give one entity per molecule, in order: `protein`, `dna`, or `rna` with a `sequence`, or `ligand` with one `ccd` code or one `smiles` string.
- For identical chains, set `copies` on one entity in `ui_show_structure`, such as 2 for a homodimer; the fold tools take no `copies`, so repeat the entity there. Give each DNA strand as its own entity. Never concatenate chains.
- For a protein name or accession, get the sequence first with `esm_atlas_search_uniprot` or `esm_atlas_lookup_accession`.
- Use the user's own sequences. If an input is missing, ask for it instead of substituting a familiar example.
- `GB1` means the B1 domain of streptococcal protein G, PDB 1PGA chain A, 56 residues: `MTYKLILNGKTLKGETTTEAVDAATAEKVFKQYANDNGVDGEWTYDDATKTFTVTE`. Use it directly; a UniProt search returns the full-length protein instead.
- The tools take no MSA, modified residues, covalent bonds, or pocket constraints. Say so when the user asks for one, and do not approximate it by dropping or changing parts of the input.
## Cost and retries
- A `ui_show_structure` call with one protein entity is free. A call with more than one entity, and every `esmfold2_fold_complex` or `esmfold2_fold_max_accuracy` call, bills the user's Biohub account.
- Report the credit usage the tool returns; otherwise state that the tool did not report usage or cost, and never invent an estimate.
- Before folding more than one input in a request, such as comparing designs, say how many folds that is and ask a plain yes/no question.
- Each call starts new work and bills again. After a timeout or an unclear error, do not repeat the fold; if the call returned a `run_id`, read it with `biohub_get_inference_run`.
- A `queued` fold is normal. Give the user its `run_id`, read it again later, and do not call it in a tight loop.
## When a tool fails
Branch on the returned `code`, not o
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 2 — file references are metadata, not package contents.