[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKKRG5MP58P5EW7GT7Z54S":3,"skill-same:01M7EKKRG5MP58P5EW7GT7Z54S":61},{"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":41,"commitSha":42,"skillDirectory":43,"forksCount":14,"repositoryHtmlUrl":44,"repositoryHomepageUrl":44,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M7EKKRG5MP58P5EW7GT7Z54S","hf-cloud-aws-context-discovery",null,"Discover the effective local AWS profile, region, account, and caller identity before any AWS task without exposing credentials.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fcloud\u002Fhf-cloud-aws-context-discovery\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: hf-cloud-aws-context-discovery\ndescription: \"Discover the effective local AWS profile, region, account, and caller identity before any AWS task without exposing credentials.\"\nrisk: safe\nsource: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Ftree\u002Fmain\u002Fskills\u002Fhf-cloud-aws-context-discovery\nsource_repo: huggingface\u002Fskills\nsource_type: official\ndate_added: \"2026-07-21\"\nauthor: Hugging Face\nlicense: Apache-2.0\nlicense_source: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE\ntags: [hugging-face, aws, credentials, discovery, cloud]\ntools: [claude, codex, cursor]\n---\n\n# AWS Context Discovery\n\nBefore doing any AWS work, inspect only masked AWS CLI metadata. Don't guess the region, and don't ask the user for things the CLI already answers. Never open or print `~\u002F.aws\u002Fcredentials`, credential-process output, secret environment variables, access keys, session tokens, or SSO token caches.\n\n## When to Use\n\n- Establish the effective AWS profile, region, account, and caller before AWS work.\n- Diagnose expired SSO sessions, missing profiles, or configuration overrides.\n- Provide verified context to later SageMaker planning and deployment skills.\n\n## What to discover\n\nRun these at the start of the AWS work and remember the results for the rest of the session.\n\n### 1. Active profile\n\nUse a profile the user explicitly named, otherwise use the profile identified by masked AWS CLI metadata. If the named profile is absent from `aws configure list-profiles`, surface that clearly.\n\n### 2. Region\n\nResolution order — stop at the first one that produces a value:\n1. Region the user explicitly named in this conversation\n2. Region reported by `aws configure list --profile \"$profile\"`\n3. Region reported by `aws configure get region --profile \"$profile\"`\n5. Ask the user — but only after the first four have failed\n\nDo not fall back to `us-east-1` or any other hardcoded default.\n\n### 3. Credentials, account ID, caller ARN\n\n```bash\naws sts get-caller-identity --profile \"$profile\" --region \"$region\"\n```\n\nThree purposes in one call: confirms credentials are valid (stop if not), returns the `Account` ID (needed for ARN construction), returns the `Arn` of the caller.\n\n### 4. Identify SSO \u002F assumed-role principals\n\nThe `Arn` field tells you what kind of principal this is. The pattern matters because it determines what IAM operations the caller can do.\n\n| ARN pattern | Type | IAM write capability |\n|---|---|---|\n| `arn:aws:iam::\u003Cacct>:user\u002F\u003Cname>` | IAM user | Depends on attached policies |\n| `arn:aws:sts::\u003Cacct>:assumed-role\u002FAWSReservedSSO_\u003C...>\u002F\u003Cemail>` | **SSO assumed-role** | Typically **none** — can't create\u002Fmodify IAM roles |\n| `arn:aws:sts::\u003Cacct>:assumed-role\u002F\u003Crole>\u002F\u003Csession>` | Regular assumed-role | Depends on the role |\n\n**If the caller is SSO**, surface this immediately before later skills hit `iam:CreateRole` and fail:\n\n> Heads up: you're authenticated via SSO (`AWSReservedSSO_\u003CPermissionSet>_...`). SSO principals usually can't create IAM roles directly. If we need a SageMaker execution role, I'll look for an existing one first — if none exists, you'll need to ask whoever manages your AWS access to create one.\n\nThis is the highest-leverage thing this skill does. Surfacing it now turns a confusing mid-deployment error into a five-second conversation.\n\n## Commands to run\n\n```bash\n# Profiles and masked effective metadata; never read credential files directly\naws configure list-profiles\naws configure list --profile \"$profile\"\naws configure get region --profile \"$profile\"\n\n# Validate credentials and get identity\naws sts get-caller-identity --profile \"$profile\" --region \"$region\"\n```\n\n`aws configure list` masks credential values and identifies their source. Use these metadata commands instead of parsing AWS files or inspecting secret-bearing environment variables. If the CLI cannot resolve a profile or region without exposing credentials, stop and ask the user for the non-secret profile or region value.\n\n## What to report back\n\nOne or two lines, not a wall of text:\n\n> Working with profile `my-profile` in `eu-west-1`, account `123456789012`. You're authenticated via SSO, so we'll need to use an existing IAM role rather than create one.\n\nDon't ask the user to confirm the region you just read from their config — they configured it; that is the confirmation.\n\nIf something is wrong (credentials expired, profile doesn't exist, no region anywhere), stop and surface the specific error before continuing.\n\n## Limitations\n\n- Discovery may reveal account IDs, role ARNs, or profile names; report only what the task needs and never expose secrets or session tokens.\n- STS identity checks require network access and valid credentials.\n- A valid identity does not imply permission to change resources.\n","# AWS Context Discovery\n\nBefore doing any AWS work, inspect only masked AWS CLI metadata. Don't guess the region, and don't ask the user for things the CLI already answers. Never open or print `~\u002F.aws\u002Fcredentials`, credential-process output, secret environment variables, access keys, session tokens, or SSO token caches.\n\n## When to Use\n\n- Establish the effective AWS profile, region, account, and caller before AWS work.\n- Diagnose expired SSO sessions, missing profiles, or configuration overrides.\n- Provide verified context to later SageMaker planning and deployment skills.\n\n## What to discover\n\nRun these at the start of the AWS work and remember the results for the rest of the session.\n\n### 1. Active profile\n\nUse a profile the user explicitly named, otherwise use the profile identified by masked AWS CLI metadata. If the named profile is absent from `aws configure list-profiles`, surface that clearly.\n\n### 2. Region\n\nResolution order — stop at the first one that produces a value:\n1. Region the user explicitly named in this conversation\n2. Region reported by `aws configure list --profile \"$profile\"`\n3. Region reported by `aws configure get region --profile \"$profile\"`\n5. Ask the user — but only after the first four have failed\n\nDo not fall back to `us-east-1` or any other hardcoded default.\n\n### 3. Credentials, account ID, caller ARN\n\n```bash\naws sts get-caller-identity --profile \"$profile\" --region \"$region\"\n```\n\nThree purposes in one call: confirms credentials are valid (stop if not), returns the `Account` ID (needed for ARN construction), returns the `Arn` of the caller.\n\n### 4. Identify SSO \u002F assumed-role principals\n\nThe `Arn` field tells you what kind of principal this is. The pattern matters because it determines what IAM operations the caller can do.\n\n| ARN pattern | Type | IAM write capability |\n|---|---|---|\n| `arn:aws:iam::\u003Cacct>:user\u002F\u003Cname>` | IAM user | Depends on attached policies |\n| `arn:aws:sts::\u003Cacct>:assumed-role\u002FAWSReservedSSO_\u003C...>\u002F\u003Cemail>` | **SSO assumed-role** | Typically **none** — can't create\u002Fmodify IAM roles |\n| `arn:aws:sts::\u003Cacct>:assumed-role\u002F\u003Crole>\u002F\u003Csession>` | Regular assumed-role | Depends on the role |\n\n**If the caller is SSO**, surface this immediately before later skills hit `iam:CreateRole` and fail:\n\n> Heads up: you're authenticated via SSO (`AWSReservedSSO_\u003CPermissionSet>_...`). SSO principals usually can't create IAM roles directly. If we need a SageMaker execution role, I'll look for an existing one first — if none exists, you'll need to ask whoever manages your AWS access to create one.\n\nThis is the highest-leverage thing this skill does. Surfacing it now turns a confusing mid-deployment error into a five-second conversation.\n\n## Commands to run\n\n```bash\n# Profiles and masked effective metadata; never read credential files directly\naws configure list-profiles\naws configure list --profile \"$profile\"\naws configure get region --profile \"$profile\"\n\n# Validate credentials and get identity\naws sts get-caller-identity --profile \"$profile\" --region \"$region\"\n```\n\n`aws configure list` masks credential values and identifies their source. Use these metadata commands instead of parsing AWS files or inspecting secret-bearing environment variables. If the CLI cannot resolve a profile or region without exposing credentials, stop and ask the user for the non-secret profile or region value.\n\n## What to report back\n\nOne or two lines, not a wall of text:\n\n> Working with profile `my-profile` in `eu-west-1`, account `123456789012`. You're authenticated via SSO, so we'll need to use an existing IAM role rather than create one.\n\nDon't ask the user to confirm the region you just read from their config — they configured it; that is the confirmation.\n\nIf something is wrong (credentials expired, profile doesn't exist, no region anywhere), stop and surface the specific error before continuing.\n\n## Limitations\n\n- Discovery may reveal account IDs, role ARNs, or profile names; report only what the task needs and never expose secrets or session tokens.\n- STS identity checks require network access and valid credentials.\n- A valid identity does not imply permission to change resources.\n",{"name":5,"risk":24,"tags":25,"tools":31,"author":35,"source":36,"license":15,"date_added":37,"description":7,"source_repo":38,"source_type":39,"license_source":40},"safe",[26,27,28,29,30],"hugging-face","aws","credentials","discovery","cloud",[32,33,34],"claude","codex","cursor","Hugging Face","https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Ftree\u002Fmain\u002Fskills\u002Fhf-cloud-aws-context-discovery","2026-07-21","huggingface\u002Fskills","official","https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fcloud\u002Fhf-cloud-aws-context-discovery","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill hf-cloud-aws-context-discovery",{"tool":53,"command":54},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill hf-cloud-aws-context-discovery",{"tool":56,"command":57},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill hf-cloud-aws-context-discovery","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fcloud\u002Fhf-cloud-aws-context-discovery\u002FSKILL.md",true,[],[62,71,78,85,92,99],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":70},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":70},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":70},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":70},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":66,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":70},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]