Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
d8142ab
Add the extensibility tools, the POC Server sample content, and the f…
mbomb67 Oct 19, 2026
34d0abd
Fix the scorecard's remote-script and power-action evidence and repor…
mbomb67 Oct 19, 2026
87b5591
Use the os_families relation when the scorecard counts remote scripts
mbomb67 Oct 19, 2026
419b6e5
Add onb_sync_images and make OS build import read the image caches
mbomb67 Oct 19, 2026
91f9d57
Let onb_import_os_build search the cache without an OS build name
mbomb67 Oct 19, 2026
43477f9
Pass os_build_name when onb_import_os_build reuses an existing OS build
mbomb67 Oct 19, 2026
86d5e8a
Map use_whitelist to false on the cache rule and job that onb_sync_im…
mbomb67 Oct 19, 2026
5815b9c
Fix the setup runbook import call and say how to test the toolkit fro…
mbomb67 Oct 19, 2026
586effa
Add the appliance certificate step and how to trust it in Claude to t…
mbomb67 Oct 21, 2026
b484ad1
Download and trust the appliance certificate in one block per OS in t…
mbomb67 Oct 21, 2026
75fb6a4
Say how to install the Content Package Manager in the POC setup runbo…
mbomb67 Oct 21, 2026
feaf6ad
Install the POC toolkit only through the Content Package Manager
mbomb67 Oct 21, 2026
198f426
Use the plain repository URL, without .git, in the POC setup steps
mbomb67 Oct 21, 2026
faec6dd
Remove the branch-testing note from the customer setup runbook
mbomb67 Oct 21, 2026
d3d197f
Clone the repository and add the MCP server with user scope in the PO…
mbomb67 Oct 23, 2026
24c0742
Lead the POC onboarding one ask at a time
mbomb67 Oct 23, 2026
868bc30
Ask through an inline form or question picker when the client offers one
mbomb67 Oct 23, 2026
4058d64
Send new resource handlers to the Setup Wizard technology chooser
mbomb67 Oct 23, 2026
3ae7639
Guide the handler form's second screen and start Phase 2 from its env…
mbomb67 Oct 23, 2026
3b0f4a2
Describe both handler form screens for every technology the chooser o…
mbomb67 Oct 23, 2026
f738425
Store the region on imported AMIs and verify every environment resolv…
mbomb67 Oct 23, 2026
6fa5baf
Prove each onboarding step before the next, and create the POC group …
mbomb67 Oct 23, 2026
e1cc234
Keep one image per OS build per handler, and use CloudBolt's 00X host…
mbomb67 Oct 28, 2026
8c243ab
Declare onb_replace_existing in the import plugin's own inputs
mbomb67 Oct 28, 2026
4efa3cd
Shorten the onb_replace_existing label to fit CloudBolt's 50-characte…
mbomb67 Oct 28, 2026
db42a25
Set up each environment's networks and IP addressing before the first…
mbomb67 Oct 28, 2026
d91ef2b
Validate the pool range and IPAM endpoint before writing network sett…
mbomb67 Oct 28, 2026
5a9c028
Create only the AWS VPC the POC uses instead of one environment per VPC
mbomb67 Oct 28, 2026
8c217fe
Import the package again before syncing a toolkit update
mbomb67 Oct 28, 2026
90cdc81
Match plugin input texts to their MCP tool actions
mbomb67 Oct 28, 2026
f759ea3
Route hostname templates through onb_configure_custom_server
mbomb67 Oct 28, 2026
8d867f2
Make onb_parameter set the global required flag
mbomb67 Oct 28, 2026
499dcdb
Offer to delete servers that failed orders leave behind
mbomb67 Oct 29, 2026
b0f0db4
Link to full pages instead of bare dialog forms
mbomb67 Oct 29, 2026
3591c2f
Point onb_status's new LDAP link at the LDAP list
mbomb67 Oct 29, 2026
afdc421
Give each POC user's password step its own link
mbomb67 Oct 29, 2026
1608f9a
List POC users' password steps oldest first
mbomb67 Oct 29, 2026
4bdbd17
Link handler fixes, cache jobs and rules to their own pages
mbomb67 Oct 29, 2026
ce30054
Have the admin add POC users in the UI with their password
mbomb67 Oct 29, 2026
1857183
Ask the admin for each POC user's email address
mbomb67 Nov 9, 2026
adabb65
Read environment entitlement from Group.environments
mbomb67 Nov 9, 2026
c6f3348
Leave the Unassigned placeholder out of environment group counts
mbomb67 Nov 9, 2026
e57ef9a
Drop POC from content names; Standard Server with application and mai…
mbomb67 Nov 9, 2026
a20e714
Use backup policy examples in onb_parameter's inputs
mbomb67 Nov 9, 2026
adb63fd
Say how to close a blueprint to other groups for 2.3.2
mbomb67 Nov 9, 2026
a3c3760
Let manage_blueprint_permissions turn Any group can deploy on and off
mbomb67 Nov 9, 2026
d67356f
Shorten grant_action's label to CloudBolt's 50-character limit
mbomb67 Nov 9, 2026
41417f6
Guide the key pair's private key upload before the first order
mbomb67 Nov 9, 2026
16f0966
Fix the 2026-11-10 onboarding run's defects; guest access in Phase 2
mbomb67 Nov 10, 2026
9274c49
Hint the SSH client and WinRM failures; show each vCenter script path
mbomb67 Nov 10, 2026
e9aaba9
Merge 89b30311e282dd4984189466feac8a0bca86bdec and regenerate the cat…
mbomb67 Nov 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
119 changes: 119 additions & 0 deletions .claude/skills/cb-onboarding/SKILL.md

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions .claude/skills/cb-onboarding/references/bootstrap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Phase 0: Bootstrap

Goal: the agent is connected to the appliance as a CloudBolt admin with write scope, the Onboarding Toolkit is installed and synchronous, and the prerequisites the appliance already proves are recorded.

## 1. Connection

1. Call `fetch_identity`. It must return a user with `superAdmin` or `cmpAdmin` true. If it fails, the client is not connected or not authenticated: the appliance's MCP endpoint is `https://<appliance>/mcp` (no trailing slash), Streamable HTTP, OAuth 2.1 with browser login. In Claude Code: `claude mcp add --transport http --scope user cloudbolt https://<appliance>/mcp`, then `/mcp`, choose the server, authenticate as the admin. Without `--scope user` the server is tied to the folder the command ran in and is missing from `/mcp` elsewhere: re-add it with `--scope user`. Other clients: add the same URL as a remote MCP server and complete the OAuth login. A TLS error (`self signed certificate in certificate chain`, a certificate altnames mismatch) means the appliance certificate is not trusted yet; the agent cannot fix it over MCP. Send the user to section 2 of [docs/onboarding-setup.md](../../../../docs/onboarding-setup.md): replace the certificate as root on the appliance, set `NODE_EXTRA_CA_CERTS`, restart the client.
2. The token must carry `write` scope. If every write or custom tool fails with a scope error, the client requested `read` only; reconnect and grant write when the consent page asks.
3. The API token on the user profile page and the `/api/v3/cmp/apiToken/` token do not work for `/mcp`; only the OAuth login does.
4. `fetch_dashboard_link` gives the portal base URL; confirm with the user that it is the appliance they mean.

## 2. Toolkit install (one-time manual step, then agent-driven)

Call `fetch_mcp_tool_actions`. If `onb_status` is missing, the toolkit is not installed. The sync tool cannot install itself, so the user installs it once in the UI through the Content Package Manager. Walk them through section 4 of [docs/onboarding-setup.md](../../../../docs/onboarding-setup.md): add the Source Code Repository `https://github.com/mbomb67/cloudbolt-as-code` (GitHub, no credentials), add the UI extension `extensions/XUI-iq65xgvr` from it, restart httpd as root, then Import from repository and Sync the package **Onboarding Toolkit** (`PKG-8aaadefz`). Every tool, the Standard Server blueprint and the echo webhook arrive together. If the Content Packages page is missing after the extension sync, httpd has not been restarted.

After the import every tool is asynchronous (the importer leaves Synchronous Action off). Run `onb_install` (asynchronous itself, so it works now): `run_mcp_tool_action("onb_install", {})`, poll the job id with `fetch_job`, read `outputs.changed`, `outputs.missing`, `outputs.egress`. Tell the user to reconnect the MCP client (tool lists are cached per session), then call `fetch_mcp_tool_actions` again: every `onb_` name from [SKILL.md](../SKILL.md) must be present. Check: `run_mcp_tool_action("onb_status", {})` answers inline.

Later toolkit updates: the user runs Import from repository again for Onboarding Toolkit (Sync alone uses the member list saved at the last import and misses new tools), then Sync with Refresh checked (section 7 of the setup doc), then `onb_install`, then reconnects the MCP client.

## 3. First status

Call `onb_status`. Tell the user in two sentences what is already in place and what comes next. Do not read the whole inventory unless they ask for it.

## 4. Prerequisites

Record what the appliance already proves, without asking, and mention it in one sentence: P1 from `onb_status.license`, P2 because `fetch_identity` works, P5 from `onb_status.contentLibrary.reachable`, P6 from `preferences.proxy` (not applicable when no proxy is needed). When P5 is false, that becomes the next single ask: the proxy link (`onb_ui_link proxy`), or skip, which shrinks Phase 8.

Ask nothing else up front. Each remaining prerequisite is one question, asked when the step that needs it starts (rule 1 in [SKILL.md](../SKILL.md)), and recorded with `onb_set_item_status` right after the answer:

| Id | Prerequisite | Asked or proven at |
|---|---|---|
| P3 | One or two resource handlers, one environment each | Phase 1 asks for the first cloud, and for a second only after the first is verified; Phase 2 records it |
| P4 | Custom Server deployed once in each environment | Phase 3, from the order |
| P7 | SMTP relay | Phase 5, before the first approval email |
| P8 | DNS record for a branded portal | Phase 6, branded portal step |
| P9 | SSO application and an SSO SME | Phase 6, SSO step |
| P10 | AD or LDAP service account and a mapping group DN | Phase 6, LDAP step |
| P11, P12 | Ansible, Terraform in a git repository | Phase 8, last step (both weight 0) |

Then start Phase 1 ([resource-handlers.md](resource-handlers.md)) with its first ask.
50 changes: 50 additions & 0 deletions .claude/skills/cb-onboarding/references/handler-forms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Handler forms by technology

What the user fills on each screen of the Add resource handler modal, per technology, read from the CloudBolt source (2026.3). Use it for Phase 1 steps 2 and 3 in [resource-handlers.md](resource-handlers.md): one action message per handler that covers both screens.

## How the modal works

- **Screen 1, credentials.** Continue checks the connection. When it passes, CloudBolt saves the handler under a default name, so closing the modal after this point leaves a handler without settings; send its edit link (`handler_edit:RH-...`) to finish. When it fails, the form shows only "Unable to connect to handler with the information provided"; SCVMM shows the real error.
- **Screen 2, settings.** Done saves. Some technologies create environments here, some create one environment named after the handler, some create none. For those, Phase 2 imports the POC location with `onb_handler_locations` and `onb_import_environments`; when the tools cannot list that technology's locations, send the handler page (`onb_ui_link` with the RH- id) and name the tab from the table as the single ask.
- **Every secret is typed in the form**, never in chat (SKILL.md rule 2).
- **Leave these as they are wherever they appear:** Tenant on screen 1 (unless the POC uses CloudBolt tenants), and on screen 2 Name (prefilled; renaming is fine), Description, VM Names to Ignore, VM Tags to Include, VM folder filters, Console feature, Split by region or cluster, Job Labels.
- **AWS closes screen 2.** On AWS, AWS GovCloud, AWS China and AWS JIT, Done creates one environment for every VPC in the chosen region. The POC needs one, so the user closes screen 2 with the X instead of clicking Done; the handler was saved by Continue. The agent then lists the region's VPCs and imports the one the user picks (Phase 1 step 5).
- **The "where" question.** Every environment is one more to set up and test, so ask for the one region, location, cluster or project the POC needs; more can be added after the POC passes. When screen 2 has a required region, location, cluster, project or datacenter field, ask for it before sending the link (Phase 1 step 2). When screen 2 has nothing to set, skip that question; the second-screen sentence is "On the second screen, leave everything as it is and click Done."

## Shown in the chooser by default

| Tile (slug) | Screen 1: what to enter | Screen 2: what to set | Environments on Done |
|---|---|---|---|
| Amazon Web Services (`aws`) | Credentials Type Account Credentials; Authentication Type Access & Secret Key; Access Key ID; Secret Access Key (secret); SSL Verification on | Nothing: close it with the X, do not click Done (Available Regions would create one environment per VPC) | None: the agent imports the one VPC the user picks, with the Name and Annotation tags |
| AWS GovCloud (US) (`aws_govcloud`), AWS China (`aws_china`) | Access Key ID; Secret Access Key (secret); IAM Role ARN only if one is assumed. GovCloud also offers optional commercial-account keys | Same as AWS: close it with the X | Same as AWS |
| Azure (`azure_arm`) | Cloud Environment Public (Default); Subscription ID; Application ID (the app's client id); Directory ID (the tenant id); Authentication Key = the client secret value (secret) | **Import locations** (required): the POC location only. Leave Azure Disk Name Template empty | A job creates one per location, then syncs networks |
| VMware vCenter (`vmware`) | IP address (the vCenter FQDN); Port 443; Account username (user@domain); Password (secret); SSL Verification off for a self-signed vCenter, or add its CA under Admin > SSL Certificates first | **Import VMware Clusters** (required): the POC cluster only. Keep Virtual folder path as prefilled | A job creates one per cluster, then syncs networks, datastores and templates |
| Google Cloud Platform (`gcp`) | Choose Upload .json file and upload a **service-account key** (secret). An OAuth web-client JSON instead sends the user to Google consent and skips screen 2 | **Projects** (required): the POC project only | A job creates one per project, with its networks |
| SCVMM (`scvmm`) | IP address (the FQDN when Kerberos is used); Account username (user@domain); Password (secret); WinRM Protocol HTTPS (5986) or HTTP (5985); WinRM Transport NTLM | **Import clusters** (optional): check the POC cluster | One per checked cluster; none if nothing is checked |
| Hyper-V (`hyperv`) | Hyper-V instance (host, or the cluster address); Account username (user@domain or domain\user); Password (secret); WinRM Protocol HTTPS; WinRM Transport NTLM (avoid CredSSP, which looks broken in this release); check Clustered Hyper-V for a cluster | **Images Directory** (required, prefilled): keep it if that folder exists on the host, otherwise the folder that holds the VM images | One, named after the handler |
| Nutanix Acropolis (`acropolis`) | Protocol https; IP address (Prism); Port 9440; Account username; Password (secret); Nutanix API version matching Prism (v4 by default) | **Import Nutanix Clusters** (required): the POC cluster only | One per cluster |
| OpenStack (`openstack`) | Protocol: HTTPS when Keystone uses TLS (HTTP is preselected); Domain; Project ID; IP address (the Keystone host); Port 5000; Account username; Password (secret) | Nothing | None: Phase 2 imports the POC project (the handler's Projects tab) |
| Oracle Cloud Infrastructure (`oci`) | Region (for example us-ashburn-1); User OCID; Certificate Fingerprint; Key File = the PEM private key pasted in (secret, shown unmasked); Passphrase (secret, optional); Tenancy OCID; Compartment OCID (optional) | Nothing | One, for the region on screen 1 |
| Alibaba Cloud (`alibaba`) | Region ID; Access Key; Access Key Secret (secret). An IllegalTimestamp error means the appliance clock has drifted | Nothing | One, named after the handler |
| IBM Cloud (`ibm_cloud`), IBM Cloud for Government (`ibm_gov`) | API Username; API Key (secret) | **Import IBM Cloud datacenters** (required): the POC datacenter only | One per datacenter |
| MAAS (`maas`) | Region Controller; Protocol https; Port; Account username; Password (secret) | Nothing | None: Phase 2 imports the POC availability zone (Locations tab) |
| MetalSoft (`metalsoft`) | IP address; Protocol: HTTPS for a TLS endpoint (HTTP is preselected); Port 443; API User Email; API Key (secret); Admin API Connection Info only if one is set up | Nothing | None: Phase 2 imports the POC datacenter (Datacenters tab) |
| IPMI (`ipmi`) | One screen only, with no credentials: each server's IPMI address and login are order parameters. The tile disappears once an IPMI handler exists | **Name** (required, empty): type one | None |

## Hidden unless the appliance enables the technology

These tiles appear only when the feature `resourcehandler::<slug>` is enabled on the appliance (off by default). If the user picks one and the tile is missing, say so and record the handler `pending` with that note.

| Tile (slug) | Screen 1: what to enter | Screen 2: what to set | Environments on Done |
|---|---|---|---|
| Proxmox Virtual Environment (`proxmox`) | IP address; Protocol HTTPS (HTTP is preselected); Port: the API port, usually 8006 (the field shows 443); Username without the realm; Password (secret); Realm Type PAM or PVE | Nothing | None: Phase 2 imports the POC node (Nodes tab) |
| OpenShift Virtualization (`ovirt`) | Protocol HTTPS; IP address (the OpenShift API host); Port 6443; Authentication Type Service Account Token (default) with the token (secret), or Account Credentials with a username and password (secret) | Nothing | None: Phase 2 imports the POC namespace (Namespaces tab) |
| Oracle Linux Virtualization Manager (`olvm`) | IP address; Port 443; Account username; Password (secret) | Nothing | None: Phase 2 imports the POC cluster (Clusters tab) |
| Azure Local (`azurelocal`) | Subscription ID; Application ID; Authentication Key (secret); Directory ID | **Import Clusters** (required): the POC cluster only | One per cluster |
| Outscale (`outscale`) | Region; Access Key; Access Key Secret (secret) | Nothing | None: Phase 2 imports the POC VPC (Import VPCs on the handler page) |
| VMware Cloud on AWS (`vmc_aws`) | IP address (the vCenter host); Port 443; Account username; Password (secret); Api token (secret, shown in plain text) | Nothing | None: add environments from the handler page |
| Amazon Web Services - JIT (`awsjit`) | User Certificate (PEM file); User Certificate Key (PEM file, secret); Credentials endpoint; Agency; Mission; Role | Same as AWS: close it with the X | Same as AWS |
| MacStadium Orka (`orka`) | Controller IP/Host; Service Account Token (secret) | Nothing | One, named after the handler |
| H3C CAS (`h3ccas`) | Protocol https; IP address; Port 443; Account username; Password (secret) | **Import Clusters** (optional): check the POC cluster; leave VM Group empty | One per checked cluster |

Not offered on a fresh appliance: vCloud Director appears only where it was seeded separately (screen 1: Protocol https, IP, Port 443, a System-org username, Password; screen 2: nothing; environments come from its Organizations tab). Dimension Data, Nebula and the private-AWS type have no tile.
Loading