Molclaw Protein Protein Mmpbsa 标志

Molclaw Protein Protein Mmpbsa

组织
InternScience
molclaw-protein-protein-mmpbsa

可直接执行的蛋白质-蛋白质 MM/GB(PB)SA 工作流,包含通过 MCP 暴露的工具名称、严格的文件验证和故障防护。

Add to TypingMind

概览

发布者InternScience
代码仓库MolClaw
技能名称molclaw-protein-protein-mmpbsa
星标数
39
复刻数
5
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 InternScience 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Molclaw Protein Protein Mmpbsa AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-protein-protein-mmpbsa
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/InternScience/MolClaw.git /tmp/MolClaw
mkdir -p .claude/skills
cp -r /tmp/MolClaw/skills/L1_tools/molclaw-protein-protein-mmpbsa .claude/skills/molclaw-protein-protein-mmpbsa
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Molclaw Protein Protein Mmpbsa,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Molclaw Protein Protein Mmpbsa。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Molclaw Protein Protein Mmpbsa 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Protein-Protein MM/PBSA Workflow (Execution-Ready)

Note:

  • Local files are not directly accessible by the server. Please upload them to the server using molclaw-file-transfer before execution.
  • For PDB file inputs, it is recommended to preprocess them using molclaw-pdbfixer before execution.
  • Please refer to skill molclaw-scp-server to complete tool invocation.

This skill guides agents through the protein-protein MM/GB(PB)SA pipeline with enforced MCP handoffs, file validation, and optional analysis.

Canonical Toolchain & References

  1. Step 1 — fix_pdb (reference_fix_pdb.md): repair the protein-protein complex and emit a cleaned PDB.
  2. Step 2 — prepare_protein_md (reference_prepare_protein_md.md): build the protein-only MD workspace with the requested MD duration.
  3. Step 3 — gmx_mmpbsa_propro (reference_gmx_mmpbsa_propro.md): compute GB/PB binding energies inside the prepared workspace.
  4. Optional Step 4 — analyze_mmpbsa (reference_analyze_mmpbsa.md): aggregate the CSV/plot outputs into a final report.

SCP Tool Names (must use)

  • fix_pdb
  • prepare_protein_md
  • gmx_mmpbsa_propro
  • analyze_mmpbsa (optional)

Entry / Data Handover

Pre-flight checks

  • Confirm the raw protein-protein complex PDB and associated restraints are accessible before calling fix_pdb.
  • Decide whether enable_analysis will turn on Step 4 ahead of gmx_mmpbsa_propro.
  • Keep dry_run=False for any production-grade binding energy request; use dry run only during validation loops.
  • Prefer a validated quick profile first (md_time=20, nvt_time=1, npt_time=1) to avoid long blocking runs, then scale up only if needed.

Data Handover Contract

  1. fix_pdb.output_file → prepare_protein_md.protein_pdb
  2. prepare_protein_md.run_dir → gmx_mmpbsa_propro.work_dir
  3. Optional analysis consumes the MM/GBSA result workspace: gmx_mmpbsa_propro.output_dir → analyze_mmpbsa.work_dir
  4. gmx_mmpbsa_propro.output_files (e.g., gb_result_csv, pb_result_csv) are the canonical GB/PB summaries for downstream reporting.

Never request users to provide intermediate GROMACS artifacts (em.gro, md.xtc, md.tpr, topol.top); those files are generated inside the SCP-managed workspace.

Step-by-step Execution Details

Step 1: fix_pdb

  • Entry checks
    • Verify the complex PDB and supporting files are reachable and correspond to the intended chains.
    • Disable dry_run when producing deliverable energies, toggle add_hydrogens per structural requirements.
  • Success criteria
    • status == "success" and output_file contains a non-empty path.
    • atom_count, residue_count, and chain_count provide diagnostics for downstream validation.
    • On failure, return msg and abort before Step 2.

Step 2: prepare_protein_md

  • Entry checks
    • Accept protein_pdb = fix_pdb.output_file as input.
    • full_md=True is enforced for this workflow, and temperature, nvt_time, and npt_time must align with resource limits.
  • Success criteria
    • status == "success" and run_dir contains the expected MD workspace.
    • Ensure the required files (em.gro, md.xtc, md.tpr, topol.top) exist inside run_dir before Step 3.
    • files lists the produced artifacts for troubleshooting.

Step 3: gmx_mmpbsa_propro

  • Entry checks
    • work_dir is the validated prepare_protein_md.run_dir and still contains the MD artifacts.
    • Default to method="gb" for quick runs or method="both" when PB outputs are also desired.
    • Keep skip_mmpbsa=False unless agents explicitly plan to build indexes only.
  • Success criteria
    • status is "success" or "partial_success"; keep the latter when one method fails.
    • output_files.gb_result_csv and/or output_files.pb_result_csv capture the FINAL_RESULTS.* summary.
    • metrics aggregates the binding energies parsed from GB/PB outputs.

Step 4: analyze_mmpbsa (optional)

  • Entry checks
    • enable_analysis must be true and work_dir must point to a gmx_mmpbsa_propro.output_dir that houses the mmgbsa/mmpbsa directories.
    • Use work_dir = gmx_mmpbsa_propro.output_dir instead of the MD preparation directory.
  • Success criteria
    • status == "success" and reports lists CSV/PNG/MD artifacts produced under output_dir.
    • detected_mode clarifies whether dual, PB-only, or GB-only data were compiled.
  • Fallback behavior
    • If analysis fails, keep Step 3 outputs as the workflow deliverable, log the analyzer msg, and report missing_files in the summary.
    • Retry gmx_mmpbsa_propro with the missing method before rerunning the analyzer if a branch is absent.

Agent Flow

  • fix_pdb.output_file feeds prepare_protein_md.protein_pdb.
  • prepare_protein_md.run_dir is the canonical gmx_mmpbsa_propro.work_dir.
  • gmx_mmpbsa_propro.output_dir is the canonical analyze_mmpbsa.work_dir.
  • gmx_mmpbsa_propro.output_files.gb_result_csv/pb_result_csv are the verified binding energy CSVs; both should be reported when method="both".
  • Optional analyze_mmpbsa.output_dir contains the final plots/tables enumerated in reports/files, and detected_mode/missing_files explain data coverage.

Recommended Sequential Calling

python
# Step 1: fix_pdb
r1 = client.parse_result(await client.session.call_tool(
    "fix_pdb",
    arguments={
        "input_path": "protein_protein_complex.pdb",
        "add_hydrogens": True,
        "ph": 7.0,
        "remove_heterogens": False,
        "remove_water": False,
        "replace_nonstandard": False,
        "add_missing_residues": False,
        "dry_run": False,
    },
))
fixed_pdb = r1["output_file"]

# Step 2: prepare_protein_md
r2 = client.parse_result(await client.session.call_tool(
    "prepare_protein_md",
    arguments={
        "protein_pdb": fixed_pdb,
        "full_md": True,
        "md_time": 20.0,
        "temperature": 300.0,
        "nvt_time": 1.0,
        "npt_time": 1.0,
    },
))
md_work_dir = r2["run_dir"]

# Validate required files before MM/PBSA
required_files = ["em.gro", "md.xtc", "md.tpr", "topol.top"]
# Agents should verify these exist under md_work_dir and return an error if missing

# Step 3: gmx_mmpbsa_propro
r3 = client.parse_result(await client.session.call_tool(
    "gmx_mmpbsa_propro",
    arguments={
        "work_dir": md_work_dir,
        "method": "gb",
        "nproc": 64,
        "skip_mmpbsa": False,
        "dry_run": False,
    },
))

# Step 4: analyze_mmpbsa (optional)
if enable_analysis:
    r4 = client.parse_result(await client.session.call_tool(
        "analyze_mmpbsa",
        arguments={
            "work_dir": r3["output_dir"],
        },
    ))

Practical Parameter Sets

  1. GB-only production run (mirrors the CLI validation command)
    • fix_pdb: {"input_path": "protein_protein_complex.pdb", "add_hydrogens": True, "dry_run": False}
  • prepare_protein_md: {"protein_pdb": "protein_protein_complex_fixed.pdb", "full_md": True, "md_time": 20.0, "temperature": 300.0, "nvt_time": 1.0, "npt_time": 1.0}
  • gmx_mmpbsa_propro: {"work_dir": "Protein_MD_01", "method": "gb", "nproc": 64, "skip_mmpbsa": False}
  • Optional analyze_mmpbsa: {"work_dir": "gmx_mmpbsa_propro_result_dir"}
  1. Dual-method variant (driven by the dual-mode CLI command)
    • fix_pdb: same as above
  • prepare_protein_md: {"protein_pdb": "protein_protein_complex_fixed.pdb", "full_md": True, "md_time": 50.0, "temperature": 300.0, "nvt_time": 1.0, "npt_time": 1.0}
  • gmx_mmpbsa_propro: {"work_dir": "Protein_MD_02", "method": "both", "nproc": 64, "skip_mmpbsa": False}
  • Optional analyze_mmpbsa: {"work_dir": "gmx_mmpbsa_propro_result_dir"}

Agent Safety Checklist

  1. Enforce full_md=True and realistic MD times before invoking the MM/PBSA stage.
  2. Confirm em.gro, md.xtc, md.tpr, and topol.top exist under the run_dir; abort with missing-file names if any are absent.
  3. Surface partial_success explicitly when method="both" runs complete only one branch.
  4. Do not propagate dry_run=True outputs to end users.
  5. If the optional analyzer fails, keep gmx_mmpbsa_propro results as the canonical output and append the analyzer msg/missing_files to the summary.
  6. Do not wait indefinitely for long MD stages: report progress between steps and offer a quick-profile rerun when runtime exceeds expected limits.
  7. Avoid repeated filesystem polling loops; if required files are missing after one check, fail fast and surface missing filenames.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Molclaw Protein Protein Mmpbsa AI 技能有什么作用?

可直接执行的蛋白质-蛋白质 MM/GB(PB)SA 工作流,包含通过 MCP 暴露的工具名称、严格的文件验证和故障防护。

为什么在 TypingMind 中使用 Molclaw Protein Protein Mmpbsa?

因为您只需安装一次,就能搭配任何模型使用。Molclaw Protein Protein Mmpbsa 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Molclaw Protein Protein Mmpbsa?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-protein-protein-mmpbsa。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Molclaw Protein Protein Mmpbsa?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Molclaw Protein Protein Mmpbsa 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Molclaw Protein Protein Mmpbsa 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Molclaw Protein Protein Mmpbsa AI 技能免费吗?

是的。InternScience 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇