Molclaw Openawsem Toolのロゴ

Molclaw Openawsem Tool

組織
InternScience
molclaw-openawsem-tool

Use when calling these MolClaw MCP tools: `mcp__molclaw-scp__openawsem_sim`, `mcp__molclaw-scp__openawsem_traj_extract`. Runs OpenAWSEM simulations and extracts representative trajectory frames for downstream ensemble analysis.

概要

公開者InternScience
リポジトリMolClaw
スキル名molclaw-openawsem-tool
スター
39
フォーク
5
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    InternScienceがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Molclaw Openawsem Tool」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-openawsem-tool
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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-openawsem-tool .claude/skills/molclaw-openawsem-tool
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMolclaw Openawsem Toolを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にMolclaw Openawsem Toolを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Molclaw Openawsem Toolは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

OpenAWSEM Simulation and Trajectory Extraction

Invocation

Use the exact tool name and parameter schema exposed by the current harness. Tool names in SDK examples below are raw MCP names, not model-facing aliases. Local files must be uploaded with molclaw-file-transfer before a server tool can use them. Repair PDB inputs first when the workflow requires it.

Usage

1. OpenAWSEM Simulation

The description of tool openawsem_sim.

tex
Run OpenAWSEM coarse-grained protein simulation for annealing or NVT workflows in structure screening and folding studies.
Args:
  sim_dir (str|None): Simulation directory containing *-openmmawsem.pdb or *_openmmawsem.pdb, default None.
  pdb (str|None): PDB file path or PDB ID used by awsem_create when sim_dir is not provided, default None.
  steps (float): Simulation step count, default 1e5.
  mode (str): Temperature control mode in {annealing, nvt}, default annealing.
  temperature (float): NVT temperature in Kelvin passed to source script argument --temperature, default 300.0.
  platform (str): OpenMM platform in {CPU, CUDA, OpenCL}, default CPU.
  use_frag_mem (bool): Whether to use fragment memory instead of single memory, default False.
  compute_q (bool): Whether to enable Q-value related terms when available, default False.
  dry_run (bool): Whether to validate setup without running MD steps, default False.
  gpu_id (str): GPU device index for CUDA/OpenCL platform, default 0.
Return:
  status (str): success, error, or partial_success execution status.
  msg (str): Human-readable execution summary.
  output_dir (str): Unique run directory under tool_result/openawsem_result.
  simulation_dir (str): Effective simulation directory used by the delegated source script.
  steps (float): Effective step count used in this run.
  mode (str): Effective simulation mode used in this run.
  temperature (float): Effective NVT temperature used in this run.
  platform (str): Effective compute platform used in this run.
  dry_run (bool): Effective dry-run flag used in this run.
  output_files (dict): Key output file paths such as final PDB, energy log, checkpoint, and trajectory files.
  metrics (dict): Parsed summary metrics such as energy log line count and last log line when available.

How to use tool openawsem_sim :

python
response = await client.session.call_tool(
    "openawsem_sim",
    arguments={
        "sim_dir": "/path/to/awsem_sim_dir",
        "steps": 1000,
        "mode": "annealing",
        "temperature": 300.0,
        "platform": "CUDA",
        "use_frag_mem": False,
        "compute_q": False,
        "dry_run": False,
        "gpu_id": "0"
    }
)
result = client.parse_result(response)
simulation_dir = result["simulation_dir"]
Example parameter sets
python
# 1) Main mode
{
    "sim_dir": "/path/to/awsem_sim_dir",
    "steps": 1000,
    "mode": "annealing",
    "temperature": 300.0,
    "platform": "CUDA",
    "use_frag_mem": False,
    "compute_q": False,
    "dry_run": False,
    "gpu_id": "0"
}

# 2) Variant mode
{
    "pdb": "relative/path/to/input.pdb",
    "steps": 50000,
    "mode": "nvt",
    "temperature": 310.0,
    "platform": "CPU",
    "dry_run": True
}

2. OpenAWSEM Trajectory Frame Extraction

The description of tool openawsem_traj_extract.

tex
Extracts representative structures from OpenAWSEM trajectories for downstream ensemble analysis and screening.
Args:
    sim_dir (str): OpenAWSEM simulation directory containing trajectory and topology files.
    num_frames (int): Number of evenly spaced structures to extract when times is not provided, default 100.
    times (List[float]|None): Explicit extraction time points in picoseconds, default None.
    backend (str): Trajectory backend in {mdtraj, mdanalysis, auto}, default auto.
    dry_run (bool): Validate file discovery and prepare output directory without extraction, default False.
Return:
    status (str): success, error, or partial_success execution status.
    msg (str): Human-readable extraction summary.
    output_dir (str): Unique run directory under tool_result/openawsem_result.
    extracted_dir (str): Directory containing extracted PDB frames.
    sim_dir (str): Resolved simulation directory.
    trajectory_path (str|None): Detected trajectory file path.
    topology_path (str|None): Detected topology file path.
    frame_count (int): Number of extracted frame files.
    frame_files (List[str]): Extracted PDB file paths.
    index_file (str|None): Extraction index text file path.

How to use tool openawsem_traj_extract :

python
response = await client.session.call_tool(
    "openawsem_traj_extract",
    arguments={
        "sim_dir": "/path/to/awsem_sim_dir",
        "num_frames": 100,
        "backend": "auto",
        "dry_run": False
    }
)
result = client.parse_result(response)
frame_files = result["frame_files"]
Example parameter sets
python
# 1) Main mode
{
    "sim_dir": "/path/to/awsem_sim_dir",
    "num_frames": 100,
    "backend": "auto",
    "dry_run": False
}

# 2) Variant mode
{
    "sim_dir": "relative/path/to/awsem_sim_dir",
    "times": [0.0, 50.0, 100.0],
    "backend": "mdtraj",
    "dry_run": True
}

3. Simulation to Extraction Workflow

Use openawsem_sim first, then feed its simulation_dir into openawsem_traj_extract.

python
client = DrugSDAClient("https://scp.intern-ai.org.cn/api/v1/mcp/2/DrugSDA-Tool")
if not await client.connect():
    print("connection failed")
    return

sim_resp = await client.session.call_tool(
    "openawsem_sim",
    arguments={
        "sim_dir": "/path/to/awsem_sim_dir",
        "steps": 1000,
        "mode": "annealing",
        "platform": "CUDA",
        "dry_run": False
    }
)
sim_result = client.parse_result(sim_resp)

extract_resp = await client.session.call_tool(
    "openawsem_traj_extract",
    arguments={
        "sim_dir": sim_result["simulation_dir"],
        "num_frames": 100,
        "backend": "auto",
        "dry_run": False
    }
)
extract_result = client.parse_result(extract_resp)
frame_files = extract_result["frame_files"]

await client.disconnect()

よくある質問

AIスキル「Molclaw Openawsem Tool」では何ができますか?

Use when calling these MolClaw MCP tools: `mcp__molclaw-scp__openawsem_sim`, `mcp__molclaw-scp__openawsem_traj_extract`. Runs OpenAWSEM simulations and extracts representative trajectory frames for downstream ensemble analysis.

TypingMindでMolclaw Openawsem Toolを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Molclaw Openawsem Toolはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMolclaw Openawsem Toolをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/InternScience/MolClaw/tree/main/skills/L1_tools/molclaw-openawsem-toolを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Molclaw Openawsem Toolを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Molclaw Openawsem Toolで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMolclaw Openawsem Toolを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Molclaw Openawsem Tool」は無料ですか?

はい。InternScienceがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇