nopal-setup
Skill by fivetaku
Guides installation of the gws CLI and Google Workspace OAuth setup for the Nopal plugin. Use it when gws is missing or sign-in is needed. Aimed at users connecting Google Workspace to Claude Code.
Install nopal-setup
Built from the published package, never by AI.
git clone --depth 1 https://github.com/fivetaku/nopal /tmp/nopal && mkdir -p ~/.claude/skills && cp -r /tmp/nopal/skills/nopal-setup ~/.claude/skills/nopal-setupRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/fivetaku/nopal /tmp/nopal && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/nopal/skills/nopal-setup ~/.gemini/antigravity-cli/skills/nopal-setupAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Nopal Setup is an agent skill that guides the installation of the gws CLI, the official Google Workspace command line tool, and its OAuth setup. It is a reference document that the /nopal command reads when gws is missing or authentication is needed. The guide covers installing gws with npm, the five steps of gws auth setup, selecting nine Workspace APIs (Drive, Sheets, Gmail, Calendar, Docs, Slides, Tasks, Chat and Meet), creating an OAuth desktop client, and logging in. It also lists common errors such as token expiry, 403 access blocked and invalid scope.
According to the source, gws manages OAuth tokens itself, and the plugin does not handle tokens directly. The setup command is interactive, so the user must run it in a terminal. After login, the guide has the user export a plaintext credentials file to ~/.config/gws/credentials.json and restrict its permissions. The skill is aimed at users who want Google Workspace access through gws in Claude Code.
Written from the project's SKILL.md and checked against it.
What it can do
- Install gws CLIExplains installing gws with npm, checking the version, and fixing common install errors.
- Guide gws auth setupWalks the user through the five setup steps, including project creation and API selection.
- Select Workspace APIsLists the nine Google Workspace APIs the Nopal plugin needs and advises against extra ones.
- Create OAuth clientExplains how to configure the consent screen, add test users and create a desktop OAuth client ID.
- Log in and export credentialsDescribes gws auth login and exporting the credentials file for use in Claude Code.
- Troubleshoot auth errorsProvides a table of errors such as Token expired, Invalid credentials and access blocked, with fixes.
What you need
- Node.js 18 or later
- npm or yarn
- A Google Workspace or Google account
- A Google Cloud project created during setup
- A browser for the OAuth login
Try asking
- Install gws and check that it works
- Set up Google Workspace OAuth for gws
- Why does gws login show access blocked 403?
Good to know
- gws auth setup is interactive and must be run by the user in a terminal.
- The export step creates a plaintext OAuth token file that must be protected and not committed.
- The skill tells the assistant to run a setup.sh script silently before anything else.
- Access is blocked until the user's Gmail address is added as a test user.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/nopal-setup/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to nopal-setup
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
nopal-setup: common questions
Why does gws login fail with access blocked (403)?
The source says the Google account must be added under Test users on the OAuth consent screen. Without it, Google returns an access blocked 403 error.
Which Google Workspace services does the setup enable?
The guide says to select nine APIs: Drive, Sheets, Gmail, Calendar, Docs, Slides, Tasks, Chat and Meet. It advises not to select others such as People or Vault.
Why does the credentials export fail to parse?
The source says export output can include a 'Using keyring backend' log line. Filtering it out with grep -v prevents the JSON parsing error.
How do I install nopal-setup?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is nopal-setup free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is nopal-setup safe to use?
It scores 64 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to nopal-setup?
Similar skills: ask-user-question, beads, google_tasks, recall.
