Add Google Chat Channel
Copies, registers, pins and verifies the Google Chat adapter for a NanoClaw agent in one guided pass.
AutomationIntermediate★ 30,471⑂ 12,865AI score 7/10Last updated: Aug 9, 2026
What it does
Automates wiring a Google Chat channel into NanoClaw:
- Pulls
gchat.tsand its registration test from thechannelsbranch intosrc/channels/ - Appends the self-registration import to
src/channels/index.ts(skipped if present) - Installs
@chat-adapter/gchat@4.29.0at an exact pinned version (no ranges, nolatest) - Runs
pnpm run buildand a singlevitestregistration test that proves the adapter is actually registered and the dependency resolves - Walks you through Google Cloud Console setup (Chat API, HTTP endpoint, service account) and stores
GCHAT_CREDENTIALSin.env(set-if-absent)
Every nc: directive is idempotent, so re-running the skill is safe.
Who it's for
- NanoClaw operators who want their agent reachable from Google Workspace spaces
- Teams standardized on Google Chat instead of Slack or Discord
- Anyone who has hand-wired a channel adapter and forgotten the barrel import
Examples
- Onboard a team space — ask "add the Google Chat channel with add-gchat"; the adapter is copied, registered, built and tested, then you paste the service-account JSON.
- Local development loop — run
ngrok http 3000, point the Chat API Configuration endpoint at the tunnel, and confirm inbound webhooks inlogs/nanoclaw.log. - Debug a silent bot — run
vitest run src/channels/gchat-registration.test.ts; red means the barrel import or dependency drifted, so just re-apply the Apply steps.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .claude/skills/add-gchat folder from the GitHub repo nanocoai/nanoclaw into my ~/.claude/skills/add-gchat/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/nanocoai/nanoclaw.git /tmp/nanoclaw && mkdir -p ~/.claude/skills && cp -r /tmp/nanoclaw/.claude/skills/add-gchat ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repo:
git clone https://github.com/nanocoai/nanoclaw.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r nanoclaw/.claude/skills/add-gchat ~/.claude/skills/- If you already work inside the NanoClaw repo, no copy is needed.
- Change into your NanoClaw project root and start Claude Code — the skill assumes that repository layout (
src/channels/, pnpm, vitest). - Ask: "Add the Google Chat channel using the add-gchat skill."
- Follow the Google Cloud Console steps: enable the Google Chat API, create a service account with the Chat Bot role, download the JSON key, and paste it as a single line when prompted.
- Expose port 3000 publicly (ngrok, Cloudflare Tunnel or a reverse proxy), then run
/manage-channelsto attach the channel to an agent group and restart the service.
View source on GitHub ↗License: MIT