google-chat
Original:🇺🇸 English
Translated
2 scriptsChecked / no sensitive code detected
Interact with Google Chat - list spaces, send messages, read conversations, and manage DMs. Use when user asks to: send a message on Google Chat, read chat messages, list chat spaces, find a chat room, send a DM, or create a new chat space. Lightweight alternative to full Google Workspace MCP server with standalone OAuth authentication.
5installs
Sourcesanjay3290/ai-skills
Added on
NPX Install
npx skill4agent add sanjay3290/ai-skills google-chatTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Google Chat
Lightweight Google Chat integration with standalone OAuth authentication. No MCP server required.
⚠️ Requires Google Workspace account. Personal Gmail accounts are not supported.
First-Time Setup
Authenticate with Google (opens browser):
bash
python scripts/auth.py loginCheck authentication status:
bash
python scripts/auth.py statusLogout when needed:
bash
python scripts/auth.py logoutCommands
All operations via . Auto-authenticates on first use if not logged in.
scripts/chat.pybash
# List all spaces you're a member of
python scripts/chat.py list-spaces
# Find a space by name
python scripts/chat.py find-space "Project Alpha"
# Get messages from a space
python scripts/chat.py get-messages spaces/AAAA123 --limit 10
# Send a message to a space
python scripts/chat.py send-message spaces/AAAA123 "Hello team!"
# Send a message with file attachment
python scripts/chat.py send-message spaces/AAAA123 "Here's the report" --attachment /path/to/file.pdf
# Send a direct message
python scripts/chat.py send-dm user@example.com "Hey, quick question..."
# Send a DM with file attachment
python scripts/chat.py send-dm user@example.com "Please review" --attachment /path/to/file.pdf
# Find or create DM space with someone
python scripts/chat.py find-dm user@example.com
# List threads in a space
python scripts/chat.py list-threads spaces/AAAA123
# Create a new space with members
python scripts/chat.py setup-space "New Project" user1@example.com user2@example.comSpace Name Format
Google Chat uses format. Get space names from or .
spaces/AAAA123list-spacesfind-spaceToken Management
Tokens stored securely using the system keyring:
- macOS: Keychain
- Windows: Windows Credential Locker
- Linux: Secret Service API (GNOME Keyring, KDE Wallet, etc.)
Service name:
google-chat-skill-oauthAutomatically refreshes expired tokens using Google's cloud function.