google-auth

Provide unified OAuth2 authentication for Google APIs via CLI or Python.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/takemi-ohama/ai-plugins --skill google-auth-takemi-ohama
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-auth
Source: https://github.com/takemi-ohama/ai-plugins/tree/main/plugins/ndf/skills/google-auth
Command: npx skills add https://github.com/takemi-ohama/ai-plugins --skill google-auth-takemi-ohama

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill provides a unified OAuth2 authentication helper for Google APIs, enabling multiple services to share a single token flow and store credentials securely.

Core Features & Use Cases

  • Single-token management for multiple Google API scopes.
  • Automatic token refresh and on-the-fly scope merging.
  • CLI and Python library usage for seamless automation and integration.
  • Manual copy-paste flow option for headless or container environments.

Quick Start

Run the CLI to authorize Google APIs via OAuth2 and save the token to the default location.

Frequently Asked Questions about google-auth

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

FAQPage Schema
How do I manage Google API OAuth2 tokens across multiple services like Sheets and Drive?

Google API OAuth2 token management across multiple services is handled by a unified helper that merges scopes automatically, enabling Sheets, Drive, and Calendar to share a single token flow securely.

What is the best way to authenticate Google API scripts in a headless container environment?

Authenticating Google API scripts in a headless container is supported via a manual copy-paste OAuth2 flow, allowing you to authorize access and save tokens without a local browser interface.

Does this OAuth2 helper support automatic token refresh for Python automation?

Automatic token refresh for Python automation is fully supported, allowing CLI scripts and imported libraries to maintain continuous Google API access without manual re-authentication.

Can I merge new Google API scopes into an existing token on the fly?

Merging new Google API scopes into an existing token is handled on the fly by the helper, dynamically updating your credentials to authorize access to additional services without starting over.

Why use a unified OAuth2 helper instead of separate authentication flows for each Google API?

A unified OAuth2 helper centralizes token storage and scope merging, preventing credential fragmentation and simplifying maintenance when automating tasks across Drive, Sheets, and Chat APIs.

Do I need google-auth and google-auth-oauthlib installed to use this token management helper?

The google-auth and google-auth-oauthlib Python libraries are required dependencies, providing the underlying OAuth2 protocol support needed to execute the token management and refresh logic.