ジョブ(実行タスク)の状態確認と結果の復旧に対応します。 次のような場合に使用: ジョブ一覧の表示、進行状況の確認、ダウンロードの再開、結果の復旧、既存のジョブIDでのダウンロード ※新しいジョブを開始する場合には使用しません。
Boltz job status and result recovery. Use when listing jobs, checking progress, resuming downloads, recovering results, or downloading an existing job ID. Not for starting new jobs.
boltz-api が PATH に見つからない場合は、再試行の前に boltz-cli-setup を使用してインストール/アップデートの手順を確認すること。
コマンドが認証の欠如または期限切れを報告した場合は、再試行の前に boltz-cli-setup を使用して boltz-api auth login --device-code を開始すること。事前に許可を求めないこと。
エージェントホストのサンドボックスが boltz-api のインストール/認証/API呼び出しをブロックする場合は、再試行の前に boltz-cli-setup を使用して、ユーザー全体へのCLIインストール・ブラウザログイン・認証情報の保存・一時ファイル・APIアクセスに必要なホストサンドボックスのバイパス/エスカレーションを要求すること。
このスキルは、セッションをまたいだ状態の復元、および過去のBoltzジョブの結果の確認やダウンロードに使用する。
ペイロードの作成は行わない — このスキルは list / retrieve / download-results / download-status のみを呼び出す。
次の4つのモードで使用する:
download-status を優先する。created_at の降順でマージ・ソートする。download-results を実行する。再開のために start を再実行しないこと。ADMEジョブはプレフィックス adme_pred_* を使用し、モード1〜2(list / retrieve)では他と同様に表示される。
ADMEには download-results/アーカイブのステップが 存在しない ため、モード3〜4は適用されない。スコアの復元は retrieve の再実行(output.molecules[] を読む)またはローカルの run.json から行うこと。
セッションが切断された際の復元・ジョブIDプレフィックスのマッピング・download-results に使用するrun名の選択を行う前に、references/resume.md を参照すること。
リソースごとの list カラム・retrieve フィールド・結果のセマンティクスについては、references/api.md を参照すること。
# 実行前に、プレースホルダーを具体的な絶対パスに置き換えること。
# ローカルヘルパー: APIを呼び出さずにローカルのチェックポイント状態を確認する。
boltz-api --format json download-status \
--name "<run-name>" \
--root-dir "/absolute/path/boltz-experiments"
# モード1: 6つのリソース全体で最近のジョブを一覧表示する。
# 注: CLIはレコードごとに1つのJSONオブジェクトを出力する(ストリーム形式、{data:[]}ラッパーなし)。
# --limit はページ単位で、CLIは自動ページネーションを行うため、
# ストリーム出力の暴走を防ぐため head で上限を設けること。
boltz-api predictions:structure-and-binding list --limit 20 --format jsonl | head -20
boltz-api predictions:adme list --limit 20 --format jsonl | head -20
boltz-api small-molecule:library-screen list --limit 20 --format jsonl | head -20
boltz-api small-molecule:design list --limit 20 --format jsonl | head -20
boltz-api protein:library-screen list --limit 20 --format jsonl | head -20
boltz-api protein:design list --limit 20 --format jsonl | head -20
# モード2: IDで取得する。ワークフローの注記にあるIDプレフィックスからリソースを選択する。
# プレフィックスが不明な場合は、いずれかが成功するまで1つずつ実行する。
boltz-api predictions:structure-and-binding retrieve --id "<job-id>" --format json
boltz-api predictions:adme retrieve --id "<job-id>" --format json
boltz-api small-molecule:library-screen retrieve --id "<job-id>" --format json
boltz-api small-molecule:design retrieve --id "<job-id>" --format json
boltz-api protein:library-screen retrieve --id "<job-id>" --format json
boltz-api protein:design retrieve --id "<job-id>" --format json
# モード3: ダウンロードを再開する。エージェントランタイムのマネージド長時間実行コマンドモードを使用する。
boltz-api download-results \
--id "<job-id>" --name "<run-name>" \
--root-dir "/absolute/path/boltz-experiments" \
--poll-interval-seconds 30
retrieve の前に download-status を優先すること。--root-dir で一貫して渡し続けること。runディレクトリへ cd しないこと。そうすると、後続の相対パスがユーザーのワークスペースではなくrunディレクトリを指してしまう。idempotency_key を取得すること。--name には、ジョブIDよりも元のrun名スラグを優先すること — カーソル付きの既存ディレクトリに再開が引き継がれる。boltz-api で始まるトップレベルコマンドとして保つこと。6つの list / retrieve コマンドはシェルループで生成せず明示的に実行することを優先する。ストリーム出力の暴走を防ぐため、一覧表示時に固定の | head -20 キャップを付けることは問題ない。download-results にはエージェントランタイムのバックグラウンド/非ブロッキングコマンドモードを優先すること。Codex環境では特に download-results をフォアグラウンドで実行し、シェルツールのyieldを1000 msに設定すること。コマンドが実行中の場合、Codexは session_id を返す。Codexでは & の追記や nohup の使用を避けること。ツールランナーが .boltz-run.json の書き込み完了前にシェルバックグラウンドの子プロセスをクリーンアップする可能性がある。download-status を定期的に確認するハートビートをスケジュールし、重要なステータス変化または最終的な完了/失敗のみを投稿し、終了状態になったら停止すること。現在のホストがハートビート自動化をサポートしていない場合は、自動的な次回チェックを主張せず、ジョブID・run名・出力ディレクトリ・download-status の確認に必要なコマンドを報告すること。download-results はデフォルトでstderrに機械可読なJSONL形式の進捗を出力する。人間が読みやすいログが明示的に必要な場合のみ --progress-format text --verbose を追加すること。download-status を優先すること。ハートビート自動化をサポートするCodexホストでは、自動フォローアップに download-status を使用し、保存済みセッションへのポーリングはインタラクティブなユーザーリクエストによる進捗確認の場合のみ空の write_stdin で行うこと。ユーザーが最新のリモートステータスを望む場合を除き、retrieve のループを行わないこと。retrieve が詳細なしで {"code":"VALIDATION_ERROR","message":"Request validation failed"} のみを返す場合、predictions:structure-and-binding の失敗では想定された動作である — 他のエンドポイントはフィールドパスを含む。start を再実行しないこと。ペイロードを修正して新しい idempotency-key で再送するか、download-results で再開すること。list / retrieve メソッド): https://api.boltz.bio/docs/api/pythonboltz-api <resource> list --help、boltz-api <resource> retrieve --help、boltz-api download-results --help、boltz-api download-status --help<output-root>/<run-name>/ 以下に書き込む — 新規実行と同じレイアウトになる。再開時の動作については references/resume.md を参照すること。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 to recover state across sessions and to inspect or download results for prior Boltz jobs. No payload authoring — this skill only calls list / retrieve / download-results / download-status.
Use four modes:
download-status before remote API calls.created_at descending.download-results with the original run name when possible. Never run start again to resume.ADME jobs use the prefix adme_pred_* and show up in Modes 1-2 (list / retrieve) like the others. ADME has no download-results/archive step, so Modes 3-4 don't apply — recover its scores by re-running retrieve (read output.molecules[]) or from the local run.json.
Read references/resume.md before recovering a dropped session, mapping job ID prefixes, or choosing a run name for download-results. Read references/api.md for per-resource list columns, retrieve fields, and result semantics.
# Replace placeholders with concrete absolute paths before running.
# Local helper: inspect local checkpoint state without API calls.
boltz-api --format json download-status \
--name "<run-name>" \
--root-dir "/absolute/path/boltz-experiments"
# Mode 1: list recent jobs across all 6 resources.
# Note: the CLI emits one JSON object per record (streamed, no {data:[]} wrapper).
# --limit is per-page and the CLI auto-paginates, so cap each explicit command with head.
boltz-api predictions:structure-and-binding list --limit 20 --format jsonl | head -20
boltz-api predictions:adme list --limit 20 --format jsonl | head -20
boltz-api small-molecule:library-screen list --limit 20 --format jsonl | head -20
boltz-api small-molecule:design list --limit 20 --format jsonl | head -20
boltz-api protein:library-screen list --limit 20 --format jsonl | head -20
boltz-api protein:design list --limit 20 --format jsonl | head -20
# Mode 2: retrieve by ID. Pick the resource from the ID prefix in the workflow
# notes above. If the prefix is unknown, run these one at a time until one succeeds.
boltz-api predictions:structure-and-binding retrieve --id "<job-id>" --format json
boltz-api predictions:adme retrieve --id "<job-id>" --format json
boltz-api small-molecule:library-screen retrieve --id "<job-id>" --format json
boltz-api small-molecule:design retrieve --id "<job-id>" --format json
boltz-api protein:library-screen retrieve --id "<job-id>" --format json
boltz-api protein:design retrieve --id "<job-id>" --format json
# Mode 3: resume download. Use the agent runtime's managed long-running command mode.
boltz-api download-results \
--id "<job-id>" --name "<run-name>" \
--root-dir "/absolute/path/boltz-experiments" \
--poll-interval-seconds 30
download-status before retrieve.--root-dir. Do not cd into the run directory; that makes later relative paths point at the run directory instead of the user's workspace.idempotency_key.--name — it resumes into the existing dir with cursor.boltz-api. Prefer running the six list / retrieve commands explicitly over generating them from a shell loop; a fixed | head -20 cap is okay when listing to avoid runaway streamed output.download-results. In Codex specifically, keep download-results in the foreground and set the shell tool yield to 1000 ms; Codex will return a session_id if the command is still running. Do not append & or use nohup in Codex because the tool runner may clean up shell-backgrounded descendants before .boltz-run.json is fully written.download-status periodically, posts only material status changes or terminal completion/failure, and stops once terminal. If the current host has no heartbeat automation support, do not claim an automatic next check; report the job ID, run name, output directory, and the command needed to check download-status.download-results now emits machine-readable JSONL progress on stderr by default. Add --progress-format text --verbose only when you explicitly want human-readable logs.download-status for local checkpoint state. In Codex hosts with heartbeat automation support, use it for automatic follow-up and poll the saved session with an empty write_stdin only for interactive, user-requested progress checks. Don't loop retrieve unless the user wants fresh remote status.retrieve surfaces only {"code":"VALIDATION_ERROR","message":"Request validation failed"} with no details, that's expected for predictions:structure-and-binding failures — other endpoints include field paths.start again on a failed or interrupted job. Fix the payload and submit with a new idempotency-key, or just resume with download-results.list / retrieve methods): https://api.boltz.bio/docs/api/pythonboltz-api <resource> list --help, boltz-api <resource> retrieve --help, boltz-api download-results --help, boltz-api download-status --help<output-root>/<run-name>/ — same layout as a fresh run. Read references/resume.md for resume behavior.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。