Molclaw Quickvina Docking logo

Molclaw Quickvina Docking

Organization
InternScience
molclaw-quickvina-docking

Use when calling these MolClaw MCP tools: `mcp__molclaw-scp__molecule_docking_quickvina_fullprocess`. Perform molecular docking using QuickVina2-GPU between target protein structure and small molecules.

Overview

PublisherInternScience
RepositoryMolClaw
Skill namemolclaw-quickvina-docking
Stars
39
Forks
5
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by InternScience on GitHub. Read the source before you install it.

Installation

Install the Molclaw Quickvina Docking AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-quickvina-docking
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/InternScience/MolClaw.git /tmp/MolClaw
mkdir -p .claude/skills
cp -r /tmp/MolClaw/skills/L1_tools/molclaw-quickvina-docking .claude/skills/molclaw-quickvina-docking
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Molclaw Quickvina Docking in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Molclaw Quickvina Docking on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Molclaw Quickvina Docking is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

QuickVina2 Molecular Docking

Invocation

Use the exact tool name and parameter schema exposed by the current harness. Tool names in SDK examples below are raw MCP names, not model-facing aliases. Local files must be uploaded with molclaw-file-transfer before a server tool can use them. Repair PDB inputs first when the workflow requires it.

step 1. Use skill molclaw-protein-structure-retrieve to get the target protein structure file. If the target protein structure file has been provided, skip this step.

step 2. If the user specifies a target chain or several chains, or if the agent autonomously identifies single-chain or multi-chain structures requiring extraction, invoke the tool extract_and_save_chains to generate and save the corresponding structure as a new PDB file. Otherwise, skip this step.

python
response = await tool_client.session.call_tool(
    "extract_and_save_chains",
    arguments={
        "pdb_file_path": pdb_path,
        "chain_ids": chain_ids		##Chain IDs (e.g., ["A", "C"]) 		
    }
)
result = tool_client.parse_result(response)
pdb_path = result["out_file"]

step 3. Use skill molclaw-fix-pdb to repair the protein structure file using the settings as below.

python
response = await client.session.call_tool(
    "fix_pdb",
    arguments={
        "input_path": pdb_path,
        "add_hydrogens": True,
        "ph": 7.0,
        "remove_heterogens": True,
        "remove_water": True,
        "replace_nonstandard": True
    }
)
result = client.parse_result(response)
fixed_pdb_path = result["output_file"]

step 4. Use skill molclaw-fpocket or molclaw-p2rank to detect binding sites on the protein structure and return pocket information of the best one. If the pocket center and box size are already known (e.g., from a co-crystal ligand), skip this step and use the known values directly.

step 5. Use tool molecule_docking_quickvina_fullprocess to perform molecular docking. This is a full-process tool — it accepts a PDB file and SMILES string directly and handles all format conversions (PDB→PDBQT, SMILES→PDBQT) internally. Do NOT manually convert to PDBQT before calling this tool. Pass fixed_pdb_path as pdb_file_path and the original SMILES as smiles. A renamed PDBQT is not a PDB and is rejected. The generated receptor and ligand PDBQT are validated by the server before docking.

Tool description:

tex
Perform molecular docking using QuickVina2-GPU (Accelerated version of AutoDock Vina).
The server selects the output directory. The current QuickVina2-GPU backend accepts at most 47.625 Å per docking-box axis, 129 movable ligand atoms, and 47 ligand torsions.
Args:
    pdb_file_path (str): Path to the protein receptor file (format .pdb)
    smiles (str): Input molecule SMILES string
    pocket_center_x (float): X-coordinate of the docking pocket center
    pocket_center_y (float): Y-coordinate of the docking pocket center
    pocket_center_z (float): Z-coordinate of the docking pocket center
    pocket_size_x (float): Size of the docking pocket along the X-axis (default 25.0)
    pocket_size_y (float): Size of the docking pocket along the Y-axis (default 25.0)
    pocket_size_z (float): Size of the docking pocket along the Z-axis (default 25.0)
Return:
    status (str): success/error
    msg (str): message
    docking_affinity_value (float): Docking affinity value, unit kcal/mol
    docking_file (str): A PDBQT file contains docking poses, atom types, and charges for analyzing binding results.

Tool Usage:

python
for smiles in smiles_list:
    response = await client.session.call_tool(
        "molecule_docking_quickvina_fullprocess",
        arguments={
            "pdb_file_path": fixed_pdb_path,
            "smiles": smiles,
            "pocket_center_x": best_pocket["center_x"],
            "pocket_center_y": best_pocket["center_y"],
            "pocket_center_z": best_pocket["center_z"],
            "pocket_size_x": max(25.0, best_pocket.get("size_x", 25.0)),
            "pocket_size_y": max(25.0, best_pocket.get("size_y", 25.0)),
            "pocket_size_z": max(25.0, best_pocket.get("size_z", 25.0))
        }
    )
    result_data = client.parse_result(response)
    docking_affinity = result_data['docking_affinity_value']
    docking_pose_file = result_data['docking_file']

QuickVina outputs a predicted binding affinity in units of kcal/mol. Similar to AutoDock Vina, the scores are negative values, where a more negative value indicates stronger binding. The scoring function comprehensively accounts for steric complementarity (Gaussian attraction plus quadratic repulsion), hydrogen bonding, hydrophobic interactions, and an entropy penalty for rotatable bonds.

Docking Box Size: Never set pocket_size_x, pocket_size_y, or pocket_size_z below 25.0 Å. If the pocket detection tool returns dimensions smaller than 25 Å on any axis, override that axis to 25.0 Å. Do not exceed 47.625 Å on any axis; larger boxes are rejected by the managed service before launching QuickVina2-GPU.

Screening Thresholds: There is no universal absolute threshold for QuickVina or Vina, as binding pockets vary significantly across different targets in terms of size, hydrophobicity, and other properties. However, general empirical guidelines suggest that for drug-like small molecules (MW 300–500):

  • A score of ≤ -7 kcal/mol is typically considered a starting point indicating potential binding activity.
  • A score of ≤ -9 kcal/mol is generally regarded as indicative of strong binding.

In practice, rather than relying on a fixed threshold, it is more common to rank all compounds for a specific target by their scores and select the top n for further validation.

Score Validation: After each docking call, verify that the score is negative (kcal/mol). A positive docking_affinity_value indicates docking failure — do not accept it. Only consider progressive box enlargement (25→30→40→47.625 Å per dimension) for a completed docking with an unsuitable box. For invalid_receptor_format, use the original/prepared PDB. For conversion/PDBQT syntax errors, inspect the diagnostics; do not enlarge the box or repeat the same malformed input. A conversion error is not a docking score.

Note: This skill workflow consists of five steps, some of which depend on other skills. Please refer carefully to the Markdown documentation of the dependent skills to ensure correct usage.

Multi-Target Docking Shortcut

When docking the SAME molecule against multiple ALREADY PREPARED targets (each with known pocket parameters from baseline establishment), skip steps 1–4 and call molecule_docking_quickvina_fullprocess directly for each target, using each target's locked pocket parameters. Do NOT re-run pocket detection per target per round — pocket parameters are locked at baseline (see Skill 5 Docking Parameter Locking).

python
# Example: dock one molecule against two prepared targets
for target in [target1_info, target2_info]:
    response = await client.session.call_tool(
        "molecule_docking_quickvina_fullprocess",
        arguments={
            "pdb_file_path": target["prepared_pdb"],
            "smiles": candidate_smiles,
            "pocket_center_x": target["locked_center_x"],
            "pocket_center_y": target["locked_center_y"],
            "pocket_center_z": target["locked_center_z"],
            "pocket_size_x": target["locked_size_x"],
            "pocket_size_y": target["locked_size_y"],
            "pocket_size_z": target["locked_size_z"]
        }
    )

Frequently asked questions

What does the Molclaw Quickvina Docking AI skill do?

Use when calling these MolClaw MCP tools: `mcp__molclaw-scp__molecule_docking_quickvina_fullprocess`. Perform molecular docking using QuickVina2-GPU between target protein structure and small molecules.

Why use Molclaw Quickvina Docking on TypingMind?

Because you install it once and use it with any model. Molclaw Quickvina Docking is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Molclaw Quickvina Docking in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-quickvina-docking. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Molclaw Quickvina Docking?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Molclaw Quickvina Docking?

As many as you like. As long as a model supports skills, you can use Molclaw Quickvina Docking with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Molclaw Quickvina Docking AI skill free?

Yes. It is published on GitHub by InternScience under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇