[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77GXXB83Q6TCV6RZXER8M6Y":3,"skill-same:01M77GXXB83Q6TCV6RZXER8M6Y":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77GXXB83Q6TCV6RZXER8M6Y","gmail-oauth",null,"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.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fg\u002Fgmail-oauth\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gmail-oauth\ndescription: 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.\n---\n\n# Gmail OAuth Setup\n\nHeadless-friendly OAuth flow for Gmail API access using `gog` CLI.\n\n## Prerequisites\n\n- `gog` CLI installed (`brew install steipete\u002Ftap\u002Fgogcli`)\n- Google Cloud project with OAuth credentials (Desktop app type)\n- Gmail API enabled in the project\n\n## Quick Setup\n\n### 1. Create Google Cloud Project & Credentials\n\n1. Go to https:\u002F\u002Fconsole.cloud.google.com\n2. Create a new project (or select existing)\n3. **Enable Gmail API**: APIs & Services → Library → search \"Gmail API\" → Enable\n4. **Configure OAuth consent screen**: APIs & Services → OAuth consent screen\n   - Choose \"External\" user type\n   - Fill in app name, user support email\n   - Add scopes: `gmail.modify` (or others as needed)\n   - **Important**: Click \"PUBLISH APP\" for permanent tokens (see Troubleshooting)\n5. **Create credentials**: APIs & Services → Credentials → Create Credentials → OAuth client ID\n   - Application type: **Desktop app**\n   - Download the JSON file\n\n### 2. Configure gog\n\n```bash\ngog auth credentials \u002Fpath\u002Fto\u002Fclient_secret.json\ngog auth keyring file  # Use file-based keyring for headless\nexport GOG_KEYRING_PASSWORD=\"your-password\"  # Add to .bashrc\n```\n\n### 3. Run Auth Flow\n\nRun `scripts\u002Fgmail-auth.sh` interactively, or:\n\n```bash\n# Generate URL\nscripts\u002Fgmail-auth.sh --url\n\n# User opens URL, approves, copies code from localhost redirect\n# Exchange code (do this quickly - codes expire in minutes!)\nscripts\u002Fgmail-auth.sh --exchange CODE EMAIL\n```\n\n### 4. Verify\n\n```bash\ngog gmail search 'is:unread' --max 5 --account you@gmail.com\n```\n\n## Troubleshooting\n\n### \"Access blocked: [app] has not completed the Google verification process\"\n\n**Cause**: App is in \"Testing\" mode and the Gmail account isn't a test user.\n\n**Solutions** (choose one):\n1. **Publish the app** (recommended):\n   - Google Cloud Console → APIs & Services → OAuth consent screen\n   - Click **\"PUBLISH APP\"** → Confirm\n   - No Google review needed for personal use\n   - Tokens become permanent\n\n2. **Add test user**:\n   - OAuth consent screen → Test users → + ADD USERS\n   - Add the Gmail address you're authorizing\n   - Tokens still expire in 7 days\n\n### \"Google hasn't verified this app\" warning screen\n\n**This is normal for personal apps.** Click:\n1. **Advanced** (bottom left)\n2. **Go to [app name] (unsafe)**\n\nSafe to proceed since you own the app.\n\n### Token expires in 7 days\n\n**Cause**: App is in \"Testing\" mode.\n\n**Fix**: Publish the app (see above). Published apps get permanent refresh tokens.\n\n### \"invalid_request\" or \"invalid_grant\" errors\n\n**Causes**:\n- Authorization code expired (they only last a few minutes)\n- Code was already used\n- Redirect URI mismatch\n\n**Fix**: Generate a fresh auth URL and complete the flow quickly. Paste the code immediately after getting it.\n\n### \"redirect_uri_mismatch\" error\n\n**Cause**: The redirect URI in the token exchange doesn't match what was used in the auth URL.\n\n**Fix**: This script uses `http:\u002F\u002Flocalhost`. Make sure both the auth URL and exchange use the same redirect URI.\n\n### Page hangs after approving permissions (mobile)\n\n**Cause**: Browser trying to connect to localhost which doesn't exist on phone.\n\n**Fix**: \n- Use a desktop browser instead\n- Or tap the address bar while it's \"hanging\" - the URL contains the code\n- The URL will look like: `http:\u002F\u002Flocalhost\u002F?code=4\u002F0ABC...`\n\n### Multiple permission checkboxes causing hangs\n\n**Cause**: Too many OAuth scopes requested.\n\n**Fix**: Use minimal scopes. `gmail.modify` alone is usually sufficient and shows just one permission.\n\n### Can't find project in Google Cloud Console\n\n**Cause**: Signed into wrong Google account.\n\n**Fix**: Check which account owns the project:\n- Click profile icon (top right)\n- Switch accounts\n- Check project dropdown for each account\n\n### \"invalid_request\" with oob redirect (new projects)\n\n**Cause**: Google deprecated `urn:ietf:wg:oauth:2.0:oob` for OAuth clients created after 2022.\n\n**Fix**: Use `http:\u002F\u002Flocalhost` redirect instead (this script's default). After approval, browser redirects to localhost with code in URL.\n\n## Scopes Reference\n\n| Scope | Access |\n|-------|--------|\n| `gmail.modify` | Read, send, delete, manage labels (recommended) |\n| `gmail.readonly` | Read only |\n| `gmail.send` | Send only |\n| `gmail.compose` | Create drafts, send |\n\n## Files\n\n- `scripts\u002Fgmail-auth.sh` — Interactive auth helper\n\n## Tips\n\n- **Publish your app** — Avoids test user limits and 7-day token expiry\n- **Exchange codes quickly** — They expire in minutes\n- **Use desktop browser** — Mobile browsers can be finicky with localhost redirects\n- **One scope is enough** — `gmail.modify` covers most use cases\n","# Gmail OAuth Setup\n\nHeadless-friendly OAuth flow for Gmail API access using `gog` CLI.\n\n## Prerequisites\n\n- `gog` CLI installed (`brew install steipete\u002Ftap\u002Fgogcli`)\n- Google Cloud project with OAuth credentials (Desktop app type)\n- Gmail API enabled in the project\n\n## Quick Setup\n\n### 1. Create Google Cloud Project & Credentials\n\n1. Go to https:\u002F\u002Fconsole.cloud.google.com\n2. Create a new project (or select existing)\n3. **Enable Gmail API**: APIs & Services → Library → search \"Gmail API\" → Enable\n4. **Configure OAuth consent screen**: APIs & Services → OAuth consent screen\n   - Choose \"External\" user type\n   - Fill in app name, user support email\n   - Add scopes: `gmail.modify` (or others as needed)\n   - **Important**: Click \"PUBLISH APP\" for permanent tokens (see Troubleshooting)\n5. **Create credentials**: APIs & Services → Credentials → Create Credentials → OAuth client ID\n   - Application type: **Desktop app**\n   - Download the JSON file\n\n### 2. Configure gog\n\n```bash\ngog auth credentials \u002Fpath\u002Fto\u002Fclient_secret.json\ngog auth keyring file  # Use file-based keyring for headless\nexport GOG_KEYRING_PASSWORD=\"your-password\"  # Add to .bashrc\n```\n\n### 3. Run Auth Flow\n\nRun `scripts\u002Fgmail-auth.sh` interactively, or:\n\n```bash\n# Generate URL\nscripts\u002Fgmail-auth.sh --url\n\n# User opens URL, approves, copies code from localhost redirect\n# Exchange code (do this quickly - codes expire in minutes!)\nscripts\u002Fgmail-auth.sh --exchange CODE EMAIL\n```\n\n### 4. Verify\n\n```bash\ngog gmail search 'is:unread' --max 5 --account you@gmail.com\n```\n\n## Troubleshooting\n\n### \"Access blocked: [app] has not completed the Google verification process\"\n\n**Cause**: App is in \"Testing\" mode and the Gmail account isn't a test user.\n\n**Solutions** (choose one):\n1. **Publish the app** (recommended):\n   - Google Cloud Console → APIs & Services → OAuth consent screen\n   - Click **\"PUBLISH APP\"** → Confirm\n   - No Google review needed for personal use\n   - Tokens become permanent\n\n2. **Add test user**:\n   - OAuth consent screen → Test users → + ADD USERS\n   - Add the Gmail address you're authorizing\n   - Tokens still expire in 7 days\n\n### \"Google hasn't verified this app\" warning screen\n\n**This is normal for personal apps.** Click:\n1. **Advanced** (bottom left)\n2. **Go to [app name] (unsafe)**\n\nSafe to proceed since you own the app.\n\n### Token expires in 7 days\n\n**Cause**: App is in \"Testing\" mode.\n\n**Fix**: Publish the app (see above). Published apps get permanent refresh tokens.\n\n### \"invalid_request\" or \"invalid_grant\" errors\n\n**Causes**:\n- Authorization code expired (they only last a few minutes)\n- Code was already used\n- Redirect URI mismatch\n\n**Fix**: Generate a fresh auth URL and complete the flow quickly. Paste the code immediately after getting it.\n\n### \"redirect_uri_mismatch\" error\n\n**Cause**: The redirect URI in the token exchange doesn't match what was used in the auth URL.\n\n**Fix**: This script uses `http:\u002F\u002Flocalhost`. Make sure both the auth URL and exchange use the same redirect URI.\n\n### Page hangs after approving permissions (mobile)\n\n**Cause**: Browser trying to connect to localhost which doesn't exist on phone.\n\n**Fix**: \n- Use a desktop browser instead\n- Or tap the address bar while it's \"hanging\" - the URL contains the code\n- The URL will look like: `http:\u002F\u002Flocalhost\u002F?code=4\u002F0ABC...`\n\n### Multiple permission checkboxes causing hangs\n\n**Cause**: Too many OAuth scopes requested.\n\n**Fix**: Use minimal scopes. `gmail.modify` alone is usually sufficient and shows just one permission.\n\n### Can't find project in Google Cloud Console\n\n**Cause**: Signed into wrong Google account.\n\n**Fix**: Check which account owns the project:\n- Click profile icon (top right)\n- Switch accounts\n- Check project dropdown for each account\n\n### \"invalid_request\" with oob redirect (new projects)\n\n**Cause**: Google deprecated `urn:ietf:wg:oauth:2.0:oob` for OAuth clients created after 2022.\n\n**Fix**: Use `http:\u002F\u002Flocalhost` redirect instead (this script's default). After approval, browser redirects to localhost with code in URL.\n\n## Scopes Reference\n\n| Scope | Access |\n|-------|--------|\n| `gmail.modify` | Read, send, delete, manage labels (recommended) |\n| `gmail.readonly` | Read only |\n| `gmail.send` | Send only |\n| `gmail.compose` | Create drafts, send |\n\n## Files\n\n- `scripts\u002Fgmail-auth.sh` — Interactive auth helper\n\n## Tips\n\n- **Publish your app** — Avoids test user limits and 7-day token expiry\n- **Exchange codes quickly** — They expire in minutes\n- **Use desktop browser** — Mobile browsers can be finicky with localhost redirects\n- **One scope is enough** — `gmail.modify` covers most use cases\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fg\u002Fgmail-oauth",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill gmail-oauth",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill gmail-oauth",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill gmail-oauth","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fg\u002Fgmail-oauth\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]