← Back to list

google-chat
by antoniolg
A collection of skills for AI agents
⭐ 5🍴 0📅 Jan 21, 2026
SKILL.md
name: google-chat description: Read Google Chat spaces/threads via the Chat API, create/refresh OAuth tokens, parse Gmail Chat URLs, and list spaces. Use when asked to look up or verify messages in Google Chat or when you need API access to Chat from the CLI.
Google Chat
Overview
Use this skill to read Google Chat messages from specific spaces or threads using local OAuth credentials.
Quick start
- Create/refresh the Chat OAuth token:
python scripts/chat_auth.py
- Fetch messages from a space:
python scripts/chat_fetch.py \
--space AAAAAAA... \
--limit 50
- Fetch messages from a Gmail Chat URL (auto-extracts space/thread):
python scripts/chat_fetch.py \
--space "https://mail.google.com/chat/u/0/#chat/space/..." \
--limit 50
Common tasks
Authenticate or refresh token
- Run
scripts/chat_auth.py. - If browser login is blocked, pass
--no-browserto use the console flow. - Token is stored at
~/.config/google-chat/token.jsonby default.
List spaces
python scripts/chat_list_spaces.py
Fetch messages from a thread
python scripts/chat_fetch.py \
--space AAAAAAA... \
--thread THREAD_ID \
--limit 50
Output formats
- Default output is
text(timestamp | sender | text | message name). - Use
--format jsonto get a JSON payload withmessagesandnextPageToken.
Notes
- If a Chat URL is provided, extract the space/thread IDs and use them directly.
- Keep output scoped to what the user asked for; avoid dumping full histories by default.
- Default client secret path is
~/.config/skills/client_secret.json. If missing, pass--client-secretexplicitly (recommended to document the path inAGENTS.md).
References
references/setup.md
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon