Hdock logo

Hdock

Community
makabaka007x
hdock

在本地 HDOCKlite 环境中运行蛋白-蛋白或蛋白-核酸对接,并生成 `hdock.out` 与复合物模型。用于用户提到 HDOCK/HDOCKlite、`hdock`、`createpl`、受体/配体 PDB、`rsite.txt`、`lsite.txt`、`restr.txt`、结合位点约束、对接结果打包,或希望把当前仓库整理成可复用 HDOCK 工作流的场景。

Overview

Publishermakabaka007x
Repositorycadd-skill
Skill namehdock
Stars
54
Forks
6
Bundled files
3
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.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

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

Installation

Install the Hdock 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/makabaka007x/cadd-skill/tree/main/skills/hdock
  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/makabaka007x/cadd-skill.git /tmp/cadd-skill
mkdir -p .claude/skills
cp -r /tmp/cadd-skill/skills/hdock .claude/skills/hdock
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hdock 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 Hdock 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 Hdock 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.

HDOCK 本地对接

把任务默认理解为“交付一个能复现的本地 HDOCK case 目录”,而不是只解释命令行。 优先留下可直接检查的输出目录、日志和模型文件。

默认工作流

先把请求归到下面两类之一:

  1. 从受体/配体 PDB 开始做完整对接
  • 输入通常是两个 PDB 文件。
  • 可选加入 rsite.txt、lsite.txt 或 restr.txt 做约束。
  • 先运行 hdock 生成 hdock.out,再运行 createpl 生成复合物模型。
  1. 已经有 .out 文件,只需要导出模型
  • 直接使用已有 hdock.out 或同类输出。
  • 跳过 docking,调用 createpl 生成 models.pdb。

默认优先使用 scripts/run_hdock_case.py,因为它会:

  • 自动定位 hdock 和 createpl
  • 把输入复制进 case 目录
  • 保存 stdout/stderr 日志
  • 生成 run-summary.json

输入检查

开始前先确认:

  • 受体和配体是否为 PDB
  • 是否需要位点约束或残基约束
  • 用户要的是原始打分结果、聚类后的 top pose,还是复合物模型
  • 输出目录是否应该新建,避免覆盖已有结果

如果用户没有明确要求覆盖,优先创建新的 case 目录。

约束文件规则

只在用户明确提供或确认需要时传入约束文件。

  • rsite.txt:受体位点残基列表
  • lsite.txt:配体位点残基列表
  • restr.txt:受体-配体约束

当前仓库里 rsite.txt 的示例内容是 A:843,因此位点文件至少支持“一行一个链:残基号”的格式。 如果用户的约束文件格式不清楚,先检查现有文件内容,不要凭空生成。

推荐命令路径

完整对接默认命令链:

bash
python3 skills/hdock/scripts/run_hdock_case.py receptor.pdb ligand.pdb \
  --output-dir runs/case1 \
  --nmax 20

如果只从已有 .out 导出模型:

bash
python3 skills/hdock/scripts/run_hdock_case.py \
  --hdock-out test.out \
  --output-dir runs/from-out \
  --nmax 20

如果 skill 不在 HDOCK 仓库内部,先指定二进制位置:

bash
HDOCK_BIN_DIR=/path/to/HDOCKlite-v1.1 \
python3 skills/hdock/scripts/run_hdock_case.py receptor.pdb ligand.pdb --output-dir runs/case1

输出约定

交付时优先说明这些文件:

  • hdock.out:原始 docking 输出
  • models.pdb:createpl 导出的模型
  • inputs/:复制后的输入文件
  • hdock.stdout.log / hdock.stderr.log
  • createpl.stdout.log / createpl.stderr.log
  • run-summary.json

如果用户只要求原始打分,不要额外声称模型已经过生物学验证。

资源

  • 命令和文件约定:references/command-reference.md
  • 稳定执行脚本:scripts/run_hdock_case.py

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hdock AI skill do?

在本地 HDOCKlite 环境中运行蛋白-蛋白或蛋白-核酸对接,并生成 `hdock.out` 与复合物模型。用于用户提到 HDOCK/HDOCKlite、`hdock`、`createpl`、受体/配体 PDB、`rsite.txt`、`lsite.txt`、`restr.txt`、结合位点约束、对接结果打包,或希望把当前仓库整理成可复用 HDOCK 工作流的场景。

Why use Hdock on TypingMind?

Because you install it once and use it with any model. Hdock 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 Hdock in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/makabaka007x/cadd-skill/tree/main/skills/hdock. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hdock?

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 Hdock?

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

Is the Hdock AI skill free?

It is published on GitHub by makabaka007x. Check the repository for licensing terms. 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 👇