/octo-claude-skills:octo-deployfrom OctoMesh Skills
Guides promoting OctoMesh apps from local dev to test-2 environment: publish CK models and blueprints to shared GitHub catalogs, push app images, register CLI context, install/deploy on target tenant, and verify without kubectl. Covers CI and manual lanes plus test-2 triage.
Ships in OctoMesh Skills. 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.
Hostnames are placeholders. The concrete domains of the shared environments (
<test-2-domain>,<staging-domain>,<prod-1-domain>,<prod-2-domain>,<legacy-domain>,<registry>,<rancher-url>) are internal. If the pluginocto-claude-pmis installed, see itsagent-operating-rules/references/environments.md; otherwise ask a colleague.
Promote an app built with octo-app-builder (CK model + blueprint + pipelines +
Application workload) from local dev to the shared test-2 cluster.
Staging and production are deliberately out of scope — do not extrapolate
these instructions to them.
In Claude Code, use the listed Skill call. In Codex, take the sibling's name from that call and read ../<skill-name>/SKILL.md relative to this skill's directory. Keep the original request, target environment and approval requirements. If the sibling is unavailable, report it before attempting the delegated operation.
| For... | Sibling skill (Claude Code invocation) |
|---|---|
| Building the app/blueprint artifacts in the first place | Skill("octo-app-builder", ...) |
| Individual octo-cli commands, status checks, tenant admin | Skill("octo", ...) |
| Operator/Helm internals (what the operator does with a workload) | Skill("octo-operator", ...) |
| Something broke and needs deep investigation | Skill("octo-agent", ...) |
| Server-side errors on test-2 (service logs, traces) | Skill("octo-logs", ...) |
A blueprint built per octo-app-builder is environment-portable by design — the seed itself needs NO changes for the target cluster:
| Seed element | Why it ports |
|---|---|
${octo.tenantId} in hostname/upstreamUrl | resolved at blueprint apply, per tenant |
{{domain.default}} in hostname | resolved at DeployWorkload time to the cluster's default domain: 127.0.0.1.nip.io on kind, <cluster-domain> on a shared cluster |
Deployment site/Adapter/HelmRepo rtIds 670…001/002/003 | seeded by System.Communication on every comm-enabled tenant |
ChartName + empty ChartVersion | same dev-channel Helm repo on both clusters |
| Pipeline YAML | standard nodes, available on any Mesh Adapter |
image.repository/tag in ValuesYaml | the operator injects image.privateRegistry=<registry> on the shared cluster — never set it yourself |
Three things DO have to move to infrastructure the target cluster's services can reach:
<registry> registry (kind-load is local-only)CI lane (preferred, repeatable): an Azure DevOps pipeline in the app repo
publishes on main: docker image push + octo-ckc Publish to
PrivateGitHubCatalog + octo-bpm publish to PrivateGitHubBlueprintCatalog.
Guard steps worth copying: only main writes to shared catalogs; dev/*/test/*
compile + validate only; a guard verifies that the pipeline's image tag matches the
tag pinned in the seed (details in references/publishing.md).
Set this up once, then promotion = merge to main.
Manual lane (first time / no CI yet): run the publish commands yourself —
exact commands and one-time token setup in
references/publishing.md. Network prerequisite:
<registry> is reachable on office WiFi; off-site requires Tailscale first.
Full command detail for each step lives in the two references. Run the steps in this order; each has a checkable outcome.
Check first: CK v2 models need a CK v2 environment. octo-ckc Publish puts a model with ckLanguage: 2,
range-retaining dependencies or a minEngineVersion under ck-models/v3/ instead of ck-models/v2/; engines before
CK v2 do not see it. Before you run the publish command below, confirm that every service of the shared environment runs an
engine at or above the model's minEngineVersion; if not, do not publish it to a catalog that environment reads and do
not import it there, and if you cannot confirm the engine version, ask the environment's owner — see Two catalog roots in
references/publishing.md.
# CK model -> shared CK catalog (one-time: GitHub token in ~/.octo-ckc/settings.json, see references/publishing.md)
octo-ckc -c Publish -f ./ck/out/ck-<name>.yaml -c PrivateGitHubCatalog -r
# Blueprint -> shared blueprint catalog (one-time: GitHub token in ~/.octo-bpm/settings.json)
octo-bpm -c validateVersion -p ./blueprint/<Name>/<version> -cn PrivateGitHubBlueprintCatalog
octo-bpm -c publish -p ./blueprint/<Name>/<version> -c PrivateGitHubBlueprintCatalog
# App image -> the registry (must be reachable from your network, see pitfall 4)
docker push <registry>/meshmakers/<app>:<tag>
octo-ckc/octo-bpm are the CK and blueprint CLIs of octo-construction-kit-engine,
not on PATH by default. (on a developer machine: the build output bin/DebugL/net10.0/ of that repository) The pushed image tag must equal the tag
pinned in the seed's ValuesYaml — verify before pushing.
CK catalog shortcut: if publishing the CK model to the shared catalog is not
wanted yet, octo-cli -c ImportCk -f <compiled> -w directly on the target
tenant works too — ckModelDependencies resolution skips the catalog lookup
when a satisfying model version is already installed in the tenant
(source-verified short-circuit). The CK v2 rule above applies to it as well. The
blueprint itself has no such shortcut: it must be in a catalog the target asset
repository reads.
Register-OctoCliContext -Installation test-2 -TenantId <tenantId> # octo-tools cmdlet
Creates context test-2_<tenantId> with all service URLs, switches to it, and
runs the interactive login. -TenantId accepts a list (a,b,c): one context per
tenant, no switching, one login each (-NoLogin to skip). Flags, URL table, headless auth, and tenant
creation (if the tenant doesn't exist yet): see
references/test-2-environment.md.
Per-tenant authentication (AB#6836): every command acts on the tenant of its
context and only with a token for that tenant. In a child tenant, authority comes
only from explicit provisioning: after creating a tenant run octo-cli -c ProvisionCurrentUser -ttid <tenantId> --context test-2_octosystem once (new tenants
included). A missing provisioning stops the command with exit -4 and a message that
names the tenant and ProvisionCurrentUser -ttid <tenantId>. For a rollout over several
tenants use Invoke-OctoTenantSweep (dry run -WhatIf, one result row per tenant, continues
after a denial, never touches a token) instead of a script that copies a token out of the
context file; details in the octo skill, references/tenant-tokens.md.
Parallel-safe targeting: rather than relying on the active context (which
the cmdlet switched, and which a concurrent session could flip), pass
--context test-2_<tenantId> on every command — or export OCTO_CLI_CONTEXT=test-2_<tenantId> for the shell. That way the active context
is irrelevant and nothing to switch back. Double-check octo-cli -c AuthStatus --context test-2_<tenantId> before anything mutating (and note the [test-2]
prod-adjacent warning still applies).
octo-cli -c EnableCommunication # seeds deployment site/Adapter/HelmRepo entities — deploys NOTHING yet
octo-cli -c GetDeploymentSites -j # deployment site 670…001 starts Undeployed
Deploy the deployment site first (live-verified 2026-06-10): nothing rolls out
while it is Undeployed, and workload deploy triggers fired in that state are
silently lost (the workload sits in Pending forever, no error):
octo-cli -c DeployDeploymentSite -id 670000000000000000000001
octo-cli -c GetDeploymentSites -j # repeat until CommunicationState Online, DeploymentState Deployed
Then bring up the Mesh Adapter and wait for it:
octo-cli -c DeployWorkload -id 670000000000000000000002 # re-trigger AFTER the deployment site is deployed
octo-cli -c GetAdapters -j # poll until CommunicationState Online
octo-cli -c RefreshCatalogs # CK MODEL catalogs
octo-cli -c RefreshBlueprintCatalogs # blueprint catalogs (-cn <catalog> for one)
octo-cli -c ListBlueprints # your blueprint must appear (CatalogName: PrivateGitHubBlueprintCatalog); if not, refresh again
octo-cli -c InstallBlueprint -b <Name>-<Version>
The asset repository caches the catalog index: a newly published blueprint
id/version stays invisible to ListBlueprints/InstallBlueprint until
RefreshBlueprintCatalogs runs (always forced, no service restart; -cn PrivateGitHubBlueprintCatalog refreshes one catalog). The index comes from GitHub
Pages: refresh only after the Pages deployment of the publish has finished (about a
minute), otherwise the refresh caches the old index. Both refresh commands need the
tenant role DataModelManagement. Over MCP the blueprint refresh is the tool
refresh_blueprint_catalogs (optional catalogName). On an installation with several
asset-repository replicas a refresh reaches only one of them (bug AB#9169), so refresh
again when ListBlueprints still lacks the version. Published blueprint versions are immutable: every
content change (seed data, ValuesYaml, blueprint.yaml) gets a new version, which is
published, refreshed and rolled out with UpdateBlueprint -tv <Name>-<NewVersion>.
octo-bpm -c validateVersion reports changed content under a published version as OCTO-BP100.
Confirm: Success: true, your CK model in LoadedCkModels, no warnings.
WasSkipped: true means the requires: gate didn't match — see the
section The environment gate of the deploy environment
reference.
octo-cli -c DeployDataFlow -id <dataflowRtId>
octo-cli -c DeployWorkload -id <applicationRtId>
The octo-cli signals below need no cluster access:
| Signal | Command |
|---|---|
| Adapter online, pipelines deployed | octo-cli -c GetAdapters -j, octo-cli -c GetDataFlowStatus -id <dataflowRtId> -j |
| Workload state + failure detail | octo-cli -c GetWorkloadsByChart -cn <chartName>; the Application entity's deploymentState / statusMessage / lastDeploymentError attributes via Studio or rt_explorer |
| App reachable | https://<app>-<tenantId>.<cluster-domain> (from the {{domain.default}} hostname) |
| API reachable | only when the Mesh Adapter's ingress is on (IngressEnabled, opt-in, then DeployWorkload): https://<Hostname>/<tenantId>/<path>. A FromHttpRequest@2 route answers 401 without a bearer token of the tenant unless the route sets allowAnonymous: true. Get the token into a shell variable without printing it (for example a client-credentials token of a client of the tenant; never copied out of the octo-cli context file) and pass the header on stdin (printf 'Authorization: Bearer %s\n' "$TOKEN" | curl -H @- …); details in octo-app-builder references/http-api-pipelines.md. Without an ingress test with ExecutePipeline |
lastDeploymentError carries the Helm error plus pod diagnostics (waiting
reasons like ImagePullBackOff, exit codes, Warning events) collected by the
operator — it is the primary triage signal; no cluster access is needed.
For errors on the server side (asset repository, communication controller,
Mesh Adapter, operator), read the service logs and traces with /octo-logs.
End-to-end: run the same curl matrix used locally (create / list / error paths / no leaked fields) against the hosts of the target cluster, then the browser flow.
| # | Symptom | Cause / fix |
|---|---|---|
| 1 | Blueprint missing from ListBlueprints on the target cluster | The server-side blueprint catalog index is cached. Run octo-cli -c RefreshBlueprintCatalogs [-cn <catalog>] or the MCP tool refresh_blueprint_catalogs (needs DataModelManagement; RefreshCatalogs covers CK model catalogs only). Never restart the asset repository with kubectl; deleting local cache files does nothing for a shared cluster. |
| 2 | InstallBlueprint fails resolving the CK model | Model not in a shared catalog and not imported in the tenant. Publish it (octo-ckc … -c PrivateGitHubCatalog) or ImportCk it directly, then retry. |
| 3 | Workload lastDeploymentError shows ImagePullBackOff | Image not in <registry> under the exact meshmakers/<app>:<tag> from the seed. Push it (Tailscale if off-site), then DeployWorkload again. |
| 4 | docker push hangs/fails off-site | <registry> is not reachable from your network (internal-network only — connect Tailscale first). Probe: curl -sI https://<registry>/v2/ (with the registry's CA trusted) → expect HTTP 200 or 401. |
| 5 | Install is a silent no-op (WasSkipped: true) | requires: octo.environment gate mismatch. Use [dev, test] (covers both readings of a test cluster's configuration) and re-check. |
| 6 | Mutating the wrong environment | Context confusion. AuthStatus before every mutating step; the context name (<cluster>_<tenant> vs local_<tenant>) is the tell. |
| 7 | Adapter stuck Unregistered/Pending forever, no pod, no error | The parent deployment site is Undeployed — workload deploy triggers fired before it is up are silently lost. Deploy it first (DeployDeploymentSite -id 670…001), then re-run DeployWorkload -id 670…002. |
| 8 | Wrong tag deployed after a new image push | Same-tag pushes don't restart pods. Either bump the tag (new tag in the seed + new blueprint version + push + publish + RefreshBlueprintCatalogs + UpdateBlueprint + DeployWorkload) or undeploy/redeploy the workload. |
| 9 | InstallBlueprint or ImportCk refuses the CK model with message 126 (CkModelRequiresNewerEngine), or the model is "not found" although it was published | A CK v2 model (ck-models/v3/, minEngineVersion) on a service with an older engine. Do not bump or republish the model to get past it; wait until every service of the target environment runs the CK v2 engine (references/publishing.md). Server-side detail: /octo-logs. |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub meshmakers/octo-claude-skills --plugin octo-claude-skills13 skills in this plugin
/octoPrimary entry point and router for ALL OctoMesh tasks. Drives the octo-cli for platform administration (users, roles, groups, tenants, clients, identity providers, blueprints, CK catalog/library management, stream-data archives, communication adapters/pipelines, AI services) and explores the data model and runtime instances via GraphQL. Routes specialized work to sibling skills. When unsure which OctoMesh skill to use, start here. Trigger on: OctoMesh, octo-cli, CLI command, environment switch, auth/login, AuthStatus, tenant, temporary tenant, test tenant, user, role, group, client credentials, non-interactive login, headless authentication, LogInClientCredentials, client mirroring, identity provider, blueprint install/update/rollback, CK catalog, library management, LibraryStatus, stream data archive, archive activation, EnableAi, adapter, deploy pipeline, data flow, MovePipelines, data model, Construction Kit, CK type, enum, association, GraphQL introspection, runtime instance query, list/count/search/filter entities, building, services, Docker, debugging, pipeline YAML, ETL, commit, PR, AB#, MCP server, Refinery Studio, communication operator, Helm./octo-agentDebugging and investigation agent for OctoMesh — diagnoses CK model failures (ResolveFailed, modelState 2, broken dependencies, version-bump cascades), blueprint install failures, and CK migration problems; inspects MongoDB tenant databases directly; runs selective DebugL builds and targeted tests to isolate a regression; and manages Docker volume backups for safe rollback. Use it when something broke after a build, version bump, merge, or upgrade and you need to find the root cause safely. Trigger on: help me fix, investigate this bug, what broke, isolate the issue, why is the model broken, ResolveFailed, modelState 2, multi-version conflict, error code 66, CK migration failed, blueprint failed, BlueprintInstallation, LibraryStatus, FixAll, check database state, query MongoDB, tenant DB, NuGet dependency chain, package not found, selective build, build fails, service won't start, health check failing, error in logs, cascade failure, version bump broke, something broke after upgrade, data corruption, tenant broken, backup before testing, restore database, safe rollback, test isolation, token refresh failing, Hangfire cron not firing./octo-app-builderBuild a complete OctoMesh-powered application end to end — a custom Construction Kit data model published to the CK catalog, an HTTP API made of dataflow pipelines on the tenant's Mesh Adapter, an optional containerized web app the Communication Operator rolls out to Kubernetes, and a blueprint that packages all of it so a single InstallBlueprint provisions any tenant. Encodes the verified build sequence (model → pipelines → app image → blueprint → install → deploy → verify) and the pitfalls that silently break it (blueprint catalog cache, pipeline registration rotation, HTTP response shaping, registry injection). Use this skill whenever someone wants to CREATE something new on OctoMesh — an app, a demo, an API, a workload, a blueprint — even if they only mention one piece of it. Trigger on - build an app on OctoMesh, create a workload, new OctoMesh application, OctoMesh demo, blueprint authoring, package as blueprint, seedDataPath, ckModelDependencies, InstallBlueprint, Application entity, DeployWorkload, operator-deployed app, HTTP API on the mesh adapter, FromHttpRequest API, octo-ckc publish, CK model catalog, local blueprint catalog, end-to-end OctoMesh app./octo-ck-miroVisualizes OctoMesh Construction Kits as UML class diagrams on a Miro board. Reads CK YAML definitions from a specified git branch in the local octo-construction-kit checkout (non-destructive via git show) and creates one detailed UML diagram per CK — types with attributes and datatypes, records, enums, inheritance arrows, associations with multiplicity, and cross-CK references. Lets the user pick a branch (default main) and choose between a new Miro board or adding to an existing board URL. Trigger on - visualize CK, visualize construction kit, CK diagram, CK to Miro, Miro board for CK, UML diagram for construction kit, CK model visualization, octo construction kit visualization, draw CK, show CK on Miro, CK class diagram./octo-commitStructured workflow for committing finished work across OctoMesh repositories: scans repos for changes, resolves the Azure DevOps work item (creates only a Bug or Task; User Stories come from the Product Owner), builds the AB# commit message and PR title (AB#<id> <Fix|New|Chore|Refactor|Test|Docs>: …), verifies with the repository's own build, test and lint, and optionally opens a PR and hands it over for review: with octo-claude-pm installed its agent-operating-rules decide the CodeRabbit review rounds and the merge queue; the developer merges, never the agent. Enforces the review checkpoint — never pushes or opens a PR without explicit user approval in the current session. Trigger on: commit, push, PR, pull request, PR title, merge, finish work, done, ship it, wrap up, AB#, work item, CodeRabbit, title check, ready to commit, close task, create branch, feature branch, feat/, dev/, Azure DevOps./octo-devtoolsDrives OctoMesh local development through the octo-tools PowerShell cmdlets — building repos in dependency order, starting and stopping services (always non-interactively for agents via Start-Octo -nonInteractive $true / Stop-Octo), managing Docker or local kind Kubernetes infrastructure, syncing and branching git repos, NuGet package propagation, certificates, and octo-cli context/auth setup. Use it for any OctoMesh dev-environment or DevOps task. Trigger on build, compile, Invoke-BuildRange, inner loop, Invoke-OctoTestRun, run tests, Register-OctoCliContext, feature environment, New-OctoEnvironment, Invoke-BuildEnvironment, lane isolation, dotnet build, start services, stop services, Start-Octo, Stop-Octo, Invoke-BuildAll, Invoke-Build, infrastructure, docker compose, kind, Kubernetes, Install-OctoKubernetes, Deploy-OctoOperator, git sync, pull repos, push repos, Get-AllGitRepStatus, branch management, test branch, NuGet packages, clean build, kill dotnet, certificates, clone repos, register context, login local/staging/production, infrastructure backup, or any OctoMesh PowerShell cmdlet name.Other plugins' skills for the same job