jezweb/claude-skills/google-chat-messages
Claude Code and agent skill by jezweb/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Send Google Chat messages via incoming webhooks — text, rich cards (cardsV2), threaded replies. TypeScript types, card builder utility, widget reference inline. Use whenever the user wants to post to Google Chat from a script, build a chatbot reply, send a notification card, build a Google Chat webhook integration, or troubleshoot card / threading issues.
Install
npx vskill@latest install jezweb/claude-skills/google-chat-messagesSKILL.md
The same SKILL.md was published earlier as jezweb/claude-skills/google-chat-messages.
Google Chat Messages
Send messages to Google Chat spaces via incoming webhooks. Produces text messages, rich cards (cardsV2), and threaded replies.
What You Produce
- Text messages with Google Chat formatting
- Rich card messages (cardsV2) with headers, sections, widgets
- Threaded conversations
- Reusable webhook sender utility
Workflow
Step 1: Get Webhook URL
In Google Chat:
- Open a Space > click space name > Manage webhooks
- Create webhook (name it, optionally add avatar URL)
- Copy the webhook URL
Store the URL as an environment variable or in your secrets manager — never hardcode.
Step 2: Choose Message Type
| Need | Type | Complexity | |
|---|---|---|---|
| Simple notification | Text message | Low | |
| Structured info (status, digest) | Card message (cardsV2) | Medium | |
| Ongoing updates | Threaded replies | Medium | |
| Action buttons (open URL) | Card with buttonList | Medium |
Step 3: Send the Message
Use assets/webhook-sender.ts for the sender utility. Use assets/card-builder.ts for structured card construction.
Text Formatting
Google Chat does NOT use standard Markdown.
| Format | Syntax | Example | |||
|---|---|---|---|---|---|
| Bold | *text* | *important* | |||
| Italic | _text_ | _emphasis_ | |||
| Strikethrough | ~text~ | ~removed~ | |||
| Monospace | ` text ` | ` code ` | |||
| Code block | `text` | Multi-line code | |||
| Link | `<url\ | text>` | `<https://example.com\ | Click here>` | |
| Mention user | <users/USER_ID> | <users/123456> | |||
| Mention all | <users/all> | <users/all> |
Not supported: **double asterisks**, headings (###), blockquotes, tables, images inline.
Text Message Example
cardsV2 Structure
Cards use the cardsV2 format (recommended over legacy cards).
Widget Reference
All widget types available in cardsV2 sections.
textParagraph
Formatted text block. Supports Google Chat formatting (*bold*, _italic_, <url|text>).
decoratedText
Labelled value with optional icons. Most versatile widget for key-value data.
Basic:
With start icon:
With custom icon URL:
With button:
Clickable (whole widget):
With wrap text:
buttonList
One or more action buttons. Buttons open URLs or trigger actions.
Single button:
Multiple buttons:
Button with icon:
image
Standalone image widget.
divider
Horizontal line separator between widgets.
Collapsible Sections
Sections can be collapsed with only the first N widgets visible:
Known Icons
Icons available via knownIcon in decoratedText and button widgets.
| Icon Name | Use For | |
|---|---|---|
AIRPLANE | Travel, flights | |
BOOKMARK | Save, reference, links | |
BUS | Transport, transit | |
CAR | Driving, transport | |
CLOCK | Time, duration, schedule | |
CONFIRMATION_NUMBER_ICON | Tickets, bookings | |
DESCRIPTION | Documents, files | |
DOLLAR | Money, pricing, cost | |
EMAIL | Email, messages | |
INVITE | Invitations | |
MAP_PIN | Location, address | |
MEMBERSHIP | Members, users | |
MULTIPLE_PEOPLE | Teams, groups | |
OFFER | Deals, promotions | |
PERSON | Individual user | |
PHONE | Phone number, calls | |
SHOPPING_CART | Commerce, purchases | |
STAR | Rating, favourite, important | |
STORE | Shop, retail | |
TICKET | Tickets, events | |
VIDEO_CAMERA | Video, meetings |
For icons not in the list, use iconUrl with any publicly accessible image (square, ideally 24x24 or 48x48 pixels).
Threading
Thread messages together using threadKey:
The threadKey is a client-assigned string. Use consistent keys for related messages (e.g., deploy-{date}, alert-{id}).
Common Patterns
Notification Card
Digest Card (Weekly Summary)
Error Prevention
| Mistake | Fix | ||
|---|---|---|---|
**bold** in text | Use *bold* (single asterisks) | ||
[text](url) links | Use `<url\ | text>` format | |
Missing cardsV2 wrapper | Wrap card in { cardsV2: [{ cardId, card }] } | ||
| Thread replies not threading | Append &messageReplyOption=REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD to webhook URL | ||
| Webhook returns 400 | Check JSON structure — common issue is missing text or cardsV2 at top level | ||
| Card not showing | Ensure sections has at least one widget |
Asset Files
| File | Purpose | |
|---|---|---|
assets/types.ts | TypeScript type definitions for cardsV2 | |
assets/card-builder.ts | Utility to build card messages | |
assets/webhook-sender.ts | POST to webhook with error handling |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/integrations/skills/google-chat-messages/SKILL.md
Popularity
- Repository stars
- 874
- Repository forks
- 90
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jezweb/claude-skills/google-chat-messages)