google-chat
Interact with Google Chat - send, read, edit, delete and react to messages, share images and files, reply in threads, and manage spaces and DMs
Install / Use
npx skills add sanjay3290/ai-skills --skill google-chatInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
MarketingSupported Platforms
Our assessment of google-chat
google-chat scores 87/100 on our quality scale, 369th of 652 Marketing skills we index.
Its SKILL.md is 4.9 KB long, well organised into 10 sections with 4 code examples: a solid amount of guidance for an agent.
It has 426 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so google-chat is actively maintained.
- Our last check on 2026-11-02 found the source still online.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-05. Automated pattern scan on 2026-10-05. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
google-chat compared with similar skills
All 4 of these similar skills score higher than google-chat; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| google-chat (this skill)by sanjay3290 | 87 | 426 | 2mo ago | SKILL.md |
| taste-skillby Leonxlnx | 100 | 118.3k | 10d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 113.0k | 10d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 86.4k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.0k | today | CLAUDE.md |
Frequently asked questions
- How do I install google-chat?
- Run
npx skills add sanjay3290/ai-skills --skill google-chat. The install tabs above show the steps for each supported agent. - Which AI agents does google-chat work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is google-chat safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is google-chat still maintained?
- The repository was last updated about 2 months ago, so google-chat is actively maintained.
Skill content
View source on GitHubname: google-chat description: | Interact with Google Chat - send, read, edit, delete and react to messages, share images and files, reply in threads, and manage spaces and 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, share a screenshot or file, edit or delete something already sent, or create a new space. Lightweight alternative to full Google Workspace MCP server with standalone OAuth authentication. license: Apache-2.0 metadata: author: sanjay3290 version: "1.1"
Google Chat
Lightweight Google Chat integration with standalone OAuth authentication. No MCP server required.
⚠️ Requires Google Workspace account. Personal Gmail accounts are not supported.
Everything is sent as the authenticated user, so treat write commands as outward-facing: confirm the exact text with the user before posting to a space, and never send to a channel the user did not name.
First-Time Setup
pip install -r requirements.txt
python scripts/auth.py login # opens browser
python scripts/auth.py status # verify
python scripts/auth.py logout
Commands
All operations via scripts/chat.py. Auto-authenticates on first use if not logged in.
Reading
python scripts/chat.py get-messages spaces/AAAA123 --limit 10
python scripts/chat.py get-messages spaces/AAAA123 --limit 10 --raw # full JSON
python scripts/chat.py get-message spaces/AAAA123/messages/XYZ
python scripts/chat.py list-threads spaces/AAAA123
python scripts/chat.py list-spaces
python scripts/chat.py find-space "Project Alpha" # ignores punctuation/spacing
python scripts/chat.py list-members spaces/AAAA123
Read output is compact by default — one block per message with its timestamp, sender, text
and resource name. That is roughly 14x smaller than the raw API payload, which matters when
an agent is paying for every token it reads. Use --raw when you need the full JSON.
Writing
python scripts/chat.py send-message spaces/AAAA123 "Hello team!"
python scripts/chat.py send-dm user@example.com "Hey, quick question..."
python scripts/chat.py reply-in-thread spaces/AAAA123 spaces/AAAA123/threads/T "Following up."
python scripts/chat.py send-media spaces/AAAA123 "Latest mocks" --file a.png --file b.png
python scripts/chat.py edit-message spaces/AAAA123/messages/XYZ "Corrected text."
python scripts/chat.py delete-message spaces/AAAA123/messages/XYZ
python scripts/chat.py delete-message spaces/AAAA123/messages/XYZ --force # has thread replies
python scripts/chat.py add-reaction spaces/AAAA123/messages/XYZ 👍
python scripts/chat.py setup-space "New Project" user1@example.com user2@example.com
python scripts/chat.py find-dm user@example.com
Add --dry-run to any write command to print the request instead of sending it. Use it when
wiring up or testing a flow so nothing lands in a real channel. (For send-dm it reports the
resolved recipient rather than the DM space, since resolving that needs a live call.)
Editing and deleting
send-message, send-dm and send-media return the created message's name
(spaces/X/messages/Y) — that is what edit-message, delete-message and add-reaction
take. You can only edit or delete messages you sent. To fix an older message, find its
name with get-messages first.
Attachments
send-media takes a repeatable --file. Google Chat accepts several attachments on one
message only when every attachment is media (image or video); a mixed batch is split
automatically into one message per file, with the caption on the first. --attachment is
still accepted as an alias for a single --file.
Optional aliases
Typing full email addresses and spaces/AAAA... IDs is tedious, and having an agent call
list-spaces to find a channel it uses daily is slow. Copy directory.example.json to
directory.json and map short names:
{
"users": { "alex": "alex@example.com" },
"spaces": { "team": { "id": "spaces/AAAAxxxxxxx", "name": "My Team" } }
}
Then send-message team "Deploying now" and send-dm alex "..." both resolve locally, with
no API call. Full emails and spaces/... names keep working everywhere.
directory.json is personal and gitignored. It is entirely optional — without it every
command still works, and an unresolvable alias fails immediately with the list of valid ones
rather than silently falling back to a scan.
Message formatting
Chat supports *bold*, _italic_, ~strike~, `code`, triple-backtick code blocks, and
<url|label> links. It does not support Markdown headings, tables, or []( ) links —
they render literally.
Token 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-oauth. Expired tokens refresh automatically.
Related Skills
taste-skill
118.3kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
113.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
86.4kAI video you can actually edit. HyperFrames is a free, open-source AI video editor. Describe any video and get a real project you can change down to the frame.
ruflo
82.0k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
