[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MJ3QGGJZKP98S8BR5YHF0X":3,"skill-same:01M6MJ3QGGJZKP98S8BR5YHF0X":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M6MJ3QGGJZKP98S8BR5YHF0X","sealos-deploy",null,"Brain managed-mode deploy executor for Sealos Cloud. Use when SEALAI_DEPLOY_MODE=managed (a Brain Devbox sandbox) or when the task says to run \u002Fsealos-deploy: deploy the workspace repository to Sealos through the MCP-gated managed pipeline — classify, build via Kaniko if needed, generate the canonical template, hand off through template_ready \u002F deployment_completed, and verify. Outside managed mode, use the use-sealos skill instead.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Flabring\u002Fsealos-skills\u002Fplugins\u002Fsealos\u002Fskills\u002Fsealos-deploy\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"deploy","sealos deploy","when","MCP","managed","mode","hand","canonical","executor","classify","brain","ready","command","template","Bash","pipeline","kubectl","repository","git","run","generate","2026-11-10 10:12:30",false,"---\nname: sealos-deploy\ndescription: >\n  Brain managed-mode deploy executor for Sealos Cloud. Use when\n  SEALAI_DEPLOY_MODE=managed (a Brain Devbox sandbox) or when the task says to\n  run \u002Fsealos-deploy: deploy the workspace repository to Sealos through the\n  MCP-gated managed pipeline — classify, build via Kaniko if needed, generate\n  the canonical template, hand off through template_ready \u002F\n  deployment_completed, and verify. Outside managed mode, use the use-sealos\n  skill instead.\nallowed-tools: Bash(kubectl:*), Bash(python3:*), Bash(curl:*), Bash(bash:*), Bash(git:*), Bash(tar:*), Bash(sha256sum:*), Bash(command:*)\n---\n\n# Sealos Deploy (Brain Managed Mode)\n\nExecutor half of a two-party contract: this agent analyzes, builds, deploys,\nverifies, and repairs inside the sandbox; Brain (the control plane) renders\ninput forms and gates completion through exactly two MCP tools. Deploy\nmechanics (paths, template YAML, databases, verification) come from the\nsibling `use-sealos` skill — resolve `..\u002Fuse-sealos\u002F` against this skill's\ndirectory. This file owns only the managed-mode differences.\n\n## Mode gate\n\nRun this flow only when `SEALAI_DEPLOY_MODE` is exactly `managed`. Otherwise\nfollow [..\u002Fuse-sealos\u002FSKILL.md](..\u002Fuse-sealos\u002FSKILL.md) (interactive local\npath) and ignore the rest of this file.\n\nIn managed mode, before any other work, confirm the MCP tools\n`template_ready` and `deployment_completed` are available. If either is\nmissing, stop with a fatal error — never substitute a file, webhook, or text\nanswer for a missing control tool.\n\n## Environment\n\nBrain injects (read these; never enumerate the whole environment):\n\n| Variable | Meaning |\n|---|---|\n| `SEALAI_DEPLOY_WORKSPACE` | project root, `\u002Fhome\u002Fdevbox\u002Fproject` |\n| `SEALAI_NAMESPACE` | target namespace (also `SEALAI_DEPLOY_NAMESPACE`) |\n| `KUBECONFIG` | injected namespace-scoped kubeconfig — use as-is |\n| `SEALAI_INPUTS_PATH` | fixed user-input file, exists only after the user submits the form |\n| `SEALAI_DEPLOY_LABELS_JSON` | platform ownership labels — forwarded verbatim, see Deploy |\n| `SEALAI_TURN_DEADLINE_AT` | the only hard time limit |\n| `GITHUB_TOKEN` | source builds and private-image pull secrets |\n\nHard rules (they override the use-sealos execution rules where they differ):\n\n1. Never run `sealos-api.py login`, OAuth, or `switch`. The injected\n   kubeconfig is the only credential; `sealos-api.py` and `wait-app.sh`\n   pick it up from `KUBECONFIG` automatically.\n2. Fully non-interactive. Never ask the user in the agent turn — values only\n   the user knows are declared as template `inputs` and collected by Brain's\n   form. The managed deployment request authorizes non-destructive mutations\n   in the selected namespace. Before deleting a resource or changing public\n   access, require explicit authorization in the task or a Brain-collected\n   input. If authorization is missing, stop without that mutation and report\n   the blocked action to the control plane.\n3. Never print or log `SEALAI_DEPLOY_MCP_TOKEN`, kubeconfig contents, or any\n   value from `SEALAI_INPUTS_PATH`.\n4. No file-based RPC: never create `control.json`, `inputs-required.json`,\n   `turn-report.json`, `verify-report.json`, or anything under\n   `.sealos\u002Fbrain\u002F`.\n5. Do not end the turn after deploying until Brain has returned\n   `accepted_stop` (or `template_ready` returned `awaiting_user`). A turn\n   that ends without a control call is a contract violation, except when a\n   missing explicit safety authorization makes the requested mutation\n   impermissible; report that blocked action without performing it.\n\n## Pipeline\n\n### 1. Classify\n\nClassify the workspace with the use-sealos decision tree\n([..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md](..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md),\n[recipes.md](..\u002Fuse-sealos\u002Freferences\u002Frecipes.md)): known self-hosted product\n→ store template or official image; user source code → Kaniko build. Skip the\npreflight\u002Flogin part of that skill entirely.\n\n### 2. Build (source path only)\n\nNo Docker daemon exists here. Build with the sibling executor:\n\n```bash\npython3 ..\u002Fk8s-kaniko-job\u002Fscripts\u002Fkaniko-build.py \\\n  --image \"ghcr.io\u002F\u003Ctoken-login>\u002F\u003Crepo>:deploy-\u003Cgit-short-sha>\"\n```\n\n(paths relative to this skill; run it from `$SEALAI_DEPLOY_WORKSPACE`).\nRead [..\u002Fk8s-kaniko-job\u002FSKILL.md](..\u002Fk8s-kaniko-job\u002FSKILL.md) first.\nUse the returned digest-pinned `image_ref` in the template. If `pull` is\n`private`, create the `\u003Capp>-pull` secret now (command in that SKILL.md) and\nreference it from the workload with the fixed literal name.\n\n### 3. Template at the fixed path\n\nThe canonical artifact is exactly\n`$SEALAI_DEPLOY_WORKSPACE\u002F.sealos\u002Ftemplate\u002Findex.yaml`. Brain reads this\npath byte-for-byte — no other location counts.\n\n- **Store hit**: materialize the store template locally, then continue on the\n  raw-deploy path (the store-instance endpoint is forbidden in managed mode —\n  it cannot carry the ownership labels and leaves nothing to hash):\n\n  ```bash\n  python3 ..\u002Fuse-sealos\u002Fscripts\u002Fsealos-api.py store-export \u003Ctemplate> \\\n    --out \"$SEALAI_DEPLOY_WORKSPACE\u002F.sealos\u002Ftemplate\u002Findex.yaml\"\n  ```\n\n- **Official image \u002F built image**: write the template per\n  [..\u002Fuse-sealos\u002Freferences\u002Fplatform.md](..\u002Fuse-sealos\u002Freferences\u002Fplatform.md)\n  (and [databases.md](..\u002Fuse-sealos\u002Freferences\u002Fdatabases.md) for KubeBlocks\n  blocks).\n\nManaged-mode template requirements on top of the platform contract:\n\n- The file must start with the `apiVersion: app.sealos.io\u002Fv1` \u002F `kind:\n  Template` header, have a non-empty `metadata.name`, and contain resource\n  documents after the first `---` — Brain rejects the handshake otherwise.\n- Declare every value only the end user can supply (external API keys, admin\n  email, ...) in `spec.inputs` with `required: true` and no default. Brain\n  renders its form from exactly these. Everything else belongs in\n  `spec.defaults` (`${{ random(8) }}` suffixes stay — the Template API\n  evaluates them at deploy time, not Brain).\n- Never add labels beyond the platform contract; the ownership labels travel\n  through the deploy call, not the YAML.\n\n### 4. Handshake: template_ready\n\n```bash\nsha256sum \"$SEALAI_DEPLOY_WORKSPACE\u002F.sealos\u002Ftemplate\u002Findex.yaml\"\n```\n\nCall `template_ready` with only `{\"sha256\": \"\u003Clowercase hex>\"}` — the hash of\nthe final file bytes. Edit the file after hashing and the handshake fails\nwith `template_digest_mismatch`; rehash and call again.\n\n- **`awaiting_user`** → stop the turn immediately. No Template API call, no\n  `kubectl apply`, nothing. Brain collects the form and resumes this same\n  thread with values written to `SEALAI_INPUTS_PATH`. After resuming, do not\n  change `spec.inputs` (Brain rejects the new schema); rerun `template_ready`\n  with the unchanged file, then continue.\n- **`continue`** → deploy the same file.\n- Tool error → diagnose, fix, retry the same call. Control errors are\n  recoverable; missing tools are fatal.\n\n### 5. Deploy\n\n```bash\ncd \"$SEALAI_DEPLOY_WORKSPACE\"\npython3 \u003Cthis-skill>\u002F..\u002Fuse-sealos\u002Fscripts\u002Fsealos-api.py deploy \\\n  .sealos\u002Ftemplate\u002Findex.yaml \\\n  $(test -f \"$SEALAI_INPUTS_PATH\" && echo --args-file \"$SEALAI_INPUTS_PATH\")\n```\n\n- User values flow only through `--args-file \"$SEALAI_INPUTS_PATH\"` — never\n  into prompt text, logs, or tool arguments.\n- The script forwards `SEALAI_DEPLOY_LABELS_JSON` to the Template API as\n  `extraLabels` automatically. Never edit, extend, or re-derive those labels,\n  and never invent `deployment-name`\u002F`template-name` labels. The Instance\n  name comes from the deploy response (`response.name`) — Brain does not\n  supply one.\n- Do **not** call `sealos-api.py adopt` (and do not POST\n  `adopt-template-instance`). Managed deploys already stamp `brain.io\u002F*` via\n  extraLabels; a second claim returns 409. The script skips adoption when\n  `SEALAI_DEPLOY_TASK_ID` or `SEALAI_PROJECT_ID` is set, and when the region\n  is not `*.sealos.io`.\n- Quota or validation errors: fix the template (re-run step 4 — the hash\n  changed) or report the failure via the normal repair loop. Never shrink\n  resources silently.\n\n### 6. Verify, then deployment_completed\n\nVerify for real before reporting\n([..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md](..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md)\n§Verify; triage failures with\n[operate.md](..\u002Fuse-sealos\u002Freferences\u002Foperate.md)):\n\n```bash\nHOST=$(kubectl get ingress -l \"cloud.sealos.io\u002Fdeploy-on-sealos=\u003Cinstance>\" \\\n  -o jsonpath='{.items[0].spec.rules[0].host}')\nbash ..\u002Fuse-sealos\u002Fscripts\u002Fwait-app.sh -t 600 ${HOST:+-u \"https:\u002F\u002F$HOST\"} \\\n  -l \"cloud.sealos.io\u002Fdeploy-on-sealos=\u003Cinstance>\"\n```\n\nOnly after your own checks pass, collect the real references:\n\n```bash\nkubectl get deployments,statefulsets -l \"cloud.sealos.io\u002Fdeploy-on-sealos=\u003Cinstance>\" \\\n  -o jsonpath='{range .items[*]}{.apiVersion}{\" \"}{.kind}{\" \"}{.metadata.name}{\"\\n\"}{end}'\n```\n\nCall `deployment_completed` with:\n\n- `workloads`: 1–32 refs, each exactly\n  `{apiVersion, kind, name, namespace: $SEALAI_NAMESPACE}` — no extra fields\n  (the schema is strict). At least one reported workload must be a **ready\n  Deployment, StatefulSet, DaemonSet, Job, or Pod**; reporting only\n  Instance\u002FApp\u002FCluster objects fails verification. Include KubeBlocks\n  Clusters as additional refs when the app has databases.\n- `publicUrl` (optional): the `https:\u002F\u002F\u003Chost>` the app serves, only when an\n  Ingress exists and your own probe returned 2xx. Brain re-probes it from\n  outside and requires the tenant domain; if Brain's findings say the URL is\n  outside the tenant domain or unreachable while the workloads are healthy,\n  call again without `publicUrl`.\n\nResponses and errors:\n\n- `accepted_stop` → done; end the turn with a normal summary.\n- `repair` → the findings are evidence, not commands. Diagnose, fix **in\n  place** (`kubectl` patch\u002Fapply\u002Frollout on the existing resources; rebuild\n  the image via step 2 if needed), re-verify, call `deployment_completed`\n  again. Never create a second Instance, never rerun the Template API to\n  \"start fresh\", never re-evaluate `random()` identity defaults, never ask\n  for new input values.\n- `deployment_completed_throttled` → wait ≥5s, call again.\n- `deployment_completed_before_template_ready` → run step 4 first.\n\nThere is no repair-count limit; the only limit is `SEALAI_TURN_DEADLINE_AT`.\n\n## Routing\n\n| Need | Reference |\n|---|---|\n| Deploy-path classification, store\u002Finstance mechanics, verification, first aid | [..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md](..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md) |\n| Template YAML contract (labels, Ingress, resources ladder, storage) | [..\u002Fuse-sealos\u002Freferences\u002Fplatform.md](..\u002Fuse-sealos\u002Freferences\u002Fplatform.md) |\n| KubeBlocks database blocks and credentials | [..\u002Fuse-sealos\u002Freferences\u002Fdatabases.md](..\u002Fuse-sealos\u002Freferences\u002Fdatabases.md) |\n| Dockerfile authoring for the source path | [..\u002Fuse-sealos\u002Freferences\u002Fbuild.md](..\u002Fuse-sealos\u002Freferences\u002Fbuild.md) §1 only |\n| In-cluster image build | [..\u002Fk8s-kaniko-job\u002FSKILL.md](..\u002Fk8s-kaniko-job\u002FSKILL.md) |\n| Debugging failed workloads | [..\u002Fuse-sealos\u002Freferences\u002Foperate.md](..\u002Fuse-sealos\u002Freferences\u002Foperate.md) |\n\nLoad only what the step needs. The use-sealos sections about login, user\nconfirmation, registry choice, and docker buildx do not apply in managed\nmode.\n","# Sealos Deploy (Brain Managed Mode)\n\nExecutor half of a two-party contract: this agent analyzes, builds, deploys,\nverifies, and repairs inside the sandbox; Brain (the control plane) renders\ninput forms and gates completion through exactly two MCP tools. Deploy\nmechanics (paths, template YAML, databases, verification) come from the\nsibling `use-sealos` skill — resolve `..\u002Fuse-sealos\u002F` against this skill's\ndirectory. This file owns only the managed-mode differences.\n\n## Mode gate\n\nRun this flow only when `SEALAI_DEPLOY_MODE` is exactly `managed`. Otherwise\nfollow [..\u002Fuse-sealos\u002FSKILL.md](..\u002Fuse-sealos\u002FSKILL.md) (interactive local\npath) and ignore the rest of this file.\n\nIn managed mode, before any other work, confirm the MCP tools\n`template_ready` and `deployment_completed` are available. If either is\nmissing, stop with a fatal error — never substitute a file, webhook, or text\nanswer for a missing control tool.\n\n## Environment\n\nBrain injects (read these; never enumerate the whole environment):\n\n| Variable | Meaning |\n|---|---|\n| `SEALAI_DEPLOY_WORKSPACE` | project root, `\u002Fhome\u002Fdevbox\u002Fproject` |\n| `SEALAI_NAMESPACE` | target namespace (also `SEALAI_DEPLOY_NAMESPACE`) |\n| `KUBECONFIG` | injected namespace-scoped kubeconfig — use as-is |\n| `SEALAI_INPUTS_PATH` | fixed user-input file, exists only after the user submits the form |\n| `SEALAI_DEPLOY_LABELS_JSON` | platform ownership labels — forwarded verbatim, see Deploy |\n| `SEALAI_TURN_DEADLINE_AT` | the only hard time limit |\n| `GITHUB_TOKEN` | source builds and private-image pull secrets |\n\nHard rules (they override the use-sealos execution rules where they differ):\n\n1. Never run `sealos-api.py login`, OAuth, or `switch`. The injected\n   kubeconfig is the only credential; `sealos-api.py` and `wait-app.sh`\n   pick it up from `KUBECONFIG` automatically.\n2. Fully non-interactive. Never ask the user in the agent turn — values only\n   the user knows are declared as template `inputs` and collected by Brain's\n   form. The managed deployment request authorizes non-destructive mutations\n   in the selected namespace. Before deleting a resource or changing public\n   access, require explicit authorization in the task or a Brain-collected\n   input. If authorization is missing, stop without that mutation and report\n   the blocked action to the control plane.\n3. Never print or log `SEALAI_DEPLOY_MCP_TOKEN`, kubeconfig contents, or any\n   value from `SEALAI_INPUTS_PATH`.\n4. No file-based RPC: never create `control.json`, `inputs-required.json`,\n   `turn-report.json`, `verify-report.json`, or anything under\n   `.sealos\u002Fbrain\u002F`.\n5. Do not end the turn after deploying until Brain has returned\n   `accepted_stop` (or `template_ready` returned `awaiting_user`). A turn\n   that ends without a control call is a contract violation, except when a\n   missing explicit safety authorization makes the requested mutation\n   impermissible; report that blocked action without performing it.\n\n## Pipeline\n\n### 1. Classify\n\nClassify the workspace with the use-sealos decision tree\n([..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md](..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md),\n[recipes.md](..\u002Fuse-sealos\u002Freferences\u002Frecipes.md)): known self-hosted product\n→ store template or official image; user source code → Kaniko build. Skip the\npreflight\u002Flogin part of that skill entirely.\n\n### 2. Build (source path only)\n\nNo Docker daemon exists here. Build with the sibling executor:\n\n```bash\npython3 ..\u002Fk8s-kaniko-job\u002Fscripts\u002Fkaniko-build.py \\\n  --image \"ghcr.io\u002F\u003Ctoken-login>\u002F\u003Crepo>:deploy-\u003Cgit-short-sha>\"\n```\n\n(paths relative to this skill; run it from `$SEALAI_DEPLOY_WORKSPACE`).\nRead [..\u002Fk8s-kaniko-job\u002FSKILL.md](..\u002Fk8s-kaniko-job\u002FSKILL.md) first.\nUse the returned digest-pinned `image_ref` in the template. If `pull` is\n`private`, create the `\u003Capp>-pull` secret now (command in that SKILL.md) and\nreference it from the workload with the fixed literal name.\n\n### 3. Template at the fixed path\n\nThe canonical artifact is exactly\n`$SEALAI_DEPLOY_WORKSPACE\u002F.sealos\u002Ftemplate\u002Findex.yaml`. Brain reads this\npath byte-for-byte — no other location counts.\n\n- **Store hit**: materialize the store template locally, then continue on the\n  raw-deploy path (the store-instance endpoint is forbidden in managed mode —\n  it cannot carry the ownership labels and leaves nothing to hash):\n\n  ```bash\n  python3 ..\u002Fuse-sealos\u002Fscripts\u002Fsealos-api.py store-export \u003Ctemplate> \\\n    --out \"$SEALAI_DEPLOY_WORKSPACE\u002F.sealos\u002Ftemplate\u002Findex.yaml\"\n  ```\n\n- **Official image \u002F built image**: write the template per\n  [..\u002Fuse-sealos\u002Freferences\u002Fplatform.md](..\u002Fuse-sealos\u002Freferences\u002Fplatform.md)\n  (and [databases.md](..\u002Fuse-sealos\u002Freferences\u002Fdatabases.md) for KubeBlocks\n  blocks).\n\nManaged-mode template requirements on top of the platform contract:\n\n- The file must start with the `apiVersion: app.sealos.io\u002Fv1` \u002F `kind:\n  Template` header, have a non-empty `metadata.name`, and contain resource\n  documents after the first `---` — Brain rejects the handshake otherwise.\n- Declare every value only the end user can supply (external API keys, admin\n  email, ...) in `spec.inputs` with `required: true` and no default. Brain\n  renders its form from exactly these. Everything else belongs in\n  `spec.defaults` (`${{ random(8) }}` suffixes stay — the Template API\n  evaluates them at deploy time, not Brain).\n- Never add labels beyond the platform contract; the ownership labels travel\n  through the deploy call, not the YAML.\n\n### 4. Handshake: template_ready\n\n```bash\nsha256sum \"$SEALAI_DEPLOY_WORKSPACE\u002F.sealos\u002Ftemplate\u002Findex.yaml\"\n```\n\nCall `template_ready` with only `{\"sha256\": \"\u003Clowercase hex>\"}` — the hash of\nthe final file bytes. Edit the file after hashing and the handshake fails\nwith `template_digest_mismatch`; rehash and call again.\n\n- **`awaiting_user`** → stop the turn immediately. No Template API call, no\n  `kubectl apply`, nothing. Brain collects the form and resumes this same\n  thread with values written to `SEALAI_INPUTS_PATH`. After resuming, do not\n  change `spec.inputs` (Brain rejects the new schema); rerun `template_ready`\n  with the unchanged file, then continue.\n- **`continue`** → deploy the same file.\n- Tool error → diagnose, fix, retry the same call. Control errors are\n  recoverable; missing tools are fatal.\n\n### 5. Deploy\n\n```bash\ncd \"$SEALAI_DEPLOY_WORKSPACE\"\npython3 \u003Cthis-skill>\u002F..\u002Fuse-sealos\u002Fscripts\u002Fsealos-api.py deploy \\\n  .sealos\u002Ftemplate\u002Findex.yaml \\\n  $(test -f \"$SEALAI_INPUTS_PATH\" && echo --args-file \"$SEALAI_INPUTS_PATH\")\n```\n\n- User values flow only through `--args-file \"$SEALAI_INPUTS_PATH\"` — never\n  into prompt text, logs, or tool arguments.\n- The script forwards `SEALAI_DEPLOY_LABELS_JSON` to the Template API as\n  `extraLabels` automatically. Never edit, extend, or re-derive those labels,\n  and never invent `deployment-name`\u002F`template-name` labels. The Instance\n  name comes from the deploy response (`response.name`) — Brain does not\n  supply one.\n- Do **not** call `sealos-api.py adopt` (and do not POST\n  `adopt-template-instance`). Managed deploys already stamp `brain.io\u002F*` via\n  extraLabels; a second claim returns 409. The script skips adoption when\n  `SEALAI_DEPLOY_TASK_ID` or `SEALAI_PROJECT_ID` is set, and when the region\n  is not `*.sealos.io`.\n- Quota or validation errors: fix the template (re-run step 4 — the hash\n  changed) or report the failure via the normal repair loop. Never shrink\n  resources silently.\n\n### 6. Verify, then deployment_completed\n\nVerify for real before reporting\n([..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md](..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md)\n§Verify; triage failures with\n[operate.md](..\u002Fuse-sealos\u002Freferences\u002Foperate.md)):\n\n```bash\nHOST=$(kubectl get ingress -l \"cloud.sealos.io\u002Fdeploy-on-sealos=\u003Cinstance>\" \\\n  -o jsonpath='{.items[0].spec.rules[0].host}')\nbash ..\u002Fuse-sealos\u002Fscripts\u002Fwait-app.sh -t 600 ${HOST:+-u \"https:\u002F\u002F$HOST\"} \\\n  -l \"cloud.sealos.io\u002Fdeploy-on-sealos=\u003Cinstance>\"\n```\n\nOnly after your own checks pass, collect the real references:\n\n```bash\nkubectl get deployments,statefulsets -l \"cloud.sealos.io\u002Fdeploy-on-sealos=\u003Cinstance>\" \\\n  -o jsonpath='{range .items[*]}{.apiVersion}{\" \"}{.kind}{\" \"}{.metadata.name}{\"\\n\"}{end}'\n```\n\nCall `deployment_completed` with:\n\n- `workloads`: 1–32 refs, each exactly\n  `{apiVersion, kind, name, namespace: $SEALAI_NAMESPACE}` — no extra fields\n  (the schema is strict). At least one reported workload must be a **ready\n  Deployment, StatefulSet, DaemonSet, Job, or Pod**; reporting only\n  Instance\u002FApp\u002FCluster objects fails verification. Include KubeBlocks\n  Clusters as additional refs when the app has databases.\n- `publicUrl` (optional): the `https:\u002F\u002F\u003Chost>` the app serves, only when an\n  Ingress exists and your own probe returned 2xx. Brain re-probes it from\n  outside and requires the tenant domain; if Brain's findings say the URL is\n  outside the tenant domain or unreachable while the workloads are healthy,\n  call again without `publicUrl`.\n\nResponses and errors:\n\n- `accepted_stop` → done; end the turn with a normal summary.\n- `repair` → the findings are evidence, not commands. Diagnose, fix **in\n  place** (`kubectl` patch\u002Fapply\u002Frollout on the existing resources; rebuild\n  the image via step 2 if needed), re-verify, call `deployment_completed`\n  again. Never create a second Instance, never rerun the Template API to\n  \"start fresh\", never re-evaluate `random()` identity defaults, never ask\n  for new input values.\n- `deployment_completed_throttled` → wait ≥5s, call again.\n- `deployment_completed_before_template_ready` → run step 4 first.\n\nThere is no repair-count limit; the only limit is `SEALAI_TURN_DEADLINE_AT`.\n\n## Routing\n\n| Need | Reference |\n|---|---|\n| Deploy-path classification, store\u002Finstance mechanics, verification, first aid | [..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md](..\u002Fuse-sealos\u002Freferences\u002Fdeploy.md) |\n| Template YAML contract (labels, Ingress, resources ladder, storage) | [..\u002Fuse-sealos\u002Freferences\u002Fplatform.md](..\u002Fuse-sealos\u002Freferences\u002Fplatform.md) |\n| KubeBlocks database blocks and credentials | [..\u002Fuse-sealos\u002Freferences\u002Fdatabases.md](..\u002Fuse-sealos\u002Freferences\u002Fdatabases.md) |\n| Dockerfile authoring for the source path | [..\u002Fuse-sealos\u002Freferences\u002Fbuild.md](..\u002Fuse-sealos\u002Freferences\u002Fbuild.md) §1 only |\n| In-cluster image build | [..\u002Fk8s-kaniko-job\u002FSKILL.md](..\u002Fk8s-kaniko-job\u002FSKILL.md) |\n| Debugging failed workloads | [..\u002Fuse-sealos\u002Freferences\u002Foperate.md](..\u002Fuse-sealos\u002Freferences\u002Foperate.md) |\n\nLoad only what the step needs. The use-sealos sections about login, user\nconfirmation, registry choice, and docker buildx do not apply in managed\nmode.\n",{"name":5,"description":45,"allowed-tools":46},"Brain managed-mode deploy executor for Sealos Cloud. Use when SEALAI_DEPLOY_MODE=managed (a Brain Devbox sandbox) or when the task says to run \u002Fsealos-deploy: deploy the workspace repository to Sealos through the MCP-gated managed pipeline — classify, build via Kaniko if needed, generate the canonical template, hand off through template_ready \u002F deployment_completed, and verify. Outside managed mode, use the use-sealos skill instead.\n","Bash(kubectl:*), Bash(python3:*), Bash(curl:*), Bash(bash:*), Bash(git:*), Bash(tar:*), Bash(sha256sum:*), Bash(command:*)","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Flabring\u002Fsealos-skills\u002Fplugins\u002Fsealos\u002Fskills\u002Fsealos-deploy",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill sealos-deploy",{"tool":63,"command":64},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill sealos-deploy",{"tool":66,"command":67},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill sealos-deploy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Flabring\u002Fsealos-skills\u002Fplugins\u002Fsealos\u002Fskills\u002Fsealos-deploy\u002FSKILL.md",true,[],[72,82,90,98,106,114],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":81},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":81},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":81},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":81},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":81},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]