Update to Biohub ESM
Snapshot Nov 10, 2026 · 06:26 UTC · version 1.0.0
Collection source: downloaded plugin package.
Instructions updated for esmc
Full description — Now says: 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...
Observed in instructions or declared skills. Runtime behavior has not been tested.
Up to 3 plugins free · no card required.
All fields and original values.
Full description
Oct 5, 2026 · 18:29 UTC
needs ESMC embeddings, hidden states, logits, entropy, zero-shot mutation scoring, SAE features, fitted heads, or fine-tuning, or wants to see an analyzed protein's highlighted residues again in the Biohub MCP structure view. Sequence on...
Nov 10, 2026 · 06:26 UTC
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,...
Skill instructions
Oct 5, 2026 · 18:29 UTC
needs ESMC embeddings, hidden states, logits, entropy, zero-shot mutation scoring, SAE features, fitted heads, or fine-tuning, or wants to see an analyzed protein's highlighted residues again in the Biohub MCP structure view. Sequence on...
Nov 10, 2026 · 06:26 UTC
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,...
Supporting files
Oct 5, 2026 · 18:29 UTC
[{"relative_path":"LICENSE.md","size_in_bytes":1093},{"relative_path":"agents/openai.yaml","size_in_bytes":195},{"relative_path":"references/analysis.md","size_in_bytes":6789},{"relative_path":"references/api.md","size_in_bytes":6233},{"...
Nov 10, 2026 · 06:26 UTC
[{"relative_path":"LICENSE.md","size_in_bytes":1093},{"relative_path":"agents/openai.yaml","size_in_bytes":432}]
Compare saved observations
Download comparison JSONSKILL.md text changes
− removed · + added
--- before +++ after @@ -1,6 +1,6 @@ --- name: esmc -description: Use when the user needs ESMC embeddings, hidden states, logits, entropy, zero-shot mutation scoring, SAE features, fitted heads, or fine-tuning, or wants to see an analyzed protein's highlighted residues again in the Biohub MCP structure view. Sequence only; not for folding, Atlas lookup, or calling an untrained classifier predictive. +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 --- @@ -9,106 +9,77 @@ 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. Validate the input before inference: +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-esm-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. -```bash -python3 <plugin-root>/scripts/biohub_esm.py validate-sequence \ - --target esmc --sequence-file /absolute/path/query.fasta -``` +## Choose the tool -The context is 2,048 tokens. Because current tokenizers add BOS/EOS, the helper uses a conservative 2,046-residue raw-sequence cap unless a pinned tokenizer probe proves a different count. Do not pass structures, DNA, RNA, or ligands. - -## Model and route - -| Route | IDs | +| The user wants | Call | | --- | --- | -| Biohub managed | `esmc-300m-2024-12`, `esmc-600m-2024-12`, `esmc-6b-2024-12` | -| Hugging Face | `biohub/ESMC-300M`, `biohub/ESMC-600M`, `biohub/ESMC-6B` | - -Default to managed ESMC for public inference, including bounded concurrent calls that the managed backend can auto-batch. The plugin ships no ESMC Modal function. Use pinned Hugging Face weights on user-owned compute for private, offline, custom-head, fine-tuned, sustained, or explicitly owned-compute workloads. - -## Analysis contract - -1. Preserve the normalized sequence digest and exact model/revision. -2. Request only the outputs needed: sequence logits, per-residue embedding, mean embedding, selected hidden states, or named SAE models. -3. For the default biological residue-entropy metric, mask the evaluated residue, predeclare the allowed residue-token set, exclude special/control tokens, and renormalize over only those residue tokens. Keep full-vocabulary log probabilities separate. When explicitly reproducing the official PETase notebook, report its complete-vocabulary entropy in bits as a separately named tutorial metric with its token set and log base; never relabel it as residue entropy. -4. For zero-shot mutation scoring, report the documented score definition, typically `log P(mutant | masked context) - log P(wild type | masked context)`. Keep raw log probabilities and residue numbering. -5. Treat embeddings and SAE activations as features, not biological labels. -6. A downstream classifier/regressor becomes a prediction only after fitting on appropriate labeled data and validating on held-out, leakage-controlled data. Never run an untrained classification head and name its random output. -7. Record outputs and provenance atomically; large tensors should be files with checksums, not pasted into chat. +| 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 connection. +- For any other code, name the tool and the code, and never retry with different arguments. + +## Interpret the result + +- A substitution's score is `ln P(substituted) - ln P(wild type)` with that position masked. Positive means ESMC finds the new residue more likely there. +- Each substitution is scored alone on the wild-type sequence, not as part of a combined variant. +- A scan ranks positions by entropy in bits over ESMC's full output vocabulary by default, where low means constrained, or by the share of the 19 other amino acids that score below the wild type. Name the metric you report. +- Low entropy or a negative score can suggest constraint, but neither is measured fitness, stability, activity, or binding. Do not compare raw scores across models without calibration. -Biohub's pinned official mutation-landscape and SAE tutorials define two page-facing workflows in `../../examples/tutorial-use-cases.json`: - -- `Map the mutational landscape of PETase and show me where it is most constrained or tolerant.` is a curated tutorial launcher. Disclose the pinned CaPETase literal before adopting it, run status-only preflight, then execute the exact `runtime.command` from the tutorial contract using the verified Python 3.12 environment; do not recreate the analysis in generated code. The shipped `esmc-landscape --tutorial petase` path validates the literal digest, uses a bounded 16-worker `ThreadPoolExecutor` for all 259 host-pinned managed logits calls, and writes exact-request-bound per-position checkpoints before producing `raw-responses.json`, `mutation-landscape.json`, `mutation-landscape.csv`, and `provenance.json`. If interrupted, use only `runtime.resume_command`; never replay an indeterminate submission. Present its constrained/tolerant summary, separately named full-vocabulary tutorial entropy, genuine-substitution fraction, and canonical-amino-acid LLRs. Then show the protein with the Biohub MCP view, as [Show residues on the structure](#show-residues-on-the-structure) describes, and include that one view in the disclosure. Do not route this to Modal: the plugin ships no ESMC Modal function. -- `Show me what ESMC has learned about ATP synthase and map the strongest features onto its structure.` is a curated launcher for the RCSB FASTA sequence of PDB 2XND chain A, using managed `esmc-6b-2024-12` with SAE `esmc-6b-2024-12-sae-layer60-k64-codebook16384`. Disclose that identity and the calls it makes: one RCSB FASTA fetch, one managed encode request, one managed logits request, five Atlas feature-detail fetches, and one Biohub MCP `ui_show_protein_structure` view. Reproduce managed rather than local tokenization, normalized features, the strict `activation > 0.01` predicate, top 10 rankings by both maximum activation and prevalence, and descriptions for the top five maximum-activation features. Map the top three maximum-activation features onto the structure with the Biohub MCP view, as [Show residues on the structure](#show-residues-on-the-structure) describes; do not fetch the experimental 2XND coordinates. Preserve the named raw, feature, ranking, structure-view, and provenance artifacts. After the exact disclosure, run preflight and then the RCSB, managed, Atlas, and Biohub MCP requests without asking first. - -Lead with the science. Order every answer this way: - -1. The result: the Biohub MCP structure view, the ranked features, or the score card. Show it - automatically; never ask permission to show a result. -2. Two or three sentences a scientist can react to: which positions or regions are - constrained, which are tolerant, what stands out. -3. One line of scientific status: this is a model hypothesis, not an experimental - measurement, and it needs validation. -4. The artifact paths, listed briefly. -5. Provenance, collapsed: pinned model revision, SDK revisions, input digest, checksums, - and the exact route. -6. A link back to the relevant model card, such as <https://biohub.ai/models/esmc>. +## Show residues on the structure -Do not open with a plan, a list of the calls you intend to make, a cost estimate, or a -request for permission. If the user explicitly asks for a dry run or a planning-only answer, describe -the plan and say plainly that no provider call was made; that is the only case where a -no-call answer is correct. +After an analysis of one protein that singles out residues, call `ui_show_structure` once with the exact analyzed sequence as one protein entity, which is free: -The two exact page-facing prompts above may resolve their disclosed pinned tutorial targets. Otherwise resolve a bundled sequence only when the user explicitly names the official tutorial example. A generic PETase, ATP-synthase, A3M, or MSA request uses the user's supplied inputs or pauses for them; never silently substitute tutorial literals. Keep mutation analysis in the ESMC model family. For SAE interpretation, ESMC owns activation extraction; Atlas is an optional description lookup for the exact compatible feature dictionary, not a substitute inference route. +- Tolerance scan: highlight the most constrained positions in `#D55E00` and the most tolerant in `#009E73`. +- Named substitutions: highlight the mutated residues when the user asks where they sit. -Run status-only preflight first; it reads no credential value and costs nothing. If managed access is missing, hand the user the key page from `$biohub-esm-setup` instead of a plan, then resume automatically once it is configured. If it is `unverified`, a sandbox blocked the macOS Keychain; rerun preflight outside the sandbox before any key handoff, as `$biohub-esm-setup` describes. The focused GB1 starter, the exact PETase runtime, and the exact ATP-synthase workflow run without separate confirmation. Managed requests may incur cost. Report provider-returned credit or token usage when available; otherwise state that the API did not report usage or cost, and never invent an estimate. Self-hosted GPU work and bulk data transfers are different: freeze the exact route, model/revision, item and call counts, input digest, output paths, persistence plan, and cost ceiling, show that scope, and ask a plain yes/no question before spending. Never require the user to repeat a specific phrase back to you. +Highlight each residue on chain `A` by its 1-based position in the analyzed sequence, with `expected_residue` set to its wild-type three-letter code. +The highlights show where the model score is, not a measured effect. +The view is the stored Atlas structure or the server's own prediction of that sequence, not an experimental structure, so say that. +When the user asks to see the structure again, call the view again with the same sequence and highlights; do not fold the protein with ESMFold2 and do not rerun the scoring. +A failed view never changes the analysis, and never permits drawing a structure yourself. +Follow [Show a structure](../../references/show-a-structure.md) for highlights, the image, and failures. -For `What might W43F do to GB1?`, resolve the pinned fixture through `../../examples/starter-examples.json`; do not ask the user to paste the bundled sequence. Its managed path performs exactly one no-retry logits request and writes `raw-response.json`, `mutation-score.json`, `mutation-score.svg`, and `provenance.json`. The score records the masked context, both natural-log probabilities, one-based residue and zero-based tensor indices, exact model and SDK revisions, and checksums. After successful materialization, display `mutation-score.svg` inline by default; it is a visual summary of the model score, not evidence of fitness, stability, activity, binding, or function. +## Write the answer -## Show residues on the structure +Lead with the science: -ESMC takes sequence only, so show its results on a structure with the Biohub MCP's `ui_show_protein_structure`. -Hosts that render MCP Apps show its interactive Mol* viewer, and other hosts get its PNG preview. -It is the only structure presentation for this skill. -Never draw a structure image or an activation map yourself with plotting, rendering, or viewer code, such as matplotlib, SVG, PyMOL, or py3Dmol. -Never show other coordinates, such as an experimental PDB entry, in place of the view. - -After a successful analysis of one protein that singles out residues, call it once with the exact analyzed sequence: - -- PETase landscape: highlight every position in `summary.most_constrained` of `mutation-landscape.json` in `#D55E00`, and every position in `summary.most_tolerant` in `#009E73`. -- ATP-synthase feature map: for each of the top three maximum-activation features in rank order, highlight its 10 highest-activation residues with `activation > 0.01` that no higher-ranked feature already highlights, and break a tie by the lower position. - Color the first, second, and third feature `#D55E00`, `#009E73`, and `#CC79A7`, and name each color with its feature in the answer. - Record the exact call arguments, the returned `descriptor`, and `preview_status` in `structure-view.json`. - The view shows a stored Atlas prediction or an on-demand fold of the 2XND chain A sequence, not the experimental 2XND coordinates, so say that in the answer. - The view highlights residues and cannot color by a value, so `per-residue-activations.csv` keeps every activation value. - Say that each color marks only the feature's 10 strongest residues, not its full extent, and give the feature's count of residues with `activation > 0.01`. - Name each residue by its position in the analyzed sequence, and say so. - The 2XND chain A author number of a residue is its position plus 18, so give that number too when the answer links or compares with the 2XND entry or the literature. - Never pass a 2XND author number as a highlight. -- A single mutation score, such as W43F in GB1: highlight the mutated residue when the user asks where it sits. - -The PETase and ATP-synthase tutorial contracts name this call, so include it in their disclosures. -For other pinned workflows, name the view only in the answer's source line. -Highlight each residue on chain `A` by its one-based position in the analyzed sequence, and set `expected_residue` to the three-letter code of its wild-type residue. -This numbering needs no sequence-to-coordinate alignment, because the view folds or looks up the exact sequence passed. -If the call returns `invalid_input` because a highlighted residue identity does not match, correct the numbering one time; never remove `expected_residue`. -Highlight at most 32 residues: keep the 32 that the analysis ranks highest, and state how many it left out. -Describe the PNG preview in words, and if `preview_status` is not `available`, say that visual inspection is unresolved. -The highlights show where the model score or activation is, not a measured effect. -Name `ui_show_protein_structure` in the answer's source line. - -When the user asks to see the structure again, call the view again with the same sequence and highlights, such as the arguments in `structure-view.json`. -This is not a refresh or a poll, so the one-call rule does not block it. -Do not fold the protein with ESMFold2 for that request. -An on-demand fold can compute again, so compare the new `descriptor.sha256` with the recorded one, and say when the coordinates differ. -When the user asks for the experimental 2XND structure, say that the Biohub MCP view cannot open a PDB entry, and link <https://www.rcsb.org/structure/2XND>. -Give the 2XND author numbers of the highlighted residues with that link. -If the tool is not in the catalog, returns an error code, or reports a `preview_status` other than `available`, give the analysis without a structure view and name the tool and the reason. -When the view could not run, write `structure-view.json` with the planned arguments, `called: false`, and the reason. -When the tool is not in the catalog, also say that the Biohub MCP is not connected and point to `$biohub-esm-setup`. -After the user connects it, make only the recorded view call, and never repeat the RCSB, managed, or Atlas requests. -The analysis result stands without the view, and a failed view never permits a self-drawn replacement. -Read [Show a protein with the Biohub MCP](../../references/structure-viewer-handoff.md#show-a-protein-with-the-biohub-mcp) for the full contract. +1. The result: the scores or the constrained and tolerant positions, and the structure view when there is one. Never ask permission to show a result. +2. Two or three sentences a scientist can react to: which positions or regions are constrained, which are tolerant, what stands out. +3. One line of scientific status: this is a model hypothesis, not an experimental measurement, and it needs validation. +4. One source line naming each tool called, the model, and the credits billed, then one link: <https://biohub.ai/models/esmc>. -Read the exact [managed/SDK contract](references/api.md), [analysis guidance](references/analysis.md), and [self-hosting guidance](references/self-hosted.md). +Do not open with a plan or a list of the calls you intend to make. If the user asks for a dry run or a planning-only answer, describe the plan and say plainly that no tool was called. +Follow the shared [biosafety and acceptable-use rules](../../references/safety-and-provenance.md#biosafety-and-acceptable-use).
Full technical diff · 3 changed fields
changed /description
"Use when the user needs ESMC embeddings, hidden states, logits, entropy, zero-shot mutation scoring, SAE features, fitted heads, or fine-tuning, or wants to see an analyzed protein's highlighted residues again in the Biohub MCP structure view. Sequence only; not for folding, Atlas lookup, or calling an untrained classifier predictive."
"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."
changed /included_files
[
{
"relative_path": "LICENSE.md",
"size_in_bytes": 1093
},
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 195
},
{
"relative_path": "references/analysis.md",
"size_in_bytes": 6789
},
{
"relative_path": "references/api.md",
"size_in_bytes": 6233
},
{
"relative_path": "references/self-hosted.md",
"size_in_bytes": 2133
}
][
{
"relative_path": "LICENSE.md",
"size_in_bytes": 1093
},
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 432
}
]changed /skill_md_contents
"---\nname: esmc\ndescription: Use when the user needs ESMC embeddings, hidden states, logits, entropy, zero-shot mutation scoring, SAE features, fitted heads, or fine-tuning, or wants to see an analyzed protein's highlighted residues again in the Biohub MCP structure view. Sequence only; not for folding, Atlas lookup, or calling an untrained classifier predictive.\nlicense: MIT\n---\n\n# ESMC\n\nThe user's instructions take precedence over guidelines provided in a skill.\nIf explicit user instructions conflict with a skill's instructions, prioritize the user's instructions.\n\nESMC is a sequence-only masked protein language model. Validate the input before inference:\n\n```bash\npython3 <plugin-root>/scripts/biohub_esm.py validate-sequence \\\n --target esmc --sequence-file /absolute/path/query.fasta\n```\n\nThe context is 2,048 tokens. Because current tokenizers add BOS/EOS, the helper uses a conservative 2,046-residue raw-sequence cap unless a pinned tokenizer probe proves a different count. Do not pass structures, DNA, RNA, or ligands.\n\n## Model and route\n\n| Route | IDs |\n| --- | --- |\n| Biohub managed | `esmc-300m-2024-12`, `esmc-600m-2024-12`, `esmc-6b-2024-12` |\n| Hugging Face | `biohub/ESMC-300M`, `biohub/ESMC-600M`, `biohub/ESMC-6B` |\n\nDefault to managed ESMC for public inference, including bounded concurrent calls that the managed backend can auto-batch. The plugin ships no ESMC Modal function. Use pinned Hugging Face weights on user-owned compute for private, offline, custom-head, fine-tuned, sustained, or explicitly owned-compute workloads.\n\n## Analysis contract\n\n1. Preserve the normalized sequence digest and exact model/revision.\n2. Request only the outputs needed: sequence logits, per-residue embedding, mean embedding, selected hidden states, or named SAE models.\n3. For the default biological residue-entropy metric, mask the evaluated residue, predeclare the allowed residue-token set, exclude special/control tokens, and renormalize over only those residue tokens. Keep full-vocabulary log probabilities separate. When explicitly reproducing the official PETase notebook, report its complete-vocabulary entropy in bits as a separately named tutorial metric with its token set and log base; never relabel it as residue entropy.\n4. For zero-shot mutation scoring, report the documented score definition, typically `log P(mutant | masked context) - log P(wild type | masked context)`. Keep raw log probabilities and residue numbering.\n5. Treat embeddings and SAE activations as features, not biological labels.\n6. A downstream classifier/regressor becomes a prediction only after fitting on appropriate labeled data and validating on held-out, leakage-controlled data. Never run an untrained classification head and name its random output.\n7. Record outputs and provenance atomically; large tensors should be files with checksums, not pasted into chat.\n\nBiohub's pinned official mutation-landscape and SAE tutorials define two page-facing workflows in `../../examples/tutorial-use-cases.json`:\n\n- `Map the mutational landscape of PETase and show me where it is most constrained or tolerant.` is a curated tutorial launcher. Disclose the pinned CaPETase literal before adopting it, run status-only preflight, then execute the exact `runtime.command` from the tutorial contract using the verified Python 3.12 environment; do not recreate the analysis in generated code. The shipped `esmc-landscape --tutorial petase` path validates the literal digest, uses a bounded 16-worker `ThreadPoolExecutor` for all 259 host-pinned managed logits calls, and writes exact-request-bound per-position checkpoints before producing `raw-responses.json`, `mutation-landscape.json`, `mutation-landscape.csv`, and `provenance.json`. If interrupted, use only `runtime.resume_command`; never replay an indeterminate submission. Present its constrained/tolerant summary, separately named full-vocabulary tutorial entropy, genuine-substitution fraction, and canonical-amino-acid LLRs. Then show the protein with the Biohub MCP view, as [Show residues on the structure](#show-residues-on-the-structure) describes, and include that one view in the disclosure. Do not route this to Modal: the plugin ships no ESMC Modal function.\n- `Show me what ESMC has learned about ATP synthase and map the strongest features onto its structure.` is a curated launcher for the RCSB FASTA sequence of PDB 2XND chain A, using managed `esmc-6b-2024-12` with SAE `esmc-6b-2024-12-sae-layer60-k64-codebook16384`. Disclose that identity and the calls it makes: one RCSB FASTA fetch, one managed encode request, one managed logits request, five Atlas feature-detail fetches, and one Biohub MCP `ui_show_protein_structure` view. Reproduce managed rather than local tokenization, normalized features, the strict `activation > 0.01` predicate, top 10 rankings by both maximum activation and prevalence, and descriptions for the top five maximum-activation features. Map the top three maximum-activation features onto the structure with the Biohub MCP view, as [Show residues on the structure](#show-residues-on-the-structure) describes; do not fetch the experimental 2XND coordinates. Preserve the named raw, feature, ranking, structure-view, and provenance artifacts. After the exact disclosure, run preflight and then the RCSB, managed, Atlas, and Biohub MCP requests without asking first.\n\nLead with the science. Order every answer this way:\n\n1. The result: the Biohub MCP structure view, the ranked features, or the score card. Show it\n automatically; never ask permission to show a result.\n2. Two or three sentences a scientist can react to: which positions or regions are\n constrained, which are tolerant, what stands out.\n3. One line of scientific status: this is a model hypothesis, not an experimental\n measurement, and it needs validation.\n4. The artifact paths, listed briefly.\n5. Provenance, collapsed: pinned model revision, SDK revisions, input digest, checksums,\n and the exact route.\n6. A link back to the relevant model card, such as <https://biohub.ai/models/esmc>.\n\nDo not open with a plan, a list of the calls you intend to make, a cost estimate, or a\nrequest for permission. If the user explicitly asks for a dry run or a planning-only answer, describe\nthe plan and say plainly that no provider call was made; that is the only case where a\nno-call answer is correct.\n\nThe two exact page-facing prompts above may resolve their disclosed pinned tutorial targets. Otherwise resolve a bundled sequence only when the user explicitly names the official tutorial example. A generic PETase, ATP-synthase, A3M, or MSA request uses the user's supplied inputs or pauses for them; never silently substitute tutorial literals. Keep mutation analysis in the ESMC model family. For SAE interpretation, ESMC owns activation extraction; Atlas is an optional description lookup for the exact compatible feature dictionary, not a substitute inference route.\n\nRun status-only preflight first; it reads no credential value and costs nothing. If managed access is missing, hand the user the key page from `$biohub-esm-setup` instead of a plan, then resume automatically once it is configured. If it is `unverified`, a sandbox blocked the macOS Keychain; rerun preflight outside the sandbox before any key handoff, as `$biohub-esm-setup` describes. The focused GB1 starter, the exact PETase runtime, and the exact ATP-synthase workflow run without separate confirmation. Managed requests may incur cost. Report provider-returned credit or token usage when available; otherwise state that the API did not report usage or cost, and never invent an estimate. Self-hosted GPU work and bulk data transfers are different: freeze the exact route, model/revision, item and call counts, input digest, output paths, persistence plan, and cost ceiling, show that scope, and ask a plain yes/no question before spending. Never require the user to repeat a specific phrase back to you.\n\nFor `What might W43F do to GB1?`, resolve the pinned fixture through `../../examples/starter-examples.json`; do not ask the user to paste the bundled sequence. Its managed path performs exactly one no-retry logits request and writes `raw-response.json`, `mutation-score.json`, `mutation-score.svg`, and `provenance.json`. The score records the masked context, both natural-log probabilities, one-based residue and zero-based tensor indices, exact model and SDK revisions, and checksums. After successful materialization, display `mutation-score.svg` inline by default; it is a visual summary of the model score, not evidence of fitness, stability, activity, binding, or function.\n\n## Show residues on the structure\n\nESMC takes sequence only, so show its results on a structure with the Biohub MCP's `ui_show_protein_structure`.\nHosts that render MCP Apps show its interactive Mol* viewer, and other hosts get its PNG preview.\nIt is the only structure presentation for this skill.\nNever draw a structure image or an activation map yourself with plotting, rendering, or viewer code, such as matplotlib, SVG, PyMOL, or py3Dmol.\nNever show other coordinates, such as an experimental PDB entry, in place of the view.\n\nAfter a successful analysis of one protein that singles out residues, call it once with the exact analyzed sequence:\n\n- PETase landscape: highlight every position in `summary.most_constrained` of `mutation-landscape.json` in `#D55E00`, and every position in `summary.most_tolerant` in `#009E73`.\n- ATP-synthase feature map: for each of the top three maximum-activation features in rank order, highlight its 10 highest-activation residues with `activation > 0.01` that no higher-ranked feature already highlights, and break a tie by the lower position.\n Color the first, second, and third feature `#D55E00`, `#009E73`, and `#CC79A7`, and name each color with its feature in the answer.\n Record the exact call arguments, the returned `descriptor`, and `preview_status` in `structure-view.json`.\n The view shows a stored Atlas prediction or an on-demand fold of the 2XND chain A sequence, not the experimental 2XND coordinates, so say that in the answer.\n The view highlights residues and cannot color by a value, so `per-residue-activations.csv` keeps every activation value.\n Say that each color marks only the feature's 10 strongest residues, not its full extent, and give the feature's count of residues with `activation > 0.01`.\n Name each residue by its position in the analyzed sequence, and say so.\n The 2XND chain A author number of a residue is its position plus 18, so give that number too when the answer links or compares with the 2XND entry or the literature.\n Never pass a 2XND author number as a highlight.\n- A single mutation score, such as W43F in GB1: highlight the mutated residue when the user asks where it sits.\n\nThe PETase and ATP-synthase tutorial contracts name this call, so include it in their disclosures.\nFor other pinned workflows, name the view only in the answer's source line.\nHighlight each residue on chain `A` by its one-based position in the analyzed sequence, and set `expected_residue` to the three-letter code of its wild-type residue.\nThis numbering needs no sequence-to-coordinate alignment, because the view folds or looks up the exact sequence passed.\nIf the call returns `invalid_input` because a highlighted residue identity does not match, correct the numbering one time; never remove `expected_residue`.\nHighlight at most 32 residues: keep the 32 that the analysis ranks highest, and state how many it left out.\nDescribe the PNG preview in words, and if `preview_status` is not `available`, say that visual inspection is unresolved.\nThe highlights show where the model score or activation is, not a measured effect.\nName `ui_show_protein_structure` in the answer's source line.\n\nWhen the user asks to see the structure again, call the view again with the same sequence and highlights, such as the arguments in `structure-view.json`.\nThis is not a refresh or a poll, so the one-call rule does not block it.\nDo not fold the protein with ESMFold2 for that request.\nAn on-demand fold can compute again, so compare the new `descriptor.sha256` with the recorded one, and say when the coordinates differ.\nWhen the user asks for the experimental 2XND structure, say that the Biohub MCP view cannot open a PDB entry, and link <https://www.rcsb.org/structure/2XND>.\nGive the 2XND author numbers of the highlighted residues with that link.\nIf the tool is not in the catalog, returns an error code, or reports a `preview_status` other than `available`, give the analysis without a structure view and name the tool and the reason.\nWhen the view could not run, write `structure-view.json` with the planned arguments, `called: false`, and the reason.\nWhen the tool is not in the catalog, also say that the Biohub MCP is not connected and point to `$biohub-esm-setup`.\nAfter the user connects it, make only the recorded view call, and never repeat the RCSB, managed, or Atlas requests.\nThe analysis result stands without the view, and a failed view never permits a self-drawn replacement.\nRead [Show a protein with the Biohub MCP](../../references/structure-viewer-handoff.md#show-a-protein-with-the-biohub-mcp) for the full contract.\n\nRead the exact [managed/SDK contract](references/api.md), [analysis guidance](references/analysis.md), and [self-hosting guidance](references/self-hosted.md).\n"
"---\nname: esmc\ndescription: 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.\nlicense: MIT\n---\n\n# ESMC\n\nThe user's instructions take precedence over guidelines provided in a skill.\nIf explicit user instructions conflict with a skill's instructions, prioritize the user's instructions.\n\nESMC is a sequence-only masked protein language model, and it runs on the Biohub MCP.\nEvery tool needs the user to be signed in to Biohub.\nIf 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-esm-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.\n\n## Choose the tool\n\n| The user wants | Call |\n| --- | --- |\n| Scores for substitutions they named, such as W43F or a list from a paper | `esmc_score_mutations` |\n| Where a protein is most constrained or tolerant, with no substitutions named | `esmc_scan_mutation_tolerance` |\n| To see the analyzed protein with the singled-out residues | `ui_show_structure` |\n\n- 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`.\n- 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.\n- For a protein name or accession, get the sequence first with `esm_atlas_search_uniprot` or `esm_atlas_lookup_accession`.\n- Use the user's own sequence. If it is missing, ask for it instead of substituting a familiar example.\n- `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.\n- 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.\n\nThe MCP does not return embeddings, hidden states, raw logits, or SAE activations, and it cannot fit or fine-tune heads.\nFor 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).\nFor \"what has ESMC learned about this protein\", hand off to `$esm-atlas`, whose protein record lists the top SAE features of a sequence.\nFor private, offline, or unpublished sequences, say that the MCP sends sequences to Biohub, and point to the same open weights.\n\n## Cost and retries\n\n- Every call bills the user's Biohub account: one ESMC call per scored or scanned position.\n- Report the credit usage the tool returns; otherwise state that the tool did not report usage or cost, and never invent an estimate.\n- Before scoring or scanning more than one protein in a request, say how many calls that is and ask a plain yes/no question.\n- Each call starts new work and bills again. After a timeout or an unclear error, do not repeat it.\n- 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.\n\n## When a tool fails\n\nBranch on the returned `code`, not on the message text.\n- `rate_limited`: wait as the error advises, then retry once.\n- `indeterminate`: the outcome is unknown, and it may have billed; never retry.\n- `invalid_input`: say what the tool rejected, such as a wild-type mismatch or too many positions, and ask the user how to proceed.\n- `restricted`: a safety restriction; do not work around it.\n- A call the host blocks, for example by denying approval, is a failure, not a missing connection.\n- For any other code, name the tool and the code, and never retry with different arguments.\n\n## Interpret the result\n\n- A substitution's score is `ln P(substituted) - ln P(wild type)` with that position masked. Positive means ESMC finds the new residue more likely there.\n- Each substitution is scored alone on the wild-type sequence, not as part of a combined variant.\n- A scan ranks positions by entropy in bits over ESMC's full output vocabulary by default, where low means constrained, or by the share of the 19 other amino acids that score below the wild type. Name the metric you report.\n- Low entropy or a negative score can suggest constraint, but neither is measured fitness, stability, activity, or binding. Do not compare raw scores across models without calibration.\n\n## Show residues on the structure\n\nAfter an analysis of one protein that singles out residues, call `ui_show_structure` once with the exact analyzed sequence as one protein entity, which is free:\n\n- Tolerance scan: highlight the most constrained positions in `#D55E00` and the most tolerant in `#009E73`.\n- Named substitutions: highlight the mutated residues when the user asks where they sit.\n\nHighlight each residue on chain `A` by its 1-based position in the analyzed sequence, with `expected_residue` set to its wild-type three-letter code.\nThe highlights show where the model score is, not a measured effect.\nThe view is the stored Atlas structure or the server's own prediction of that sequence, not an experimental structure, so say that.\nWhen the user asks to see the structure again, call the view again with the same sequence and highlights; do not fold the protein with ESMFold2 and do not rerun the scoring.\nA failed view never changes the analysis, and never permits drawing a structure yourself.\nFollow [Show a structure](../../references/show-a-structure.md) for highlights, the image, and failures.\n\n## Write the answer\n\nLead with the science:\n\n1. The result: the scores or the constrained and tolerant positions, and the structure view when there is one. Never ask permission to show a result.\n2. Two or three sentences a scientist can react to: which positions or regions are constrained, which are tolerant, what stands out.\n3. One line of scientific status: this is a model hypothesis, not an experimental measurement, and it needs validation.\n4. One source line naming each tool called, the model, and the credits billed, then one link: <https://biohub.ai/models/esmc>.\n\nDo not open with a plan or a list of the calls you intend to make. If the user asks for a dry run or a planning-only answer, describe the plan and say plainly that no tool was called.\nFollow the shared [biosafety and acceptable-use rules](../../references/safety-and-provenance.md#biosafety-and-acceptable-use).\n"
Full snapshot data
{
"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.",
"included_files": [
{
"relative_path": "LICENSE.md",
"size_in_bytes": 1093
},
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 432
}
],
"name": "esmc",
"skill_md_contents": "---\nname: esmc\ndescription: 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.\nlicense: MIT\n---\n\n# ESMC\n\nThe user's instructions take precedence over guidelines provided in a skill.\nIf explicit user instructions conflict with a skill's instructions, prioritize the user's instructions.\n\nESMC is a sequence-only masked protein language model, and it runs on the Biohub MCP.\nEvery tool needs the user to be signed in to Biohub.\nIf 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-esm-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.\n\n## Choose the tool\n\n| The user wants | Call |\n| --- | --- |\n| Scores for substitutions they named, such as W43F or a list from a paper | `esmc_score_mutations` |\n| Where a protein is most constrained or tolerant, with no substitutions named | `esmc_scan_mutation_tolerance` |\n| To see the analyzed protein with the singled-out residues | `ui_show_structure` |\n\n- 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`.\n- 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.\n- For a protein name or accession, get the sequence first with `esm_atlas_search_uniprot` or `esm_atlas_lookup_accession`.\n- Use the user's own sequence. If it is missing, ask for it instead of substituting a familiar example.\n- `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.\n- 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.\n\nThe MCP does not return embeddings, hidden states, raw logits, or SAE activations, and it cannot fit or fine-tune heads.\nFor 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).\nFor \"what has ESMC learned about this protein\", hand off to `$esm-atlas`, whose protein record lists the top SAE features of a sequence.\nFor private, offline, or unpublished sequences, say that the MCP sends sequences to Biohub, and point to the same open weights.\n\n## Cost and retries\n\n- Every call bills the user's Biohub account: one ESMC call per scored or scanned position.\n- Report the credit usage the tool returns; otherwise state that the tool did not report usage or cost, and never invent an estimate.\n- Before scoring or scanning more than one protein in a request, say how many calls that is and ask a plain yes/no question.\n- Each call starts new work and bills again. After a timeout or an unclear error, do not repeat it.\n- 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.\n\n## When a tool fails\n\nBranch on the returned `code`, not on the message text.\n- `rate_limited`: wait as the error advises, then retry once.\n- `indeterminate`: the outcome is unknown, and it may have billed; never retry.\n- `invalid_input`: say what the tool rejected, such as a wild-type mismatch or too many positions, and ask the user how to proceed.\n- `restricted`: a safety restriction; do not work around it.\n- A call the host blocks, for example by denying approval, is a failure, not a missing connection.\n- For any other code, name the tool and the code, and never retry with different arguments.\n\n## Interpret the result\n\n- A substitution's score is `ln P(substituted) - ln P(wild type)` with that position masked. Positive means ESMC finds the new residue more likely there.\n- Each substitution is scored alone on the wild-type sequence, not as part of a combined variant.\n- A scan ranks positions by entropy in bits over ESMC's full output vocabulary by default, where low means constrained, or by the share of the 19 other amino acids that score below the wild type. Name the metric you report.\n- Low entropy or a negative score can suggest constraint, but neither is measured fitness, stability, activity, or binding. Do not compare raw scores across models without calibration.\n\n## Show residues on the structure\n\nAfter an analysis of one protein that singles out residues, call `ui_show_structure` once with the exact analyzed sequence as one protein entity, which is free:\n\n- Tolerance scan: highlight the most constrained positions in `#D55E00` and the most tolerant in `#009E73`.\n- Named substitutions: highlight the mutated residues when the user asks where they sit.\n\nHighlight each residue on chain `A` by its 1-based position in the analyzed sequence, with `expected_residue` set to its wild-type three-letter code.\nThe highlights show where the model score is, not a measured effect.\nThe view is the stored Atlas structure or the server's own prediction of that sequence, not an experimental structure, so say that.\nWhen the user asks to see the structure again, call the view again with the same sequence and highlights; do not fold the protein with ESMFold2 and do not rerun the scoring.\nA failed view never changes the analysis, and never permits drawing a structure yourself.\nFollow [Show a structure](../../references/show-a-structure.md) for highlights, the image, and failures.\n\n## Write the answer\n\nLead with the science:\n\n1. The result: the scores or the constrained and tolerant positions, and the structure view when there is one. Never ask permission to show a result.\n2. Two or three sentences a scientist can react to: which positions or regions are constrained, which are tolerant, what stands out.\n3. One line of scientific status: this is a model hypothesis, not an experimental measurement, and it needs validation.\n4. One source line naming each tool called, the model, and the credits billed, then one link: <https://biohub.ai/models/esmc>.\n\nDo not open with a plan or a list of the calls you intend to make. If the user asks for a dry run or a planning-only answer, describe the plan and say plainly that no tool was called.\nFollow the shared [biosafety and acceptable-use rules](../../references/safety-and-provenance.md#biosafety-and-acceptable-use).\n"
}SHA-256 of public snapshot: 9a130e8e2cb0cd5a4ffe3404950a4c5ca8a04d22dad4686e41bb03cec699167e