From agnosticv
Creates or updates AgnosticV catalog files for RHDP deployments including full catalogs, description.adoc, info-message-template.adoc, and virtual CI configurations.
npx claudepluginhub rhpds/rhdp-skills-marketplace --plugin agnosticvThis skill uses the workspace's default tool permissions.
---
examples/cloud-vms-base/common.yamlexamples/cloud-vms-base/description.adocexamples/cloud-vms-base/dev.yamlexamples/ocp-aws/common.yamlexamples/ocp-aws/description.adocexamples/ocp-aws/dev.yamlexamples/ocp-cnv/common.yamlexamples/ocp-cnv/description.adocexamples/ocp-cnv/dev.yamlexamples/ocp-demo/common.yamlexamples/ocp-demo/description.adocexamples/ocp-demo/dev.yamlexamples/ocp-demo/info-message-template.adocexamples/published-virtual-ci/common.yamlexamples/published-virtual-ci/description.adocexamples/published-virtual-ci/dev.yamlexamples/published-virtual-ci/info-message-template.adocexamples/published-virtual-ci/prod.yamlexamples/sandbox-cluster/common.yamlexamples/sandbox-cluster/dev.yamlGenerates runtime-automation playbooks (solve/validation/setup.yml) for existing RHDP labs. Adds Zero Touch Solve/Validate buttons to showroom without altering setup. Supports OCP tenant/dedicated, RHEL VM+bastion, AAP.
Generates Red Hat Showroom workshop modules in AsciiDoc from reference materials like URLs, files, or docs, with business storytelling and hands-on exercises.
Generates Ansible validation roles for RHDP OpenShift deployments. Guides SSH discovery on bastion host with oc CLI, analyzes outputs to verify pods, routes, operators, and custom resources post-deployment.
Share bugs, ideas, or general feedback.
Name: AgnosticV Catalog Builder Description: Create or update AgnosticV catalog files for RHDP deployments Version: 2.1.0 Last Updated: 2026-02-03
When asking for paths, URLs, or locations:
Example of what NOT to do:
β Which GitHub organization? (rhpds / redhat-scholars / Other)
β Should I auto-detect your catalog directory? [Y/n]
β Which subdirectory should I use?
Example of what TO do:
β
What is the URL or path to your Showroom repository?
β
What is the path to the catalog/CI directory?
Just ask, use what they give you, move on. Users know their paths - trust them.
Unified skill for creating and updating AgnosticV catalog configurations. Handles everything from full catalog creation to updating individual files like description.adoc or info-message-template.adoc.
Have these ready before running this skill:
Choose your mode first:
For Full Catalog mode:
~/work/code/agnosticv)For Description Only mode:
For Info Message Template:
For Virtual CI:
Access needed:
Use /agnosticv-catalog-builder when you need to:
Prerequisites:
~/work/code/agnosticv or ~/devel/git/agnosticv)content/modules/ROOT/pages/Step 0: Prerequisites & Scope Selection
β
ββ Full Catalog β
β Step 1: Context (event + type + technologies)
β Step 2: Discovery (search AgV for reference)
β Step 3: Infrastructure gate (OCP or VMs?)
β ββ OCP β @agnosticv/docs/ocp-catalog-questions.md
β β (Steps 3B-8: cluster size, version, pool, auth,
β β workloads, LiteMaaS, showroom+console_embed, multi-user)
β ββ VMs β @agnosticv/docs/cloud-vms-base-catalog-questions.md
β (Steps 3B-8: CNV/AWS, RHEL image, ports, auth skip,
β VM workloads, vm_workload_showroom, multi-user warning)
β Step 7: Catalog Details + Step 7a: Repo setup β return point
β Step 9: Generate Files (common.yaml, dev.yaml, description, info-message)
β Step 10: Directory Path
β Step 11: Write Files
β Step 12: Commit
ββ Description Only β Steps 1-4
ββ Info Message β Steps 1-2
ββ Virtual CI β Steps 1-10
CRITICAL: Start by asking what the user wants to generate.
ποΈ AgnosticV Catalog Builder
What would you like to create or update?
1. Full Catalog (common.yaml, dev.yaml, description.adoc, info-message-template.adoc)
ββ For: New catalog from scratch with infrastructure setup
2. Description Only (description.adoc)
ββ For: Generate/update description from Showroom content
3. Info Message Template (info-message-template.adoc)
ββ For: Display user data from your workload CI
4. Create Virtual CI (published/ folder)
ββ For: Create Virtual CI from existing base component
Your choice [1-4]:
Detect AgV path automatically by checking config files (~/CLAUDE.md, ~/claude/*.md, ~/.claude/*.md) for a line containing agnosticv with a path. If found, confirm with user. If not found, ask the user for their AgV repository path (e.g., ~/work/code/agnosticv). Validate the path exists and is a git repo.
See @agnosticv/docs/AGV-COMMON-RULES.md for the full detection procedure.
cd "$agv_path"
# Show current branch
current_branch=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "unknown")
Ask about branch:
π I see you are working on branch: $current_branch
Q: Do you want to use this branch or should I create a new one?
1. Use current branch: $current_branch
2. Create new branch
Choice [1/2]:
If user chooses 1 (Use current branch):
β Using your current branch: $current_branch
If user chooses 2 (Create new branch):
Q: New branch name (e.g., add-my-catalog or update-description):
(no 'feature/' prefix needed)
Branch name:
# Strip feature/ prefix if user added it
branch_name="${branch_name#feature/}"
# Create and switch to new branch
git checkout -b "$branch_name"
echo "β Created and switched to branch: $branch_name"
When selected: User chose option 1 (Full Catalog)
Ask these THREE questions sequentially before touching anything else.
Question 1 β Catalog type:
ποΈ What type of catalog is this?
1. Lab β multi-user (multiple students, hands-on exercises)
2. Lab β single-user (one student, hands-on exercises)
3. Lab β admin only (no student users, admin access only)
4. Demo (presenter-led, no student interaction)
5. Sandbox (self-service, open environment)
Choice [1-5]:
Auto-set from choice:
| Choice | category | multiuser | workshop_user_mode |
|---|---|---|---|
| 1 (Lab multi-user) | Labs | true | multi |
| 2 (Lab single-user) | Labs | false | single |
| 3 (Lab admin only) | Labs | false | none |
| 4 (Demo) | Demos | false | none |
| 5 (Sandbox) | Sandboxes | false | none |
Question 2 β Event (MANDATORY β never skip):
CRITICAL: Always ask this, even if the user did not mention an event. Event catalogs require different directory structure, branding labels, and access restrictions.
Q: Is this for a specific Red Hat event? [Y/n]
If YES:
Which event?
1. Red Hat Summit 2026 (summit-2026)
2. Red Hat One 2026 (rh1-2026)
3. Other β enter event name
Choice [1-3]:
If event selected β category becomes Brand_Events (overrides Question 1 category).
If event selected β ask immediately:
Q: Lab ID? (e.g., lb2298)
Auto-set from event:
| Event | event_name | category override | Brand_Event label | keywords auto-added |
|---|---|---|---|---|
| Summit 2026 | summit-2026 | Brand_Events | Red_Hat_Summit_2026 | summit-2026, <lab-id> |
| RH One 2026 | rh1-2026 | Brand_Events | Red_Hat_One_2026 | rh1-2026, <lab-id> |
| Other | <entered> | Brand_Events | (ask user) | <event-name>, <lab-id> |
| No event | none | (from Q1) | (omit) | (none) |
Question 3 β Technologies:
Q: What technologies will users learn or see? (comma-separated)
Examples: ansible, openshift ai, pipelines, gitops, kubevirt
Technologies:
Store: event_name, lab_id, catalog_type, category, technologies.
Naming standards (applied automatically from here):
| Item | Pattern | Example |
|---|---|---|
| AgnosticV directory (event) | <event-name>/<lab-id>-<short-name>-<cloud_provider> β€ 50 chars | summit-2026/lb1234-ocp-fish-swim-aws |
| AgnosticV directory (no event) | <subdirectory>/<short-name> β€ 50 chars | agd_v2/ocp-fish-swim |
| Showroom repo | <short-name>-showroom | ocp-fish-swim-showroom |
| Slack channel (event) | <event-name>-<lab-id>-<short-name> | summit-2026-lb1234-ocp-fish-swim |
All GitHub repositories must be in github.com/rhpds.
Silently search agd_v2/ and openshift_cnv/ using technologies from Step 1. Read each result's config: field to show infra type.
grep -rl "$technologies" "$AGV_PATH/agd_v2/" "$AGV_PATH/openshift_cnv/" \
--include="common.yaml" -l 2>/dev/null \
| xargs -I{} dirname {} | head -5
Show results with infra type β ask ONE question:
π Found similar catalogs:
1. agd_v2/ansible-aap-workshop/ [OCP cluster]
ββ Ansible Automation Platform Self-Service
2. openshift_cnv/ocp-cnv-kubevirt-demo/ [OCP cluster]
ββ KubeVirt Virtualization Demo
3. agd_v2/vllm-playground-aws/ [RHEL/AAP VMs]
ββ vLLM Playground on AWS
Would you like to use one of these as a reference? [Y/n]
If YES: Which one? Enter number:
Read that catalog's common.yaml:
config: field β auto-set infra type (openshift-workloads β OCP, cloud-vms-base β VMs)If NO or none found: Proceed to Step 3 and ask all questions including infra type.
Category is already determined from Step 1. Confirm internally:
| Type answered in Step 1 | Event? | Category set |
|---|---|---|
| Lab multi-user | Yes | Brand_Events |
| Lab single-user / admin-only | Yes | Brand_Events |
| Demo | Yes | Brand_Events |
| Lab multi-user | No | Labs |
| Lab single-user / admin-only | No | Labs |
| Demo | No | Demos |
| Sandbox | No | Sandboxes |
multiuser: Lab multi-user β true, all others β false.
π UUID Generation
Every catalog needs a unique RFC 4122 compliant UUID.
Generating UUID...
Generate and validate:
# Generate lowercase UUID
new_uuid=$(uuidgen | tr '[:upper:]' '[:lower:]')
# Check for collisions
echo "Generated: $new_uuid"
echo "Checking for collisions..."
# Search all common.yaml files
grep -r "asset_uuid: $new_uuid" $AGV_PATH/ --exclude-dir=.git
if [[ $? -eq 0 ]]; then
echo "β οΈ Collision detected! Regenerating..."
# Regenerate until unique
fi
Ask sequentially β ONE question at a time.
Question A β Infrastructure type gate:
SKIP if infra type was determined from reference catalog in Step 2. If no reference, ask once β then follow the appropriate question file:
ποΈ What type of infrastructure?
1. OpenShift cluster (OCP β workshops, demos on OpenShift)
2. RHEL / AAP VMs (cloud-vms-base β RHEL demos, AAP, non-OCP)
3. Sandbox API CI (shared OCP cluster + per-tenant deployments)
Choice [1/2/3]:
BRANCH 1: OpenShift cluster
β Follow @agnosticv/docs/ocp-catalog-questions.md for Steps 3B through 8.
That file covers: cluster size, OCP version, pool, autoscale, AWS gate, authentication, OCP workloads, LiteMaaS, collection versions, Showroom (with console embed), and multi-user config.
Return here for Step 7 when complete.
BRANCH 2: RHEL / AAP VMs β cloud-vms-base
β Follow @agnosticv/docs/cloud-vms-base-catalog-questions.md for Steps 3B through 8.
That file covers: CNV or AWS gate, RHEL image, sizing, port exposure, authentication skip, VM workloads, VM showroom (no console embed), and multi-user isolation warning.
Return here for Step 7 when complete.
BRANCH 3: Sandbox API CI
Ask:
Which half of the Sandbox API CI pair are you creating?
1. Cluster CI β provisions the shared OCP cluster sized for N tenants
(config: openshift-workloads, cloud_provider: none)
2. Tenant CI β deploys per-user workloads on a pre-configured cluster
(config: namespace, targets cluster via sandbox labels)
Choice [1/2]:
BRANCH 3A: Cluster CI
β Follow @agnosticv/docs/sandbox-cluster-ci-questions.md for Steps 3B through 8.
Return here for Step 7 when complete.
BRANCH 3B: Tenant CI
β Follow @agnosticv/docs/sandbox-tenant-ci-questions.md for Steps 3B through 8.
Return here for Step 7 when complete.
π Catalog Details
Q: Display name (appears in RHDP UI):
Example: Ansible Automation Platform with OpenShift Artificial_Intelligence
Name:
Q: Short name (lowercase, hyphens, descriptive):
Example: ansible-aap-ai-workshop
Short name:
Q: Brief description (1-2 sentences):
This appears in the catalog listing.
Description:
Q: Maintainer name and email?
This goes into __meta__.owners.maintainer
Example: Wolfgang Kulhanek / wkulhanek@redhat.com
Name:
Email:
Validate directory name before writing any files:
# 1. Length check β platform limit is 52 chars; skill enforces 50 (per JK)
dir_name="<full-directory-name>" # e.g. lb1234-ocp-fish-swim-aws
if [ ${#dir_name} -gt 50 ]; then
echo "β Directory name too long (${#dir_name} chars, max 50): $dir_name"
echo "Shorten the short name and try again."
exit 1
fi
# 2. Uniqueness check β must not already exist in AgV repo
if find "$AGV_PATH" -maxdepth 2 -type d -name "$dir_name" 2>/dev/null | grep -q .; then
echo "β οΈ Directory '$dir_name' already exists in AgnosticV repo"
echo "Choose a different name."
exit 1
fi
Tell the developer how many characters the proposed name uses: "Directory name: {dir_name} ({N}/50 chars) β" or flag it before proceeding.
If no Showroom repo was provided in Step 6, show creation instructions and pause:
π Create Showroom Repository (Showroom 1.5.4+ REQUIRED)
1. Create a new empty GitHub repo in github.com/rhpds
Naming: {short-name}-showroom
2. Clone it locally and run: /showroom:create-lab --new
Creates: default-site.yml, ui-config.yml, supplemental-ui/,
content/lib/, .github/workflows/gh-pages.yml
Reference: https://github.com/rhpds/lb2298-ibm-fusion
β οΈ Do NOT use showroom_template_nookbag β it is pre-1.5.4.
βΈοΈ Re-run this skill once the Showroom repo is ready.
If Showroom repo URL was already provided in Step 6, skip this step.
Ask about custom Ansible collection:
Q: Will this catalog use a custom Ansible collection? [Y/n]
βΉοΈ Custom collections are needed when:
- Creating new workloads specific to this catalog
- Sharing workload logic across multiple catalogs
- Building reusable automation components
If YES:
Collection naming: rhpds.{short-name}
Repository: https://github.com/rhpds/rhpds.{short-name}
Note:
- Collection must be created in github.com/rhpds organization
- Will be added to requirements_content in common.yaml
- Use this for catalog-specific workloads
Example structure:
rhpds.{short-name}/
βββ galaxy.yml
βββ roles/
β βββ ocp4_workload_{catalog_feature}/
βββ README.md
If NO:
β Using standard collections only (agnosticd.core_workloads, agnosticd.showroom, etc.)
Now generate all four files:
Read the template at @agnosticv/skills/catalog-builder/templates/common.yaml.template and use it as the base structure. Replace all <placeholders> with actual values collected from the user in previous steps.
Step 1 β Look for a real catalog in the AgnosticV repo first:
Read CLAUDE.md to find the AgnosticV repo path (look for AgnosticV: in Repository Locations). Then find an existing catalog that matches the same infra type:
# Find a similar existing catalog by config type
grep -rl "config: <type>" <agv_path>/**/common.yaml 2>/dev/null | head -3
Read that real catalog as the primary reference β it reflects current patterns and conventions actually in use. Prefer this over the bundled examples below.
Step 2 β Fall back to bundled examples if no real catalog found:
@agnosticv/skills/catalog-builder/examples/ocp-demo/ β OCP openshift-workloads via CNV pool@agnosticv/skills/catalog-builder/examples/ocp-cnv/ β OCP via openshift_cnv pool@agnosticv/skills/catalog-builder/examples/ocp-aws/ β OCP via AWS pool (Route53 includes)@agnosticv/skills/catalog-builder/examples/cloud-vms-base/ β RHEL VMs on AWS@agnosticv/skills/catalog-builder/examples/published-virtual-ci/ β Virtual CI structure (MODE 4)@agnosticv/skills/catalog-builder/examples/sandbox-tenant/ β Sandbox API Tenant CI (config: namespace)@agnosticv/skills/catalog-builder/examples/sandbox-cluster/ β Sandbox API Cluster CI (config: openshift-workloads, cloud_provider: none, num_users: 0)Also available β official test examples in the AgnosticV repo:
~/work/code/agnosticv/tests/ex-multi-user-ocp-tenant/ β canonical tenant CI pattern (Nate Stephany)~/work/code/agnosticv/tests/ex-multi-user-ocp-cluster/ β canonical cluster CI pattern (Nate Stephany / Judd Maltin)Developer Guidelines (naming, meta rules, FTL requirement): @agnosticv/skills/catalog-builder/references/developer-guidelines.md
CRITICAL β Workload variable names must be verified, never invented:
Before generating any ocp4_workload_X_* variable block, find the role's actual defaults/main.yml:
1. Check if collection is cloned locally (from CLAUDE.md or common paths):
find ~/work/code -name "defaults" -path "*/{role_name}/*" 2>/dev/null | head -3
2. If not local β shallow-clone to /tmp to read defaults:
# Get repo URL from requirements_content.collections in common.yaml
git clone --depth=1 --filter=blob:none --sparse {collection_repo_url} /tmp/collection-verify/
cd /tmp/collection-verify && git sparse-checkout set roles/{role_name}/defaults
3. Read defaults/main.yml β only use variable names that actually exist there. Do not guess or invent names.
4. If clone fails β use the bundled examples above as reference, or ask:
I cannot verify variable names for {workload} without access to the collection.
Please confirm: which variables from this workload do you want to set?
(Check the role's defaults/main.yml in {collection_repo_url})
Never invent a variable name. If unsure, ask β do not guess.
CRITICAL β File structure: requirements_content must be near the top:
Place requirements_content (collections list) and workloads immediately after the mandatory vars section β before passwords, bastion config, and workload-specific variables. It must appear within the first 200 lines of common.yaml.
This is a platform standard enforced by the validator (Check 22). Burying collections at line 400+ in a large config makes troubleshooting harder β reviewers need to see what collections are in use immediately.
# CORRECT β collections near the top, right after mandatory vars
---
#include /includes/...
config: openshift-workloads
cloud_provider: none
tag: main
requirements_content: # β HERE, before everything else
collections:
- name: https://github.com/agnosticd/core_workloads.git
type: git
version: "{{ tag }}"
workloads: # β immediately after collections
- agnosticd.core_workloads.ocp4_workload_...
# passwords, bastion, workload vars below...
# WRONG β collections buried in the middle:
# [500 lines of workload config]
# requirements_content: β not visible without scrolling
CRITICAL β Password generation:
Always use the lookup('password') pattern. Never use hash/GUID-based passwords and never use plain static strings. A hardcoded value like password: "ansible123!" is an ERROR (validator Check 19).
Each password variable must use a unique file path β two variables with the same path generate identical passwords.
# CORRECT β unique path per variable
common_admin_password: >-
{{ lookup('password', output_dir ~ '/common_admin_password', length=12, chars=['ascii_letters', 'digits']) }}
common_user_password: >-
{{ lookup('password', output_dir ~ '/common_user_password', length=12, chars=['ascii_letters', 'digits']) }}
# WRONG β same path = same password value for both variables
# common_admin_password: >-
# {{ lookup('password', output_dir ~ '/common_password', ...) }}
# common_user_password: >-
# {{ lookup('password', output_dir ~ '/common_password', ...) }} β identical!
# WRONG β hash/GUID patterns never allowed:
# common_password: "{{ guid | hash('sha256') }}"
# common_password: "{{ (guid[:5] | hash('md5') | int(base=16) | b64encode)[:8] }}"
# WRONG β plain static string never allowed:
# common_password: "ansible123!"
# admin_password: "redhat"
CRITICAL β Image tagging (prod/event catalogs):
All container image references must use explicit pinned version tags. Never use :latest, :main, :master, or no tag at all in prod or event catalogs. This is enforced by validator Check 23.
# CORRECT
image: quay.io/agnosticd/ee-multicloud:chained-2025-12-17
# WRONG β unacceptable in prod/event
# image: quay.io/someorg/sometool:latest
# image: quay.io/someorg/sometool # no tag
CRITICAL β Tenant catalogs (config: namespace) β Showroom namespace:
Never add ocp4_workload_showroom_namespace or a showroom suffix entry in ocp4_workload_tenant_namespace_namespaces. The Showroom workload creates and manages its own namespace β students only get a route.
Auto-add #include lines at the top β only what's needed:
CRITICAL β Avoid duplicate includes (causes include loop):
Before adding any #include line, check if it already appears in:
account.yaml (e.g. summit-2026/account.yaml)account.yamlcommon.yaml itselfIf an include is already present in any of these files, do NOT add it again β AgnosticV will error with "included more than once / include loop". This applies to ALL includes, not just event restriction includes.
Standard boilerplate (always):
Icon include β conditional on infra type:
#include /includes/catalog-icon-openshift.yamlQ: Which product icon should this catalog use?
1. catalog-icon-openshift.yaml (OpenShift)
2. catalog-icon-rhel.yaml (RHEL)
3. catalog-icon-aap.yaml (Ansible Automation Platform)
Use the answer in the include line below.#include /includes/agd-v2-mapping.yaml
#include /includes/catalog-icon-<chosen>.yaml
#include /includes/terms-of-service.yaml
#include /includes/parameters/purpose.yaml
#include /includes/parameters/salesforce-id.yaml
#include /includes/secrets/ocp4_token.yaml
#include /includes/secrets/demosat-rhel-9-10-latest.yaml
Event restriction (event catalogs β in common.yaml until event.yaml is created):
Before adding: check if the event directory already has an account.yaml that includes the restriction:
grep "access-restriction-summit-devs" $AGV_PATH/summit-2026/account.yaml 2>/dev/null
account.yaml: do NOT add to common.yaml β it would create an include loop errorcommon.yaml:#include /includes/access-restriction-summit-devs.yaml # summit-2026
#include /includes/access-restriction-rh1-2026-devs.yaml # rh1-2026
AWS only (CNV pool handles cert_manager and auth β AWS needs explicit Route53/letsencrypt):
#include /includes/aws-sandbox-meta.yaml
#include /includes/parameters/aws-regions-standard.yaml
#include /includes/secrets/letsencrypt_with_zerossl_fallback.yaml
LiteMaaS (added automatically if user answers YES in Step 5):
#include /includes/secrets/litemaas-master_api.yaml # LiteLLM API URL + master key
#include /includes/parameters/litellm_metadata.yaml # LiteLLM metadata (model list, endpoints)
Workload-specific secrets not in pool (e.g. ibm-fusion.yaml, partner credentials) β add manually, leave TODO comment otherwise.
---
# -------------------------------------------------------------------
# Purpose - Cost tag. One of development, ilt, production, event
# -------------------------------------------------------------------
purpose: development
__meta__:
deployer:
scm_ref: main
scm_type: git
Note: dev.yaml is minimal β only overrides scm_ref and sets purpose tag for cost tracking.
__meta__ block for common.yaml (REQUIRED β ask sequentially)This block goes into common.yaml, not dev.yaml. The __meta__ block is generated based on all information collected. Use the following rules exactly.
NEVER define anarchy.namespace β it is set at the top level of AgV now. Omit it entirely.
Ask: deployer actions (for workloads that touch resources OUTSIDE the cluster/sandbox):
Q: Does any workload in this catalog deploy or configure something
outside the provisioned environment? (e.g., external DNS,
cloud resources, external registries, shared services) [Y/n]
If YES: which lifecycle actions should be disabled?
- start (disable if base component already handles cluster start)
- stop (disable if base component already handles cluster stop)
Note: remove_workloads is controlled separately via sandbox_api below β not here.
All default to false. Only set true to DISABLE that action.
Generate only the actions the user marks true:
__meta__:
deployer:
actions:
stop:
disable: true # only if user said yes
start:
disable: true # only if user said yes
If user says No or unsure β omit deployer.actions entirely.
deployer.ee β use the current chained EE image:
deployer:
scm_url: https://github.com/agnosticd/agnosticd-v2
scm_ref: main
execution_environment:
image: quay.io/agnosticd/ee-multicloud:chained-2026-02-23
pull: missing
sandbox_api and deployer.actions β branch by CI type:
Sandbox API Cluster CI (Branch 3A): Auto-set β do not ask:
deployer:
actions:
status:
disable: true
update:
disable: true
Omit sandbox_api entirely (Cluster CI does not run remove_workloads).
Sandbox API Tenant CI (Branch 3B): Auto-set β do not ask:
sandbox_api:
actions:
destroy:
catch_all: false # allows remove_workloads to run before sandbox release
deployer:
actions:
status:
disable: true
update:
disable: true
Standard OCP / RHEL+AAP catalogs: Ask as before:
Q: Do you want remove_workloads to run when the environment is destroyed?
remove_workloads cleans up everything the workloads installed when a user
deletes their environment. This is usually what you want.
Set to NO only if your workload deployed something that should persist
after destroy (e.g., data in an external system, a shared service, etc.)
Run remove_workloads on destroy? [Y/n] (default: Yes)
sandbox_api entirely (catch_all defaults to true) sandbox_api:
actions:
destroy:
catch_all: false
catalog.reportingLabels β always ask:
Q: What is the primary business unit (primaryBU)?
Valid values (from @agnosticv/docs/constants.md):
- Hybrid_Platforms
- Artificial_Intelligence
- Automation
- Application_Developer
- RHEL
- Edge
- RHDP
primaryBU:
Q: Secondary BU? (optional, type 'skip' or enter a value)
secondaryBU:
catalog.labels.Brand_Event β auto-set from event selection (Step 0.5):
| Event | Value |
|---|---|
| summit-2026 | Red_Hat_Summit_2026 |
| rh1-2026 | Red_Hat_One_2026 |
| No event | (omit entirely) |
catalog.keywords β build from event + lab ID + user input:
Q: What specific keywords describe this catalog? (3-4 max)
Rules:
- 3-4 keywords maximum β more dilutes search relevance
- Use specific technology or topic terms only
- Do NOT use generic words already implied by category or title:
β workshop, demo, lab, sandbox, openshift, ansible, rhel, tutorial
β ibm-fusion, cnv, kubevirt, rag, llm, leapp, mcp, cnpg, tekton
Examples: ibm-fusion, cnv, kubevirt
leapp, rhel-upgrade
mcp, librechat, gitea
Keywords:
Auto-add event keywords silently (user should not add these manually):
summit-2026 and <lab-id>rh1-2026 and <lab-id>Validate before writing: If user provides more than 4 keywords or includes generic terms, ask them to trim/replace before proceeding.
catalog.labels.Product and Product_Family β ask:
Q: What is the primary Red Hat product featured in this catalog?
This goes into catalog.labels.Product
Common values:
- Red_Hat_OpenShift_Container_Platform
- Red_Hat_Ansible_Automation_Platform
- Red_Hat_OpenShift_AI
- Red_Hat_Enterprise_Linux
Product:
Q: Product family?
Common values: Red_Hat_Cloud, Red_Hat_Automation, Red_Hat_Linux
Product_Family:
catalog.workshopLabUiRedirect β already set by the infra reference file (Step 8). Do not ask again.
true by ocp-catalog-questions.mdFull __meta__ output:
__meta__:
asset_uuid: <auto-generated>
owners:
maintainer:
- name: <maintainer name from Step 7>
email: <maintainer email from Step 7>
instructions:
- name: TBD
email: tbd@redhat.com
deployer:
scm_url: https://github.com/agnosticd/agnosticd-v2
scm_ref: main
execution_environment:
image: quay.io/agnosticd/ee-multicloud:chained-2026-02-23
pull: missing
# actions: # Only add if workload touches external resources
# stop:
# disable: true
# start:
# disable: true
# sandbox_api: # Only add if remove_workloads should be skipped
# actions:
# destroy:
# catch_all: false
catalog:
reportingLabels:
primaryBU: <primaryBU from Step 9.2a>
# secondaryBU: <optional>
namespace: babylon-catalog-{{ stage | default('?') }}
display_name: "<display name from Step 7>"
category: <auto from Step 1>
keywords:
- <event_name> # auto: summit-2026 or rh1-2026 (event catalogs only)
- <lab_id> # auto: lbxxxx (event catalogs only)
- <user keywords split from comma-separated input>
labels:
Product: <Product from Step 9.2a>
Product_Family: <Product_Family from Step 9.2a>
Provider: RHDP
# Brand_Event: Red_Hat_Summit_2026 # auto-set for event catalogs
multiuser: <auto from Step 1>
workshop_user_mode: <auto from Step 1: multi | single | none>
# workshopLabUiRedirect: true # auto-set for multi-user labs
For no-event catalogs: omit Brand_Event label and event keywords.
Ask for description content:
π Description Generation
I can extract description content from your Showroom, or you can provide it manually.
Q: Do you want me to extract from Showroom content? [Y/n]
If YES and Showroom URL provided:
# Clone showroom temporarily
temp_dir=$(mktemp -d)
git clone <showroom-url> "$temp_dir"
# Extract modules
find "$temp_dir/content/modules/ROOT/pages" -name "*.adoc" | sort
# Read module titles
grep "^= " "$temp_dir/content/modules/ROOT/pages"/*.adoc
Read the template and examples at @agnosticv/skills/catalog-builder/templates/description.adoc.template. Follow Nate's RHDP format exactly -- the template includes key guidelines and two real examples (demo + workshop).
π§ Info Message Template
This template displays user data after deployment.
Q: Does your catalog use agnosticd_user_info to share data? [Y/n]
If YES:
Q: What data keys does your workload share via agnosticd_user_info.data?
Examples:
- litellm_api_base_url
- litellm_virtual_key
- grafana_admin_password
Data keys (comma-separated):
Read the template at @agnosticv/skills/catalog-builder/templates/info-message.adoc.template. It includes both variants (with and without user data) and explains how agnosticd_user_info works.
If event was selected (summit-2026 or rh1-2026):
Auto-generate path from event, lab ID, short name, and cloud provider. No question needed.
# Pattern: <event-name>/<lab-id>-<short-name>-<cloud_provider>
# Example: summit-2026/lb2298-ocp-fish-swim-aws
directory_name="${lab_id}-${short_name}-${cloud_provider}"
catalog_path="$AGV_PATH/${event_name}/${directory_name}"
Show the user what will be created:
π Catalog path (from event + naming standards):
summit-2026/lb2298-ocp-fish-swim-aws
Using: $catalog_path
If no event (standard catalog):
π Catalog Directory Path
Q: Which subdirectory should I create the catalog in?
Common options:
- agd_v2 (standard catalogs)
- openshift_cnv (CNV-based catalogs)
- sandboxes-gpte (sandbox catalogs)
- published (Virtual CIs)
Enter subdirectory (e.g., agd_v2):
catalog_path="$AGV_PATH/$subdirectory/$short_name"
Validate doesn't exist:
if [[ -d "$catalog_path" ]]; then
echo "β οΈ Directory already exists: $catalog_path"
echo "Choose a different name or location."
exit 1
fi
πΎ Writing Files
Creating catalog directory: $catalog_path
Writing:
β common.yaml
β dev.yaml
β description.adoc
β info-message-template.adoc
Execute:
mkdir -p "$catalog_path"
# Write all four files
cat > "$catalog_path/common.yaml" <<'EOF'
<generated-content>
EOF
cat > "$catalog_path/dev.yaml" <<'EOF'
<generated-content>
EOF
cat > "$catalog_path/description.adoc" <<'EOF'
<generated-content>
EOF
cat > "$catalog_path/info-message-template.adoc" <<'EOF'
<generated-content>
EOF
π Ready to Commit
Files created in: $catalog_path
Q: Commit these changes? [Y/n]
If YES:
# Get relative path from AgV root for commit message
rel_path="${catalog_path#$AGV_PATH/}"
cd "$AGV_PATH"
git add "$rel_path/"
git commit -m "Add $directory_name catalog
- Category: $category
- Infrastructure: $cloud_provider ($sandbox_architecture)
- Workloads: $num_workloads selected
- UUID: $asset_uuid
- Path: $rel_path"
current_branch=$(git rev-parse --abbrev-ref HEAD)
echo "β Committed to branch: $current_branch"
echo ""
echo "Next steps:"
echo " 1. Test locally: cd $rel_path && agnosticv_cli dev.yaml"
echo " 2. Run validator: /agnosticv-validator"
echo " 3. Create PR: git push origin $current_branch && gh pr create --fill"
Generate or update description.adoc from Showroom content. Reads ALL .adoc modules locally β no GitHub API.
β Full workflow: @agnosticv/skills/catalog-builder/references/mode-2-description.md
Ask for catalog path and agnosticd_user_info data keys, then generate info-message-template.adoc.
β Full workflow: @agnosticv/skills/catalog-builder/references/mode-3-info-message.md
Create Virtual CI in published/ from base component. Uniqueness check, UUID, dev restriction, prod.yaml pinning, bulk processing.
β Full workflow: @agnosticv/skills/catalog-builder/references/mode-4-virtual-ci.md
/agnosticv:validator -- Validate catalog configurations after creation