add-gchat
Add Google Chat channel integration via Chat SDK.
Install / Use
npx skills add nanocoai/nanoclaw --skill add-gchatInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Tags
Our assessment of add-gchat
add-gchat scores 91/100 on our quality scale, 103rd of 398 Content & Media skills we index (top 26%).
Its SKILL.md is 6.0 KB long, well organised into 12 sections with 7 code examples: a thorough specification that gives an agent plenty to work with.
With 30,846 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated yesterday, so add-gchat is actively maintained.
- It is released under the MIT 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.
add-gchat compared with similar skills
All 4 of these similar skills score higher than add-gchat; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| add-gchat (this skill)by nanocoai | 91 | 30.8k | 1d ago | SKILL.md |
| siyuanby siyuan-note | 100 | 46.5k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 3d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 3d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 5d ago | SKILL.md |
Frequently asked questions
- How do I install add-gchat?
- Run
npx skills add nanocoai/nanoclaw --skill add-gchat. The install tabs above show the steps for each supported agent. - Which AI agents does add-gchat 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 add-gchat safe to use?
- It is MIT-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 add-gchat still maintained?
- The repository was last updated yesterday, so add-gchat is actively maintained.
Skill content
View source on GitHubname: add-gchat description: Add Google Chat channel integration via Chat SDK.
Add Google Chat Channel
Adds Google Chat support via the Chat SDK bridge. NanoClaw doesn't ship channels
in trunk — this skill copies the Google Chat adapter in from the channels
branch.
The mechanical steps under Apply carry nc: directive fences: an agent
reads the prose and applies them, and a parser can apply them deterministically
from the same document. Every directive is idempotent, so the whole skill is
safe to re-run; anything a parser can't apply falls back to the prose beside it.
Apply
1. Copy the adapter and its registration test
Fetch the channels branch and copy the Google Chat adapter and its
registration test into src/channels/ (overwrite — the branch is canonical):
src/channels/gchat.ts
src/channels/gchat-registration.test.ts
2. Register the adapter
Append the self-registration import to the channel barrel (skipped if the line is already present). This one line is the skill's only reach-in into core:
import './gchat.js';
3. Install the adapter package
Pinned to an exact version — the supply-chain policy rejects ranges and latest:
@chat-adapter/gchat@4.29.0
4. Build and validate
Build first: it guards the typed createChatSdkBridge(...) core call and proves
the dependency is installed. Then run the one integration test.
pnpm run build
pnpm exec vitest run src/channels/gchat-registration.test.ts
gchat-registration.test.ts imports the real channel barrel and asserts the
registry contains gchat. It goes red if the import line is deleted or drifts,
if the barrel fails to evaluate, or if @chat-adapter/gchat isn't installed (the
import throws) — so it also covers the dependency from step 3. End-to-end
delivery against a real Google Chat space is verified manually once the service
runs — see Credentials and Next Steps.
Credentials
Google Cloud setup is human and interactive — these steps are prose, not directives (no parser can click through the Google Cloud Console). A recipe rebuild produces a compiling, registered adapter that cannot receive a message until they're done.
- Go to Google Cloud Console
- Create or select a project
- Enable the Google Chat API
- Go to Google Chat API > Configuration:
- App name and description
- Connection settings: select HTTP endpoint URL and set to
https://your-domain/webhook/gchat- Create a Service Account:
- Go to IAM & Admin > Service Accounts > Create Service Account
- Grant the Chat Bot role
- Create a JSON key and download it
Store the credentials
Capture the service account JSON, then write it. prompt only asks and binds
the answer to a name; a separate directive consumes it — so the same prompt
could feed ncl or the OneCLI vault instead of .env by swapping only the
consumer. Here it goes to .env (set-if-absent — a value you've already filled
in is never overwritten) as a single-line string:
Paste the service account JSON as a single line — the key file you downloaded, e.g. `{"type":"service_account","project_id":"...","private_key":"...","client_email":"..."}`.
GCHAT_CREDENTIALS={{gchat_credentials}}
Webhook server
The Chat SDK bridge automatically starts a shared webhook server on port 3000
(WEBHOOK_PORT to change it), handling /webhook/gchat. This port must be
publicly reachable for Google Chat to deliver events — it's the HTTP endpoint
URL you set in the Connection settings above. Running locally, expose it with
ngrok (ngrok http 3000), a Cloudflare Tunnel, or a reverse proxy on a VPS.
Next Steps
If you're in the middle of /setup, return to the setup flow now. Otherwise run
/manage-channels to wire this channel to an agent group.
Channel Info
- type:
gchat - terminology: Google Chat has "spaces." A space can be a group conversation or a direct message with the bot.
- how-to-find-id: Open the space in Google Chat, look at the URL — the space ID is the segment after
/space/(e.g.spaces/AAAA...). Or use the Google Chat API to list spaces. - supports-threads: yes
- typical-use: Interactive chat — team spaces or direct messages
- default-isolation: Same agent group for spaces where you're the primary user. Separate agent group for spaces with different teams or sensitive contexts.
Troubleshooting
The adapter starts, then errors about credentials. GCHAT_CREDENTIALS must be the entire service account JSON collapsed to one line — inspect .env and confirm it still contains "type":"service_account", "private_key", and "client_email". A truncated paste (shells often mangle the multi-line private key) is the usual cause; download a fresh JSON key under IAM & Admin → Service Accounts → Keys and re-paste it as a single line.
Messages sent in the space never reach the agent. Google Chat delivers only to the HTTP endpoint URL set under Google Chat API → Configuration, and that URL must be publicly reachable at /webhook/gchat (shared webhook server, port 3000). Tunnel hostnames (ngrok free tier) change on restart — make sure the Configuration URL matches the tunnel that's actually up.
The app doesn't appear when adding it to a space. Check the Chat API Configuration page: the app status must be live and its visibility must include your domain or user, and you must be adding it from the same Google Workspace the Cloud project belongs to.
Everything configured but still silent. Run pnpm exec vitest run src/channels/gchat-registration.test.ts — red means the barrel import or the @chat-adapter/gchat install drifted, so re-run the Apply steps. If green, restart the service so it picks up the adapter and .env, then watch logs/nanoclaw.log for the inbound webhook hit.
Related Skills
siyuan
46.5kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
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.
