← Back to Skills Marketplace
DrugFlow
by
ashipiling
· GitHub ↗
· v1.0.2
· MIT-0
187
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install drugflow-api
Description
Multi-flow API workflow skill for this DrugFlow Django repository. Use when an agent needs executable end-to-end API procedures such as login/register, works...
README (SKILL.md)
DrugFlow Skills
Route requests to the correct DrugFlow API flow and execute with minimal ambiguity.
Flow Selection
- Read references/index.md first.
- Match user intent to one flow.
- Load only that flow's reference files.
- Prefer script execution from
scripts/\x3Cflow>/when available.
Current Flows
- Common APIs: reusable auth/workspace/balance/jobs APIs available.
- Virtual screening: complete flow available.
- Docking: complete flow available.
- ADMET: complete flow available.
- Rescoring: complete flow available.
- Structure extract: complete flow available (
img2molbackend type). - Molecular factory: complete flow available (with atom-selection helpers).
Common APIs Workflow
- Read references/flows/common-apis/call-flow.md.
- Read references/flows/common-apis/payloads.md.
- Reuse
scripts/common/drugflow_api.pyfor:
signinsignuplist_workspaces/create_workspace/ensure_workspaceget_balancelist_jobs
- Use
scripts/common/test_common_apis.pyfor direct smoke tests.
Virtual Screening Workflow
- Read references/flows/virtual-screening/call-flow.md.
- Read references/flows/virtual-screening/payloads.md.
- Use
scripts/virtual-screening/run_vs_flow.pyfor end-to-end execution. - Always include
ws_idfor/api/jobslist/detail. - For
/api/jobscreate, passname,type,args(JSON string),ws_id; in non-private mode includeexpect_tokensandavail_tokens.
Docking Workflow
- Read references/flows/docking/call-flow.md.
- Read references/flows/docking/payloads.md.
- Use
scripts/docking/run_docking_flow.pyfor end-to-end execution. - Create docking jobs through
POST /api/jobswith multipart fieldspdb,ligands,pdb_content, andargs. - Site-driven docking box note: when
--siteis provided butcenter/size/radiusare omitted, the script auto-derives the docking box from that site in local PDB. - Always include
ws_idon job list/detail requests and passexpect_tokens/avail_tokensin non-private mode.
ADMET Workflow
- Read references/flows/admet/call-flow.md.
- Read references/flows/admet/payloads.md.
- Use
scripts/admet/run_admet_flow.pyfor end-to-end execution. - ADMET job type is fixed to
admet-dl. - Support two input modes:
- direct
smileslist - dataset mode via
dataset_id + smiles_col
- For
/api/jobscreate, passname,type=admet-dl,args,ws_id, and in non-private modeexpect_tokens/avail_tokens.
Rescoring Workflow
- Read references/flows/rescoring/call-flow.md.
- Read references/flows/rescoring/payloads.md.
- Use
scripts/rescoring/run_rescoring_flow.pyfor end-to-end execution. - Create rescoring jobs through
POST /api/jobswith:
type=rescoring- form fields
pdb,ligands,smiles_col args.mode=semiandargs.rescoring_functions
- Script enforces input files:
--pdb-filemust be.pdb,--ligands-filemust be.sdf. - Always include
ws_id; in non-private mode includeexpect_tokensandavail_tokens.
Structure Extract Workflow
- Read references/flows/structure-extract/call-flow.md.
- Read references/flows/structure-extract/payloads.md.
- Use
scripts/structure-extract/run_structure_extract_flow.pyfor end-to-end execution. - User-facing "结构提取" maps to backend job
type=img2mol. - For create, pass
name,type=img2mol,args(dataset_id,page_list),ws_id, and in non-private modeexpect_tokens/avail_tokens. dataset_idmust be img2mol-compatible and includeextras.osskey.
Molecular Factory Workflow
- Read references/flows/molecular-factory/call-flow.md.
- Read references/flows/molecular-factory/payloads.md.
- Use
scripts/molecular-factory/run_molecular_factory_flow.py:
atom-infoextract-partialdraw-atom-indexcreate-job
- Default to non-docking molecular factory unless user explicitly asks for docking:
args.need_docking=falseargs.pdb_use.*=false
- Default generation models:
args.molgen_algos=["Frag-GPT","REINVENT"]
- Use helper APIs first to confirm
selected_atoms/start_atoms, then submitmolecular_factoryjob. - Always pass
ws_id; in non-private mode includeexpect_tokensandavail_tokens.
Output Contract
- Return method + endpoint + required parameters for each step.
- Return key ids and state:
ws_id,job_id,state, resultcount. - When running scripts, return command + important outputs.
Expansion Rules
- Add new flow docs under
references/flows/\x3Cflow>/withcall-flow.mdandpayloads.md. - Add runnable scripts under
scripts/\x3Cflow>/. - Update references/index.md and this file's
Current Flowssection.
References
- references/index.md
- references/flows/common-apis/call-flow.md
- references/flows/common-apis/payloads.md
- references/flows/virtual-screening/call-flow.md
- references/flows/virtual-screening/payloads.md
- references/flows/docking/call-flow.md
- references/flows/docking/payloads.md
- references/flows/admet/call-flow.md
- references/flows/admet/payloads.md
- references/flows/molecular-factory/call-flow.md
- references/flows/molecular-factory/payloads.md
- references/flows/rescoring/call-flow.md
- references/flows/rescoring/payloads.md
- references/flows/structure-extract/call-flow.md
- references/flows/structure-extract/payloads.md
Usage Guidance
This skill appears to do what it claims: run DrugFlow API flows and upload/submit files to a DrugFlow server. Before installing or invoking it, verify the source (there's no homepage and the owner is unknown), and only point scripts to a trusted base_url. Be aware that running flows will read local PDB/ligand/smiles files and transmit them (and will send supplied email/password) to the configured server — avoid running it against untrusted endpoints or with sensitive files/credentials. If you need higher assurance, review the repository locally (the included Python files are human-readable) and run the scripts in an isolated environment or container.
Capability Analysis
Type: OpenClaw Skill
Name: drugflow-api
Version: 1.0.2
The drugflow-api skill bundle provides a comprehensive toolkit for an AI agent to interact with the DrugFlow platform for molecular docking, virtual screening, and ADMET analysis. The bundle includes a shared API client (scripts/common/drugflow_api.py) and specialized execution scripts (e.g., scripts/docking/run_docking_flow.py, scripts/admet/run_admet_flow.py) that handle authentication, file uploads, and job polling. The behavior is well-documented in the references/ directory and SKILL.md, and all network and file operations are strictly aligned with the stated purpose of performing drug discovery workflows. No evidence of data exfiltration, malicious prompt injection, or unauthorized persistence was found.
Capability Assessment
Purpose & Capability
The name/description (end-to-end DrugFlow API flows) matches the included scripts and reference docs. The scripts perform sign-in, workspace/balance/job operations, create jobs, upload datasets and poll results — all expected for this purpose.
Instruction Scope
SKILL.md and the scripts direct the agent to run flow scripts that will read local files (PDB, ligands, smiles files) and send them to the provided base_url. This behavior is coherent with docking/structure/VS flows, but it means the agent will access and transmit local files when asked to run those flows.
Install Mechanism
No install spec; the skill ships Python scripts only. No external installers, downloads, or package installs are requested by the skill metadata.
Credentials
The skill does not request environment variables or platform credentials. It expects runtime parameters (base_url, email, password) passed to scripts — which is appropriate for authenticating to a DrugFlow deployment, but those credentials will be transmitted to whatever base_url is supplied, so the target URL must be trusted.
Persistence & Privilege
always is false and there is no installation hook or config mutation. The skill does network I/O and file I/O when executed but does not request elevated system privileges or persistent autorun.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install drugflow-api - After installation, invoke the skill by name or use
/drugflow-api - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Added default behavior for molecular factory: runs non-docking jobs unless docking is explicitly requested (`args.need_docking=false`, `args.pdb_use.*=false`).
- Set default generation models for molecular factory: `args.molgen_algos=["Frag-GPT","REINVENT"]`.
- No code changes; documentation updates only.
v1.0.1
Expanded with four new end-to-end API flows: ADMET, rescoring, structure extraction, and molecular factory.
- Added detailed references and payload docs for ADMET, rescoring, structure extract, and molecular factory flows.
- Added runnable scripts for each new flow under `scripts/<flow>/`.
- Updated documentation to cover full workflows, input parameters, and script usage for all new flows.
- Extended the main skill description and current flows list to include these capabilities.
v1.0.0
init
Metadata
Frequently Asked Questions
What is DrugFlow?
Multi-flow API workflow skill for this DrugFlow Django repository. Use when an agent needs executable end-to-end API procedures such as login/register, works... It is an AI Agent Skill for Claude Code / OpenClaw, with 187 downloads so far.
How do I install DrugFlow?
Run "/install drugflow-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is DrugFlow free?
Yes, DrugFlow is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does DrugFlow support?
DrugFlow is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created DrugFlow?
It is built and maintained by ashipiling (@ashipiling); the current version is v1.0.2.
More Skills