用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fufankeji/FuFan-VibeCodingCourse --skill add-gchat命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| 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/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
Append to src/channels/index.ts (skip if the line is already present):
import './gchat.js';
pnpm install @chat-adapter/gchat@4.27.0
pnpm run build
- 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.