[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A56FATED35FJBFW946NGVA":3,"skill-same:01M7A56FATED35FJBFW946NGVA":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7A56FATED35FJBFW946NGVA","cloud-cli",null,"Sign the agent computer in to a cloud provider's CLI (AWS, Google Cloud, Azure, or another) with a device-code flow, then run that CLI as the requesting user. Covers checking the CLI is installed, the login that survives the browser round-trip, and the boundaries on cloud writes.","stenknz\u002Fqm","stenknz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13545676?v=4","01M7A55H32TYCGZ61EZMW6PAJ4","01M7A55H3SHRVRFQ9H51M80WGQ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fcloud-cli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cloud-cli\ndescription: Sign the agent computer in to a cloud provider's CLI (AWS, Google Cloud, Azure, or another) with a device-code flow, then run that CLI as the requesting user. Covers checking the CLI is installed, the login that survives the browser round-trip, and the boundaries on cloud writes.\n---\n\n# Cloud provider CLIs\n\nA resident-machine-auth connector. It adds NO new tool: a provider's CLI is a command on\nthe agent computer and you drive it with the `execute` primitive. Tokens are cached on the\nmachine across turns. Logins never enter workspace backups; the platform keeps an encrypted\ncopy and restores it if the machine is replaced — if the token is still gone, log in again.\n\n## First: is the CLI even here?\n\n**Do not assume the binary is on PATH.** The sandbox image ships a small, fixed tool set,\nand the \"Your computer\" block in your prompt lists what is installed and what is not — read\nit, or just check:\n\n```bash\ncommand -v aws || echo \"not installed\"\n```\n\nIf it is missing, say so and pick a path rather than failing halfway:\n\n- **Install it for this task** if the image allows it and the task is worth it — the\n  provider's own installer, into the workspace or `$HOME`, not a system path. Say that you\n  installed it; it lasts as long as the machine's disk.\n- **Use the provider's HTTP API** with a credential you already have (a keychain entry, or\n  a shared org credential by proxy — see `skills\u002Fuse-shared-credential\u002FSKILL.md`).\n- **Ask the operator** to add the CLI to the sandbox image if this will recur. That is the\n  durable fix; a per-turn install is not.\n\nThe same check applies to plugins and helpers (`kubectl`, a Terraform provider, a\nprovider's beta components) — verify, don't assume.\n\n## Logging in: always the device-code flow\n\nThe user approves the login in a browser on _their own_ computer, not on the agent\ncomputer. Any flow that completes by redirecting the approving browser to\n`http:\u002F\u002F127.0.0.1:\u003Cport>` therefore cannot work here: that redirect lands on the user's\nlaptop, the agent's listener never receives the code, and the login hangs until it expires.\nForce the **device-authorization grant** instead — a verification URL plus a one-time code,\nwhich the agent completes by polling the provider server-side, so the user can approve from\nany device.\n\n| Provider                  | Login                                      | Verify                           |\n| ------------------------- | ------------------------------------------ | -------------------------------- |\n| AWS (IAM Identity Center) | `aws sso login --use-device-code`          | `aws sts get-caller-identity`    |\n| Google Cloud              | `gcloud auth login --no-launch-browser`    | `gcloud auth print-access-token` |\n| Azure                     | `az login --use-device-code`               | `az account show`                |\n| Another provider          | its documented device-code \u002F headless flag | its \"who am I\" command           |\n\nNever run the bare form (`aws sso login`, `gcloud auth login`, `az login`) — those default\nto a browser redirect on this machine.\n\nFor AWS specifically, `--use-device-code` is mandatory rather than merely preferable: CLI v2\n(≥ 2.22) defaults `aws sso login` to the PKCE authorization-code flow, and no amount of\nkeeping the box warm can rescue it.\n\nThe platform recognizes these as device-flow logins and runs them as **durable process\nsessions**: the command prints the verification URL and one-time code immediately and keeps\npolling across turns — it does not block your turn or die at teardown. Give the user the URL\nand the code, tell them to approve and then say \"done\". See\n`skills\u002Finteractive-login\u002FSKILL.md` for how to drive that from the background tool.\n\nOn the next turn, run the same login command again (or any provider command): if approval\nlanded, the platform reports you are already authenticated and the token is cached; if it is\nstill pending, you get the same URL and code back. These logins self-expire in roughly ten\nminutes, so if the user takes too long, start a fresh one.\n\n## Boundaries\n\n- You act as the resolved user. The provider's own permissions are the hard ceiling — the\n  agent is never a way to exceed the user's own cloud access.\n- A login is auth setup, not a data read. Any _mutating_ action (delete, terminate, scale,\n  write) is a write — get approval first, same as any destructive command.\n- Don't echo access tokens, client secrets, or role credentials into the channel.\n\n## Go-live (set once, per provider)\n\n- Add the provider's sign-in and regional service endpoints to the org egress allowlist —\n  both the identity endpoints the login needs and the service endpoints your workflows call.\n- Ship the CLI in the agent computer image if people will use it regularly, and confirm it\n  runs there (AWS CLI v2, for example, needs a glibc base; a musl\u002FAlpine image cannot run\n  its binary).\n- Put the provider's non-secret config where the CLI expects it (for AWS, an\n  `[sso-session …]` block plus a profile in `~\u002F.aws\u002Fconfig`), so the first login has a start\n  URL, region, and session name to read.\n","# Cloud provider CLIs\n\nA resident-machine-auth connector. It adds NO new tool: a provider's CLI is a command on\nthe agent computer and you drive it with the `execute` primitive. Tokens are cached on the\nmachine across turns. Logins never enter workspace backups; the platform keeps an encrypted\ncopy and restores it if the machine is replaced — if the token is still gone, log in again.\n\n## First: is the CLI even here?\n\n**Do not assume the binary is on PATH.** The sandbox image ships a small, fixed tool set,\nand the \"Your computer\" block in your prompt lists what is installed and what is not — read\nit, or just check:\n\n```bash\ncommand -v aws || echo \"not installed\"\n```\n\nIf it is missing, say so and pick a path rather than failing halfway:\n\n- **Install it for this task** if the image allows it and the task is worth it — the\n  provider's own installer, into the workspace or `$HOME`, not a system path. Say that you\n  installed it; it lasts as long as the machine's disk.\n- **Use the provider's HTTP API** with a credential you already have (a keychain entry, or\n  a shared org credential by proxy — see `skills\u002Fuse-shared-credential\u002FSKILL.md`).\n- **Ask the operator** to add the CLI to the sandbox image if this will recur. That is the\n  durable fix; a per-turn install is not.\n\nThe same check applies to plugins and helpers (`kubectl`, a Terraform provider, a\nprovider's beta components) — verify, don't assume.\n\n## Logging in: always the device-code flow\n\nThe user approves the login in a browser on _their own_ computer, not on the agent\ncomputer. Any flow that completes by redirecting the approving browser to\n`http:\u002F\u002F127.0.0.1:\u003Cport>` therefore cannot work here: that redirect lands on the user's\nlaptop, the agent's listener never receives the code, and the login hangs until it expires.\nForce the **device-authorization grant** instead — a verification URL plus a one-time code,\nwhich the agent completes by polling the provider server-side, so the user can approve from\nany device.\n\n| Provider                  | Login                                      | Verify                           |\n| ------------------------- | ------------------------------------------ | -------------------------------- |\n| AWS (IAM Identity Center) | `aws sso login --use-device-code`          | `aws sts get-caller-identity`    |\n| Google Cloud              | `gcloud auth login --no-launch-browser`    | `gcloud auth print-access-token` |\n| Azure                     | `az login --use-device-code`               | `az account show`                |\n| Another provider          | its documented device-code \u002F headless flag | its \"who am I\" command           |\n\nNever run the bare form (`aws sso login`, `gcloud auth login`, `az login`) — those default\nto a browser redirect on this machine.\n\nFor AWS specifically, `--use-device-code` is mandatory rather than merely preferable: CLI v2\n(≥ 2.22) defaults `aws sso login` to the PKCE authorization-code flow, and no amount of\nkeeping the box warm can rescue it.\n\nThe platform recognizes these as device-flow logins and runs them as **durable process\nsessions**: the command prints the verification URL and one-time code immediately and keeps\npolling across turns — it does not block your turn or die at teardown. Give the user the URL\nand the code, tell them to approve and then say \"done\". See\n`skills\u002Finteractive-login\u002FSKILL.md` for how to drive that from the background tool.\n\nOn the next turn, run the same login command again (or any provider command): if approval\nlanded, the platform reports you are already authenticated and the token is cached; if it is\nstill pending, you get the same URL and code back. These logins self-expire in roughly ten\nminutes, so if the user takes too long, start a fresh one.\n\n## Boundaries\n\n- You act as the resolved user. The provider's own permissions are the hard ceiling — the\n  agent is never a way to exceed the user's own cloud access.\n- A login is auth setup, not a data read. Any _mutating_ action (delete, terminate, scale,\n  write) is a write — get approval first, same as any destructive command.\n- Don't echo access tokens, client secrets, or role credentials into the channel.\n\n## Go-live (set once, per provider)\n\n- Add the provider's sign-in and regional service endpoints to the org egress allowlist —\n  both the identity endpoints the login needs and the service endpoints your workflows call.\n- Ship the CLI in the agent computer image if people will use it regularly, and confirm it\n  runs there (AWS CLI v2, for example, needs a glibc base; a musl\u002FAlpine image cannot run\n  its binary).\n- Put the provider's non-secret config where the CLI expects it (for AWS, an\n  `[sso-session …]` block plus a profile in `~\u002F.aws\u002Fconfig`), so the first login has a start\n  URL, region, and session name to read.\n",{"name":5,"description":7},"main","2903289d8a26de66cecb89b4e3b7baf0d612a353","skills-seed\u002Fcloud-cli","https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm","https:\u002F\u002Fgithub.com\u002Fstenknz","2026-08-05 09:22:50",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add stenknz\u002Fqm --skill cloud-cli",{"tool":35,"command":36},"bunx","bunx skills add stenknz\u002Fqm --skill cloud-cli",{"tool":38,"command":39},"pnpm","pnpm dlx skills add stenknz\u002Fqm --skill cloud-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fcloud-cli\u002FSKILL.md",true,[],[44,51,59,66,73,80],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7A57QBGNYM78RTYSTWC0NBG","use-shared-credential","When you need to call a service the org has a SHARED credential for (a SERP\u002Fsearch key, a paid-API key, a data-vendor feed, a Git remote) — and the platform has told you that credential is available to this conversation — make the call BY PROXY through the credential broker. You never see the secret; the core stamps it onto the outbound request for you.","https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fuse-shared-credential\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":55,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7A57MHRDEH7VNA33FVYQJ38","taste-skill","Design taste and process for anything a person will look at in a browser — landing page, dashboard, prototype, deck. The default design driver for a browsable artifact, with an anti-slop playbook for the visual language.","https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Ftaste-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Ftaste-skill\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M7A57GASC9JNJA25E1X9JWDD","publish","Publish a long-lived internal web app, site, or dashboard from the agent computer. Scope-bound (only the owner's scope, plus whoever you share it with, can reach it), immutable versions with rollback, a stable friendly link. No public URL.","https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fpublish\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M7A57CN6GAM16W01364J41CD","popular-web-designs","54 real-world design systems (Stripe, Linear, Vercel, Notion, Apple…) as ready-to-paste HTML\u002FCSS — exact colors, typography, components, and spacing for styling a page after a known brand.","https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fpopular-web-designs\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7A57922ZNP8VMA239NFQAHS","morning-digest","Assemble and deliver one short morning digest for the person who owns the cron — what changed overnight in the sources they already connected, and what it means for their day.","https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fmorning-digest\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7A575VT6H8VX424HJKDDYTC","memory","Deliberately search, add to, or curate your long-term memory with the `memory` tool — beyond the automatic recall\u002Fcapture every turn already does. Use when asked who someone is or what they're working on, when you learn a durable fact worth keeping now, or when your notebook holds stale or wrong entries you should clean up.","https:\u002F\u002Fgithub.com\u002Fstenknz\u002Fqm\u002Fblob\u002Fmain\u002Fskills-seed\u002Fmemory\u002FSKILL.md",[],[]]