DrugFlow
v1.0.2Multi-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...
0· 140·0 当前·0 累计
安全扫描
OpenClaw
安全
high confidenceThe skill's code, instructions, and requirements are coherent for a DrugFlow API workflow: it runs HTTP calls, may read local PDB/ligand files and upload them to a configured base_url, and does not request unrelated credentials or install arbitrary third-party code.
评估建议
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 ne...详细分析 ▾
✓ 用途与能力
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.
ℹ 指令范围
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.
✓ 安装机制
No install spec; the skill ships Python scripts only. No external installers, downloads, or package installs are requested by the skill metadata.
ℹ 凭证需求
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.
✓ 持久化与权限
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.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.22026/3/18
- 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.
● 无害
安装命令 点击复制
官方npx clawhub@latest install drugflow-api
镜像加速npx clawhub@latest install drugflow-api --registry https://cn.clawhub-mirror.com
技能文档
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/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/with/ call-flow.mdandpayloads.md. - Add runnable scripts under
scripts/./ - 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
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制