From gcenv
Walk the user through first-time gcenv setup — creating a profile, authenticating, and scoping the current Claude session.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gcenv:setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Walk the user through getting gcenv configured. This skill is user-invocable only (the user types `/gcenv:setup`), not auto-triggered.
Walk the user through getting gcenv configured. This skill is user-invocable only (the user types /gcenv:setup), not auto-triggered.
Check existing profiles. Run gcenv list. If profiles already exist, list them and ask if the user wants to (a) use an existing profile or (b) add a new one. If they pick (a), run gcenv claude use <name> and stop.
Pick a name. If creating a new profile, ask the user what to call it. Suggest names that map to the GCP project's role rather than its ID — e.g. prod, staging, client-a, personal. Validate that the name is [A-Za-z0-9_-]+ (gcenv enforces this; warn early so the user doesn't get a confusing error).
Ask for the account email. This is the Google account they sign in with for that project (e.g. [email protected]). It is not the project ID.
Run gcenv add <name> --account=<email>. gcenv will fetch the list of projects accessible to that account and let the user choose one. If the user is not yet authenticated for that account, the listing may be empty — in that case, tell them you'll need to authenticate first. Run gcenv add <name> --account=<email> --project=<project-id> if the user already knows the project ID.
Authenticate. When gcenv add prompts Authenticate now? (y/N), recommend y. The user will need to complete two browser steps:
gcloud auth login — for the user accountgcloud auth application-default login — for ADC (used by Python/Go/Terraform)You cannot complete these steps for them. Tell them clearly that browser tabs will open and they need to click through. If they decline, remind them to run gcenv login <name> later.
Scope the current session. After the profile is created, run gcenv claude use <name> and confirm with gcenv claude show.
Suggest the per-repo default (optional). If the user is working in a project repo that should always use this profile, offer to create .gcenv-profile at the repo root containing <name>. This makes every future Claude session in that repo auto-scope without any commands. Add it to .gitignore if the profile is personal, or commit it if it's a team convention.
gcloud auth login yourself. That's a gcenv login step (or a step inside gcenv add).gcloud config set ... commands. Those are global and will leak out of this session.npx claudepluginhub attikus-labs/gcenv --plugin gcenvCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.