據 AlphaMoat 統計,截至 2026-10,Gmail OAuth Setup 累計下載 7,094 次、獲 7 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 3,974 位,在「開發程式設計」分類(1,069 個)中排名第 330 位。
列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。
| 平台 | 累計下載 | 星標 | 評論 |
|---|---|---|---|
| ClawHub ↗ | 6125 | 7 | - |
| SkillHub ↗ | 7094 | 7 | — |
各平台的計數口徑不同,統計時間不一致。
需要 gog、Google Cloud 桌面應用 OAuth 客戶端及已啟用的 Gmail API。使用者開啟授權連結後返回短效程式碼交換憑據,重定向 URI 必須一致。指南涵蓋金鑰環、賬號與許可權範圍檢查、測試模式限制和程式碼過期錯誤;不應將令牌壽命或警告頁安全性當作保證。
資料釋出於 2026-10-27
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-10 | 7094 | — | 7 |
| 2026-09 | 5923 | — | 7 |
| 2026-08 | 5753 | +5.8% | 7 |
| 2026-07 | 5437 | +11.7% | 7 |
| 2026-06 | 4867 | +4.7% | 7 |
| 2026-05 | 4650 | — | 7 |
| 2026-03 | 3732 | — | 7 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
--- name: gmail-oauth description: Set up Gmail API access via gog CLI with manual OAuth flow. Use when setting up Gmail integration, renewing expired OAuth tokens, or troubleshooting Gmail authentication on headless servers. --- # Gmail OAuth Setup Headless-friendly OAuth flow for Gmail API access using `gog` CLI. ## Prerequisites
- `gog` CLI installed (`brew install steipete/tap/gogcli`) - Google Cloud project with OAuth credentials (Desktop app type) - Gmail API enabled in the project ## Quick Setup ### 1. Create Google Cloud Project & Credentials 1. Go to https://console.cloud.google.com 2. Create a new project (or select existing) 3. **Enable Gmail API**: APIs & Services → Library → search "Gmail API" → Enable 4. **Configure OAuth consent screen**: APIs & Services → OAuth consent screen - Choose "External" user type - Fill in app name, user support email - Add scopes: `gmail.modify` (or others as needed) - **Important**: Click "PUBLISH APP" for permanent tokens (see Troubleshooting) 5. **Create credentials**: APIs & Services → Credentials → Create Credentials → OAuth client ID - Application type: **Desktop app** - Download the JSON file ### 2. Configure gog ```bash gog auth credentials /path/to/client_secret.json gog auth keyring file # Use file-based keyring for headless export GOG_KEYRING_PASSWORD="your-password" # Add to .bashrc ``` ### 3. Run Auth Flow Run `scripts/gmail-auth.sh` interactively, or: ```bash # Generate URL scripts/gmail-auth.sh --url # User opens URL, approves, copies code from localhost redirect # Exchange code (do this quickly - codes expire in minutes!) scripts/gmail-auth.sh --exchange CODE EMAIL ``` ### 4. Verify ```bash gog gmail search 'is:unread' --max 5 --account [email protected] ``` ## Troubleshooting ### "Access blocked: [app] has not completed the Google verification process" **Cause**: App is in "Testing" mode and the Gmail account isn't a test user. **Solutions** (choose one): 1. **Publish the app** (recommended): - Google Cloud Console → APIs & Services → OAuth consent screen - Click **"PUBLISH APP"** → Confirm - No Google review needed for personal use - Tokens become permanent 2. **Add test user**: - OAuth consent screen → Test users → + ADD USERS - Add the Gmail address you're authorizing - Tokens still expire in 7 days ### "Google hasn't verified this app" warning screen **This is normal for personal apps.** Click: 1. **Advanced** (bottom left) 2. **Go to [app name] (unsafe)** Safe to proceed since you own the app. ### Token expires in 7 days **Cause**: App is in "Testing" mode. **Fix**: Publish the app (see above). Published apps get permanent refresh tokens. ### "invalid_request" or "invalid_grant" errors **Causes**: - Authorization code expired (they only last a few minutes) - Code was already used - Redirect URI mismatch **Fix**: Generate a fresh auth URL and complete the flow quickly. Paste the code immediately after getting it. ### "redirect_uri_mismatch" error **Cause**: The redirect URI in the token exchange doesn't match what was used in the auth URL. **Fix**: This script uses `http://localhost`. Make sure both the auth URL and exchange use the same redirect URI. ### Page hangs after approving permissions (mobile) **Cause**: Browser trying to connect to localhost which doesn't exist on phone. **Fix**: - Use a desktop browser instead - Or tap the address bar while it's "hanging" - the URL contains the code - The URL will look like: `http://localhost/?code=4/0ABC...` ### Multiple permission checkboxes causing hangs **Cause**: Too many OAuth scopes requested. **Fix**: Use minimal scopes. `gmail.modify` alone is usually sufficient and shows just one permission. ### Can't find project in Google Cloud Console **Cause**: Signed into wrong Google account. **Fix**: Check which account owns the project: - Click profile icon (top right) - Switch accounts - Check project dropdown for each account ### "invalid_request" with oob redirect (new projects) **Cause**: Google deprecated `urn:ietf:wg:oauth:2.0:oob` for OAuth clients created after 2022. **Fix**: Use `http://localhost` redirect instead (this script's default). After approval, browser redirects to localhost with code in URL. ## Scopes Reference | Scope | Access | |-------|--------| | `gmail.modify` | Read, send, delete, manage labels (recommended) | | `gmail.readonly` | Read only | | `gmail.send` | Send only | | `gmail.compose` | Create drafts, send | ## Files - `scripts/gmail-auth.sh` — Interactive auth helper ## Tips - **Publish your app** — Avoids test user limits and 7-day token expiry - **Exchange codes quickly** — They expire in minutes - **Use desktop browser** — Mobile browsers can be finicky with localhost redirects - **One scope is enough** — `gmail.modify` covers most use cases
【全棧能力】程式設計大神.Skill:面向複雜真實專案的高階全棧程式設計助手。不止生成程式碼,而是從一句目標接手陌生程式碼庫,拆解需求、補齊實現、追到根因、完成重構、聯調前後端,並把結果推進到能執行、能驗證、能交付。覆蓋 Web、後端、指令碼、iOS、安卓、鴻蒙 ArkUI、微信小程式及其他技術棧,支援中英文工程、疑難 Bug、跨模組任務和長任務續做;用構建、日誌、真實入口、裝置或介面證據說明結果。僅問概念時直接回答,要求落地時持續推進到驗收或明確阻塞。
程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。
程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。
程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。
程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。
程式設計專家 Pro:融合程式設計專家 2.0.3 工程專題與程式設計大神的鴻蒙 ArkTS/ArkUI、微信小程式和小遊戲開發資料。用於專案實現、根因除錯、審查、重構、測試、架構效能分析及多端開發驗證。支援自然語言和 @專題標識,按任務讀取包內知識;只問概念時直接回答。
程式設計專家.Skill P8級程式設計助手,25年實戰經驗技能Skill,全棧:Java/Php網站/軟體專案、API設計、Bug診斷、程式碼生成、程式碼審查、重構、測試用例、效能基準、技術選型、文件生成、任務拆解、Spec驅動、Karpathy規範、CMS二次開發、前端設計、MySQL/Mariadb、專案知識圖譜,以及工程紀律層(根因除錯硬閉環、階段導航、事故復盤/SLO、威脅建模/供應鏈安全、生產就緒/漸進式釋出、AI編碼治理、面向Agent程式碼可讀性、LLM應用安全)。支援 @標識 顯式呼叫跳過路由。
用 gh 命令列工具檢視 GitHub 上的 PR 檢查、工作流執行與 API 查詢的技能。
資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。