Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计异常

google-connectGoogle connect 搜索

Agent Skill

google-connect 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

318

周安装

13

GitHub Stars

2

下载量

102
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:google-connect(Google connect 搜索)
来源仓库:https://github.com/abdullahbeam/nexus-design-abdullah
仓库路径:skills/google-connect
安装命令:
npx skills add https://github.com/abdullahbeam/nexus-design-abdullah --skill google-connect
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/abdullahbeam/nexus-design-abdullah --skill google-connect

简介

用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,建议结合原始 README 核验具体用法。
  • 安装前应确认权限范围和维护状态,避免触发不必要的联网或文件读写。
  • google-connect 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Google Connect

Setup wizard for Google Workspace integration.

Purpose

Guide users through connecting their Google account to Nexus. One OAuth setup grants access to all 7 Google services: Gmail, Docs, Sheets, Calendar, Drive, Tasks, and Slides.


Shared Resources

This skill uses google-master shared library:

ResourceWhen to Load
google-master/scripts/check_google_config.pyAlways first (pre-flight)
google-master/scripts/google_auth.pyFor authentication
google-master/references/setup-guide.mdDetailed setup instructions
google-master/references/error-handling.mdOn any errors

Workflow 0: Config Check (ALWAYS FIRST)

Every interaction MUST start with config validation:

python 00-system/skills/google/google-master/scripts/check_google_config.py --json

Exit code meanings:

  • Exit 0: Fully configured and authenticated - ready to use
  • Exit 1: Credentials exist but need to login (run OAuth flow)
  • Exit 2: Missing credentials - need full setup

Route based on exit code:

  • Exit 0 → Workflow 4 (Already Connected)
  • Exit 1 → Workflow 3 (Authenticate)
  • Exit 2 → Workflow 1 (Full Setup)

Workflow 1: Full Setup (First-Time Users)

Triggers: "connect google", "setup google", config check returns exit 2

Purpose: Guide user through complete Google Cloud setup.

Step 1: Introduction

Display:

━━━ GOOGLE WORKSPACE SETUP ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This will connect Nexus to your Google account, enabling:

  📧 Gmail      - Read, send, manage emails
  📄 Docs       - Create and edit documents
  📊 Sheets     - Work with spreadsheets
  📅 Calendar   - Manage events and schedules
  📁 Drive      - Upload, download, organize files
  ✅ Tasks      - Create and manage task lists
  📽️ Slides     - Create and edit presentations

Time: ~10 minutes (one-time setup)
You'll need: A Google account and browser access

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Ask: "Ready to set up Google integration?"

Step 2: Create Google Cloud Project

Display:

━━━ STEP 1: CREATE GOOGLE CLOUD PROJECT ━━━━━━━━━━━━━━━━━━━

1. Go to: https://console.cloud.google.com/

2. Click the project dropdown (top-left) → "New Project"

3. Enter project name: "Nexus Integration" (or any name)

4. Click "Create"

5. Wait for project to be created, then select it

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Ask: "Done creating the project? (yes/no)"

Step 3: Enable APIs

Display:

━━━ STEP 2: ENABLE GOOGLE APIS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Go to: APIs & Services → Library

Search for and ENABLE each of these APIs:

  ☐ Gmail API
  ☐ Google Docs API
  ☐ Google Sheets API
  ☐ Google Calendar API
  ☐ Google Drive API
  ☐ Google Tasks API
  ☐ Google Slides API

Click each one → Click "Enable"

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Ask: "All 7 APIs enabled? (yes/no)"

Step 4: Configure OAuth Consent Screen

Display:

━━━ STEP 3: CONFIGURE OAUTH CONSENT ━━━━━━━━━━━━━━━━━━━━━━━

Go to: APIs & Services → OAuth consent screen

1. Select "External" user type → Create

2. Fill in required fields:
   • App name: "Nexus"
   • User support email: (your email)
   • Developer contact: (your email)

3. Click "Save and Continue"

4. On "Scopes" page → Click "Save and Continue" (skip for now)

5. On "Test users" page:
   • Click "Add Users"
   • Add YOUR email address
   • Click "Save and Continue"

6. Review and go back to dashboard

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Ask: "OAuth consent screen configured? (yes/no)"

Step 5: Create OAuth Credentials

Display:

━━━ STEP 4: CREATE OAUTH CREDENTIALS ━━━━━━━━━━━━━━━━━━━━━━

Go to: APIs & Services → Credentials

1. Click "Create Credentials" → "OAuth client ID"

2. Application type: "Desktop app"

3. Name: "Nexus Desktop" (or any name)

4. Click "Create"

5. A popup shows your credentials. Copy these values:
   • Client ID (ends in .apps.googleusercontent.com)
   • Client Secret

Also note your Project ID from the project dropdown.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Ask: "Please paste your Client ID:"

Step 6: Save Credentials

After user provides Client ID, Client Secret, and Project ID:

  1. Check if .env file exists at Nexus root
  2. Add or update these lines: GOOGLE_CLIENT_ID=<user-provided-client-id> GOOGLE_CLIENT_SECRET=<user-provided-client-secret> GOOGLE_PROJECT_ID=<user-provided-project-id>

Display:

✅ Credentials saved to .env file

Your Google Cloud credentials are now stored securely.
Next: We'll authenticate with your Google account.

Proceed to: Workflow 3 (Authenticate)


Workflow 2: Install Dependencies

Run before authentication if needed:

pip install google-auth google-auth-oauthlib google-api-python-client

Display:

Installing Google API libraries...

Workflow 3: Authenticate

Triggers: Config check returns exit 1, or after Workflow 1 completes

Purpose: Run OAuth flow to get access token.

Step 1: Start OAuth Flow

Display:

━━━ AUTHENTICATION ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

A browser window will open for Google sign-in.

1. Select your Google account
2. Click "Continue" (you may see "unverified app" warning)
3. Grant access to all requested permissions
4. Close the browser when done

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Step 2: Run Login

python 00-system/skills/google/google-master/scripts/google_auth.py --login

Step 3: Verify Success

If successful:

✅ Google Integration Complete!

You now have access to:
  📧 Gmail      → "list emails", "send email"
  📄 Docs       → "create doc", "read doc"
  📊 Sheets     → "read sheet", "append to sheet"
  📅 Calendar   → "list events", "create event"
  📁 Drive      → "list files", "upload file"
  ✅ Tasks      → "list tasks", "create task"
  📽️ Slides     → "create presentation", "add slide"

Try: "list my upcoming calendar events"

If failed, check error and refer to google-master/references/error-handling.md.


Workflow 4: Already Connected

Triggers: Config check returns exit 0

Purpose: Show user they're already set up.

Display:

━━━ GOOGLE ALREADY CONNECTED ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ Your Google integration is fully configured!

Available services:
  📧 Gmail      📄 Docs       📊 Sheets
  📅 Calendar   📁 Drive      ✅ Tasks      📽️ Slides

Commands:
  • "list emails"           → Gmail inbox
  • "create doc [title]"    → New Google Doc
  • "list calendar events"  → Upcoming events
  • "list drive files"      → Drive contents
  • "list tasks"            → Task lists
  • "create presentation"   → New Slides

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Workflow 5: Reconnect / Re-authenticate

Triggers: "reconnect google", "reauth google", "refresh google token"

Purpose: Get new OAuth token (e.g., after scope changes or token expiry).

python 00-system/skills/google/google-master/scripts/google_auth.py --login

This removes the old token and initiates a fresh OAuth flow.


Workflow 6: Disconnect

Triggers: "disconnect google", "remove google", "logout google"

Purpose: Remove stored credentials.

python 00-system/skills/google/google-master/scripts/google_auth.py --logout

Display:

✅ Google disconnected

Token removed. Your .env credentials are still saved.
To fully remove, delete these lines from .env:
  GOOGLE_CLIENT_ID
  GOOGLE_CLIENT_SECRET
  GOOGLE_PROJECT_ID

Error Handling

ErrorSolution
"Missing credentials"Run full setup (Workflow 1)
"Invalid client"Check Client ID/Secret in.env
"Access denied"Add your email as test user in OAuth consent
"Token expired"Run reconnect (Workflow 5)
"API not enabled"Enable the specific API in Google Cloud Console

Load google-master/references/error-handling.md for detailed troubleshooting.


Quick Reference

CommandAction
connect googleStart setup wizard
google statusCheck connection status
reconnect googleRefresh authentication
disconnect googleRemove token

File Locations

FilePathPurpose
Credentials.envClient ID, Secret, Project ID
Access Token01-memory/integrations/google-token.jsonOAuth token

Both files are in .gitignore and will not be committed.


*Google Connect v1.0 - Setup wizard for Google Workspace integration*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

29.45%
按下载量换算30

Antigravity

24.74%
按下载量换算25

Codex

17.22%
按下载量换算18

Gemini CLI

11.48%
按下载量换算12

windsurf

8.5%
按下载量换算9

OpenCode

3.32%
按下载量换算3

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills