Skip to content

AI-Assisted Installation and Verification

Skill definitions that provide AI-assisted MaaS installation and end-to-end verification with any AI coding tool.

This repository includes skill definitions that provide AI-assisted MaaS installation and end-to-end verification. The /install-maas skill wraps the same setup-maas.sh script used in the Automated Setup, while the /verify-guide skill runs a full verification pass against a live cluster - covering installation, the 15-point E2E test suite, blind-spot regression checks, and guide content validation.

The skills work with any AI coding tool that supports skill definitions:

Tip

All file paths and oc apply commands in this guide are relative to the CAI-Field-Manual-MaaS repository root. Make sure you have cloned it and are working from its root directory (see Getting Started).

Important

This guide is not a replacement for the official Red Hat OpenShift AI Models as a Service documentation (3.5 | 3.4). It is a companion resource with opinionated Kustomize manifests and automation scripts to accelerate deployment.

Prerequisites

  • An AI coding tool installed (see list above)
  • oc CLI authenticated as cluster-admin
  • This repository cloned locally

/install-maas

The /install-maas skill wraps ./scripts/setup-maas.sh, letting your AI coding agent handle cluster detection, error diagnosis, and interactive troubleshooting.

Usage

Open the repository in your AI coding tool and invoke the skill:

/install-maas

Arguments

All arguments from setup-maas.sh are supported:

/install-maas --model simulator
/install-maas --from-phase 4
/install-maas --with-observability
/install-maas --skip-models --skip-verify
OptionDescription
--model <name>Model to deploy: simulator (CPU), granite-tiny-gpu, gemma, gpt-oss-20b, qwen3-06b, auto
--from-phase <N>Start from phase N (0-7)
--skip-modelsSkip Phase 5 (model deployment)
--skip-verifySkip Phase 6 (verification)
--with-observabilityAlso run Phase 7 (COO + telemetry)

What the Skill Does

The skill runs ./scripts/setup-maas.sh from the repository root with the provided arguments. Your AI coding agent monitors the output, detects failures, and can help diagnose issues interactively.

The skill has access to oc, envsubst, curl, jq, and other CLI tools needed for MaaS deployment.

Skill Definition

The skill is defined in .claude/skills/install-maas/SKILL.md within this repository. It is automatically discovered when you open the repo in a compatible AI coding tool.

/verify-guide

The /verify-guide skill runs end-to-end verification of the guide content against a live OpenShift cluster. It installs MaaS, executes the 15-point E2E test suite, runs 8 blind-spot regression checks learned from previous walkthroughs, and validates that commands documented in the AsciiDoc pages produce the expected output. At the end it generates a structured report with all results.

Usage

/verify-guide <API_URL> <USERNAME> <PASSWORD>

Example:

/verify-guide https://api.cluster-abc.dyn.redhatworkshops.io:6443 admin my-password

Arguments

OptionDescription
<API_URL>(Required) OpenShift API server URL, including port
<USERNAME>(Required) Cluster admin username (e.g. admin or kubeadmin)
<PASSWORD>(Required) Cluster admin password
--skip-installSkip Phase 1 (setup-maas.sh). Use when MaaS is already installed
--skip-verify-shSkip Phase 2 (verify.sh E2E)
--skip-blindspotSkip Phase 3 (8 blind-spot regression checks)
--skip-guide-contentSkip Phase 4 (AsciiDoc content verification)
--with-observabilityPass --with-observability to setup-maas.sh in Phase 1
--walkthrough-number NLabel this run as walkthrough N (default: auto-increment)

Phases

The skill runs 6 phases in sequence. Individual phases can be skipped with the flags above.

PhaseWhat it checksTime
0Cluster login, preflight detection (platform, OCP version, GPU, nodes)instant
1Full MaaS installation via ./scripts/setup-maas.sh15-30 min
215-point E2E via ./manifests/06-verification/verify.sh3-5 min
38 blind-spot regression checks (gateway OOM, MetalLB IP, RHCL version, etc.)1-2 min
4AsciiDoc guide commands produce documented output1-2 min
5Report generation and findings summaryinstant

What the Skill Does

The skill logs into the cluster, detects its characteristics (platform, GPU, node count), and then runs through each phase collecting PASS/FAIL/WARN results. It never stops on a single failure - all checks run regardless, so you get the full picture in one pass.

Phase 3 blind-spot checks cover regressions that the standard verify.sh does not test: gateway memory limits, MetalLB IP collisions, OAuth/console accessibility, RHOAI dashboard reachability, namespace labels, RHCL operator version, HuggingFace Xet storage behavior, and an independent inference request.

Phase 4 validates that specific commands from the guide pages (model-deployment/maas-models, installation-guide/rhoai-config, model-deployment/verification, installation-guide/prerequisites) return the documented output.

At the end, the skill prints a structured report with all results, operator versions, and any issues found.

Skill Definition

The skill is defined in .claude/skills/verify-guide/SKILL.md within this repository. It is automatically discovered when you open the repo in a compatible AI coding tool.