google-chat

Reads Google Chat messages and spaces via the API with OAuth token management.

97|17|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/antoniolg/agent-kit --skill google-chat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-chat
Source: https://github.com/antoniolg/agent-kit/tree/main/skills/google-chat
Command: npx skills add https://github.com/antoniolg/agent-kit --skill google-chat

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Read Google Chat messages and spaces from the command line by handling OAuth tokens and API calls.

Core Features & Use Cases

  • Read messages from Google Chat spaces and threads via the API.
  • Create or refresh OAuth tokens and manage token storage locally.
  • Parse Gmail Chat URLs to extract space and thread identifiers.
  • List available spaces and fetch thread-specific messages for verification.

Quick Start

Authenticate with python scripts/chat_auth.py to obtain tokens, then use python scripts/chat_list_spaces.py to view spaces or python scripts/chat_fetch.py to read messages.

Frequently Asked Questions about google-chat

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

FAQPage Schema
How do I read Google Chat messages from the command line?

To read Google Chat messages from the command line, you run a Python script that manages OAuth tokens and calls the Google Chat API to fetch messages from your specified spaces and threads.

How do I list available Google Chat spaces using the CLI?

You can list available Google Chat spaces using the CLI by executing the chat_list_spaces.py script, which queries the Google Chat API and outputs the spaces your account has access to.

Do I need OAuth to fetch Google Chat spaces and threads?

Yes, you need OAuth to fetch Google Chat spaces and threads. The skill handles the OAuth flow and stores tokens locally to authenticate your API requests for reading messages.

Can I parse Gmail Chat URLs to extract space and thread identifiers?

Yes, you can parse Gmail Chat URLs to extract space and thread identifiers. The skill includes functionality to parse these URLs so you can target specific threads for message retrieval.

What is the best way to automate reading messages from specific Google Chat threads?

The best way to automate reading messages from specific Google Chat threads is using the chat_fetch.py script, which filters by thread identifiers and outputs the messages in flexible formats for your workflows.