• Projects
  • Service
  • About
  • branding.bz
  • Podcast
  • Tips
  • FAQ
  • Recruit
  • Download
  • Contact
  • branding.bz(ブランド構築SaaS)
  • DESIGN NOW(デザインメディア)
  • X
  • LinkedIn
  • Spotify
  • Facebook

213-0011 神奈川県川崎市高津区久本3-6-7-303

© 2026 ID INC. All rights reserved

claude-skills/スキル
SKILLOfficialdevelopment

boltz-small-molecule-screen

プラグイン
boltz
ソース
GitHub で見る ↗
説明

Boltzを使ってすでに存在する小分子ライブラリをスクリーニング(ふるい分け)します。 次のような場合に使用: - 提供されたSMILES(分子構造の記述形式)または化合物ライブラリをターゲット分子に対してドッキング(分子同士の結合位置の予測)、スコアリング(評点付け)、またはランク付け(順位付け)する場合 - 分子ごとのADME/ADMET特性(吸収、分布、代謝、排出、毒性の予測値:溶解性、浸透性、脂溶性など)を無料で取得する必要がある場合 このスキルは以下には対応していません: - 新規の分子設計 - 1回限りのドッキング処理 - ターゲット分子がない状態でのSMILESに対するADME解析 (これらの場合は boltz-small-molecule-adme を使用してください)

原文を表示

Screen existing small-molecule libraries with Boltz. Use when docking, scoring, or ranking a supplied SMILES or compound library against a target; also returns free Tier-1 ADME/ADMET (solubility, permeability, lipophilicity/logD) per molecule. Not for de novo molecule design, one-off docking, or ADME on bare SMILES with no target (use boltz-small-molecule-adme).

ユースケース
  • 小分子ライブラリをターゲット分子にドッキングする
  • 化合物をスコアリングやランク付けする
  • ADME/ADMET特性を無料で取得する
本文(日本語訳)

ワークフロー

boltz-api が PATH に見つからない場合は、再試行前に boltz-cli-setup を使用してインストール/更新の案内を確認してください。

コマンドが認証の欠落または期限切れを報告した場合は、boltz-cli-setup を使用して boltz-api auth login --device-code を開始してください(事前に許可を求めないでください)。その後、再試行してください。

エージェントホストのサンドボックス(隔離環境)が boltz-api のインストール、認証、API呼び出しをブロックしている場合は、boltz-cli-setup を使用してホストサンドボックスのバイパス/昇格をリクエストしてから再試行してください。これは、ユーザー全体のCLI(コマンドラインツール)インストール、ブラウザログイン、認証情報の保存、一時ファイル、またはAPI アクセスに必要です。

次のような場合に使用: ユーザーが候補となる分子(化合物)を既に持っている場合

  1. ライブラリを標準化します。生のSMILES(分子構造を記号で表現した形式)、CSV(SMILES列を自動検出)、.smi、または .txt から molecules リストに変換します。各エントリは {smiles, id?} の形式です。オプションの id は、各結果で external_id として返されます。

  2. ターゲット(標的)を標準化します。1つ以上のタンパク質配列を target.entities に入力し、オプションで pocket_residues(ゼロベースのインデックス)や reference_ligands(ポケット位置の特定に役立つ既知の結合分子のSMILES)を追加します。

  3. ユーザーがカスタムフィルターをリクエストしない限り、デフォルトのサーバー側フィルターを保持します。molecule_filters は明示的なリクエストがある場合のみ追加してください。

  4. ペイロード(送信するデータ)をYAMLまたはJSON形式で作成し、estimate-cost を実行して、USD単位のコストを表示して、明示的な確認を待ちます。

  5. start を実行して送信します(同期処理)。ジョブIDを記録してください。

  6. ランタイム(実行環境)の長時間実行またはノンブロッキングコマンド機能を通じて download-results を起動してください。このコマンドはポーリング(定期的にチェック)、list-results のページネーション(分割取得)、すべての構造ファイルのダウンロード、そして終了まで実行を続けます。ランタイムが文書化しているメカニズムを使用してください。確認が必要な場合は boltz-cli-setup に相談してください。ダウンローダーを起動した後、常にジョブID、実行名、出力ディレクトリを報告してください。ランタイムでフォローアップチェックをスケジュール可能な場合は、download-status チェックをスケジュールして頻度を明記してください。そうでない場合は download-status コマンドを含めてください。

  7. 完了後、<output-root>/<run-name>/results/index.jsonl からランク付けします。ヒット発見の場合は binding_confidence(結合信頼度)でソート、リード最適化の場合は optimization_score(最適化スコア)でソートしてください。これらは並行する意図であり、フォールバック関係ではありません。smiles、選択したランク付けメトリクス(指標)、主要な信頼度メトリクス、構造ファイルパスを持つトップ5~10件のヒットを報告してください。各結果には adme ブロック(solubility 溶解度、permeability 浸透性、lipophilicity 脂溶性)も含まれています。ユーザーがADME(吸収・分布・代謝・排泄)について関心がある場合、またはトップヒットがリスキーに見える場合は、これを含めてください。出力レイアウト、メトリクス、ADME、フィルター済み入力の説明については、references/results.md を読んでください。

コマンドパターン

# プレースホルダーを実際の絶対パスに置き換えて実行してください。
# 短くわかりやすい実行名を使用します。例: sm-screen-<target>-<library>-v1

boltz-api small-molecule:library-screen estimate-cost \
  --input @yaml:///absolute/path/payload.yaml

boltz-api small-molecule:library-screen start \
       --idempotency-key "<run-name>" \
       --input @yaml:///absolute/path/payload.yaml \
       --raw-output --transform id

# 出力されたジョブIDをこのコマンドにコピーしてから、
# ランタイムの長時間実行/ノンブロッキングコマンド機能を通じて起動してください。
# 確認が必要な場合は boltz-cli-setup に相談してください。
# シェルの "&" や nohup でデタッチしないでください。
# ランタイムがシェルバックグラウンドを文書化している場合を除きます。
boltz-api download-results \
  --id "<job-id-from-start>" --name "<run-name>" \
  --root-dir "/absolute/path/boltz-experiments" \
  --poll-interval-seconds 30
# -> /absolute/path/boltz-experiments/<run-name>/results/<pres_*>/...

ペイロードキーは molecules、target、molecule_filters です。これらはAPI本体フィールド名であり、直接のCLIフラグ名 --molecule / --target / --molecule-filters ではありません。

常に実施すること

  • ペイロードフィールド名を、references/api.md に示されているAPI本体名とまったく同じに保ってください。

  • 出力ルート、ペイロードファイル、埋め込みターゲットファイルに絶対パスを使用してください。フォローアップコマンドのために実行ディレクトリに cd しないでください。同じ --root-dir を渡して絶対パスを使用し、後の相対パスがずれないようにしてください。

  • estimate-cost と start については、--input @yaml:///absolute/path/payload.yaml または @json:///absolute/path/payload.json を使用した1つのマージされたトップレベルペイロードを優先してください。--idempotency-key と --workspace-id はトップレベルに保ってください。--input 内にも現れる場合は、トップレベルフラグが優先されます。

  • オーバーライドとして直接オブジェクトフラグは引き続き機能します。例: --target @yaml:///absolute/path/target.yaml、--molecule-filters @json:///absolute/path/filters.json、または複数の --molecule @json:///absolute/path/mol-1.json エントリ。標準入力でのパイプYAML/JSONも機能しますが、API本体フィールド名を使用する必要があります。@file:// や @./ は使用しないでください。

  • ポケット残基インデックスを0ベースとして扱ってください。

  • 医療化学フィルターを発明しないでください。ユーザーがリクエストした場合のみ molecule_filters を追加してください。カタログをオプションとして言及してください。

  • 送信時の --idempotency-key と download-results での --name に同じスラッグ(短い識別子)を使用してください。.boltz-run.json を使用して再実行が再開されます。

  • 権限制御されたランタイムでは、各Boltzコールを boltz-api で始まるトップレベルコマンドとして保ってください。ユーザーが既に許可した正確なコマンド形式を除き、sh -c、インライン環境割り当て、エイリアス、ラッパースクリプト、ループ、または boltz-api 呼び出しの周りのパイプライン処理よりも具体的な引数を優先してください。--raw-output --transform id を使用し、出力されたIDを読んで、そのリテラルIDを次の download-results コマンドに貼り付けてください。

  • ランタイムの長時間実行またはノンブロッキングコマンド機能を通じて download-results を実行してください。ランタイムが文書化しているメカニズムを使用してください。仮定するツール引数を使用しないでください。シェルの & や nohup でデタッチしないでください。ランタイムがシェルバックグラウンドを文書化している場合を除きます。一部のツールランナーは .boltz-run.json が書き込まれる前にシェルバックグラウンドの子プロセスを回収します。このランタイムが長時間実行コマンドをどのように処理するかが不明な場合は、boltz-cli-setup に相談してください。

  • ダウンロード開始後、手動で待機したり、アドホックなポーリングループを実行したりしないでください。download-results はデフォルトで stderr に JSONL形式の進捗を出力します。人間が読める形式のログが明確に必要な場合のみ、--progress-format text --verbose を追加してください。

  • ランタイムがフォローアップチェック(ハートビート、スケジュール済みタスク、またはリマインダー)をスケジュール可能な場合は、download-results を起動した後にスケジュールしてください。boltz-api --format json download-status --name "<run-name>" --root-dir "/absolute/path/boltz-experiments" を実行し、重要なステータス変更またはターミナル完了/失敗のみをポストして、ターミナルになったら停止してください。分子数の頻度を選択します。100未満の場合は1~2分ごと、100~1,000の場合は5分ごと、1,000を超える場合は15分ごとです。ランタイムでフォローアップをスケジュール不可の場合は、自動次チェックを主張しないでください。ジョブID、実行名、出力ディレクトリ、および download-status コマンドを報告してください。保存されたセッションハンドルをポーリングするのは、対話的で、ユーザーがリクエストした進捗チェック用のみです。現在のターンで手動ポーリングループを実行しないでください。

  • デタッチされたダウンロードを再開する必要がある場合は、同じ --name "<run-name>" と同じ --root-dir で boltz-api download-results を再実行してください。

  • コストは分子あたり固定 $0.025 です(サイズに依存しません)。estimate-cost は正式な合計を返すため、常にこれを使用してください。

  • ポーリング間隔: --poll-interval-seconds 30 はダウンローダーのデフォルトとして妥当です。実時間は分子数にほぼスケール(規模変動)します。100未満は数分で終了することが多く、100~1,000は数分から数十分かかる場合があり、より大きなスクリーンは入力とシステム負荷に応じてより長くまたは数時間かかる場合があります。固定期間を引用しないでください。10候補スクリーンが30分または数時間かかると言わないでください。

回避策

  • ペイロードリファレンス: https://api.boltz.bio/docs/api/python/resources/small_molecule/subresources/library_screen/methods/start
  • CLIフラグ名: boltz-api small-molecule:library-screen start --help

references/api.md で molecules、target、molecule_filters の形状を含め、組み込みSMARTS(スマート:分子構造パターン指定言語)フィルターとRDKit(化学情報ソフトウェア)記述子範囲を読んでください。ダウンロード後に references/results.md を読んでヒットをランク付けするか、欠落またはフィルター済み入力を説明してください。

出力

download-results 後、results/index.jsonl からランク付けしてください。ローカルファイルレイアウト、メトリクスの意味、ADME、およびフィルター済み入力の説明については、references/results.md を使用してください。

原文(English)を表示

Workflow

If boltz-api is missing from PATH, use boltz-cli-setup for install/update guidance before retrying. If a command reports missing or expired authentication, use boltz-cli-setup to start boltz-api auth login --device-code before retrying; do not ask permission first. If the agent host sandbox blocks boltz-api install/auth/API calls, use boltz-cli-setup to request the host sandbox bypass/escalation needed for user-wide CLI install, browser login, credential storage, temp files, or API access before retrying.

Use this skill when the user already has candidate molecules.

  1. Normalize the library from raw SMILES, a CSV (auto-detect the SMILES column), .smi, or .txt into the molecules list. Each entry is {smiles, id?}; the optional id is echoed back as external_id on each result.
  2. Normalize the target: one or more protein sequences into target.entities, plus optional pocket_residues (0-based) and/or reference_ligands (SMILES of known binders to help locate the pocket).
  3. Keep default server-side filtering unless the user asks for custom filters — only add molecule_filters on explicit request.
  4. Author the payload YAML or JSON, run estimate-cost, show the USD cost, wait for explicit confirmation.
  5. start to submit (synchronous). Capture the ID.
  6. Launch download-results through the runtime's long-running or non-blocking command facility — it polls, paginates list-results, downloads every per-hit structure, and exits when terminal. Use the mechanism the runtime documents; consult boltz-cli-setup if unsure. After launching the downloader, always report the job ID, run name, and output directory. If the runtime can schedule follow-up checks, schedule a download-status check and state the cadence; otherwise include the download-status command.
  7. When done, rank from <output-root>/<run-name>/results/index.jsonl. Sort by binding_confidence for hit discovery or optimization_score for lead optimization; these are parallel intents, not a fallback hierarchy. Report the top 5-10 hits with smiles, the chosen ranking metric, key confidence metrics, and structure path. Each result also carries a free adme block (solubility, permeability, lipophilicity) — include it for developability triage when the user cares about ADME, or when a top hit looks risky. Read references/results.md for output layout, metrics, ADME, and filtered-input accounting.

Command Pattern

# Replace placeholders with concrete absolute paths before running.
# Use a short descriptive run name, for example: sm-screen-<target>-<library>-v1

boltz-api small-molecule:library-screen estimate-cost \
  --input @yaml:///absolute/path/payload.yaml

boltz-api small-molecule:library-screen start \
       --idempotency-key "<run-name>" \
       --input @yaml:///absolute/path/payload.yaml \
       --raw-output --transform id

# Copy the printed job ID into this command, then launch it through the
# runtime's long-running/non-blocking command facility (consult boltz-cli-setup
# if unsure). Do not detach it with shell "&" or nohup unless the runtime
# documents shell backgrounding as its supported mode.
boltz-api download-results \
  --id "<job-id-from-start>" --name "<run-name>" \
  --root-dir "/absolute/path/boltz-experiments" \
  --poll-interval-seconds 30
# -> /absolute/path/boltz-experiments/<run-name>/results/<pres_*>/...

Payload keys are molecules, target, molecule_filters — the API body field names, not the direct CLI flag names --molecule / --target / --molecule-filters.

Always Do This

  • Keep payload field names exactly as the API body names shown in references/api.md.
  • Use absolute paths for the output root, payload files, and embedded target files. Do not cd into the run directory for follow-up commands; pass the same --root-dir and use absolute paths so later relative paths do not drift.
  • Prefer one merged top-level payload via --input @yaml:///absolute/path/payload.yaml or @json:///absolute/path/payload.json for estimate-cost and start. Keep --idempotency-key and --workspace-id top-level; if they also appear inside --input, the top-level flags win.
  • Direct object flags still work as overrides, such as --target @yaml:///absolute/path/target.yaml, --molecule-filters @json:///absolute/path/filters.json, or repeated --molecule @json:///absolute/path/mol-1.json entries. Piped YAML / JSON on stdin also works, but it must use API body field names. Never use @file:// or @./.
  • Treat pocket residue indices as 0-based.
  • Do not invent medicinal-chemistry filters. Only add molecule_filters if the user asks; mention the catalog as an option.
  • Use the same slug as both --idempotency-key at submit and --name on download-results so re-runs resume via .boltz-run.json.
  • In permission-gated runtimes, keep each Boltz call as a top-level command that starts with boltz-api. Prefer concrete arguments over sh -c, inline environment assignments, aliases, wrapper scripts, loops, or pipelines around the boltz-api invocation unless the user already allowed that exact command form. Use --raw-output --transform id, read the printed ID, then paste that literal ID into the next download-results command.
  • Run download-results through the runtime's long-running or non-blocking command facility, using the mechanism the runtime documents rather than tool arguments you assume exist. Do not detach it with shell & or nohup unless the runtime documents shell backgrounding as its supported mode; some tool runners reap shell-backgrounded children before .boltz-run.json is written. If unsure how this runtime handles long-running commands, consult boltz-cli-setup.
  • After the download starts, do not manually wait on it or run ad hoc polling loops. download-results emits JSONL progress on stderr by default; add --progress-format text --verbose only when you explicitly want human-readable logs.
  • If the runtime can schedule follow-up checks (a heartbeat, scheduled task, or reminder), schedule one after launching download-results. It should run boltz-api --format json download-status --name "<run-name>" --root-dir "/absolute/path/boltz-experiments", post only material status changes or terminal completion/failure, and stop once terminal. Choose cadence by molecule count: under 100 -> every 1-2 minutes; 100-1,000 -> every 5 minutes; over 1,000 -> every 15 minutes. If the runtime cannot schedule follow-ups, do not claim an automatic next check: report the job ID, run name, output directory, and the download-status command. Poll a saved session handle only for interactive, user-requested progress checks; never run a manual poll loop in the current turn.
  • If detached download needs to be restarted, re-run boltz-api download-results with the same --name "<run-name>" and the same --root-dir.
  • Cost is a flat $0.025 per molecule (size-independent). estimate-cost returns the authoritative total — always use it.
  • Poll interval: --poll-interval-seconds 30 is a reasonable downloader default. Wall-clock time scales roughly with the number of molecules: under 100 often finishes in a few minutes, 100-1,000 may take several minutes to tens of minutes, and larger screens can take longer or hours depending on inputs and system load. Don't quote a fixed duration, and never tell the user a 10-candidate screen will take 30 minutes or hours.

Escape Hatch

  • Payload reference: https://api.boltz.bio/docs/api/python/resources/small_molecule/subresources/library_screen/methods/start
  • CLI flag names: boltz-api small-molecule:library-screen start --help

Read references/api.md for the molecules, target, and molecule_filters shapes, including the built-in SMARTS filters and RDKit descriptor ranges. Read references/results.md after download when ranking hits or explaining missing/filtered inputs.

Outputs

Rank from results/index.jsonl after download-results; use references/results.md for the local file layout, metric meanings, and filtered-input accounting.

原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。