google-master

Provides shared OAuth authentication and configuration resources for Google API integration skills.

Updated Jan 22, 2026
One-click install
npx skills add https://github.com/FahadImdad/Nexus-Fahad --skill google-master-fahadimdad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-master
Source: https://github.com/FahadImdad/Nexus-Fahad/tree/main/00-system/skills/google/google-master
Command: npx skills add https://github.com/FahadImdad/Nexus-Fahad --skill google-master-fahadimdad

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-auth, google-auth-oauthlib, google-api-python-client, and includes scripts (resource) and references (resource) components.

What problem does it solve? Setting up Google API access normally requires duplicating OAuth setup, credential management, and error handling logic across every Google service integration. This shared resource library centralizes authentication, configuration checks, and troubleshooting references so Gmail, Docs, Sheets, and Calendar integrations all use one unified token and one credentials source. ## Core Features & Use Cases - Unified OAuth Flow: A single google_auth.py script handles login, logout, token refresh, and status checks across Gmail, Docs, Sheets, Calendar, Drive, Tasks, and Slides with one consent grant. - Pre-flight Configuration Validation: check_google_config.py returns structured JSON with an ai_action field (proceed, install_dependencies, need_credentials, need_login) so an AI agent can automatically diagnose and fix setup issues. - Shared Troubleshooting References: Setup guides and error-handling documentation cover HTTP 401/403/404/429 errors, scope issues, rate limits, and token refresh failures. - Use Case: When a user asks to send an email and the Gmail skill fails, the agent runs the config check, reads the ai_action field, and either installs dependencies, guides credential creation in Google Cloud Console, or triggers the login flow automatically. ## Quick Start Run the Google configuration check script with JSON output to verify that credentials, dependencies, and the OAuth token are ready before using any Google service.

Frequently Asked Questions about google-master

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I authenticate with Google APIs using OAuth in Python?

Run the google_auth.py script with the --login flag to start a browser-based OAuth flow. It requests all service scopes at once and saves the token to 01-memory/integrations/google-token.json for reuse across Gmail, Docs, Sheets, and Calendar.

How do I check if Google API credentials are configured correctly?

Run check_google_config.py with the --json flag to get a structured status report. The ai_action field tells you whether to proceed, install dependencies, add credentials, or log in.

What Python packages are required for Google API integration?

Three packages are required: google-auth, google-auth-oauthlib, and google-api-python-client. Install them with pip before running any authentication or API operations.

Why does Google OAuth return a 403 access_denied error?

A 403 access_denied error means your email is not listed as a test user in the OAuth consent screen. Add your email under APIs & Services > OAuth consent screen > Test users in Google Cloud Console, wait a few minutes, and retry.

What happens when a Google access token expires?

The scripts automatically attempt to refresh expired tokens using the stored refresh token. If refresh fails, run google_auth.py --login to re-authenticate, or delete the token file and log in again after an invalid grant error.