[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77G1PJ6JYEXBV6ARZ8T22D8":3,"skill-same:01M77G1PJ6JYEXBV6ARZ8T22D8":45},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M77G1PJ6JYEXBV6ARZ8T22D8","coalesce-install-package",null,"Use when adding a published Coalesce Marketplace package (e.g. @coalesce\u002Fsnowflake\u002Fcortex, base node types, dynamic tables) to a Transform workspace with the coa CLI — find the package and release in the registry, write packages\u002F\u003Calias>.yml, run coa install, verify the hydrated node types. Also covers upgrading or removing a declared package.","Coalesce-Software-Inc\u002Fcoalesce-platform-skills","Coalesce-Software-Inc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F91339100?v=4","01M77G0R46A1FMHGV0DGAD04DG","Coalesce.io","01M77G0R4VFVRVQ4ZYKPE8CABW",0,"MIT","https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc\u002Fcoalesce-platform-skills\u002Fblob\u002Fdevelop\u002Fskills\u002Fcoalesce-install-package\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: coalesce-install-package\ndescription: Use when adding a published Coalesce Marketplace package (e.g. @coalesce\u002Fsnowflake\u002Fcortex, base node types, dynamic tables) to a Transform workspace with the coa CLI — find the package and release in the registry, write packages\u002F\u003Calias>.yml, run coa install, verify the hydrated node types. Also covers upgrading or removing a declared package.\n---\n\u003C!-- coalesce-node-managed: true -->\n\n> **Prerequisite — load `coalesce-pipelines` first.** If you have not already\n> loaded the `coalesce-pipelines` skill in this session, load it now, read its\n> \"Orient first\" step and Rules, then return here.\n\n# Install a Marketplace package\n\nA **package** is a versioned bundle of node types (and sometimes macros)\npublished to the Coalesce package registry and browsable in the\n[Marketplace](https:\u002F\u002Fdocs.coalesce.io\u002Fdocs\u002Fmarketplace). A workspace uses a\npackage by committing a small **declaration** file under `packages\u002F` that\npoints at one exact **release** of the package; `coa install` then downloads\nthat release into the gitignored `.coa\u002Fcache\u002F` so `create`\u002F`run` can render its\nnode types. Nothing about a package is authored by hand except this pointer.\n\nThree identifiers, easy to confuse:\n\n| Term | Example | Where it comes from |\n|---|---|---|\n| **Package ID** | `@coalesce\u002Fsnowflake\u002Fcortex` | The Marketplace listing. Form is `@\u003Cpublisher>\u002F\u003Cplatform>\u002F\u003Cname>`. Goes in the declaration as both `id` and `packageID`. |\n| **Registry slug** | `coalesce_snowflake_cortex` | The Package ID with the leading `@` dropped and every `\u002F` replaced by `_`. This is the `{packageID}` path segment the registry API expects and the docs URL slug. |\n| **Release ID** | `5625047f-0da2-485a-865f-66d37d9e3de8` | A UUID for one published version (the Marketplace shows the version, `4.2.0`; the declaration needs the UUID). |\n\n## Step 0 — Orient\n\n1. Confirm the workspace platform: `platformKind` in `data.yml` (absent means\n   `snowflake`). Only install packages whose `platformKind` matches; the\n   platform is also the middle segment of a V2 Package ID.\n2. `ls packages\u002F` — see what is already declared. Each file is one package,\n   named after its alias. If the package is already declared, this is an\n   upgrade (see below), not an install.\n3. `coa profile list -d \u003Cdir>` — note the active profile. The registry calls\n   below use that profile's `token` and `domain` from `~\u002F.coa\u002Fconfig`, exactly\n   as `coa install` itself does. Read them into shell variables; NEVER echo,\n   log, or paste the token:\n\n   ```sh\n   PROFILE=$(coa --json profile list -d \u003Cdir> | jq -r .data.active.profileName)\n   COA_DOMAIN=$(awk -v p=\"$PROFILE\" -F= '\u002F^\\[\u002F{s=($0==\"[\"p\"]\")} s && $1~\u002F^[ \\t]*domain[ \\t]*$\u002F{gsub(\u002F^[ \\t]+|[ \\t]+$\u002F,\"\",$2);print $2}' ~\u002F.coa\u002Fconfig)\n   COA_TOKEN=$(awk -v p=\"$PROFILE\" -F= '\u002F^\\[\u002F{s=($0==\"[\"p\"]\")} s && $1~\u002F^[ \\t]*token[ \\t]*$\u002F{gsub(\u002F^[ \\t]+|[ \\t]+$\u002F,\"\",$2);print $2}' ~\u002F.coa\u002Fconfig)\n   COA_DOMAIN=${COA_DOMAIN:-https:\u002F\u002Fapp.coalescesoftware.io}\n   ```\n\n   If the profile has no token, stop: the user needs `coa init` \u002F `coa profile\n   set-cloud` first (see coalesce-cloud-api). Do not ask them to paste a token\n   into chat.\n\n## Step 1 — Identify the package and its latest release\n\nThe registry is read-only here; every call below is a GET and safe to run\nwithout asking. Endpoints (scheduler OpenAPI, tag `PackageRegistry`):\n\n- `GET \u002Fapi\u002Fv1\u002FpackageRegistry\u002F{slug}` — one package: `packageID`, `name`,\n  `description`, `platformKind`, `latestRelease` (a release ID), `certified`,\n  `tags`.\n- `GET \u002Fapi\u002Fv1\u002FpackageRegistry\u002F{slug}\u002Freleases\u002F{releaseID}` — one release:\n  `version` (semver), `changeLog`, `privacy`, `createdAt`.\n- `GET \u002Fapi\u002Fv1\u002FpackageRegistry\u002F{slug}\u002Freleases\u002Fprivacy\u002Fpublic` — every public\n  release, for choosing a version other than the latest. (`private`,\n  `unlisted` and `all` return 401 unless your org owns the package.)\n- `GET \u002Fapi\u002Fv1\u002FpackageRegistry\u002Fall` — the whole registry (~5,400 rows,\n  ~5 MB, including every org's test packages). Search fallback only.\n\n**1a. You know the Package ID** (the user gave it, or it is in the\n[Marketplace docs](https:\u002F\u002Fdocs.coalesce.io\u002Fllms-marketplace.txt) — each\nlisted page is `docs.coalesce.io\u002Fdocs\u002Fmarketplace\u002Fpackage\u002F\u003Cslug>.md` and\nshows Package ID, platform, and latest version):\n\n```sh\nPKG=\"@coalesce\u002Fsnowflake\u002Fcortex\"\nSLUG=$(printf '%s' \"$PKG\" | sed 's\u002F^@\u002F\u002F; s#\u002F#_#g')\ncurl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002F$SLUG\" \\\n  | jq '{packageID,name,platformKind,latestRelease,certified}'\n```\n\nA 404 means the slug is wrong or the package is not in this environment's\nregistry (lower environments do not mirror production). Fall back to 1b.\n\n**1b. You only know roughly what the user wants** (\"the Cortex package\",\n\"something for dynamic tables\"). Search the full listing, restricted to\ncertified Coalesce-published V2 packages for the workspace platform:\n\n```sh\nPK=snowflake   # from data.yml\ncurl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002Fall\" \\\n  | jq -r --arg q \"cortex\" --arg pk \"$PK\" '\n      .[] | select(.platformKind==$pk and .certified==true\n                   and (.packageID|startswith(\"@coalesce\u002F\"+$pk+\"\u002F\"))\n                   and ((.name+\" \"+.description+\" \"+(.tags|join(\" \")))|ascii_downcase|contains($q|ascii_downcase)))\n          | [.packageID,.name,.latestRelease] | @tsv'\n```\n\nLoosen the filters only if that returns nothing (the registry also holds\nolder two-segment IDs like `@coalesce\u002Fcortex` and copies such as `cortex-dev`;\nprefer the certified three-segment ID for the platform). If more than one\nplausible package matches, show the candidates (Package ID, name, one-line\ndescription) and let the user pick — do not guess between, say,\n`base-node-types` and `base-node-types-sql`.\n\n**1c. Resolve the release.** Use `latestRelease` unless the user asked for a\nspecific version; then confirm what it is:\n\n```sh\nRID=$(curl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002F$SLUG\" | jq -r .latestRelease)\ncurl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002F$SLUG\u002Freleases\u002F$RID\" \\\n  | jq '{version,releaseID,privacy,createdAt,changeLog}'\n```\n\nFor a specific version, list public releases and pick its `releaseID`:\n\n```sh\ncurl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002F$SLUG\u002Freleases\u002Fprivacy\u002Fpublic\" \\\n  | jq -r 'sort_by(.createdAt) | reverse | .[] | [.version,.releaseID,.createdAt] | @tsv'\n```\n\nReport Package ID, name, version and release ID to the user before writing\nanything.\n\n## Step 2 — Write the declaration\n\nPick an **alias**: the filename, the key the workspace uses for the package,\nthe prefix in every node type id (`\u003Calias>:::\u003Cid>`), and the Jinja import\nname for the package's macros. Default to the last segment of the Package ID\n(`cortex`, `dynamic-tables`); use only `[A-Za-z0-9_-]`; it must be unique in\n`packages\u002F`. Never reuse an existing alias for a different package.\n\nCreate `packages\u002F\u003Calias>.yml` — filename must equal `name`:\n\n```yaml\nfileVersion: 1\ntype: Package\nid: \"@coalesce\u002Fsnowflake\u002Fcortex\"\nname: cortex\npackageID: \"@coalesce\u002Fsnowflake\u002Fcortex\"\nreleaseID: \"5625047f-0da2-485a-865f-66d37d9e3de8\"\nconfig:\n  packageVariables: \"\"\n  entities:\n    nodeTypes: {}\n```\n\n- `id` and `packageID` are both the full Package ID (not the slug).\n- `releaseID` is the UUID from Step 1c, quoted.\n- `config` starts empty exactly as shown. `packageVariables` is the package's\n  configuration string (Marketplace \"Edit Config\"); `entities.nodeTypes` is\n  populated by the UI per node type (`defaultStorageLocation`, `isDisabled`).\n  Leave both empty on install; edit them only when the user asks for a\n  specific package configuration.\n\nThis is shared workspace config. The user's request to add the package is the\napproval to write it; if you searched (1b) and had to choose, confirm the\nmatch first. Anything else under `packages\u002F` is out of scope — never edit a\ndifferent package's declaration to make this one work.\n\n## Step 3 — Install\n\n```sh\ncoa install -d \u003Cdir>\n```\n\nSafe to run without asking; it only downloads into `.coa\u002Fcache\u002F`. Expected\noutput names every declared alias with a check mark and ends\n`Installed N package(s)`. Investigate anything else:\n\n- `No packages to install.` — the declaration was not read. Check the path\n  (`packages\u002F\u003Calias>.yml`, `.yml` extension), `type: Package`, and that\n  `data.yml` is the one `coa init` wrote (a hand-made `data.yml` can make the\n  loader skip the workspace's package files).\n- `\u003Calias>: no package contents available (not hydrated, not cached)` — the\n  registry could not serve that `packageID`\u002F`releaseID` pair for this token's\n  domain. Re-check Step 1 (wrong release ID, or a production-only package\n  against a lower environment).\n- `Install failed: workspace.yml is required` — the workspace has no local\n  bootstrap yet; see coalesce-cloud-api (`coa doctor --fix` \u002F `coa init`, ask\n  first).\n\n## Step 4 — Verify\n\n1. `ls .coa\u002Fcache\u002Fpackages\u002F\u003Calias>\u002FnodeTypes\u002F` — one `\u003CName>-\u003Cid>\u002F` folder per\n   node type, each with `definition.yml` (its `id:` is the `\u003Calias>:::\u003Cid>`\n   value for `@nodeType()`), `create.sql.j2` and `run.sql.j2`. Read a\n   `definition.yml` or two and tell the user what the package added; names\n   vary by package, so never assume.\n2. `coa validate -d \u003Cdir>` — must still pass.\n3. `git status` — the only new tracked file is `packages\u002F\u003Calias>.yml`;\n   `.coa\u002F` is gitignored and never committed.\n\nThen commit per coalesce-git-publication (stage the one file explicitly;\npush only with approval):\n\n```sh\ngit add packages\u002F\u003Calias>.yml\ngit commit -m \"Add \u003Calias> package (\u003CpackageID> \u003Cversion>)\"\n```\n\nEvery other clone of the repo must run `coa install` after pulling to get the\ncontents; say so in the commit message or to the user.\n\n## Upgrade a declared package\n\n1. Resolve the new release ID with Step 1c (`latestRelease`, or a chosen\n   version from the public releases list) and show the `changeLog`.\n2. Edit only `releaseID` in the existing `packages\u002F\u003Calias>.yml`. Keep the\n   alias and `config` — that is what preserves the workspace's node type\n   settings and every node's `@nodeType(\u003Calias>:::\u003Cid>)` reference.\n3. `coa install -d \u003Cdir>`, then re-run Step 4. Node type ids are stable\n   across releases in practice, but confirm with `coa validate` and a\n   `coa create -d \u003Cdir> --dry-run` on a node that uses the package — an\n   upgrade is a shared-config change, so ASK FIRST if the user did not\n   explicitly request it.\n\n## Remove a declared package\n\nOnly when the user asks, and only after `grep -rl \"\u003Calias>:::\" nodes\u002F` is\nempty — a node type that disappears leaves its nodes failing with\n`missingNodeType`. Delete `packages\u002F\u003Calias>.yml` and run `coa install -d\n\u003Cdir>`; the cache tree for that alias is pruned automatically. Commit the\ndeletion.\n\n## Approval gates\n\n- Without asking: every `GET` to `\u002Fapi\u002Fv1\u002FpackageRegistry\u002F...`, reading the\n  Marketplace docs, `coa install`, `coa validate`, `--dry-run`, and the\n  verification steps.\n- Implicitly approved by the request: writing `packages\u002F\u003Calias>.yml` for the\n  package the user named, with its latest release.\n- ASK FIRST: choosing between multiple matching packages, pinning a\n  non-latest release, upgrading or removing a package the user did not name,\n  editing `config`, committing (per coalesce-git-publication) or pushing.\n- NEVER: print the token, put it in a file, or hand-edit `.coa\u002Fcache\u002F`;\n  author node types to stand in for a package that will not hydrate (fall back\n  to V1 `.yml` nodes instead — see coalesce-pipelines, \"Node types\").\n","\u003C!-- coalesce-node-managed: true -->\n\n> **Prerequisite — load `coalesce-pipelines` first.** If you have not already\n> loaded the `coalesce-pipelines` skill in this session, load it now, read its\n> \"Orient first\" step and Rules, then return here.\n\n# Install a Marketplace package\n\nA **package** is a versioned bundle of node types (and sometimes macros)\npublished to the Coalesce package registry and browsable in the\n[Marketplace](https:\u002F\u002Fdocs.coalesce.io\u002Fdocs\u002Fmarketplace). A workspace uses a\npackage by committing a small **declaration** file under `packages\u002F` that\npoints at one exact **release** of the package; `coa install` then downloads\nthat release into the gitignored `.coa\u002Fcache\u002F` so `create`\u002F`run` can render its\nnode types. Nothing about a package is authored by hand except this pointer.\n\nThree identifiers, easy to confuse:\n\n| Term | Example | Where it comes from |\n|---|---|---|\n| **Package ID** | `@coalesce\u002Fsnowflake\u002Fcortex` | The Marketplace listing. Form is `@\u003Cpublisher>\u002F\u003Cplatform>\u002F\u003Cname>`. Goes in the declaration as both `id` and `packageID`. |\n| **Registry slug** | `coalesce_snowflake_cortex` | The Package ID with the leading `@` dropped and every `\u002F` replaced by `_`. This is the `{packageID}` path segment the registry API expects and the docs URL slug. |\n| **Release ID** | `5625047f-0da2-485a-865f-66d37d9e3de8` | A UUID for one published version (the Marketplace shows the version, `4.2.0`; the declaration needs the UUID). |\n\n## Step 0 — Orient\n\n1. Confirm the workspace platform: `platformKind` in `data.yml` (absent means\n   `snowflake`). Only install packages whose `platformKind` matches; the\n   platform is also the middle segment of a V2 Package ID.\n2. `ls packages\u002F` — see what is already declared. Each file is one package,\n   named after its alias. If the package is already declared, this is an\n   upgrade (see below), not an install.\n3. `coa profile list -d \u003Cdir>` — note the active profile. The registry calls\n   below use that profile's `token` and `domain` from `~\u002F.coa\u002Fconfig`, exactly\n   as `coa install` itself does. Read them into shell variables; NEVER echo,\n   log, or paste the token:\n\n   ```sh\n   PROFILE=$(coa --json profile list -d \u003Cdir> | jq -r .data.active.profileName)\n   COA_DOMAIN=$(awk -v p=\"$PROFILE\" -F= '\u002F^\\[\u002F{s=($0==\"[\"p\"]\")} s && $1~\u002F^[ \\t]*domain[ \\t]*$\u002F{gsub(\u002F^[ \\t]+|[ \\t]+$\u002F,\"\",$2);print $2}' ~\u002F.coa\u002Fconfig)\n   COA_TOKEN=$(awk -v p=\"$PROFILE\" -F= '\u002F^\\[\u002F{s=($0==\"[\"p\"]\")} s && $1~\u002F^[ \\t]*token[ \\t]*$\u002F{gsub(\u002F^[ \\t]+|[ \\t]+$\u002F,\"\",$2);print $2}' ~\u002F.coa\u002Fconfig)\n   COA_DOMAIN=${COA_DOMAIN:-https:\u002F\u002Fapp.coalescesoftware.io}\n   ```\n\n   If the profile has no token, stop: the user needs `coa init` \u002F `coa profile\n   set-cloud` first (see coalesce-cloud-api). Do not ask them to paste a token\n   into chat.\n\n## Step 1 — Identify the package and its latest release\n\nThe registry is read-only here; every call below is a GET and safe to run\nwithout asking. Endpoints (scheduler OpenAPI, tag `PackageRegistry`):\n\n- `GET \u002Fapi\u002Fv1\u002FpackageRegistry\u002F{slug}` — one package: `packageID`, `name`,\n  `description`, `platformKind`, `latestRelease` (a release ID), `certified`,\n  `tags`.\n- `GET \u002Fapi\u002Fv1\u002FpackageRegistry\u002F{slug}\u002Freleases\u002F{releaseID}` — one release:\n  `version` (semver), `changeLog`, `privacy`, `createdAt`.\n- `GET \u002Fapi\u002Fv1\u002FpackageRegistry\u002F{slug}\u002Freleases\u002Fprivacy\u002Fpublic` — every public\n  release, for choosing a version other than the latest. (`private`,\n  `unlisted` and `all` return 401 unless your org owns the package.)\n- `GET \u002Fapi\u002Fv1\u002FpackageRegistry\u002Fall` — the whole registry (~5,400 rows,\n  ~5 MB, including every org's test packages). Search fallback only.\n\n**1a. You know the Package ID** (the user gave it, or it is in the\n[Marketplace docs](https:\u002F\u002Fdocs.coalesce.io\u002Fllms-marketplace.txt) — each\nlisted page is `docs.coalesce.io\u002Fdocs\u002Fmarketplace\u002Fpackage\u002F\u003Cslug>.md` and\nshows Package ID, platform, and latest version):\n\n```sh\nPKG=\"@coalesce\u002Fsnowflake\u002Fcortex\"\nSLUG=$(printf '%s' \"$PKG\" | sed 's\u002F^@\u002F\u002F; s#\u002F#_#g')\ncurl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002F$SLUG\" \\\n  | jq '{packageID,name,platformKind,latestRelease,certified}'\n```\n\nA 404 means the slug is wrong or the package is not in this environment's\nregistry (lower environments do not mirror production). Fall back to 1b.\n\n**1b. You only know roughly what the user wants** (\"the Cortex package\",\n\"something for dynamic tables\"). Search the full listing, restricted to\ncertified Coalesce-published V2 packages for the workspace platform:\n\n```sh\nPK=snowflake   # from data.yml\ncurl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002Fall\" \\\n  | jq -r --arg q \"cortex\" --arg pk \"$PK\" '\n      .[] | select(.platformKind==$pk and .certified==true\n                   and (.packageID|startswith(\"@coalesce\u002F\"+$pk+\"\u002F\"))\n                   and ((.name+\" \"+.description+\" \"+(.tags|join(\" \")))|ascii_downcase|contains($q|ascii_downcase)))\n          | [.packageID,.name,.latestRelease] | @tsv'\n```\n\nLoosen the filters only if that returns nothing (the registry also holds\nolder two-segment IDs like `@coalesce\u002Fcortex` and copies such as `cortex-dev`;\nprefer the certified three-segment ID for the platform). If more than one\nplausible package matches, show the candidates (Package ID, name, one-line\ndescription) and let the user pick — do not guess between, say,\n`base-node-types` and `base-node-types-sql`.\n\n**1c. Resolve the release.** Use `latestRelease` unless the user asked for a\nspecific version; then confirm what it is:\n\n```sh\nRID=$(curl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002F$SLUG\" | jq -r .latestRelease)\ncurl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002F$SLUG\u002Freleases\u002F$RID\" \\\n  | jq '{version,releaseID,privacy,createdAt,changeLog}'\n```\n\nFor a specific version, list public releases and pick its `releaseID`:\n\n```sh\ncurl -sf -H \"Authorization: Bearer $COA_TOKEN\" \"$COA_DOMAIN\u002Fapi\u002Fv1\u002FpackageRegistry\u002F$SLUG\u002Freleases\u002Fprivacy\u002Fpublic\" \\\n  | jq -r 'sort_by(.createdAt) | reverse | .[] | [.version,.releaseID,.createdAt] | @tsv'\n```\n\nReport Package ID, name, version and release ID to the user before writing\nanything.\n\n## Step 2 — Write the declaration\n\nPick an **alias**: the filename, the key the workspace uses for the package,\nthe prefix in every node type id (`\u003Calias>:::\u003Cid>`), and the Jinja import\nname for the package's macros. Default to the last segment of the Package ID\n(`cortex`, `dynamic-tables`); use only `[A-Za-z0-9_-]`; it must be unique in\n`packages\u002F`. Never reuse an existing alias for a different package.\n\nCreate `packages\u002F\u003Calias>.yml` — filename must equal `name`:\n\n```yaml\nfileVersion: 1\ntype: Package\nid: \"@coalesce\u002Fsnowflake\u002Fcortex\"\nname: cortex\npackageID: \"@coalesce\u002Fsnowflake\u002Fcortex\"\nreleaseID: \"5625047f-0da2-485a-865f-66d37d9e3de8\"\nconfig:\n  packageVariables: \"\"\n  entities:\n    nodeTypes: {}\n```\n\n- `id` and `packageID` are both the full Package ID (not the slug).\n- `releaseID` is the UUID from Step 1c, quoted.\n- `config` starts empty exactly as shown. `packageVariables` is the package's\n  configuration string (Marketplace \"Edit Config\"); `entities.nodeTypes` is\n  populated by the UI per node type (`defaultStorageLocation`, `isDisabled`).\n  Leave both empty on install; edit them only when the user asks for a\n  specific package configuration.\n\nThis is shared workspace config. The user's request to add the package is the\napproval to write it; if you searched (1b) and had to choose, confirm the\nmatch first. Anything else under `packages\u002F` is out of scope — never edit a\ndifferent package's declaration to make this one work.\n\n## Step 3 — Install\n\n```sh\ncoa install -d \u003Cdir>\n```\n\nSafe to run without asking; it only downloads into `.coa\u002Fcache\u002F`. Expected\noutput names every declared alias with a check mark and ends\n`Installed N package(s)`. Investigate anything else:\n\n- `No packages to install.` — the declaration was not read. Check the path\n  (`packages\u002F\u003Calias>.yml`, `.yml` extension), `type: Package`, and that\n  `data.yml` is the one `coa init` wrote (a hand-made `data.yml` can make the\n  loader skip the workspace's package files).\n- `\u003Calias>: no package contents available (not hydrated, not cached)` — the\n  registry could not serve that `packageID`\u002F`releaseID` pair for this token's\n  domain. Re-check Step 1 (wrong release ID, or a production-only package\n  against a lower environment).\n- `Install failed: workspace.yml is required` — the workspace has no local\n  bootstrap yet; see coalesce-cloud-api (`coa doctor --fix` \u002F `coa init`, ask\n  first).\n\n## Step 4 — Verify\n\n1. `ls .coa\u002Fcache\u002Fpackages\u002F\u003Calias>\u002FnodeTypes\u002F` — one `\u003CName>-\u003Cid>\u002F` folder per\n   node type, each with `definition.yml` (its `id:` is the `\u003Calias>:::\u003Cid>`\n   value for `@nodeType()`), `create.sql.j2` and `run.sql.j2`. Read a\n   `definition.yml` or two and tell the user what the package added; names\n   vary by package, so never assume.\n2. `coa validate -d \u003Cdir>` — must still pass.\n3. `git status` — the only new tracked file is `packages\u002F\u003Calias>.yml`;\n   `.coa\u002F` is gitignored and never committed.\n\nThen commit per coalesce-git-publication (stage the one file explicitly;\npush only with approval):\n\n```sh\ngit add packages\u002F\u003Calias>.yml\ngit commit -m \"Add \u003Calias> package (\u003CpackageID> \u003Cversion>)\"\n```\n\nEvery other clone of the repo must run `coa install` after pulling to get the\ncontents; say so in the commit message or to the user.\n\n## Upgrade a declared package\n\n1. Resolve the new release ID with Step 1c (`latestRelease`, or a chosen\n   version from the public releases list) and show the `changeLog`.\n2. Edit only `releaseID` in the existing `packages\u002F\u003Calias>.yml`. Keep the\n   alias and `config` — that is what preserves the workspace's node type\n   settings and every node's `@nodeType(\u003Calias>:::\u003Cid>)` reference.\n3. `coa install -d \u003Cdir>`, then re-run Step 4. Node type ids are stable\n   across releases in practice, but confirm with `coa validate` and a\n   `coa create -d \u003Cdir> --dry-run` on a node that uses the package — an\n   upgrade is a shared-config change, so ASK FIRST if the user did not\n   explicitly request it.\n\n## Remove a declared package\n\nOnly when the user asks, and only after `grep -rl \"\u003Calias>:::\" nodes\u002F` is\nempty — a node type that disappears leaves its nodes failing with\n`missingNodeType`. Delete `packages\u002F\u003Calias>.yml` and run `coa install -d\n\u003Cdir>`; the cache tree for that alias is pruned automatically. Commit the\ndeletion.\n\n## Approval gates\n\n- Without asking: every `GET` to `\u002Fapi\u002Fv1\u002FpackageRegistry\u002F...`, reading the\n  Marketplace docs, `coa install`, `coa validate`, `--dry-run`, and the\n  verification steps.\n- Implicitly approved by the request: writing `packages\u002F\u003Calias>.yml` for the\n  package the user named, with its latest release.\n- ASK FIRST: choosing between multiple matching packages, pinning a\n  non-latest release, upgrading or removing a package the user did not name,\n  editing `config`, committing (per coalesce-git-publication) or pushing.\n- NEVER: print the token, put it in a file, or hand-edit `.coa\u002Fcache\u002F`;\n  author node types to stand in for a package that will not hydrate (fall back\n  to V1 `.yml` nodes instead — see coalesce-pipelines, \"Node types\").\n",{"name":5,"description":7},"develop","0380f6339f1c9c60a1129692e86be71db7c8bb89","skills\u002Fcoalesce-install-package","https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc\u002Fcoalesce-platform-skills","https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc","coalesce.io","2026-11-11 05:53:06",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Coalesce-Software-Inc\u002Fcoalesce-platform-skills --skill coalesce-install-package",{"tool":37,"command":38},"bunx","bunx skills add Coalesce-Software-Inc\u002Fcoalesce-platform-skills --skill coalesce-install-package",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Coalesce-Software-Inc\u002Fcoalesce-platform-skills --skill coalesce-install-package","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc\u002Fcoalesce-platform-skills\u002Fblob\u002Fdevelop\u002Fskills\u002Fcoalesce-install-package\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M77G2G7J2EP79X0C3RPDV6ND","coalesce-transform-mcp-install","Use when installing, connecting, or troubleshooting the hosted Coalesce Transform MCP server in an MCP client (Claude Code, Claude Desktop, Cursor, VS Code, Cortex Code) — endpoint URL, access token handling, registration, and verification. Not for coa CLI auth (use coalesce-cloud-api).","https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc\u002Fcoalesce-platform-skills\u002Fblob\u002Fdevelop\u002Fskills\u002Fcoalesce-transform-mcp-install\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M77G2CPHB84J4S949VJ4DXB4","coalesce-sql-transformation","Use when editing the SQL inside existing Coalesce V2 node files (.sql) — changing column expressions, joins, filters, CTEs, inline column annotations, or ref() macros. Not for creating\u002Fdeleting node files (use coalesce-pipeline-structure).","https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc\u002Fcoalesce-platform-skills\u002Fblob\u002Fdevelop\u002Fskills\u002Fcoalesce-sql-transformation\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M77G29YB2RF8F7KYB3Y6T4ZS","coalesce-review-risk","Use when reviewing Coalesce pipeline changes for correctness, impact, and risk before approval — READ-ONLY analysis of diffs, coa validate\u002Fdry-run evidence, and downstream blast radius. Never edits files or runs warehouse-mutating commands.","https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc\u002Fcoalesce-platform-skills\u002Fblob\u002Fdevelop\u002Fskills\u002Fcoalesce-review-risk\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M77G27472MK0Q5HEXTTAF9RG","coalesce-rename-node-cascade","Rename a Coalesce node and cascade the new name through every downstream ref(), job selector, and subgraph selector, with quote-agnostic matching and validation.","https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc\u002Fcoalesce-platform-skills\u002Fblob\u002Fdevelop\u002Fskills\u002Fcoalesce-rename-node-cascade\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M77G2318E8JZ2FM523VSJEB2","coalesce-quality-test-authoring","Decide which data quality tests a table, view or model needs, and write them in whatever test format the project already uses (dbt, SYNQ YAML, SQLMesh audits, Soda, Great Expectations, custom SQL, and so on). Use it when asked to add, suggest, review or extend data tests for a warehouse asset, or when a change to a model should come with tests.","https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc\u002Fcoalesce-platform-skills\u002Fblob\u002Fdevelop\u002Fskills\u002Fcoalesce-quality-test-authoring\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M77G1YM5TCKSHQA6QZRERXF2","coalesce-pipelines","Use when working in a Coalesce Transform repository (data.yml + nodes\u002F with \u003CLOCATION>-\u003CNAME>.sql\u002F.yml files) — building, editing, validating, or running data transformation pipelines with the coa CLI, including editing V1 .yml nodes and shared config (data.yml, locations, environments, jobs, node types). Start here; it routes to the more specific coalesce-* skills.","https:\u002F\u002Fgithub.com\u002FCoalesce-Software-Inc\u002Fcoalesce-platform-skills\u002Fblob\u002Fdevelop\u002Fskills\u002Fcoalesce-pipelines\u002FSKILL.md",[],[]]