/octo-claude-skills:octo-app-builderfrom OctoMesh Skills
Guides building a complete OctoMesh application: CK data model, HTTP API pipelines, containerized web app, and installable blueprint. Routes detail work to sibling skills.
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.
Build new OctoMesh-powered applications: data model + HTTP API + web app, packaged as one installable blueprint. This skill owns the end-to-end composition recipe; detail work routes to sibling skills.
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) |
|---|---|
| Pipeline YAML node details, DataContext semantics, validation | Skill("pipeline-expert", ...) |
| octo-cli flag details, CK/RT exploration, deploy/status commands | Skill("octo", ...) |
| Operator/Helm-chart internals, CRDs, values layering | Skill("octo-operator", ...) |
| Build/start services, kind cluster setup, Docker infra | Skill("octo-devtools", ...) |
| Promoting the finished app to a shared test environment | Skill("octo-deploy", ...) |
| Something is broken and needs investigation | Skill("octo-agent", ...) |
Stay in this skill for: designing the app, authoring CK models for it, authoring the blueprint, the HTTP-API pipeline patterns, the Application workload, and the overall sequencing.
blueprint (one InstallBlueprint provisions everything)
├── CK model — the domain data model (via ckModelDependencies, from a CK catalog)
└── seed-data/entities.yaml
├── DataFlow + Pipelines — the backend: HTTP API + logic on the Mesh Adapter (no service code!)
└── Application — the web app: Helm release deployed by the Communication Operator
Tickets/orders/whatever the domain needs are plain runtime entities of the custom CK type — browsable in Studio, queryable via GraphQL, manipulated by pipelines.
The references hold a complete, self-contained example: a ticket app (CK model
Demo.Tickets) with three HTTP routes (create, list without secrets, reveal once),
its blueprint seed and an operator-deployed UI — see
references/http-api-pipelines.md,
references/blueprint-authoring.md and
references/app-workload.md.
octo-cli -c AuthStatus # valid token, correct environment
octo-cli -c GetAdapters --json # Mesh Adapter Online? note its rtId
A new tenant starts with its deployment site and Mesh Adapter Undeployed. Deploy the
site first (DeployDeploymentSite -id <site rtId>), then the adapter
(DeployWorkload -id <adapter rtId>), until the adapter is Online; pipelines are
validated and deployed against a running adapter only. Both are developer actions: a
builder agent asks the developer instead of changing adapters or sites.
On every communication-enabled tenant the service-managed System.Communication
blueprint seeds fixed rtIds your seed will associate to:
Pool 670000000000000000000001, Mesh Adapter 670000000000000000000002,
dev Helm repo 670000000000000000000003.
For an operator-deployed web app additionally: a cluster with the Communication
Operator running (the tenant's deployment site shows Online/Deployed in
octo-cli -c GetDeploymentSites -j) — on local dev this
is the kind cluster (see octo-devtools for setup).
Work in a dedicated repo folder: ck/ConstructionKit/, blueprint/<Name>/<version>/,
app/, test/. The blueprint seed is the single source of truth; anything used
for iteration is scratch.
Building from a short brief? Draft the CK model and pipelines, validate and fix them (at most 3 iterations) and propose only green drafts; nothing is written before the developer confirms. Never hand out scripts or shell commands instead of a model: references/draft-and-validate.md.
Author a minimal model (one folder, three files — full syntax in
references/blueprint-authoring.md §CK model):
ckModel.yaml (modelId <Name>-1.0.0, dependency System-[2.0,3.0)),
attributes/*.yaml, types/*.yaml (derive from ${System}/Entity-1, reference
attributes as ${this}/<AttrId>-1).
# octo-ckc = the CK compiler CLI of octo-construction-kit-engine, not on PATH by default
octo-ckc -c Compile -p ./ck/ConstructionKit -o ./ck/out
octo-ckc -c Publish -f ./ck/out/ck-<name>.yaml -r # → ~/.octo/local-catalog (LocalFileSystemCatalog)
Publishing to the catalog is what lets the blueprint auto-import the model via
ckModelDependencies. For pipeline iteration also import it into the tenant now:
octo-cli -c ImportCk -f .\ck\out\ck-<name>.yaml -w, then verify the exact
attribute IDs with the MCP tool get_type_schema (or the octo skill's
ck_explorer.py preflight <Model>/<Type> --for-import).
Author the API as FromHttpRequest@2 pipelines executed by the Mesh Adapter.
Authenticated by default: without allowAnonymous a route answers 401 to a
caller without a valid access token of this tenant and 403 to a token of
another tenant; requiredRoles (any one is enough) narrows it to the roles of
your app. Leave both as they are unless a route must be public, and then
follow the warning in
references/http-api-pipelines.md §Public
routes. Never author new routes with the deprecated FromHttpRequest@1: it has
no security properties, so every @1 route is public.
The proven patterns — create entity, list without sensitive fields, conditional
read-and-update — are in
references/http-api-pipelines.md with verbatim
YAML. Three rules that are not obvious and break things silently:
path, method, principal, headers, body,
bodyEncoding, query, files, formData, contentType and contentLength from
the top level of the response, even when a pipeline wrote them (so never use these
names for response fields), and any whole copy of the request headers or
principal object. Everything else a pipeline wrote keeps going out. End every pipeline with
Project@1 + clear: true listing only the response fields — otherwise lookup
results and intermediate values (including any secrets) leak into the response.SetPrimitiveValue@1 fails the whole pipeline on a missing source path —
guard copies of optional attributes with If@1 on a discriminator field.$.lookup.TotalCount, $.lookup.Items[0].Attributes.X);
attributeName in CreateUpdateInfo@1 is the type's attribute name in camelCase, as get_type_schema lists it
(name: DueDate → dueDate).Iterate with a scratch dataflow: temp rtIds and temp paths (e.g. /myapp-test-*)
in a throwaway ImportRt file, ImportRt -f ... -w + DeployDataFlow, curl, fix,
re-import with -r. Expect the deploy-rotation quirk (pitfall #2 below) during
iteration — it does not affect the final fresh install. When the endpoints behave,
copy the pipeline YAML verbatim into the blueprint seed, then undeploy and delete
the scratch entities (GraphQL runtime.runtimeEntities.delete, unversioned ckTypeIds).
Reach the adapter for curl tests: in-cluster it serves plain HTTP on :80; from the
host use kubectl port-forward -n octo svc/<tenant>-<adapterRtId> 5020:80, routes
are http://localhost:5020/{tenantId}{path}.
The platform deploys web apps as System.Communication/Application entities —
the operator helm-installs them. The fastest path is fulfilling the existing
property-walker chart contract (env PORT + UPSTREAM_URL, probe on GET /,
container port 5055): a zero-dependency Node proxy that serves a static SPA at /
and forwards /api/* to the tenant-scoped adapter URL. Full recipe, Dockerfile,
and the Application entity YAML: references/app-workload.md.
Image handling on local kind (no registry needed):
docker build -t meshmakers/<app>:0.1.0 ./app
docker tag meshmakers/<app>:0.1.0 <registry>/meshmakers/<app>:0.1.0
kind load docker-image meshmakers/<app>:0.1.0 <registry>/meshmakers/<app>:0.1.0
Tag both names: the communication controller injects
image.privateRegistry=<registry> at deploy time, so the final image
reference gets that prefix. On shared clusters push to <registry> instead.
Author blueprint/<Name>/<version>/blueprint.yaml + seed-data/entities.yaml —
full format in references/blueprint-authoring.md.
Key decisions:
ckModelDependencies: [<Model>-[1.0.0,2.0.0)] — pulls the model from the CK
catalog at install; no manual ImportCk for consumers.0771…01) so re-applies are idempotent and entities are identifiable.System/ParentChild-1 → your DataFlow and
System.Communication/Executes-1 → Mesh Adapter 670…002.Manages-1 → Pool 670…001 and HelmRepository-1
→ 670…003; hostname template <app>-${octo.tenantId}.{{domain.default}}
works on every cluster (127.0.0.1.nip.io on kind).requires: {octo.environment: [dev, test]} if the rollout depends on
the operator (staging/prod may not run it).Values
entry with IsSecret; a secret only platform nodes need in every served tenant
(e.g. a CAPTCHA secret) is an Application SecretDefaults entry the operator
adds (key + value; Studio Further attributes, or GraphQL with the secret as a
variable) after the install, then deploys — see references/app-workload.md §Secrets.Install into the local blueprint catalog:
# layout: ~/.octo/local-blueprint-catalog/blueprints/v1/<Name>/<version>/{blueprint.yaml,seed-data/}
mkdir -p ~/.octo/local-blueprint-catalog/blueprints/v1/<Name>
cp -R ./blueprint/<Name>/<version> ~/.octo/local-blueprint-catalog/blueprints/v1/<Name>/
octo-cli -c RefreshBlueprintCatalogs -cn LocalFileSystemBlueprintCatalog # forced refresh, no restart
octo-cli -c ListBlueprints # must now show <Name>-<version>
The catalog index is cached; refresh it after every new blueprint or version (pitfall #1).
octo-cli -c InstallBlueprint -b <Name>-<Version> # -f re-applies the version's seed (recovery; edited seed only from a local catalog)
octo-cli -c DeployDataFlow --identifier <dataflowRtId>
octo-cli -c DeployWorkload -id <applicationRtId> # only if there is an app
Confirm the install output: Success: true, ApplicationMode: Initial, your model
under LoadedCkModels, no warnings. A silent no-op with WasSkipped means the
requires: gate did not match the environment.
deploymentState Deployed (no
lastDeploymentError), the ingress host answers, then drive the real UI flow in a
browser (Playwright) — not just the API.GetPipelineExecutions -id <pipelineRtId> -j, GetPipelineDebugPoints with SetPipelineDebug -e true); with
read access to the cluster the adapter log adds pipeline exceptions, route
registrations (Removing pipeline / Registering pipeline) and request traces.| # | Symptom | Cause / fix |
|---|---|---|
| 1 | New blueprint missing from ListBlueprints | The blueprint catalog index is cached. octo-cli -c RefreshBlueprintCatalogs [-cn <catalog>] refreshes it without a restart (forced; needs the tenant role DataModelManagement). For a shared (GitHub) catalog the index comes from GitHub Pages: refresh after the Pages deployment of the publish has finished (about a minute) and again if the version is still missing. A local catalog has no Pages deployment: publish into it and refresh LocalFileSystemBlueprintCatalog. Older local builds rebuild the local cache only when ~/.octo/blueprint-catalog/cache/local-blueprint-catalog-cache.json is missing — delete it. |
| 2 | Endpoint answers 200 with empty body in ~0.1 ms | Route's method not registered (path-only fallback). After ImportRt -r on a live dataflow, each DeployDataFlow can remove an unchanged pipeline while re-registering a changed one. Re-run DeployDataFlow and re-test ALL routes; fresh install + single deploy is reliable. |
| 3 | Pipeline 500s only for some entities | SetPrimitiveValue@1 on an optional attribute that is unset. Guard with If@1. |
| 4 | Response contains lookup internals / secrets / intermediate values | No Project@1 clear: true at the end. The response is the final DataContext minus the reserved request keys of rule 1, so every other value a node wrote goes out. |
| 5 | App pod ImagePullBackOff | Controller injected <registry> prefix and the image only exists under the plain name. Tag + kind load both names (or push to the registry). |
| 6 | Install is a silent no-op | requires: gate mismatch (WasSkipped: true). Check octo.environment. |
| 7 | ImportRt fails on re-run | Default mode is InsertOnly. Use -r for scratch iteration; blueprint re-apply (InstallBlueprint -f) upserts the installed version's seed by itself. Edited seed reaches it only from a local catalog; from a shared catalog roll out a new blueprint version with UpdateBlueprint. |
| 8 | Errors return HTTP 200 | By design — HTTP pipelines cannot set status codes (only the route authorization of FromHttpRequest@2 answers 401/403). Return { "error": ... } payloads and make clients check for them. |
| 9 | Route answers 401 / 403 | 401: no or invalid access token. 403: a token of another tenant, or none of the route's requiredRoles. Call with a token of the app's tenant; do not switch to allowAnonymous to make the error go away. |
FromHttpRequest@2); a route is public only when you set allowAnonymous: true
on purpose, and every FromHttpRequest@1 route is public.application/json; the adapter cannot serve HTML.
That's exactly why the UI ships as an Application workload instead.meshmakers/template-repo: init, OIDC client of the dev server, scaffold and codegen over MCP, current tool gaps.System.Ai.Builder this skill is
installed as knowledge pages; open them with knowledge_search / knowledge_get and cite them as [slug].
Start page app-index; the pages are app-build-sequence, app-draft-validate, app-blueprint-authoring,
app-ck-model-syntax, app-http-api-pipelines, app-http-api-validation-addresses, app-web-workload, app-workload-secrets and app-custom-frontend.evals/evals.json (opens in a new tab)references/app-workload.md (opens in a new tab)references/blueprint-authoring.md (opens in a new tab)references/ck-model-syntax.md (opens in a new tab)references/custom-frontend.md (opens in a new tab)references/draft-and-validate.md (opens in a new tab)references/http-api-pipelines.md (opens in a new tab)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-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-deployGuide the promotion of an OctoMesh-powered app from local dev to the shared test-2 environment — publish the CK model and blueprint to the shared GitHub catalogs (octo-ckc / octo-bpm), push the app image to <registry>, register a test-2 octo-cli context, install + deploy on the target tenant, and verify everything WITHOUT kubectl access. Covers both the repeatable CI lane (azure-pipelines publishing on main) and the manual first-time lane, plus test-2-specific triage (server-side catalog cache refresh, ImagePullBackOff via lastDeploymentError, Tailscale reachability). Staging and production are deliberately out of scope for now. Use this skill whenever someone wants to get an app, blueprint, CK model, or workload onto test-2 or asks how to make their locally working OctoMesh app available to others. Trigger on - deploy to test-2, promote to test, install on test-2, publish blueprint, publish CK model, shared catalog, blueprint-libraries-build, construction-kit-libraries-build, octo-bpm, push to <registry>, registry push, test-2 tenant, Register-OctoCliContext, RefreshBlueprintCatalogs, blueprint not visible on test-2, ImagePullBackOff, ship the demo, make the app available./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