Enable Xpu Monitoring logo

Enable Xpu Monitoring

Organization
intel
enable-xpu-monitoring

Deploy a Prometheus + Grafana + XPU Manager monitoring stack on an Intel GPU host using the intel/xe-full-stack-monitoring repo (plain Docker Compose). Brings up containers for real-time GPU, CPU, and vLLM metrics collection and visualization. Use when the user wants to monitor XPU utilization, temperature, power, memory, or vLLM inference performance.

Add to TypingMind

Overview

Publisherintel
Repositorygpu-ai-skills
Skill nameenable-xpu-monitoring
Stars
50
Forks
16
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by intel on GitHub. Read the source before you install it.

Installation

Install the Enable Xpu Monitoring AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/intel/gpu-ai-skills/tree/main/plugins/intel-gpu-ai-skills/skills/enable-xpu-monitoring
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/intel/gpu-ai-skills.git /tmp/gpu-ai-skills
mkdir -p .claude/skills
cp -r /tmp/gpu-ai-skills/plugins/intel-gpu-ai-skills/skills/enable-xpu-monitoring .claude/skills/enable-xpu-monitoring
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Enable Xpu Monitoring in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Enable Xpu Monitoring on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Enable Xpu Monitoring is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

enable-xpu-monitoring

Deploy a single-node monitoring stack on an Intel GPU host from intel/xe-full-stack-monitoring. The stack is pure Docker Compose — no CLI, no Python package, no tarball. That repo's AGENT.md is the source of truth; this skill gives the short path and defers detail to it.

What gets deployed

ContainerPortPurpose
xpumd (XPU Manager v2.0)9471GPU hardware metrics via Level Zero
node-exporter9100CPU, RAM, disk, network
intel-xpu-prometheus9090Scrapes xpumd, node, and vLLM
intel-xpu-grafana30004 dashboards: Quickview, GPU, vLLM, System

All listeners bind to 127.0.0.1. Grafana has no login (anonymous, read-only Viewer).

Step 1 — Preflight

sh
ls /dev/dri/renderD* >/dev/null 2>&1 && echo "[OK] GPU render nodes" || echo "[FAIL] no render nodes"
docker info >/dev/null 2>&1 && echo "[OK] docker" || echo "[FAIL] docker not reachable"
docker compose version >/dev/null 2>&1 && echo "[OK] compose" || echo "[FAIL] compose plugin missing"
for p in 9471 9100 9090 3000; do
  (ss -ltn 2>/dev/null || netstat -ltn) | grep -q ":$p " && echo "port $p IN USE" || echo "port $p free"
done

Fix any [FAIL]. Ports held by a previous run of this same stack are fine. If 9471, 9100 or 9090 is held by anything else, it must be freed; those ports cannot be changed.

If port 3000 is held by another app, do not stop that app. Move Grafana to a free port instead:

sh
GRAFANA_PORT=3000
if (ss -ltn 2>/dev/null || netstat -ltn) | grep -q ":3000 " \
   && ! docker ps --format '{{.Names}}' | grep -qx intel-xpu-grafana; then
  for p in $(seq 3001 3099); do
    (ss -ltn 2>/dev/null || netstat -ltn) | grep -q ":$p " || { GRAFANA_PORT=$p; break; }
  done
fi
echo "Grafana port: $GRAFANA_PORT"

If GRAFANA_PORT is not 3000, tell the user clearly:

Port 3000 is already in use on this host, so Grafana will run on port <GRAFANA_PORT>. Use this port for the dashboard URL and the SSH tunnel.

Step 2 — Get the repo

If the stack is already running, reuse the repo it was started from, so Compose manages the same containers instead of a second copy:

sh
REPO=$(docker inspect intel-xpu-grafana \
  --format '{{index .Config.Labels "com.docker.compose.project.working_dir"}}' 2>/dev/null)
[ -n "$REPO" ] && [ -d "$REPO" ] && cd "$REPO" && echo "Existing stack in $REPO"

If that prints Existing stack in ..., skip the clone and go to Step 3. Otherwise:

sh
git clone https://github.com/intel/xe-full-stack-monitoring.git
cd xe-full-stack-monitoring

If git clone fails or hangs (no internet or proxy on the host), copy the repo from the user's laptop instead. Run on the laptop:

sh
git clone https://github.com/intel/xe-full-stack-monitoring.git
scp -r xe-full-stack-monitoring <ssh-host-alias>:~/

Then on the host: cd ~/xe-full-stack-monitoring.

Run every docker compose command below from this repo root (volume paths are relative).

If Step 1 moved Grafana, create an override file in the repo root. Compose reads it automatically, and the repo's tracked files stay unchanged:

sh
cat > docker-compose.override.yml <<EOF
services:
  grafana:
    environment:
      - GF_SERVER_HTTP_PORT=$GRAFANA_PORT
      - GF_SERVER_ROOT_URL=http://localhost:$GRAFANA_PORT/
EOF
docker compose config | grep GF_SERVER_HTTP_PORT   # shows the new port

Step 3 — Tell the user the default vLLM ports, then ask

Before deploying, confirm the defaults from the cloned repo and state them clearly:

sh
sed -n '/job_name: "vllm"/,$p' prometheus/prometheus.yml | grep localhost

Heads-up: vLLM metrics are scraped only on ports 8000–8008 by default. A vLLM server on any other port will NOT show up in Grafana. Do you run vLLM on a different port that should be added? (default: no)

If the answer is no, skip Step 6.

Step 4 — Deploy

This pulls ~1.5 GB of images and creates four containers. Get the user's confirmation first, then:

sh
docker compose up -d

Run this even when the stack is already up. It leaves running containers alone, starts any that are stopped, and applies config changes. Do not skip it, and do not stop or remove containers to "start fresh".

Step 5 — Verify

Wait 10–15 s, then:

sh
docker compose ps                                       # four containers Up
curl -s http://localhost:9090/-/healthy                 # Prometheus healthy
curl -s http://localhost:$GRAFANA_PORT/api/health       # Grafana healthy
curl -s http://localhost:9471/metrics | grep -c hw_gpu  # >0 = GPU metrics flowing

vllm targets show down until a vLLM server runs on a scraped port — that is expected, not a failure. For deeper checks and troubleshooting, see the repo's AGENT.md.

Step 6 — Add a non-default vLLM port (only if the user asked)

  1. Edit prometheus/prometheus.yml, and add one line per port under the vllm job's targets::

    yaml
          - targets:
              - "localhost:8000"
              # ... through 8008 ...
              - "localhost:8101"     # ← added
  2. Restart only Prometheus so it picks up the new config:

    sh
    docker compose restart prometheus

    Do not use curl -X POST localhost:9090/-/reload. The lifecycle API is off. Also, the config is a single-file bind mount, so after an editor saves it, a reload can still read the old file. Do not run docker compose down for this change. Metrics history is kept in a volume, so it survives the restart.

  3. Confirm the container sees it and the target is registered:

    sh
    docker exec intel-xpu-prometheus grep 8101 /etc/prometheus/prometheus.yml
    curl -s 'http://localhost:9090/api/v1/targets?state=active' | grep 8101

To stop monitoring a port, delete its line and restart Prometheus again.

Step 7 — Report back and give remote access

Tell the user: Grafana is at http://localhost:<GRAFANA_PORT> (no login), how many GPUs xpumd found, and which targets are up. Repeat which vLLM ports are monitored (8000–8008, plus any added in Step 6). If Grafana was moved off 3000, say so again here. Name the source: the stack is intel/xe-full-stack-monitoring, deployed from <repo path>. Say this even when Step 2 reused a running stack.

Services listen on localhost only, so a remote user needs an SSH tunnel. Always give this generic form, and never fill in an IP address or hostname. Replace <GRAFANA_PORT> with the port from Step 1 (3000 by default). Run it on the user's laptop:

sh
ssh -N -L <GRAFANA_PORT>:localhost:<GRAFANA_PORT> -L 9090:localhost:9090 <ssh-host-alias>

<ssh-host-alias> is a Host entry in the user's ~/.ssh/config. They add it themselves, for example:

Host gpu-box
    HostName <gpu-host>
    User <user>
    # ProxyJump <jump-host>   # if the GPU host is behind a bastion

Then open http://localhost:<GRAFANA_PORT> in the laptop browser. If that port is already in use on the laptop, change only the first (local) number, for example -L 13000:localhost:<GRAFANA_PORT>, and open http://localhost:13000.

Limitations and common failures

SymptomCause / fix
git clone hangsHost is behind a corporate proxy. Pass it for this command only, for example git -c http.proxy=http://<proxy>:<port> clone ..., or use the scp copy in Step 2

The skill does not install GPU drivers, change kernel parameters, or put Grafana on a non-localhost address.

Teardown

sh
docker compose down        # remove containers, keep metrics history
docker compose down -v     # also deletes volumes, which DESTROYS history. Confirm with the user first

Frequently asked questions

What does the Enable Xpu Monitoring AI skill do?

Deploy a Prometheus + Grafana + XPU Manager monitoring stack on an Intel GPU host using the intel/xe-full-stack-monitoring repo (plain Docker Compose). Brings up containers for real-time GPU, CPU, and vLLM metrics collection and visualization. Use when the user wants to monitor XPU utilization, temperature, power, memory, or vLLM inference performance.

Why use Enable Xpu Monitoring on TypingMind?

Because you install it once and use it with any model. Enable Xpu Monitoring is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Enable Xpu Monitoring in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/intel/gpu-ai-skills/tree/main/plugins/intel-gpu-ai-skills/skills/enable-xpu-monitoring. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Enable Xpu Monitoring?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Enable Xpu Monitoring?

As many as you like. As long as a model supports skills, you can use Enable Xpu Monitoring with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Enable Xpu Monitoring AI skill free?

Yes. It is published on GitHub by intel under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇