Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
fix(gws): handle OAuth URL as foreground interactive step
Jeremy Dawesec2a289dfd20
diff --git a/plugins/integrations/skills/gws-install/SKILL.md b/plugins/integrations/skills/gws-install/SKILL.mdindex ed51b70f..0ef1af82 100644--- a/plugins/integrations/skills/gws-install/SKILL.md+++ b/plugins/integrations/skills/gws-install/SKILL.md@@ -79,26 +79,34 @@ export GOOGLE_WORKSPACE_CLI_CLIENT_SECRET="your-client-secret"### Step 4: Authenticate-Ask which Google account to use, then run:+**IMPORTANT**: This step is interactive — it prints a URL the user must open in their browser. Do NOT run this as a background task or sub-agent. Run in the foreground so the URL is visible.++Ask which Google account to use, then:++1. **Capture the auth URL** — run the login command and extract the URL:```bash-gws auth login --full+gws auth login -s gmail,drive,calendar,sheets,docs,chat,tasks 2>&1 | head -5```-Or with specific services to match the original setup:+2. **Present the URL to the user** — copy the full `https://accounts.google.com/...` URL from the output and paste it as text in your response so the user can click it. Terminal output may wrap or truncate long URLs, making them impossible to copy.++3. **Wait for the user** to approve in their browser, then verify:```bash-gws auth login -s gmail,drive,calendar,sheets,docs,chat,tasks+gws auth status```-The user can check their original machine's scopes with `gws auth status` to see what was granted.+If the browser didn't open automatically, the user needs to manually copy the URL. The URL is very long (multiple OAuth scopes) so terminal wrapping can break it.-After browser approval, verify:+**Alternative — `--full` for all scopes:**```bash-gws auth status+gws auth login --full```+The user can check their original machine's scopes with `gws auth status` to see what was granted.+### Step 5: Install Agent Skills```bashdiff --git a/plugins/integrations/skills/gws-setup/SKILL.md b/plugins/integrations/skills/gws-setup/SKILL.mdindex bdac1000..5528ec23 100644--- a/plugins/integrations/skills/gws-setup/SKILL.md+++ b/plugins/integrations/skills/gws-setup/SKILL.md@@ -134,7 +134,9 @@ Recommend **full access** for power users. The OAuth consent screen shows all re### Step 5: Authenticate-Run the login command. This opens a browser — the user signs in with their chosen Google account and approves the scopes.+**IMPORTANT**: This step is interactive — it prints a URL the user must open in their browser. Do NOT run as a background task or sub-agent. Run in foreground.++1. Run the login command:```bashgws auth login --full@@ -142,6 +144,10 @@ gws auth login --fullgws auth login -s gmail,drive,calendar,sheets,docs,chat,tasks```+2. The command prints a long OAuth URL. **Copy the full URL from the output and paste it in your response** so the user can click it — terminal wrapping can truncate it, making it impossible to copy from the terminal directly.++3. Wait for the user to approve in their browser.+After browser approval, gws stores encrypted credentials at `~/.config/gws/credentials.enc`.Verify: