qfoldit-qfold

qfoldit-qfold is a skill for Claude Code from qfoldit/Protein-Design-MCP. It costs 152 tokens per session (1,839 once invoked), scanned A, original, Apache-2.0.

A protein-folding tool that models a protein as hydrophobic and polar units on a simple two-dimensional grid, with an optional connection to a fuller quantum-folding server.

In plain words
What is it for?
Use it for toy protein-folding experiments with the 2D HP model, or delegate to the optional QFold server for three-dimensional structures and physical-energy calculations when available.
Why use it?
It offers a small, simplified model for exploring folding without treating the grid result as a physically accurate three-dimensional structure.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the qfoldit-skills plugin — 20 skills shipped together

Good fit Use it for toy protein-folding experiments with the 2D HP model, or delegate to the optional QFold server for three-dimensional structures and physical-energy calculations when available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qfoldit/protein-design-mcp/qfold
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 qfoldit/Protein-Design-MCP --skill qfold
Clone the repo
git clone --depth 1 https://github.com/qfoldit/Protein-Design-MCP

Made for: Claude Code.

Or install qfoldit-skills, the plugin that ships this one along with the rest of its 20 skills.

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 qfoldit-qfold

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/qfoldit/protein-design-mcp/qfold"><img src="https://agentmods.dev/badge/skills/qfoldit/protein-design-mcp/qfold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,839 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.00152 $0.01839
Opus 5.5 $0.00061 $0.00736
Sonnet 5.5 $0.00030 $0.00368
Haiku 4.5 $0.00015 $0.00184

Measured 2mo ago against content hash a223b51c7d0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qfoldit-qfold 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/hp_lattice_folder.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.

claude-skills/skills/qfold/SKILL.md · 81 lines

How it starts

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

qfoldit-qfold (2D HP-lattice folding + optional full qFold MCP)

Read references/model_documentation.md before answering — it has the brute-force validation of the classical decode/scoring logic and the full side-by-side comparison against the real QFold algorithm, plus critical caveats (the HP-lattice model is a toy; the QAOA circuit is a fixed-depth sampler; self-avoidance is classical only).

Naming note — read first

This skill is named after the "QFold" project (P.A.M. Casares, R. Campos, M.A. Martin-Delgado, "QFold: Quantum Walks and Deep Learning to Solve Protein Folding," arXiv:2101.10279, reference implementation github.com/roberCO/QFold, and the AWS Braket notebook under healthcare-and-life-sciences/c-1-protein-folding-quantum-random-walk). That published algorithm uses torsion angles, Minifold deep-learning initialization, Psi4 quantum-chemistry energies, and a Szegedy quantum-walk Metropolis sampler, and was validated on real IBMQ hardware.

This skill provides two paths:

  1. With MCP server — delegates to the real QFold algorithm, returning actual 3D structures with physical energies.
  2. Without MCP server — falls back to the much simpler 2D HP-lattice model with QAOA sampling and classical self-avoidance filtering.

If a user's question assumes torsion-angle folding, Minifold/Psi4, or quantum-walk sampling, first check whether the MCP server is available. If it is, use it. If it is not, say so plainly and point them at the real QFold repo/paper.

MCP Server detection (run this check first)

At the beginning of every request, before deciding how to fold:

  1. List all available MCP tools from the connected MCP servers.
  2. Look for a tool named run_qfold (provided by the qFold MCP server, e.g., from the qfoldit/qFold-MCP repository). Its description mentions the full QFold algorithm with torsion angles, Minifold, Psi4, and quantum walk sampling.
  3. If found:
    • Use this tool for all folding requests, regardless of sequence length or wording. The MCP server provides real torsion-angle folding with quantum-walk sampling, Minifold initialization, and Psi4 energies, which is strictly superior.
    • Do not apply HP-lattice limits (~15 residues, 2D, unitless contacts) when using it.
    • Report to the user that the full QFold algorithm (Casares et al.) is being used via the MCP server.
  4. If NOT found:
    • Fall back to the 2D HP-lattice path described below.
    • Apply all its limits explicitly (~15 residues, 2D lattice, unitless contact score, classical self-avoidance filter).

Read the full file on GitHub · 81 lines

Files

What ships with it

4 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. 2mo ago First seen · 81 lines · 152 tokens per session scan A a223b51c7d0c

Subscribe to this mod's changes

qfoldit-qfold is a skill published in the GitHub repository qfoldit/Protein-Design-MCP (1 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 152 tokens to every session and 1,839 once invoked, about $0.0006 per session on Opus 5.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

qfoldit-qfold compared with skills from other repositories

qfoldit-qfold next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qfoldit-qfoldqfoldit/Protein-Design-MCPSkill12mo agoApache-2.0A152Claude Code
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35ktodayApache-2.0A123Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill56k5d agoMITA83Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k5d agoMITA44Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill56k5d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill33ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.8ktodayApache-2.0A205Claude Code