gw-setup

gw-setup is a skill for Claude Code from Elnora-AI/elnora-google-workspace. It costs 121 tokens per session (1,665 once invoked), scanned A, original, Apache-2.0.

A first-run setup guide for connecting a Google Workspace account, Google's collection of work apps, to the gw plugin.

In plain words
What is it for?
Use it to install dependencies, create the plugin environment, configure a Google Cloud OAuth client, sign in, and verify the connection.
Why use it?
It handles the local environment and sign-in steps needed before the other Google Workspace commands can work.

Skill for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the google-workspace plugin — 13 skills, 4 commands, 1 agent shipped together

Good fit Use it to install dependencies, create the plugin environment, configure a Google Cloud OAuth client, sign in, and verify the connection.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Elnora-AI/elnora-google-workspace
Claude Code
/plugin install google-workspace

Made for: Claude Code.

Or install google-workspace, the plugin that ships this one along with the rest of its 13 skills, 4 commands, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gw-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/elnora-ai/elnora-google-workspace/gw-setup/github.svg)](https://agentmods.dev/skills/elnora-ai/elnora-google-workspace/gw-setup)
Your own site
<a href="https://agentmods.dev/skills/elnora-ai/elnora-google-workspace/gw-setup"><img src="https://agentmods.dev/badge/skills/elnora-ai/elnora-google-workspace/gw-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gw-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/elnora-ai/elnora-google-workspace/gw-setup"><img src="https://agentmods.dev/badge/skills/elnora-ai/elnora-google-workspace/gw-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,665 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00121 $0.01665
Opus 5 $0.00060 $0.00833
Sonnet 5 $0.00024 $0.00333
Haiku 4.5 $0.00012 $0.00167

Measured 9d ago against content hash 8e2e76f2f942, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

gw-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gw-setup/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

gw-setup — get from install to first result

Do everything you safely can for the user. The only unavoidable human actions are clicking buttons inside the Google Cloud Console (Enable, tick the consent box, download the client JSON) and approving the OAuth consent screen. Navigate to the exact page, tell the user precisely what to click, wait, then verify by reading the page before moving on. Report progress as you go.

Throughout, run the CLI via the launcher "$PLUGIN_ROOT/bin/gw" once it exists, or python3 "$PLUGIN_ROOT/cli/gw.py" (fall back to python) before that. Resolve PLUGIN_ROOT to this plugin's root ($CLAUDE_PLUGIN_ROOT if set, else the repo root that contains cli/gw.py).

Step 1 — Environment

  1. Detect Python: prefer uv if present (uv --version), else python3 --version (fall back to python). Require Python 3.10+.
  2. Create the plugin-local venv and install deps from requirements.txt (idempotent — the single source of truth for the dependency set):
    • With uv: uv venv "$PLUGIN_ROOT/.venv" then uv pip install --python "$PLUGIN_ROOT/.venv" -r "$PLUGIN_ROOT/requirements.txt"
    • Without uv: python3 -m venv "$PLUGIN_ROOT/.venv" then "$PLUGIN_ROOT/.venv/bin/pip" install -r "$PLUGIN_ROOT/requirements.txt" (Windows: "$PLUGIN_ROOT\.venv\Scripts\pip.exe"). keyring is listed in requirements.txt but optional at runtime (OS-keychain token storage); if it fails to build, install the rest and continue — tokens fall back to a 0600 file.
  3. Ensure the launcher is executable: chmod +x "$PLUGIN_ROOT/bin/gw" (POSIX). On Windows use bin/gw.cmd or bin/gw.ps1.
  4. Verify: gw --version prints gw, version 1.0.0. If not, fix before continuing.

Step 2 — Google Cloud project + Desktop OAuth client

This plugin ships no OAuth client — each user brings their own. This is the part that needs a browser.

  1. Get the machine-readable checklist. Run gw auth setup (or gw auth setup --compact). It returns JSON: { "config_dir": "...", "steps": [ {step,title,url,instructions,verify}, ... ] }. Drive the rest of this step from that output — do not hardcode URLs.

Read the full file on GitHub · 119 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 119 lines · 121 tokens per session scan A 8e2e76f2f942

Subscribe to this mod's changes

gw-setup is a skill published in the GitHub repository Elnora-AI/elnora-google-workspace (2 stars, last pushed yesterday), licensed Apache-2.0. It adds 121 tokens to every session and 1,665 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

sync-check

Walks the documentation dependency web after a CLI code change and reports which downstream files (skills, SOPs, READMEs, plugin references) are out of sync. Use after fixing a bug, adding a command, changing auth behavior, refactoring, or before committing — and when the user says "sync check", "update docs"…

ItamarZand88/CLI-Anything-WEB · 95 tokens

gap-analyzer

Compares a CLI's implemented commands against its APP.md API map and traffic-analysis.json to find missing endpoints, incomplete CRUD, dead client methods, and priority gaps. Runs as the mandatory first step of /cli-anything-web:refine and as an optional pre-review scan in standards.

ItamarZand88/CLI-Anything-WEB · 62 tokens

linkedin-cli

Interacts with LinkedIn via the cli-web-linkedin command-line tool — search people/jobs/companies, view profiles and feed, create/edit/delete posts, react and comment, manage connections and invitations, read and send messages, view notifications, follow companies. Use when the user asks about LinkedIn or wants to…

ItamarZand88/CLI-Anything-WEB · 93 tokens

alive:demo

Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the create/list/activate/deactivate/delete/status surface and orchestrates the 5-stage subagent generation pipeline.

alivecontext/alive · 52 tokens

alive:session-history

Revive sessions (quick or heavy), browse, and search — 'what happened recently?', 'find the session where we discussed X', 'revive yesterday's session'. For single-session recall and multi-session browsing. If the human needs to merge multiple sessions into one working context or detect conflicts between parallel…

alivecontext/alive · 76 tokens