[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78D0YQ8NEC36AD4Y469NJZX":3,"skill-same:01M78D0YQ8NEC36AD4Y469NJZX":52},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M78D0YQ8NEC36AD4Y469NJZX","aws-cicd-auth",null,"Configure and review AWS auth for GitHub Actions CI\u002FCD — OIDC role assumption, ECR push perms, ECS deploy perms, least-privilege IAM. Not for application IAM\u002FCognito, not for GCP.","atretyak1985\u002Fswarmery","atretyak1985","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1436737?v=4","01M78CTSX57YH0EYY9YGH0TWKX","Andrii Tretiak","01M78CTSXRPJPYQ7GNPMP45TYX",8,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Finfra-pack\u002Fskills\u002Faws-cicd-auth\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: aws-cicd-auth\ndescription: \"Configure and review AWS auth for GitHub Actions CI\u002FCD — OIDC role assumption, ECR push perms, ECS deploy perms, least-privilege IAM. Not for application IAM\u002FCognito, not for GCP.\"\nversion: \"1.0.0\"\nowner: \"swarmery-infra\"\ndocs:\n  status: reviewed\n  source_sha: b4133a319aa1\n  updated: 2026-08-06\n---\n\n# Purpose\n\nDefine, configure, and review how the project's GitHub Actions workflows authenticate to AWS to push container images and trigger deployments. The pattern is **keyless OIDC** — GitHub Actions exchanges a short-lived OIDC token for temporary AWS STS credentials by assuming an IAM role. **No long-lived AWS access keys are stored anywhere** (not in repo secrets, not in `~\u002F.aws`). The only secrets stored are non-sensitive identifiers (role ARN, region, repo\u002Fcluster\u002Fservice names).\n\nThe reference implementation is the API repo's (`project.json` → `mainApp`) `.github\u002Fworkflows\u002Fdeploy-prod.yml`: it assumes an IAM role via `aws-actions\u002Fconfigure-aws-credentials@v4`, logs into **Amazon ECR**, builds\u002Fpushes the image, and forces a new **Amazon ECS** deployment.\n\n# When to use\n\n- Setting up AWS auth for a new repo or service in the project that needs to push to ECR \u002F deploy to ECS from GitHub Actions.\n- Reviewing an existing OIDC auth stanza (`permissions: id-token: write`, `configure-aws-credentials`, role ARN scoping).\n- Authoring or auditing the IAM **trust policy** (who can assume the CI role — the `sub`\u002F`aud` conditions).\n- Authoring or auditing the IAM **permission policy** (what the CI role can do — ECR push + ECS deploy, least-privilege).\n- Debugging an auth failure: `Error: Could not assume role`, `Not authorized to perform sts:AssumeRoleWithWebIdentity`, ECR `denied`, ECS `AccessDenied`.\n- Adding a new repo\u002Fservice to the existing OIDC pattern.\n\n# When NOT to use\n\n- **Overall CI\u002FCD pipeline structure** (job\u002Fstage ordering, `workflow_run` triggers, concurrency, build matrix) — use `github-actions-cicd`.\n- **Docker image build\u002Ftag\u002Fpush mechanics** (Dockerfile, layer caching, tag strategy) — use `docker-build`.\n- **Application-level AWS IAM**, Cognito, runtime task-role permissions the app uses at runtime, or end-user auth — out of scope (this skill is CI identity only).\n- **GCP \u002F any non-AWS cloud** — this skill is AWS-only; for GCP CI auth use `gcp-cicd-auth`.\n\n# Required environment\n\n- A repo with a `.github\u002Fworkflows\u002F*.yml` deploy workflow (template: the API repo's `deploy-prod.yml`).\n- AWS account access to the IAM console (or `aws iam` CLI) to create\u002Finspect the OIDC provider, role trust policy, and permission policy.\n- A registered GitHub OIDC identity provider in the AWS account: `token.actions.githubusercontent.com` with audience `sts.amazonaws.com` (one per account, shared by all repos).\n- GitHub repo\u002Fenvironment **secrets** populated: `AWS_ROLE_ARN`, `AWS_REGION`, `ECR_REPOSITORY`, `ECS_CLUSTER`, `ECS_SERVICE`.\n\n# Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Target repo | Yes | `OWNER\u002FREPO` that will run the workflow (scopes the trust policy `sub`) |\n| Branch \u002F environment | Yes | Which ref or GitHub Environment may deploy (e.g. `refs\u002Fheads\u002Fmain`, `environment:production`) |\n| ECR repository name | Yes | Destination ECR repo (`ECR_REPOSITORY` secret) |\n| ECS cluster + service | Yes | `ECS_CLUSTER` + `ECS_SERVICE` to force-redeploy |\n| AWS region | Yes | `AWS_REGION` secret (must match where ECR repo + ECS cluster live) |\n| Existing role ARN | No | If extending an existing CI role rather than creating one |\n\n# Outputs\n\n**Length budget:** Combined IAM JSON + workflow YAML output must not exceed 120 lines. Trust policy + permission policy together should be well under 60 lines — if a policy grows beyond that, it has stopped being least-privilege.\n\nDeliverables:\n- The workflow auth stanza (`permissions:` + `configure-aws-credentials@v4` step).\n- The IAM **trust policy** JSON (OIDC provider principal + `sub`\u002F`aud` conditions).\n- The IAM **permission policy** JSON (ECR push + ECS deploy, least-privilege).\n- The list of GitHub secrets to set and their (non-secret) values.\n- Verification evidence: `aws sts get-caller-identity` output from a workflow run showing the assumed-role ARN.\n\n# Procedure\n\n## Step 1: Confirm the workflow requests an OIDC token\n\nThe job MUST grant the `id-token: write` permission or `configure-aws-credentials` has no OIDC token to exchange. Keep `contents: read` for checkout.\n\n```yaml\npermissions:\n  id-token: write   # REQUIRED — without this, role assumption fails\n  contents: read\n```\n\n**Checkpoint:** `permissions.id-token` is `write` at the job (or workflow) level. Confirm no long-lived `AWS_ACCESS_KEY_ID` \u002F `AWS_SECRET_ACCESS_KEY` secrets exist — OIDC replaces them entirely.\n\n## Step 2: Configure credentials via role assumption\n\nUse the pinned action and role ARN + region from secrets. This step performs `sts:AssumeRoleWithWebIdentity` and exports short-lived (default ~1h) credentials into the job environment.\n\n```yaml\n- name: Configure AWS credentials (OIDC)\n  uses: aws-actions\u002Fconfigure-aws-credentials@v4\n  with:\n    role-to-assume: ${{ secrets.AWS_ROLE_ARN }}\n    aws-region: ${{ secrets.AWS_REGION }}\n```\n\n**Checkpoint:** `role-to-assume` and `aws-region` both come from secrets (never hardcoded). No `aws-access-key-id`\u002F`aws-secret-access-key` inputs are present.\n\n## Step 3: Author the IAM trust policy (who may assume the role)\n\nThe role's trust policy makes the GitHub OIDC provider the principal and **scopes `sub` to the exact repo + ref (or environment)**. This is the single most security-critical line — a loose `sub` (e.g. `repo:OWNER\u002F*:*`) lets any branch of any matching repo assume the role.\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\": \"Allow\",\n      \"Principal\": {\n        \"Federated\": \"arn:aws:iam::\u003CACCOUNT_ID>:oidc-provider\u002Ftoken.actions.githubusercontent.com\"\n      },\n      \"Action\": \"sts:AssumeRoleWithWebIdentity\",\n      \"Condition\": {\n        \"StringEquals\": {\n          \"token.actions.githubusercontent.com:aud\": \"sts.amazonaws.com\",\n          \"token.actions.githubusercontent.com:sub\": \"repo:\u003Corg>\u002F\u003Capi-repo>:ref:refs\u002Fheads\u002Fmain\"\n        }\n      }\n    }\n  ]\n}\n```\n\nTo gate on a GitHub **Environment** instead of a branch, use:\n`\"token.actions.githubusercontent.com:sub\": \"repo:\u003Corg>\u002F\u003Capi-repo>:environment:production\"`.\nTo allow several refs, switch the inner operator to `StringLike` with an array of explicit patterns — never collapse to a bare `*`.\n\n**Checkpoint:** `aud` equals `sts.amazonaws.com`. `sub` names the exact repo AND a specific ref\u002Fenvironment. No wildcard spans repos or all branches.\n\n## Step 4: Author the permission policy (what the role may do)\n\nGrant only ECR push + ECS deploy. `ecr:GetAuthorizationToken` must be on `Resource: \"*\"` (it is account-scoped and AWS does not support resource-level scoping for it); the ECR layer\u002Fimage actions are scoped to the one repo; ECS actions are scoped to the service. **Do not attach `AdministratorAccess` or `AmazonEC2ContainerRegistryFullAccess`.**\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Sid\": \"EcrAuth\",\n      \"Effect\": \"Allow\",\n      \"Action\": \"ecr:GetAuthorizationToken\",\n      \"Resource\": \"*\"\n    },\n    {\n      \"Sid\": \"EcrPush\",\n      \"Effect\": \"Allow\",\n      \"Action\": [\n        \"ecr:BatchCheckLayerAvailability\",\n        \"ecr:InitiateLayerUpload\",\n        \"ecr:UploadLayerPart\",\n        \"ecr:CompleteLayerUpload\",\n        \"ecr:PutImage\"\n      ],\n      \"Resource\": \"arn:aws:ecr:\u003CREGION>:\u003CACCOUNT_ID>:repository\u002F\u003CECR_REPOSITORY>\"\n    },\n    {\n      \"Sid\": \"EcsDeploy\",\n      \"Effect\": \"Allow\",\n      \"Action\": [\n        \"ecs:UpdateService\",\n        \"ecs:DescribeServices\"\n      ],\n      \"Resource\": \"arn:aws:ecs:\u003CREGION>:\u003CACCOUNT_ID>:service\u002F\u003CECS_CLUSTER>\u002F\u003CECS_SERVICE>\"\n    }\n  ]\n}\n```\n\n**Checkpoint:** Only the ECR + ECS actions above appear. `ecr:GetAuthorizationToken` is the only `Resource: \"*\"` entry. No `iam:*`, no `*:*`, no managed FullAccess\u002FAdmin policy attached.\n\n## Step 5: Set GitHub secrets\n\nPopulate these as repo or environment secrets. None are sensitive AWS credentials — they are identifiers — but storing them as secrets keeps account IDs\u002FARNs out of the YAML.\n\n| Secret | Example value |\n|--------|---------------|\n| `AWS_ROLE_ARN` | `arn:aws:iam::123456789012:role\u002Fapi-deploy-role` |\n| `AWS_REGION` | `eu-west-1` |\n| `ECR_REPOSITORY` | `api-service` |\n| `ECS_CLUSTER` | `prod-cluster` |\n| `ECS_SERVICE` | `api-service` |\n\n**Checkpoint:** `AWS_REGION` matches the region in the ECR + ECS ARNs from Step 4. `ECR_REPOSITORY` matches the repository ARN suffix.\n\n## Step 6: Wire login, push, and deploy (reference flow)\n\n```yaml\n- name: Login to Amazon ECR\n  id: login-ecr\n  uses: aws-actions\u002Famazon-ecr-login@v2\n\n# build + docker push to $ECR_REGISTRY\u002F$ECR_REPOSITORY  (see docker-build skill)\n\n- name: Force new deployment (ECS pulls latest)\n  run: |\n    aws ecs update-service \\\n      --cluster \"${{ secrets.ECS_CLUSTER }}\" \\\n      --service \"${{ secrets.ECS_SERVICE }}\" \\\n      --force-new-deployment\n```\n\n**Checkpoint:** `amazon-ecr-login@v2` is the version pin. The `aws ecs update-service` cluster\u002Fservice come from secrets, region is inherited from Step 2.\n\n## Step 7: Verify the assumed identity\n\nAdd a one-off verification step (or run locally against the workflow logs) to prove which role was assumed:\n\n```yaml\n- name: Verify AWS identity\n  run: aws sts get-caller-identity\n```\n\nExpect an `Arn` of the form `arn:aws:sts::\u003CACCOUNT_ID>:assumed-role\u002Fapi-deploy-role\u002F\u003Csession>`. If this returns an unexpected role, or fails, the trust policy or `id-token` permission is wrong.\n\n**Checkpoint:** `get-caller-identity` returns the expected assumed-role ARN. ECR push and `ecs update-service` succeed end-to-end.\n\n# Self-check\n\n- [ ] Job grants `id-token: write` (and `contents: read` for checkout).\n- [ ] No `AWS_ACCESS_KEY_ID` \u002F `AWS_SECRET_ACCESS_KEY` anywhere — auth is OIDC-only.\n- [ ] `configure-aws-credentials@v4` and `amazon-ecr-login@v2` are version-pinned.\n- [ ] Trust policy `aud` = `sts.amazonaws.com`; `sub` names exact `repo:OWNER\u002FREPO` + a specific ref\u002Fenvironment (no cross-repo or all-branch wildcard).\n- [ ] Permission policy is least-privilege: ECR push actions + `ecs:UpdateService`\u002F`ecs:DescribeServices` only; `ecr:GetAuthorizationToken` the sole `Resource:\"*\"`.\n- [ ] No managed Admin\u002FFullAccess policy attached to the CI role.\n- [ ] `AWS_REGION` secret matches the region embedded in the ECR + ECS ARNs.\n- [ ] `aws sts get-caller-identity` confirms the assumed-role ARN.\n\n# Common mistakes\n\n- **Forgetting `id-token: write`.** The default `GITHUB_TOKEN` cannot mint an OIDC token without it; role assumption fails with `Could not load credentials from any providers` \u002F `Not authorized to perform sts:AssumeRoleWithWebIdentity`.\n- **Loose `sub` condition.** `repo:\u003Corg>\u002F*:*` or `repo:\u003Corg>\u002F\u003Capi-repo>:*` lets any branch (incl. an attacker's PR branch with a malicious workflow) assume the deploy role. Scope to the exact ref or environment.\n- **Region mismatch.** `AWS_REGION` differs from where the ECR repo \u002F ECS cluster live → ECR login points at an empty registry or `RepositoryNotFoundException`, ECS update hits `ClusterNotFoundException`.\n- **Over-broad permissions.** Attaching `AmazonEC2ContainerRegistryFullAccess` or admin \"to make it work\" defeats least-privilege and is an audit finding. Scope to the repo\u002Fservice ARNs.\n- **`ecr:GetAuthorizationToken` scoped to a repo ARN.** It does not support resource scoping; if you put it on the repository ARN, ECR login returns `AccessDenied`. It must be `Resource: \"*\"`.\n- **Storing long-lived keys \"as a fallback.\"** Defeats the entire keyless model and creates a leakable credential. Delete any `AWS_ACCESS_KEY_ID`\u002F`AWS_SECRET_ACCESS_KEY` secrets.\n- **Adding a new repo by widening an existing role's `sub`.** Prefer a dedicated role (or an explicit additional `StringLike` pattern), not a wildcard that blankets repos.\n\n# Escalation\n\n- **`sts:AssumeRoleWithWebIdentity` denied despite correct YAML**: confirm the account's OIDC provider `token.actions.githubusercontent.com` exists and its thumbprint\u002Faudience are current; if the provider is missing, that is an account-admin task — escalate.\n- **Need a new AWS account-level OIDC provider**: requires IAM admin; surface to the platform owner with the account ID.\n- **Trust-policy change widening who can deploy** (new repo, new environment, new branch): security-sensitive — get explicit sign-off and prefer `security-audit` review before merging.\n- **ECS task execution\u002Frole separation questions** (the runtime task role vs the CI deploy role): that is application IAM, out of scope here — route to whoever owns the ECS task definitions.\n\n# Examples\n\n\u003Cexample title=\"Add a second repo to the OIDC pattern\">\nInput: \"The admin repo needs to deploy to its own ECS service from GitHub Actions.\"\n\n1. Create a dedicated role `admin-deploy-role` (do NOT widen the API role's `sub`).\n2. Trust policy `sub`: `repo:\u003Corg>\u002F\u003Cadmin-repo>:ref:refs\u002Fheads\u002Fmain`, `aud`: `sts.amazonaws.com`.\n3. Permission policy: same shape as Step 4, ECR repo ARN `...\u002Fadmin-service`, ECS service ARN `...\u002Fprod-cluster\u002Fadmin-service`.\n4. Set secrets in the admin repo: `AWS_ROLE_ARN` (the new role), `AWS_REGION`, `ECR_REPOSITORY=admin-service`, `ECS_CLUSTER=prod-cluster`, `ECS_SERVICE=admin-service`.\n5. Copy the `deploy-prod.yml` auth stanza unchanged; verify with `aws sts get-caller-identity`.\n\u003C\u002Fexample>\n\n\u003Cexample title=\"Review flagged an over-permissioned CI role\">\nFinding: the deploy role has `AmazonEC2ContainerRegistryFullAccess` + `AmazonECS_FullAccess` attached.\n\nFix: detach both managed policies; attach the inline least-privilege policy from Step 4 (ECR push + `ecs:UpdateService`\u002F`ecs:DescribeServices`, scoped to the repo\u002Fservice ARNs). Re-run the deploy workflow to confirm push + force-deploy still succeed, then confirm `iam:ListAttachedRolePolicies` shows only the scoped inline policy.\n\u003C\u002Fexample>\n\n# Failure modes\n\n| Failure | Symptom | Recovery |\n|---------|---------|----------|\n| Missing `id-token: write` | `Could not load credentials` \u002F `Not authorized to perform sts:AssumeRoleWithWebIdentity` at the configure step | Add `permissions: id-token: write` to the job |\n| Trust-policy `sub` mismatch | Role assumption denied even with `id-token: write` | Make `sub` match the actual `repo:OWNER\u002FREPO:ref:...` \u002F `:environment:...` of the running workflow |\n| `aud` wrong\u002Fmissing | Assume denied with condition failure | Set `token.actions.githubusercontent.com:aud` = `sts.amazonaws.com` |\n| Region mismatch | ECR login empty \u002F `RepositoryNotFoundException`, ECS `ClusterNotFoundException` | Align `AWS_REGION` with the region in the ECR + ECS ARNs |\n| Role lacks ECR perms | `denied: ... is not authorized to perform: ecr:PutImage` on push | Add the Step 4 ECR push actions scoped to the repo ARN |\n| `GetAuthorizationToken` mis-scoped | ECR login `AccessDenied` | Move `ecr:GetAuthorizationToken` to its own statement with `Resource: \"*\"` |\n| Role lacks ECS perms | `AccessDenied` on `ecs:UpdateService` | Add `ecs:UpdateService` + `ecs:DescribeServices` scoped to the service ARN |\n| OIDC provider absent | Assume fails account-wide for all repos | Create the `token.actions.githubusercontent.com` OIDC provider (IAM admin) |\n\n# Related skills\n\n- `github-actions-cicd` — overall workflow\u002Fpipeline structure (triggers, jobs, concurrency, build matrix). Use it for everything around the auth stanza; use this skill for the auth stanza + IAM itself.\n- `docker-build` — image build, tag, and `docker push` mechanics after ECR login. This skill stops at \"you can authenticate to ECR\"; docker-build owns the image.\n- `security-audit` — review least-privilege IAM policies and the trust-policy `sub` scoping; pair with it whenever a trust-policy change widens who can deploy.\n\n# How to use\n\n## What it does\n\nThis skill sets up and reviews how your GitHub Actions workflows sign in to AWS to push images and trigger deploys. The pattern is keyless: the workflow trades a short-lived OIDC token for temporary credentials by assuming an IAM role, so no long-lived access keys live in repo secrets. You get the workflow auth stanza, the trust policy, and the permission policy as one coherent set.\n\n## When to use it\n\n- A new repo or service needs to push to a container registry and deploy a container service from CI.\n- You are writing or auditing the IAM trust policy — the `sub` and `aud` conditions that decide which repo and branch may assume the role.\n- You are tightening a CI role that has broad managed policies attached and needs least-privilege scoping instead.\n- A deploy fails with `Not authorized to perform sts:AssumeRoleWithWebIdentity`, a registry `denied`, or an `AccessDenied` on the service update.\n\n## When not to use it\n\n- Pipeline structure — job order, triggers, concurrency, build matrix — belongs to `github-actions-cicd`.\n- Image build, tag, and push mechanics belong to `docker-build`; this skill stops once you can authenticate.\n- Runtime task roles, application IAM, and end-user auth are out of scope; this covers CI identity only.\n- Any non-AWS cloud — for another provider's CI auth, use that provider's skill.\n\n## How to invoke\n\n```\nSkill(skill: \"infra-pack:aws-cicd-auth\")\n```\n\nInvoke it directly, or just describe the task (\"wire OIDC auth for the deploy workflow\") and the skill is selected for you.\n\n## Inputs\n\n- Target repo (`OWNER\u002FREPO`) — scopes the trust policy `sub` — required.\n- Branch or environment allowed to deploy — required.\n- Registry repository name, cluster name, service name — required.\n- Region — must match the region in the resource ARNs — required.\n- Existing role ARN — only if you are extending a role instead of creating one — optional.\n\n## What you get back\n\nThe workflow auth stanza (`permissions:` plus the pinned credentials step), the trust policy JSON, the least-privilege permission policy JSON, the list of secrets to set with their non-secret values, and a verification step whose output proves which role was assumed. Combined policy and YAML output stays under 120 lines — a longer policy is a sign it stopped being least-privilege.\n\n## Worked example\n\n```\nSkill(skill: \"infra-pack:aws-cicd-auth\")\n\nRequest: \"The admin repo needs to deploy to its own service from GitHub Actions.\"\n\nYou get back:\n  - a dedicated role, not a widened `sub` on the existing one\n  - trust policy sub: repo:\u003Corg>\u002F\u003Cadmin-repo>:ref:refs\u002Fheads\u002Fmain, aud: sts.amazonaws.com\n  - permission policy scoped to that repo's registry ARN and service ARN\n  - the five secrets to set in the admin repo\n  - a verification step: aws sts get-caller-identity\n```\n\n## Related\n\n- `github-actions-cicd` — reach for it for everything around the auth stanza: triggers, jobs, concurrency.\n- `docker-build` — owns the image once you can authenticate to the registry.\n- `security-audit` — pair with it whenever a trust-policy change widens who can deploy.\n","# Purpose\n\nDefine, configure, and review how the project's GitHub Actions workflows authenticate to AWS to push container images and trigger deployments. The pattern is **keyless OIDC** — GitHub Actions exchanges a short-lived OIDC token for temporary AWS STS credentials by assuming an IAM role. **No long-lived AWS access keys are stored anywhere** (not in repo secrets, not in `~\u002F.aws`). The only secrets stored are non-sensitive identifiers (role ARN, region, repo\u002Fcluster\u002Fservice names).\n\nThe reference implementation is the API repo's (`project.json` → `mainApp`) `.github\u002Fworkflows\u002Fdeploy-prod.yml`: it assumes an IAM role via `aws-actions\u002Fconfigure-aws-credentials@v4`, logs into **Amazon ECR**, builds\u002Fpushes the image, and forces a new **Amazon ECS** deployment.\n\n# When to use\n\n- Setting up AWS auth for a new repo or service in the project that needs to push to ECR \u002F deploy to ECS from GitHub Actions.\n- Reviewing an existing OIDC auth stanza (`permissions: id-token: write`, `configure-aws-credentials`, role ARN scoping).\n- Authoring or auditing the IAM **trust policy** (who can assume the CI role — the `sub`\u002F`aud` conditions).\n- Authoring or auditing the IAM **permission policy** (what the CI role can do — ECR push + ECS deploy, least-privilege).\n- Debugging an auth failure: `Error: Could not assume role`, `Not authorized to perform sts:AssumeRoleWithWebIdentity`, ECR `denied`, ECS `AccessDenied`.\n- Adding a new repo\u002Fservice to the existing OIDC pattern.\n\n# When NOT to use\n\n- **Overall CI\u002FCD pipeline structure** (job\u002Fstage ordering, `workflow_run` triggers, concurrency, build matrix) — use `github-actions-cicd`.\n- **Docker image build\u002Ftag\u002Fpush mechanics** (Dockerfile, layer caching, tag strategy) — use `docker-build`.\n- **Application-level AWS IAM**, Cognito, runtime task-role permissions the app uses at runtime, or end-user auth — out of scope (this skill is CI identity only).\n- **GCP \u002F any non-AWS cloud** — this skill is AWS-only; for GCP CI auth use `gcp-cicd-auth`.\n\n# Required environment\n\n- A repo with a `.github\u002Fworkflows\u002F*.yml` deploy workflow (template: the API repo's `deploy-prod.yml`).\n- AWS account access to the IAM console (or `aws iam` CLI) to create\u002Finspect the OIDC provider, role trust policy, and permission policy.\n- A registered GitHub OIDC identity provider in the AWS account: `token.actions.githubusercontent.com` with audience `sts.amazonaws.com` (one per account, shared by all repos).\n- GitHub repo\u002Fenvironment **secrets** populated: `AWS_ROLE_ARN`, `AWS_REGION`, `ECR_REPOSITORY`, `ECS_CLUSTER`, `ECS_SERVICE`.\n\n# Inputs\n\n| Input | Required | Description |\n|-------|----------|-------------|\n| Target repo | Yes | `OWNER\u002FREPO` that will run the workflow (scopes the trust policy `sub`) |\n| Branch \u002F environment | Yes | Which ref or GitHub Environment may deploy (e.g. `refs\u002Fheads\u002Fmain`, `environment:production`) |\n| ECR repository name | Yes | Destination ECR repo (`ECR_REPOSITORY` secret) |\n| ECS cluster + service | Yes | `ECS_CLUSTER` + `ECS_SERVICE` to force-redeploy |\n| AWS region | Yes | `AWS_REGION` secret (must match where ECR repo + ECS cluster live) |\n| Existing role ARN | No | If extending an existing CI role rather than creating one |\n\n# Outputs\n\n**Length budget:** Combined IAM JSON + workflow YAML output must not exceed 120 lines. Trust policy + permission policy together should be well under 60 lines — if a policy grows beyond that, it has stopped being least-privilege.\n\nDeliverables:\n- The workflow auth stanza (`permissions:` + `configure-aws-credentials@v4` step).\n- The IAM **trust policy** JSON (OIDC provider principal + `sub`\u002F`aud` conditions).\n- The IAM **permission policy** JSON (ECR push + ECS deploy, least-privilege).\n- The list of GitHub secrets to set and their (non-secret) values.\n- Verification evidence: `aws sts get-caller-identity` output from a workflow run showing the assumed-role ARN.\n\n# Procedure\n\n## Step 1: Confirm the workflow requests an OIDC token\n\nThe job MUST grant the `id-token: write` permission or `configure-aws-credentials` has no OIDC token to exchange. Keep `contents: read` for checkout.\n\n```yaml\npermissions:\n  id-token: write   # REQUIRED — without this, role assumption fails\n  contents: read\n```\n\n**Checkpoint:** `permissions.id-token` is `write` at the job (or workflow) level. Confirm no long-lived `AWS_ACCESS_KEY_ID` \u002F `AWS_SECRET_ACCESS_KEY` secrets exist — OIDC replaces them entirely.\n\n## Step 2: Configure credentials via role assumption\n\nUse the pinned action and role ARN + region from secrets. This step performs `sts:AssumeRoleWithWebIdentity` and exports short-lived (default ~1h) credentials into the job environment.\n\n```yaml\n- name: Configure AWS credentials (OIDC)\n  uses: aws-actions\u002Fconfigure-aws-credentials@v4\n  with:\n    role-to-assume: ${{ secrets.AWS_ROLE_ARN }}\n    aws-region: ${{ secrets.AWS_REGION }}\n```\n\n**Checkpoint:** `role-to-assume` and `aws-region` both come from secrets (never hardcoded). No `aws-access-key-id`\u002F`aws-secret-access-key` inputs are present.\n\n## Step 3: Author the IAM trust policy (who may assume the role)\n\nThe role's trust policy makes the GitHub OIDC provider the principal and **scopes `sub` to the exact repo + ref (or environment)**. This is the single most security-critical line — a loose `sub` (e.g. `repo:OWNER\u002F*:*`) lets any branch of any matching repo assume the role.\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\": \"Allow\",\n      \"Principal\": {\n        \"Federated\": \"arn:aws:iam::\u003CACCOUNT_ID>:oidc-provider\u002Ftoken.actions.githubusercontent.com\"\n      },\n      \"Action\": \"sts:AssumeRoleWithWebIdentity\",\n      \"Condition\": {\n        \"StringEquals\": {\n          \"token.actions.githubusercontent.com:aud\": \"sts.amazonaws.com\",\n          \"token.actions.githubusercontent.com:sub\": \"repo:\u003Corg>\u002F\u003Capi-repo>:ref:refs\u002Fheads\u002Fmain\"\n        }\n      }\n    }\n  ]\n}\n```\n\nTo gate on a GitHub **Environment** instead of a branch, use:\n`\"token.actions.githubusercontent.com:sub\": \"repo:\u003Corg>\u002F\u003Capi-repo>:environment:production\"`.\nTo allow several refs, switch the inner operator to `StringLike` with an array of explicit patterns — never collapse to a bare `*`.\n\n**Checkpoint:** `aud` equals `sts.amazonaws.com`. `sub` names the exact repo AND a specific ref\u002Fenvironment. No wildcard spans repos or all branches.\n\n## Step 4: Author the permission policy (what the role may do)\n\nGrant only ECR push + ECS deploy. `ecr:GetAuthorizationToken` must be on `Resource: \"*\"` (it is account-scoped and AWS does not support resource-level scoping for it); the ECR layer\u002Fimage actions are scoped to the one repo; ECS actions are scoped to the service. **Do not attach `AdministratorAccess` or `AmazonEC2ContainerRegistryFullAccess`.**\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Sid\": \"EcrAuth\",\n      \"Effect\": \"Allow\",\n      \"Action\": \"ecr:GetAuthorizationToken\",\n      \"Resource\": \"*\"\n    },\n    {\n      \"Sid\": \"EcrPush\",\n      \"Effect\": \"Allow\",\n      \"Action\": [\n        \"ecr:BatchCheckLayerAvailability\",\n        \"ecr:InitiateLayerUpload\",\n        \"ecr:UploadLayerPart\",\n        \"ecr:CompleteLayerUpload\",\n        \"ecr:PutImage\"\n      ],\n      \"Resource\": \"arn:aws:ecr:\u003CREGION>:\u003CACCOUNT_ID>:repository\u002F\u003CECR_REPOSITORY>\"\n    },\n    {\n      \"Sid\": \"EcsDeploy\",\n      \"Effect\": \"Allow\",\n      \"Action\": [\n        \"ecs:UpdateService\",\n        \"ecs:DescribeServices\"\n      ],\n      \"Resource\": \"arn:aws:ecs:\u003CREGION>:\u003CACCOUNT_ID>:service\u002F\u003CECS_CLUSTER>\u002F\u003CECS_SERVICE>\"\n    }\n  ]\n}\n```\n\n**Checkpoint:** Only the ECR + ECS actions above appear. `ecr:GetAuthorizationToken` is the only `Resource: \"*\"` entry. No `iam:*`, no `*:*`, no managed FullAccess\u002FAdmin policy attached.\n\n## Step 5: Set GitHub secrets\n\nPopulate these as repo or environment secrets. None are sensitive AWS credentials — they are identifiers — but storing them as secrets keeps account IDs\u002FARNs out of the YAML.\n\n| Secret | Example value |\n|--------|---------------|\n| `AWS_ROLE_ARN` | `arn:aws:iam::123456789012:role\u002Fapi-deploy-role` |\n| `AWS_REGION` | `eu-west-1` |\n| `ECR_REPOSITORY` | `api-service` |\n| `ECS_CLUSTER` | `prod-cluster` |\n| `ECS_SERVICE` | `api-service` |\n\n**Checkpoint:** `AWS_REGION` matches the region in the ECR + ECS ARNs from Step 4. `ECR_REPOSITORY` matches the repository ARN suffix.\n\n## Step 6: Wire login, push, and deploy (reference flow)\n\n```yaml\n- name: Login to Amazon ECR\n  id: login-ecr\n  uses: aws-actions\u002Famazon-ecr-login@v2\n\n# build + docker push to $ECR_REGISTRY\u002F$ECR_REPOSITORY  (see docker-build skill)\n\n- name: Force new deployment (ECS pulls latest)\n  run: |\n    aws ecs update-service \\\n      --cluster \"${{ secrets.ECS_CLUSTER }}\" \\\n      --service \"${{ secrets.ECS_SERVICE }}\" \\\n      --force-new-deployment\n```\n\n**Checkpoint:** `amazon-ecr-login@v2` is the version pin. The `aws ecs update-service` cluster\u002Fservice come from secrets, region is inherited from Step 2.\n\n## Step 7: Verify the assumed identity\n\nAdd a one-off verification step (or run locally against the workflow logs) to prove which role was assumed:\n\n```yaml\n- name: Verify AWS identity\n  run: aws sts get-caller-identity\n```\n\nExpect an `Arn` of the form `arn:aws:sts::\u003CACCOUNT_ID>:assumed-role\u002Fapi-deploy-role\u002F\u003Csession>`. If this returns an unexpected role, or fails, the trust policy or `id-token` permission is wrong.\n\n**Checkpoint:** `get-caller-identity` returns the expected assumed-role ARN. ECR push and `ecs update-service` succeed end-to-end.\n\n# Self-check\n\n- [ ] Job grants `id-token: write` (and `contents: read` for checkout).\n- [ ] No `AWS_ACCESS_KEY_ID` \u002F `AWS_SECRET_ACCESS_KEY` anywhere — auth is OIDC-only.\n- [ ] `configure-aws-credentials@v4` and `amazon-ecr-login@v2` are version-pinned.\n- [ ] Trust policy `aud` = `sts.amazonaws.com`; `sub` names exact `repo:OWNER\u002FREPO` + a specific ref\u002Fenvironment (no cross-repo or all-branch wildcard).\n- [ ] Permission policy is least-privilege: ECR push actions + `ecs:UpdateService`\u002F`ecs:DescribeServices` only; `ecr:GetAuthorizationToken` the sole `Resource:\"*\"`.\n- [ ] No managed Admin\u002FFullAccess policy attached to the CI role.\n- [ ] `AWS_REGION` secret matches the region embedded in the ECR + ECS ARNs.\n- [ ] `aws sts get-caller-identity` confirms the assumed-role ARN.\n\n# Common mistakes\n\n- **Forgetting `id-token: write`.** The default `GITHUB_TOKEN` cannot mint an OIDC token without it; role assumption fails with `Could not load credentials from any providers` \u002F `Not authorized to perform sts:AssumeRoleWithWebIdentity`.\n- **Loose `sub` condition.** `repo:\u003Corg>\u002F*:*` or `repo:\u003Corg>\u002F\u003Capi-repo>:*` lets any branch (incl. an attacker's PR branch with a malicious workflow) assume the deploy role. Scope to the exact ref or environment.\n- **Region mismatch.** `AWS_REGION` differs from where the ECR repo \u002F ECS cluster live → ECR login points at an empty registry or `RepositoryNotFoundException`, ECS update hits `ClusterNotFoundException`.\n- **Over-broad permissions.** Attaching `AmazonEC2ContainerRegistryFullAccess` or admin \"to make it work\" defeats least-privilege and is an audit finding. Scope to the repo\u002Fservice ARNs.\n- **`ecr:GetAuthorizationToken` scoped to a repo ARN.** It does not support resource scoping; if you put it on the repository ARN, ECR login returns `AccessDenied`. It must be `Resource: \"*\"`.\n- **Storing long-lived keys \"as a fallback.\"** Defeats the entire keyless model and creates a leakable credential. Delete any `AWS_ACCESS_KEY_ID`\u002F`AWS_SECRET_ACCESS_KEY` secrets.\n- **Adding a new repo by widening an existing role's `sub`.** Prefer a dedicated role (or an explicit additional `StringLike` pattern), not a wildcard that blankets repos.\n\n# Escalation\n\n- **`sts:AssumeRoleWithWebIdentity` denied despite correct YAML**: confirm the account's OIDC provider `token.actions.githubusercontent.com` exists and its thumbprint\u002Faudience are current; if the provider is missing, that is an account-admin task — escalate.\n- **Need a new AWS account-level OIDC provider**: requires IAM admin; surface to the platform owner with the account ID.\n- **Trust-policy change widening who can deploy** (new repo, new environment, new branch): security-sensitive — get explicit sign-off and prefer `security-audit` review before merging.\n- **ECS task execution\u002Frole separation questions** (the runtime task role vs the CI deploy role): that is application IAM, out of scope here — route to whoever owns the ECS task definitions.\n\n# Examples\n\n\u003Cexample title=\"Add a second repo to the OIDC pattern\">\nInput: \"The admin repo needs to deploy to its own ECS service from GitHub Actions.\"\n\n1. Create a dedicated role `admin-deploy-role` (do NOT widen the API role's `sub`).\n2. Trust policy `sub`: `repo:\u003Corg>\u002F\u003Cadmin-repo>:ref:refs\u002Fheads\u002Fmain`, `aud`: `sts.amazonaws.com`.\n3. Permission policy: same shape as Step 4, ECR repo ARN `...\u002Fadmin-service`, ECS service ARN `...\u002Fprod-cluster\u002Fadmin-service`.\n4. Set secrets in the admin repo: `AWS_ROLE_ARN` (the new role), `AWS_REGION`, `ECR_REPOSITORY=admin-service`, `ECS_CLUSTER=prod-cluster`, `ECS_SERVICE=admin-service`.\n5. Copy the `deploy-prod.yml` auth stanza unchanged; verify with `aws sts get-caller-identity`.\n\u003C\u002Fexample>\n\n\u003Cexample title=\"Review flagged an over-permissioned CI role\">\nFinding: the deploy role has `AmazonEC2ContainerRegistryFullAccess` + `AmazonECS_FullAccess` attached.\n\nFix: detach both managed policies; attach the inline least-privilege policy from Step 4 (ECR push + `ecs:UpdateService`\u002F`ecs:DescribeServices`, scoped to the repo\u002Fservice ARNs). Re-run the deploy workflow to confirm push + force-deploy still succeed, then confirm `iam:ListAttachedRolePolicies` shows only the scoped inline policy.\n\u003C\u002Fexample>\n\n# Failure modes\n\n| Failure | Symptom | Recovery |\n|---------|---------|----------|\n| Missing `id-token: write` | `Could not load credentials` \u002F `Not authorized to perform sts:AssumeRoleWithWebIdentity` at the configure step | Add `permissions: id-token: write` to the job |\n| Trust-policy `sub` mismatch | Role assumption denied even with `id-token: write` | Make `sub` match the actual `repo:OWNER\u002FREPO:ref:...` \u002F `:environment:...` of the running workflow |\n| `aud` wrong\u002Fmissing | Assume denied with condition failure | Set `token.actions.githubusercontent.com:aud` = `sts.amazonaws.com` |\n| Region mismatch | ECR login empty \u002F `RepositoryNotFoundException`, ECS `ClusterNotFoundException` | Align `AWS_REGION` with the region in the ECR + ECS ARNs |\n| Role lacks ECR perms | `denied: ... is not authorized to perform: ecr:PutImage` on push | Add the Step 4 ECR push actions scoped to the repo ARN |\n| `GetAuthorizationToken` mis-scoped | ECR login `AccessDenied` | Move `ecr:GetAuthorizationToken` to its own statement with `Resource: \"*\"` |\n| Role lacks ECS perms | `AccessDenied` on `ecs:UpdateService` | Add `ecs:UpdateService` + `ecs:DescribeServices` scoped to the service ARN |\n| OIDC provider absent | Assume fails account-wide for all repos | Create the `token.actions.githubusercontent.com` OIDC provider (IAM admin) |\n\n# Related skills\n\n- `github-actions-cicd` — overall workflow\u002Fpipeline structure (triggers, jobs, concurrency, build matrix). Use it for everything around the auth stanza; use this skill for the auth stanza + IAM itself.\n- `docker-build` — image build, tag, and `docker push` mechanics after ECR login. This skill stops at \"you can authenticate to ECR\"; docker-build owns the image.\n- `security-audit` — review least-privilege IAM policies and the trust-policy `sub` scoping; pair with it whenever a trust-policy change widens who can deploy.\n\n# How to use\n\n## What it does\n\nThis skill sets up and reviews how your GitHub Actions workflows sign in to AWS to push images and trigger deploys. The pattern is keyless: the workflow trades a short-lived OIDC token for temporary credentials by assuming an IAM role, so no long-lived access keys live in repo secrets. You get the workflow auth stanza, the trust policy, and the permission policy as one coherent set.\n\n## When to use it\n\n- A new repo or service needs to push to a container registry and deploy a container service from CI.\n- You are writing or auditing the IAM trust policy — the `sub` and `aud` conditions that decide which repo and branch may assume the role.\n- You are tightening a CI role that has broad managed policies attached and needs least-privilege scoping instead.\n- A deploy fails with `Not authorized to perform sts:AssumeRoleWithWebIdentity`, a registry `denied`, or an `AccessDenied` on the service update.\n\n## When not to use it\n\n- Pipeline structure — job order, triggers, concurrency, build matrix — belongs to `github-actions-cicd`.\n- Image build, tag, and push mechanics belong to `docker-build`; this skill stops once you can authenticate.\n- Runtime task roles, application IAM, and end-user auth are out of scope; this covers CI identity only.\n- Any non-AWS cloud — for another provider's CI auth, use that provider's skill.\n\n## How to invoke\n\n```\nSkill(skill: \"infra-pack:aws-cicd-auth\")\n```\n\nInvoke it directly, or just describe the task (\"wire OIDC auth for the deploy workflow\") and the skill is selected for you.\n\n## Inputs\n\n- Target repo (`OWNER\u002FREPO`) — scopes the trust policy `sub` — required.\n- Branch or environment allowed to deploy — required.\n- Registry repository name, cluster name, service name — required.\n- Region — must match the region in the resource ARNs — required.\n- Existing role ARN — only if you are extending a role instead of creating one — optional.\n\n## What you get back\n\nThe workflow auth stanza (`permissions:` plus the pinned credentials step), the trust policy JSON, the least-privilege permission policy JSON, the list of secrets to set with their non-secret values, and a verification step whose output proves which role was assumed. Combined policy and YAML output stays under 120 lines — a longer policy is a sign it stopped being least-privilege.\n\n## Worked example\n\n```\nSkill(skill: \"infra-pack:aws-cicd-auth\")\n\nRequest: \"The admin repo needs to deploy to its own service from GitHub Actions.\"\n\nYou get back:\n  - a dedicated role, not a widened `sub` on the existing one\n  - trust policy sub: repo:\u003Corg>\u002F\u003Cadmin-repo>:ref:refs\u002Fheads\u002Fmain, aud: sts.amazonaws.com\n  - permission policy scoped to that repo's registry ARN and service ARN\n  - the five secrets to set in the admin repo\n  - a verification step: aws sts get-caller-identity\n```\n\n## Related\n\n- `github-actions-cicd` — reach for it for everything around the auth stanza: triggers, jobs, concurrency.\n- `docker-build` — owns the image once you can authenticate to the registry.\n- `security-audit` — pair with it whenever a trust-policy change widens who can deploy.\n",{"docs":24,"name":5,"owner":28,"version":29,"description":7},{"status":25,"updated":26,"source_sha":27},"reviewed",1785974400000,"b4133a319aa1","swarmery-infra","1.0.0","main","2d9e918cc79c9b17b59356780ff0a3da38a3e98a","plugins\u002Finfra-pack\u002Fskills\u002Faws-cicd-auth",5,"https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery","https:\u002F\u002Fatretyak1985.github.io\u002Fswarmery\u002F","https:\u002F\u002Fgithub.com\u002Fatretyak1985","2026-11-11 04:29:12",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add atretyak1985\u002Fswarmery --skill aws-cicd-auth",{"tool":44,"command":45},"bunx","bunx skills add atretyak1985\u002Fswarmery --skill aws-cicd-auth",{"tool":47,"command":48},"pnpm","pnpm dlx skills add atretyak1985\u002Fswarmery --skill aws-cicd-auth","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Fplugins\u002Finfra-pack\u002Fskills\u002Faws-cicd-auth\u002FSKILL.md",true,[],[53,60,66,73,80,87],{"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},"01M78D4T1FFWFW19Z44AHH5BSY","short-desc","Too short.","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fshort-desc\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M78D4S0TWT42WXFJHC1DBN0R","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M78D4Q14P8DJ4W78N62F3EG2","global-skill","Fixture global skill (minimal user-scope shape, format doc §2.3).","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fglobal-skill\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M78D4N1JHGQJQ7EZ43KY5SV3","documented-skill","Fixture skill whose usage guide deliberately omits the Worked example subsection.","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fskills\u002Fdocumented-skill\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M78D4KVNZ03GBKGDFJZWW5FJ","z","NOT auto-discovered — only skills\u002F is scanned for plugins (§2.2).","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fplugins\u002Fcache\u002Fmkt\u002Ftoolpack\u002F1.0.0\u002Fworkflow-skills\u002Fz\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M78D4JMBRZWK51HFE5RZJGHC","y","Plugin skill y from toolpack — stored as \"toolpack:y\".","https:\u002F\u002Fgithub.com\u002Fatretyak1985\u002Fswarmery\u002Fblob\u002Fmain\u002Ftools\u002Fswarmery\u002Ftestdata\u002Fsysconfig\u002Fclaude\u002Fplugins\u002Fcache\u002Fmkt\u002Ftoolpack\u002F1.0.0\u002Fskills\u002Fy\u002FSKILL.md",[],[]]