Molecular Docking Skill
This skill groups protein-ligand docking workflows, including:
- pocket-guided docking with Gnina (default)
- classical docking with AutoDock Vina
- flexible docking with PackDock
- surface-geometry-assisted docking with SurfDock
- diffusion-model docking with DiffDock
- predicted binding-site detection with fpocket
- side-by-side comparison across multiple docking engines
When to use this skill
- Dock one or more ligands into a known or user-provided protein pocket
- Run a fast default docking workflow without manually choosing an engine
- Compare docking outcomes across multiple engines for robustness checks
- Use method-specific engines when the user explicitly requests one by name
Method selection rule
Docking engines:
- Default to
Gnina for generic docking requests.
- Use the named engine when the user explicitly names one of
Gnina, AutoDock Vina, PackDock, SurfDock, or DiffDock.
- Use
PackDock for flexible (side-chain repacking) docking.
- Use
SurfDock when surface-geometry awareness is requested or the pocket is shallow/cryptic.
Gnina -> Gnina_api_doc.md
AutoDock Vina -> AutoDock Vina_api_doc.md
PackDock -> PackDock_api_doc.md
- Generic docking requests ->
Gnina
- Requests that explicitly name an engine -> the named provider:
AutoDock Vina, PackDock, SurfDock, or DiffDock
- Binding-pocket prediction before docking ->
fpocket
- Multi-engine comparison or benchmarking -> run the requested provider set, using
Gnina as the default when no engine is specified
Prerequisites
- Obtain a free SciMiner API key from
https://sciminer.tech/utility.
- Store it outside this repository at
~/.config/sciminer/credentials.json with JSON shaped as {"api_key":"your_api_key_here"}.
- For SciMiner calls, read the API key from
~/.config/sciminer/credentials.json and send it as the X-Auth-Token header.
- Never print, persist, or store the API key in prompts, logs, or repository files. Agents should remember only the credential file path.
If ~/.config/sciminer/credentials.json is not available or does not contain an api_key field, stop and tell the user to obtain a free SciMiner API key from https://sciminer.tech/utility and store it in that file. Do not try to complete the task by switching to other tools or services.
Authoritative tool-doc source (required)
The published Markdown files under https://sciminer.tech/tool_api_files/ are the single source of truth for the selected docking tool's provider_name, tool_name, allowed parameters, file-upload behavior, request encoding, and submission flow.
The agent MUST:
- Resolve the selected tool's Markdown file and read it before every invocation.
- Never invent
provider_name, tool_name, parameter names, enum values, upload-field names, content type, or submission flow from memory.
- Extract and follow the selected doc section's exact:
- Base URL
- API endpoint
- Content-Type
- Authentication header
- Tool Name
- Method
- Parameter table, including required fields and enum values
- File-upload instructions and example code
- Choose the correct section if the selected doc contains multiple tool variants, such as reference-ligand input vs pocket-center input.
- Cite the selected Markdown doc as the payload source in summaries.
If a user-provided parameter is not present in the selected Markdown doc
section, ask for correction or drop it with an explanation.
Required workflow
- Determine which docking engine or engine set matches the user's request.
- When no pocket input is available, run the supporting pocket-detection step
first and then read the corresponding docking tool docs.
- Read the selected tool Markdown file or files from
https://sciminer.tech/tool_api_files/.
- Choose the doc section that matches the user's input shape.
- Collect any missing required parameters from the user.
- Upload required file inputs exactly as described by the selected Markdown
doc and replace local paths with returned
file_id values.
- Write or run the invocation code directly from the selected Markdown doc's
base-information block, parameter table, file-upload instructions, and
example code. Do not apply a shared invocation template or local registry
abstraction in this skill.
- Poll the task result and return the
share_url in the final user-facing
summary.
File upload rules
- Upload every required file parameter described by the selected Markdown doc
before invocation.
- Replace local paths in
parameters with the returned file_id strings.
- Use the upload form field documented by the selected Markdown doc.
- Skip optional file parameters that the user did not provide.
Expected result format
{
"status": "SUCCESS",
"result": {...},
"task_id": "xxx",
"share_url": "https://sciminer.tech/share?id=<task_id>&type=API_TOOL"
}
Workflow guidance
- Generic docking requests ->
Gnina
- Requests that explicitly name an engine -> the named provider:
AutoDock Vina, PackDock, SurfDock, or DiffDock
- Binding-pocket prediction before docking ->
fpocket
- Multi-engine comparison or benchmarking -> run the requested provider set, using
Gnina as the default when no engine is specified
Notes
- Use the selected Markdown doc under
https://sciminer.tech/tool_api_files/ as the authoritative source for
payload construction and invoke-method details.
- Read the SciMiner API key from
~/.config/sciminer/credentials.json and send it as the X-Auth-Token header. Do not print or persist the API key in prompts, logs, or repository files.
- If
~/.config/sciminer/credentials.json is missing or does not contain an api_key field, stop and tell the user to obtain a free SciMiner API key from https://sciminer.tech/utility and store it in that file.
provider_name must exactly match the selected Markdown doc.
- Use the selected Markdown doc to determine file inputs, parameter placement,
and any tool-specific submission details.
- Important: when summarizing results to users, attach the
share_url links of every successful task at the end.
- For long-running tasks without a fixed ETA, poll for no more than 6000 seconds; if the task is still running, stop polling and return the current
task_id and share_url so the user can check later.
1---2name: molecular-docking3description: Molecular docking workflows across Gnina, AutoDock Vina, PackDock, SurfDock, and DiffDock through SciMiner, with Gnina as the default engine.4credential_files:5 - ~/.config/sciminer/credentials.json6metadata:7 source: https://skillmd.com/skills/zhangchunsheng/molecular-docking8---910# Molecular Docking Skill1112This skill groups protein-ligand docking workflows, including:1314- pocket-guided docking with Gnina (default)15- classical docking with AutoDock Vina16- flexible docking with PackDock17- surface-geometry-assisted docking with SurfDock18- diffusion-model docking with DiffDock19- predicted binding-site detection with fpocket20- side-by-side comparison across multiple docking engines2122## When to use this skill2324- Dock one or more ligands into a known or user-provided protein pocket25- Run a fast default docking workflow without manually choosing an engine26- Compare docking outcomes across multiple engines for robustness checks27- Use method-specific engines when the user explicitly requests one by name2829## Method selection rule3031Docking engines:32- Default to `Gnina` for generic docking requests.33- Use the named engine when the user explicitly names one of `Gnina`, `AutoDock Vina`, `PackDock`, `SurfDock`, or `DiffDock`.34- Use `PackDock` for flexible (side-chain repacking) docking.35- Use `SurfDock` when surface-geometry awareness is requested or the pocket is shallow/cryptic.36- `Gnina` -> `Gnina_api_doc.md`37- `AutoDock Vina` -> `AutoDock Vina_api_doc.md`38- `PackDock` -> `PackDock_api_doc.md`39- Generic docking requests -> `Gnina`40- Requests that explicitly name an engine -> the named provider: `AutoDock Vina`, `PackDock`, `SurfDock`, or `DiffDock`41- Binding-pocket prediction before docking -> `fpocket`42- Multi-engine comparison or benchmarking -> run the requested provider set, using `Gnina` as the default when no engine is specified4344## Prerequisites45461. Obtain a free SciMiner API key from `https://sciminer.tech/utility`.472. Store it outside this repository at `~/.config/sciminer/credentials.json` with JSON shaped as `{"api_key":"your_api_key_here"}`.483. For SciMiner calls, read the API key from `~/.config/sciminer/credentials.json` and send it as the `X-Auth-Token` header.494. Never print, persist, or store the API key in prompts, logs, or repository files. Agents should remember only the credential file path.5051If `~/.config/sciminer/credentials.json` is not available or does not contain an `api_key` field, stop and tell the user to obtain a free SciMiner API key from `https://sciminer.tech/utility` and store it in that file. Do not try to complete the task by switching to other tools or services.5253## Authoritative tool-doc source (required)5455The published Markdown files under `https://sciminer.tech/tool_api_files/` are the single source of truth for the selected docking tool's `provider_name`, `tool_name`, allowed `parameters`, file-upload behavior, request encoding, and submission flow.5657The agent MUST:58591. Resolve the selected tool's Markdown file and read it before every invocation.602. Never invent `provider_name`, `tool_name`, parameter names, enum values, upload-field names, content type, or submission flow from memory.613. Extract and follow the selected doc section's exact:62 - Base URL63 - API endpoint64 - Content-Type65 - Authentication header66 - Tool Name67 - Method68 - Parameter table, including required fields and enum values69 - File-upload instructions and example code704. Choose the correct section if the selected doc contains multiple tool variants, such as reference-ligand input vs pocket-center input.715. Cite the selected Markdown doc as the payload source in summaries.7273If a user-provided parameter is not present in the selected Markdown doc74section, ask for correction or drop it with an explanation.7576## Required workflow77781. Determine which docking engine or engine set matches the user's request.792. When no pocket input is available, run the supporting pocket-detection step80 first and then read the corresponding docking tool docs.813. Read the selected tool Markdown file or files from82 `https://sciminer.tech/tool_api_files/`.834. Choose the doc section that matches the user's input shape.845. Collect any missing required parameters from the user.856. Upload required file inputs exactly as described by the selected Markdown86 doc and replace local paths with returned `file_id` values.877. Write or run the invocation code directly from the selected Markdown doc's88 base-information block, parameter table, file-upload instructions, and89 example code. Do not apply a shared invocation template or local registry90 abstraction in this skill.918. Poll the task result and return the `share_url` in the final user-facing92 summary.9394## File upload rules9596- Upload every required file parameter described by the selected Markdown doc97 before invocation.98- Replace local paths in `parameters` with the returned `file_id` strings.99- Use the upload form field documented by the selected Markdown doc.100- Skip optional file parameters that the user did not provide.101102## Expected result format103104```json105{106 "status": "SUCCESS",107 "result": {...},108 "task_id": "xxx",109 "share_url": "https://sciminer.tech/share?id=<task_id>&type=API_TOOL"110}111```112113## Workflow guidance114115- Generic docking requests -> `Gnina`116- Requests that explicitly name an engine -> the named provider: `AutoDock Vina`, `PackDock`, `SurfDock`, or `DiffDock`117- Binding-pocket prediction before docking -> `fpocket`118- Multi-engine comparison or benchmarking -> run the requested provider set, using `Gnina` as the default when no engine is specified119120## Notes121122- Use the selected Markdown doc under123 `https://sciminer.tech/tool_api_files/` as the authoritative source for124 payload construction and invoke-method details.125- Read the SciMiner API key from `~/.config/sciminer/credentials.json` and send it as the `X-Auth-Token` header. Do not print or persist the API key in prompts, logs, or repository files.126- If `~/.config/sciminer/credentials.json` is missing or does not contain an `api_key` field, stop and tell the user to obtain a free SciMiner API key from `https://sciminer.tech/utility` and store it in that file.127- `provider_name` must exactly match the selected Markdown doc.128- Use the selected Markdown doc to determine file inputs, parameter placement,129 and any tool-specific submission details.130- Important: when summarizing results to users, attach the `share_url` links of every successful task at the end.131- For long-running tasks without a fixed ETA, poll for no more than 6000 seconds; if the task is still running, stop polling and return the current `task_id` and `share_url` so the user can check later.