Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

drugflow-apidrugflow API 文档

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

5,816

周安装

233

GitHub Stars

公开资料未说明

下载量

1,883
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:drugflow-api(drugflow API 文档)
来源仓库:https://github.com/ashipiling/drugflow-api
安装命令:
openclaw skills install drugflow-api
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install drugflow-api

简介

drugflow-api 辅助梳理 Django 项目的多流 API 工作流程与端到端接口设计。

  • 适用于登录/注册等核心流程的 endpoint 规划与 OpenAPI 文档生成。
  • 需结合真实业务语义定义字段,避免虚构未实现的鉴权或分页逻辑。
  • 安装命令为 openclaw skills install drugflow-api,仅限 OpenClaw 环境。
  • 生成接口时应以现有代码或 schema 为准,禁止凭空添加字段。

SKILL.md

name
drugflow-skills
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, workspace and balance retrieval, job listing, virtual screening, docking, ADMET, rescoring, structure extraction, and molecular factory.

DrugFlow Skills

Route requests to the correct DrugFlow API flow and execute with minimal ambiguity.

Flow Selection

  1. Read references/index.md first.
  2. Match user intent to one flow.
  3. Load only that flow's reference files.
  4. Prefer script execution from scripts/<flow>/ when available.

Current Flows

  1. Common APIs: reusable auth/workspace/balance/jobs APIs available.
  2. Virtual screening: complete flow available.
  3. Docking: complete flow available.
  4. ADMET: complete flow available.
  5. Rescoring: complete flow available.
  6. Structure extract: complete flow available (img2mol backend type).
  7. Molecular factory: complete flow available (with atom-selection helpers).

Common APIs Workflow

  1. Read references/flows/common-apis/call-flow.md.
  2. Read references/flows/common-apis/payloads.md.
  3. Reuse scripts/common/drugflow_api.py for:
  • signin
  • signup
  • list_workspaces / create_workspace / ensure_workspace
  • get_balance
  • list_jobs
  1. Use scripts/common/test_common_apis.py for direct smoke tests.

Virtual Screening Workflow

  1. Read references/flows/virtual-screening/call-flow.md.
  2. Read references/flows/virtual-screening/payloads.md.
  3. Use scripts/virtual-screening/run_vs_flow.py for end-to-end execution.
  4. Always include ws_id for /api/jobs list/detail.
  5. For /api/jobs create, pass name, type, args (JSON string), ws_id; in non-private mode include expect_tokens and avail_tokens.

Docking Workflow

  1. Read references/flows/docking/call-flow.md.
  2. Read references/flows/docking/payloads.md.
  3. Use scripts/docking/run_docking_flow.py for end-to-end execution.
  4. Create docking jobs through POST /api/jobs with multipart fields pdb, ligands, pdb_content, and args.
  5. Site-driven docking box note: when --site is provided but center/size/radius are omitted, the script auto-derives the docking box from that site in local PDB.
  6. Always include ws_id on job list/detail requests and pass expect_tokens/avail_tokens in non-private mode.

ADMET Workflow

  1. Read references/flows/admet/call-flow.md.
  2. Read references/flows/admet/payloads.md.
  3. Use scripts/admet/run_admet_flow.py for end-to-end execution.
  4. ADMET job type is fixed to admet-dl.
  5. Support two input modes:
  • direct smiles list
  • dataset mode via dataset_id + smiles_col
  1. For /api/jobs create, pass name, type=admet-dl, args, ws_id, and in non-private mode expect_tokens/avail_tokens.

Rescoring Workflow

  1. Read references/flows/rescoring/call-flow.md.
  2. Read references/flows/rescoring/payloads.md.
  3. Use scripts/rescoring/run_rescoring_flow.py for end-to-end execution.
  4. Create rescoring jobs through POST /api/jobs with:
  • type=rescoring
  • form fields pdb, ligands, smiles_col
  • args.mode=semi and args.rescoring_functions
  1. Script enforces input files: --pdb-file must be .pdb, --ligands-file must be .sdf.
  2. Always include ws_id; in non-private mode include expect_tokens and avail_tokens.

Structure Extract Workflow

  1. Read references/flows/structure-extract/call-flow.md.
  2. Read references/flows/structure-extract/payloads.md.
  3. Use scripts/structure-extract/run_structure_extract_flow.py for end-to-end execution.
  4. User-facing "结构提取" maps to backend job type=img2mol.
  5. For create, pass name, type=img2mol, args (dataset_id, page_list), ws_id, and in non-private mode expect_tokens/avail_tokens.
  6. dataset_id must be img2mol-compatible and include extras.osskey.

Molecular Factory Workflow

  1. Read references/flows/molecular-factory/call-flow.md.
  2. Read references/flows/molecular-factory/payloads.md.
  3. Use scripts/molecular-factory/run_molecular_factory_flow.py:
  • atom-info
  • extract-partial
  • draw-atom-index
  • create-job
  1. Default to non-docking molecular factory unless user explicitly asks for docking:
  • args.need_docking=false
  • args.pdb_use.*=false
  1. Default generation models:
  • args.molgen_algos=["Frag-GPT","REINVENT"]
  1. Use helper APIs first to confirm selected_atoms/start_atoms, then submit molecular_factory job.
  2. Always pass ws_id; in non-private mode include expect_tokens and avail_tokens.

Output Contract

  1. Return method + endpoint + required parameters for each step.
  2. Return key ids and state: ws_id, job_id, state, result count.
  3. When running scripts, return command + important outputs.

Expansion Rules

  1. Add new flow docs under references/flows/<flow>/ with call-flow.md and payloads.md.
  2. Add runnable scripts under scripts/<flow>/.
  3. Update references/index.md and this file's Current Flows section.

References

  1. references/index.md
  2. references/flows/common-apis/call-flow.md
  3. references/flows/common-apis/payloads.md
  4. references/flows/virtual-screening/call-flow.md
  5. references/flows/virtual-screening/payloads.md
  6. references/flows/docking/call-flow.md
  7. references/flows/docking/payloads.md
  8. references/flows/admet/call-flow.md
  9. references/flows/admet/payloads.md
  10. references/flows/molecular-factory/call-flow.md
  11. references/flows/molecular-factory/payloads.md
  12. references/flows/rescoring/call-flow.md
  13. references/flows/rescoring/payloads.md
  14. references/flows/structure-extract/call-flow.md
  15. references/flows/structure-extract/payloads.md

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.91%
按下载量换算1,693

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills