← 返回 Skills 市场
DrugFlow
作者
ashipiling
· GitHub ↗
· v1.0.2
· MIT-0
187
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install drugflow-api
功能描述
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...
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install drugflow-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/drugflow-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 187 次。
如何安装 DrugFlow?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install drugflow-api」即可一键安装,无需额外配置。
DrugFlow 是免费的吗?
是的,DrugFlow 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
DrugFlow 支持哪些平台?
DrugFlow 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 DrugFlow?
由 ashipiling(@ashipiling)开发并维护,当前版本 v1.0.2。
推荐 Skills