一键导入
add-gchat
Add Google Chat channel integration via Chat SDK.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Add Google Chat channel integration via Chat SDK.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Distill a reusable skill from anything — a directory, a URL, pasted notes, or what you just did together — or refine an existing skill with new learnings. Use when the user says '/learn', 'learn this', 'turn this into a skill', 'capture this workflow', 'make a skill from <source>', or 'improve/update the <name> skill'. Produces or updates a .claude/skills/<name>/SKILL.md authored to NanoClaw's skill guidelines. (This CREATES or REFINES a skill from a source; it does not install existing skills from a registry.)
Add Discord bot channel integration via Chat SDK.
Add GitHub channel integration via Chat SDK. PR and issue comment threads as conversations.
Add Linear channel integration via Chat SDK. Issue comment threads as conversations.
Add Slack channel integration via Chat SDK.
Add Microsoft Teams channel integration via Chat SDK.
| name | add-gchat |
| description | Add Google Chat channel integration via Chat SDK. |
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.
Skip to Credentials if all of these are already in place:
src/channels/gchat.ts existssrc/channels/gchat-registration.test.ts existssrc/channels/index.ts contains import './gchat.js';@chat-adapter/gchat is listed in package.json dependenciesOtherwise continue. Every step below is safe to re-run.
git fetch origin channels
git show origin/channels:src/channels/gchat.ts > src/channels/gchat.ts
git show origin/channels:src/channels/gchat-registration.test.ts > src/channels/gchat-registration.test.ts
Append to src/channels/index.ts (skip if the line is already present):
import './gchat.js';
pnpm install @chat-adapter/gchat@4.29.0
pnpm run build
pnpm exec vitest run src/channels/gchat-registration.test.ts
Both must be clean before proceeding. gchat-registration.test.ts is the one integration test: it imports the real channel barrel and asserts the registry contains gchat. It goes red if the import './gchat.js'; 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 implicitly verifies the dependency from step 4. The adapter also calls core's createChatSdkBridge(...); that typed core-API consumption is guarded by pnpm run build.
End-to-end message delivery against a real Google Chat space is verified manually once the service is running — see Next Steps and the webhook setup above.
- 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
Add the service account JSON as a single-line string to .env:
GCHAT_CREDENTIALS={"type":"service_account","project_id":"...","private_key":"...","client_email":"..."}
Sync to container: mkdir -p data/env && cp .env data/env/env
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.
gchat/space/ (e.g. spaces/AAAA...). Or use the Google Chat API to list spaces.