Chains preflight, sizing, config, and runtime skills to produce a single PLAN.md for Intel XPU model deployment. Use when a coordinated plan is needed rather than direct deploy.
Ships in xpu-deploy-plan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
End-to-end deployment planner for Intel XPU inference. This skill is
an orchestrator only: it chains the lower-level skills, captures their
outputs, and writes a single PLAN.md for the user. It does not
duplicate runtime guidance that lives in the called skills.
Default target: Arc Pro B70 (32 GiB) home-lab host, container-first, OpenAI-compatible HTTP serving through vLLM-XPU, unless the user's request points elsewhere.
Before invoking the plan builder, summarize the resolved inputs back to
the user (model, runtime, target XPU, ctx, concurrency, quant) so they
can correct anything before files are written. This is courtesy, not a
safety gate — the script is read/compute only and writes a markdown
plan to .out/skills/xpu-deploy-plan/; it does not pull images, launch
containers, claim a GPU, or modify the system.
Use when the user asks for a plan — wants the orchestration, not just to start a server:
Always invoke scripts/build_plan.sh. It is the single supported
entry point for this skill. Do not run the chained skills
(xpu-runtime-preflight, model-can-it-fit, model-config-recommend,
or the runtime launch emitters) by hand and assemble a plan yourself —
build_plan.sh already orchestrates them, captures their outputs, and
writes the canonical PLAN.md. Hand-rolled equivalents drift from the
artifact layout the rest of the toolchain expects and miss the halt
logic on a preflight FAIL.
If build_plan.sh fails or a chained skill returns a hard error,
report the failure and the routing skill from the preflight
SUMMARY.md; do not work around it by running the underlying scripts
directly.
plugins/intel-gpu-ai-skills/skills/xpu-deploy-plan/scripts/build_plan.sh \
--model Qwen/Qwen2.5-7B-Instruct \
--runtime vllm \
--target-gpu 0 \
--ctx 4096 \
--concurrency 1 \
--out-dir .out/skills/xpu-deploy-plan
The script writes:
.out/skills/xpu-deploy-plan/PLAN.md
.out/skills/xpu-deploy-plan/inputs.json
.out/skills/xpu-deploy-plan/preflight/ # forwarded from xpu-runtime-preflight
.out/skills/xpu-deploy-plan/fit.txt # from model-can-it-fit
.out/skills/xpu-deploy-plan/config.txt # from model-config-recommend (vLLM only)
.out/skills/xpu-deploy-plan/build_plan.log
PLAN.md is the single artifact to show the user. It contains: inputs,
readiness summary, fit summary, the exact launch command from the
selected runtime skill, a smoke test that verifies XPU usage (not just
HTTP 200), the benchmark handoff, and a rollback command.
The output directory .out/skills/xpu-deploy-plan/ is the
agent-accessible artifact dir for this skill (matches the .out/ entry
in this repo's .gitignore).
If missing, ask at most three questions; otherwise use defaults.
| Question | Default |
|---|---|
| Which HF model id or local model path? | Required. Do not guess. |
| Runtime: vLLM / SGLang / PyTorch? | vLLM OpenAI API. |
| Target context and concurrency? | 4096 ctx, concurrency 1 for first boot. |
| Quantized weights acceptable? | BF16 if it fits; FP8/int4 only if needed. |
| How many XPUs? | Discover host; do not assume. |
The script invokes these skills in order and HALTS on a hard failure:
FAIL count > 0, the
plan stops with the preflight SUMMARY.md as the blocker. Do not
attempt launch.vllm (default), sglang, or torch.vllm on Arc B-series; emits
recommended flags.vllm-xpu-run/scripts/emit_launch.sh, using the top
model-config-recommend candidate when available. Image policy,
proxy env propagation, multi-GPU oneCCL setup, and OOM recovery
live in those skills (vllm-xpu-run, sglang-xpu-run,
torch-xpu-run) and the runtime triage skill — they are NOT
duplicated here./v1/models, one deterministic request, plus
docker logs | grep -iE 'xpu|device|cpu fallback' and xpu-smi ps
to confirm XPU is actually used.vllm-xpu-bench, sglang-xpu-bench,
or torch-xpu-bench.docker stop / docker rm for containers started by the
plan. The script never removes unrelated containers or caches.| User need | Runtime | Skill |
|---|---|---|
| OpenAI-compatible chat/completions | vLLM-XPU | vllm-xpu-run |
| Maximum current Intel model coverage | vLLM-XPU | vllm-xpu-run |
| Prefix-cache-heavy workloads | SGLang-XPU | sglang-xpu-run |
| Grammar-constrained generation | SGLang-XPU | sglang-xpu-run |
| Pure Transformers code path | PyTorch XPU | torch-xpu-run |
| Diffusion / custom HF pipeline | PyTorch XPU | torch-xpu-run |
| "How much VRAM?" | Sizing tool | model-can-it-fit |
| "Best vLLM config?" | Recommender | model-config-recommend |
Bringing up the server is not the stopping point. The plan is not
"done" until the smoke test in PLAN.md passes and the agent returns
the observed response summary to the user:
/v1/models./dev/dri / group / Docker readiness — xpu-runtime-preflight.In final answers, report:
PLAN.md for the full planFAIL: the blocker and the routing skill from preflight SUMMARY.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
intel-xpu, deployment-plan, orchestrator, model-serving, ai-deployment
/xpu-deploy-plan:xpu-deploy-planfrom xpu-deploy-plan
npx claudepluginhub intel/gpu-ai-skills --plugin xpu-deploy-planOther plugins' skills for the same job