azure-compute
ワークロードの種類、必要な性能、予算といった条件に合わせて、最適なAzure仮想マシン(VM)のサイズや構成、VM Scale Sets (VMSS)を、Azureの公開情報や価格APIを使って提案するSkill。
📜 元の英語説明(参考)
Recommend Azure VM sizes, VM Scale Sets (VMSS), and configurations based on workload requirements, performance needs, and budget constraints. No Azure account required — uses public documentation and the Azure Retail Prices API. USE FOR: recommend VM size, which VM should I use, choose Azure VM, VM for web/database/ML/batch/HPC, GPU VM, compare VM sizes, cheapest VM, best VM for workload, VM pricing, cost estimate, burstable/compute/memory/storage optimized VM, confidential computing, VM trade-offs, VM families, VMSS, scale set recommendation, autoscale VMs, load balanced VMs, VMSS vs VM, scale out, horizontal scaling, flexible orchestration. DO NOT USE FOR: deploying VMs or VMSS, deploying apps (use azure-deploy), looking up existing VMs (use azure-resource-lookup), cost optimization of running VMs (use azure-cost-optimization), non-VM services like App Service or AKS.
🇯🇵 日本人クリエイター向け解説
ワークロードの種類、必要な性能、予算といった条件に合わせて、最適なAzure仮想マシン(VM)のサイズや構成、VM Scale Sets (VMSS)を、Azureの公開情報や価格APIを使って提案するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o azure-compute.zip https://jpskill.com/download/19659.zip && unzip -o azure-compute.zip && rm azure-compute.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19659.zip -OutFile "$d\azure-compute.zip"; Expand-Archive "$d\azure-compute.zip" -DestinationPath $d -Force; ri "$d\azure-compute.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
azure-compute.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
azure-computeフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 4
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[スキル名] azure-compute
Azure Compute スキル
ワークロードの種類、パフォーマンス要件、スケーリングの必要性、予算を分析して、Azure VM のサイズ、VM スケールセット (VMSS)、構成を推奨します。Azure サブスクリプションは不要です。すべてのデータは公開されている Microsoft ドキュメントと認証不要の Retail Prices API から取得されます。
このスキルを使用するタイミング
- ユーザーがワークロードにどの Azure VM または VMSS を選択すべきか尋ねる場合
- ユーザーが Web、データベース、ML、バッチ、HPC、またはその他のワークロードの VM サイズの推奨を必要とする場合
- ユーザーが VM ファミリー、サイズ、または価格ティアを比較したい場合
- ユーザーが VM オプション間のトレードオフ (コスト対パフォーマンス) について尋ねる場合
- ユーザーが Azure アカウントなしで Azure VM のコスト見積もりを必要とする場合
- ユーザーが単一の VM を使用すべきか、スケールセットを使用すべきか尋ねる場合
- ユーザーが自動スケーリング、高可用性、またはロードバランスされた VM の推奨を必要とする場合
- ユーザーが VMSS のオーケストレーションモード (Flexible vs Uniform) について尋ねる場合
ワークフロー
初期フィルタリングには参照ファイルを使用します。
重要: 最終的な推奨を行う前に、必ず learn.microsoft.com のライブドキュメントで確認してください。
web_fetchが失敗した場合は、参照ファイルをフォールバックとして使用しますが、情報が古い可能性があることをユーザーに警告してください。
ステップ 1: 要件の収集
ユーザーに以下の情報を尋ねます (可能な場合は推測します)。
| 要件 | 例 |
|---|---|
| ワークロードの種類 | Web サーバー、リレーショナル DB、ML トレーニング、バッチ処理、開発/テスト |
| vCPU / RAM の必要性 | 「4 コア、16 GB RAM」または「軽量」/「重い」 |
| GPU が必要か? | はい → GPU ファミリー。いいえ → 汎用/コンピューティング/メモリ |
| ストレージの必要性 | 高 IOPS、大容量一時ディスク、Premium SSD |
| 予算の優先順位 | コスト重視、パフォーマンス優先、バランス型 |
| OS | Linux または Windows (価格に影響) |
| リージョン | 可用性と価格に影響 |
| インスタンス数 | 単一インスタンス、固定数、または可変/動的 |
| スケーリングの必要性 | なし、手動スケーリング、メトリックまたはスケジュールに基づく自動スケーリング |
| 可用性の必要性 | ベストエフォート、障害ドメイン分離、ゾーン間 HA |
| ロードバランシング | 不要、Azure Load Balancer (L4)、Application Gateway (L7) |
ステップ 2: VM と VMSS の決定
ワークフロー:
- VMSS ガイド を確認して、VMSS と単一 VM のどちらが適切かを理解します。
- 収集した要件を使用して、どちらのアプローチが最適かを決定します。
- 必須: VMSS を推奨する場合、現在のドキュメントを取得して機能を確認します。
web_fetch https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview web_fetch https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-autoscale-overview web_fetchが失敗した場合は、参照ファイルのガイダンスに従いますが、以下の警告を含めます。最新の Azure ドキュメントに対して検証できませんでした。推奨事項は、最近の更新を反映していない可能性がある参照資料に基づいています。
自動スケーリングが必要ですか?
├─ はい → VMSS
├─ いいえ
│ ├─ 複数の同一インスタンスが必要ですか?
│ │ ├─ はい → VMSS
│ │ └─ いいえ
│ │ ├─ 障害ドメイン/ゾーンをまたぐ高可用性が必要ですか?
│ │ │ ├─ はい、多数のインスタンス → VMSS
│ │ │ └─ はい、1-2 インスタンス → VM + 可用性ゾーン
│ │ └─ 単一インスタンスで十分ですか? → VM
| シグナル | 推奨 | 理由 |
|---|---|---|
| CPU、メモリ、またはスケジュールに基づく自動スケーリング | VMSS | 自動スケーリングが組み込まれており、カスタム自動化は不要 |
| ロードバランサーの背後にあるステートレスな Web/API 層 | VMSS | 自動分散を備えた均一なフリート |
| 多数のノードにわたるバッチ/並列処理 | VMSS | オンデマンドでスケールアウトし、アイドル時にゼロにスケール |
| 1 つのグループ内の混合 VM サイズ | VMSS (Flexible) | Flexible オーケストレーションは混合 SKU をサポート |
| 単一の長期稼働サーバー (ジャンプボックス、AD DC) | VM | スケーリングのメリットなし。管理がよりシンプル |
| インスタンスごとの一意の構成が必要 | VM | スケールセットは均一な構成を前提とする |
| ステートフルなワークロード、密結合クラスター | VM (または VMSS はケースバイケース) | 慎重に評価。VMSS Flexible は一部のステートフルパターンで機能する可能性あり |
警告: ユーザーが不明な場合は、シンプルさのためにデフォルトで単一 VM を推奨します。スケーリング、HA、またはフリート管理が明確に必要な場合にのみ VMSS を推奨します。
ステップ 3: VM ファミリーの選択
ワークフロー:
-
VM ファミリーガイド を確認して、ワークロード要件に一致する 2-3 の候補 VM ファミリーを特定します。
-
必須: 選択した候補の仕様を検証します。現在のドキュメントを取得します。
web_fetch https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/<family-category>/<series-name>例:
- B シリーズ:
https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/general-purpose/b-family - D シリーズ:
https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/general-purpose/ddsv5-series - GPU:
https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/gpu-accelerated/nc-family
- B シリーズ:
-
Spot VM を検討している場合は、以下も取得します。
web_fetch https://learn.microsoft.com/en-us/azure/virtual-machine-scale-set
(原文がここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Azure Compute Skill
Recommend Azure VM sizes, VM Scale Sets (VMSS), and configurations by analyzing workload type, performance requirements, scaling needs, and budget. No Azure subscription required — all data comes from public Microsoft documentation and the unauthenticated Retail Prices API.
When to Use This Skill
- User asks which Azure VM or VMSS to choose for a workload
- User needs VM size recommendations for web, database, ML, batch, HPC, or other workloads
- User wants to compare VM families, sizes, or pricing tiers
- User asks about trade-offs between VM options (cost vs performance)
- User needs a cost estimate for Azure VMs without an Azure account
- User asks whether to use a single VM or a scale set
- User needs autoscaling, high availability, or load-balanced VM recommendations
- User asks about VMSS orchestration modes (Flexible vs Uniform)
Workflow
Use reference files for initial filtering
CRITICAL: then always verify with live documentation from learn.microsoft.com before making final recommendations. If
web_fetchfails, use reference files as fallback but warn the user the information may be stale.
Step 1: Gather Requirements
Ask the user for (infer when possible):
| Requirement | Examples |
|---|---|
| Workload type | Web server, relational DB, ML training, batch processing, dev/test |
| vCPU / RAM needs | "4 cores, 16 GB RAM" or "lightweight" / "heavy" |
| GPU needed? | Yes → GPU families; No → general/compute/memory |
| Storage needs | High IOPS, large temp disk, premium SSD |
| Budget priority | Cost-sensitive, performance-first, balanced |
| OS | Linux or Windows (affects pricing) |
| Region | Affects availability and price |
| Instance count | Single instance, fixed count, or variable/dynamic |
| Scaling needs | None, manual scaling, autoscale based on metrics or schedule |
| Availability needs | Best-effort, fault-domain isolation, cross-zone HA |
| Load balancing | Not needed, Azure Load Balancer (L4), Application Gateway (L7) |
Step 2: Determine VM vs VMSS
Workflow:
- Review VMSS Guide to understand when VMSS vs single VM is appropriate
- Use the gathered requirements to decide which approach fits best
- REQUIRED: If recommending VMSS, fetch current documentation to verify capabilities:
web_fetch https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview web_fetch https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-autoscale-overview - If
web_fetchfails, proceed with reference file guidance but include this warning:Unable to verify against latest Azure documentation. Recommendation based on reference material that may not reflect recent updates.
Needs autoscaling?
├─ Yes → VMSS
├─ No
│ ├─ Multiple identical instances needed?
│ │ ├─ Yes → VMSS
│ │ └─ No
│ │ ├─ High availability across fault domains / zones?
│ │ │ ├─ Yes, many instances → VMSS
│ │ │ └─ Yes, 1-2 instances → VM + Availability Zone
│ │ └─ Single instance sufficient? → VM
| Signal | Recommendation | Why |
|---|---|---|
| Autoscale on CPU, memory, or schedule | VMSS | Built-in autoscale; no custom automation needed |
| Stateless web/API tier behind a load balancer | VMSS | Homogeneous fleet with automatic distribution |
| Batch / parallel processing across many nodes | VMSS | Scale out on demand, scale to zero when idle |
| Mixed VM sizes in one group | VMSS (Flexible) | Flexible orchestration supports mixed SKUs |
| Single long-lived server (jumpbox, AD DC) | VM | No scaling benefit; simpler management |
| Unique per-instance config required | VM | Scale sets assume homogeneous configuration |
| Stateful workload, tightly-coupled cluster | VM (or VMSS case-by-case) | Evaluate carefully; VMSS Flexible can work for some stateful patterns |
Warning: If the user is unsure, default to single VM for simplicity. Recommend VMSS only when scaling, HA, or fleet management is clearly needed.
Step 3: Select VM Family
Workflow:
-
Review VM Family Guide to identify 2-3 candidate VM families that match the workload requirements
-
REQUIRED: verify specifications for your chosen candidates by fetching current documentation:
web_fetch https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/<family-category>/<series-name>Examples:
- B-series:
https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/general-purpose/b-family - D-series:
https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/general-purpose/ddsv5-series - GPU:
https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/gpu-accelerated/nc-family
- B-series:
-
If considering Spot VMs, also fetch:
web_fetch https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/use-spot -
If
web_fetchfails, proceed with reference file guidance but include this warning:Unable to verify against latest Azure documentation. Recommendation based on reference material that may not reflect recent updates or limitations (e.g., Spot VM compatibility).
This step applies to both single VMs and VMSS since scale sets use the same VM SKUs.
Step 4: Look Up Pricing
Query the Azure Retail Prices API — Retail Prices API Guide
Tip: VMSS has no extra charge — pricing is per-VM instance. Use the same VM pricing from the API and multiply by the expected instance count to estimate VMSS cost. For autoscaling workloads, estimate cost at both the minimum and maximum instance count.
Step 5: Present Recommendations
Provide 2–3 options with trade-offs:
| Column | Purpose |
|---|---|
| Hosting Model | VM or VMSS (with orchestration mode if VMSS) |
| VM Size | ARM SKU name (e.g., Standard_D4s_v5) |
| vCPUs / RAM | Core specs |
| Instance Count | 1 for VM; min–max range for VMSS with autoscale |
| Estimated $/hr | Per-instance pay-as-you-go from API |
| Why | Fit for the workload |
| Trade-off | What the user gives up |
Tip: Always explain why a family fits and what the user trades off (cost vs cores, burstable vs dedicated, single VM simplicity vs VMSS scalability, etc.).
For VMSS recommendations, also mention:
- Recommended orchestration mode (Flexible for most new workloads)
- Autoscale strategy (metric-based, schedule-based, or both)
- Load balancer type (Azure Load Balancer for L4, Application Gateway for L7/TLS)
Step 6: Offer Next Steps
- Compare reservation / savings plan pricing (query API with
priceType eq 'Reservation') - Suggest Azure Pricing Calculator for full estimates
- For VMSS: suggest reviewing autoscale best practices and VMSS networking
Error Handling
| Scenario | Action |
|---|---|
| API returns empty results | Broaden filters — check armRegionName, serviceName, armSkuName spelling |
| User unsure of workload type | Ask clarifying questions; default to General Purpose D-series |
| Region not specified | Use eastus as default; note prices vary by region |
| Unclear if VM or VMSS needed | Ask about scaling and instance count; default to single VM if unsure |
| User asks VMSS pricing directly | Use same VM pricing API — VMSS has no extra charge; multiply by instance count |
References
- VM Family Guide — Family-to-workload mapping and selection
- Retail Prices API Guide — Query patterns, filters, and examples
- VMSS Guide — When to use VMSS, orchestration modes, and autoscale patterns
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (10,564 bytes)
- 📎 references/retail-prices-api.md (6,439 bytes)
- 📎 references/vm-families.md (5,030 bytes)
- 📎 references/vmss-guide.md (6,527 bytes)