helloliuyongsheng-bot

Oauth Helper

AI Agentv1.1.0
By helloliuyongsheng-botUpdated 2026-05-182 versions · latest released 2026-01-29oauth-helper@clawhub_helloliuyongsheng-bot/oauth-helper
Task AutomationWorkflow Orchestration#Discord#GitHub#Telegram#WeChat

According to AlphaMoat, as of 2026-09, Oauth Helper has 3,905 downloads and 3 stars — ranked #2,659 of 5,078 AI skills overall, and #522 of 969 in AI Agent.

Installs
232
Downloads
3.9K
Stars
3
Overall Rank
#2,659
Top 53% overall · Top 54% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1283.8K31
SkillHub ↗2323.9K3—

Platforms count differently and update at different times.

What this skill does

This skill lets an agent automate OAuth login flows across seven providers: Google, Apple, Microsoft, GitHub, Discord, WeChat, and QQ. The workflow has two phases: scan a site's login page for OAuth buttons and, when multiple exist, ask the user to pick via Telegram reply; on the provider's authorization page, request Telegram confirmation (reply 'yes') before executing the provider-specific click sequence (account selection, email/password entry, authorize buttons, 2FA, or QR scanning for WeChat/QQ). The guide documents URL detection patterns, page selectors, and error handling (timeout cancels, manual 2FA entry, QR re-screenshot). Prerequisites: a logged-in Clawd browser and a configured Telegram channel.

Profile published 2026-10-27

What you can do with it

  • Log an agent into sites like Kaggle: auto-detect login options and confirm via Telegram
  • Obtain explicit user consent through Telegram before clicking through OAuth consent pages
  • Complete WeChat/QQ logins via QR code (screenshot sent to the user for scanning)

When to use it

  • When the user asks an agent to complete a site's OAuth login on their behalf
  • When provider selection or authorization consent should be confirmed via Telegram first
  • When handling account selection, consent pages, or 2FA during login flows

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Log me into Kaggle — if there are multiple login options, send them via Telegram for me to pick
You detected the Google OAuth page — send a Telegram confirmation before clicking authorize
Screenshot this WeChat login QR code and send it to me so I can scan it

Monthly Trend

Downloads3.9K
2.6K3.3K4.0K2026-03 · Downloads 2.7K2026-05 · Downloads 3.2K2026-06 · Downloads 3.4K2026-07 · Downloads 3.6K2026-08 · Downloads 3.7K2026-09 · Downloads 3.9K26-0326-09
Stars3
2342026-03 · Stars 32026-05 · Stars 32026-06 · Stars 32026-07 · Stars 32026-08 · Stars 32026-09 · Stars 326-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.9K—3
2026-083.7K+2.2%3
2026-073.6K+7.8%3
2026-063.4K+4.2%3
2026-053.2K—3
2026-032.7K—3

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

5.7 KB · ClawHub v1.1.0
---
name: oauth-helper
description: |
  Automate OAuth login flows with user confirmation via Telegram.
  Supports 7 providers: Google, Apple, Microsoft, GitHub, Discord, WeChat, QQ.
  
  Features:
  - Auto-detect available OAuth options on login pages
  - Ask user to choose via Telegram when multiple options exist
  - Confirm before authorizing
Show all (255 lines)
  - Handle account selection and consent pages automatically
---

# OAuth Helper

Automate OAuth login with Telegram confirmation. Supports 7 major providers.

## Supported Providers

| Provider | Status | Detection Domain |
|----------|--------|------------------|
| Google | ✅ | accounts.google.com |
| Apple | ✅ | appleid.apple.com |
| Microsoft | ✅ | login.microsoftonline.com, login.live.com |
| GitHub | ✅ | github.com/login/oauth |
| Discord | ✅ | discord.com/oauth2 |
| WeChat | ✅ | open.weixin.qq.com |
| QQ | ✅ | graph.qq.com |

## Prerequisites

1. Clawd browser logged into the OAuth providers (one-time setup)
2. Telegram channel configured

## Core Workflow

### Flow A: Login Page with Multiple OAuth Options

When user requests to login to a website:

```
1. Open website login page
2. Scan page for available OAuth buttons
3. Send Telegram message:
   "🔐 [Site] supports these login methods:
    1️⃣ Google
    2️⃣ Apple  
    3️⃣ GitHub
    Reply with number to choose"
4. Wait for user reply (60s timeout)
5. Click the selected OAuth button
6. Enter Flow B
```

### Flow B: OAuth Authorization Page

When on an OAuth provider's page:

```
1. Detect OAuth page type (by URL)
2. Extract target site info
3. Send Telegram: "🔐 [Site] requests [Provider] login. Confirm? Reply yes"
4. Wait for "yes" (60s timeout)
5. Execute provider-specific click sequence
6. Wait for redirect back to original site
7. Send: "✅ Login successful!"
```

## Detection Patterns

### Google
```
URL patterns:
- accounts.google.com/o/oauth2
- accounts.google.com/signin/oauth
- accounts.google.com/v3/signin
```

### Apple
```
URL patterns:
- appleid.apple.com/auth/authorize
- appleid.apple.com/auth/oauth2
```

### Microsoft
```
URL patterns:
- login.microsoftonline.com/common/oauth2
- login.microsoftonline.com/consumers
- login.live.com/oauth20
```

### GitHub
```
URL patterns:
- github.com/login/oauth/authorize
- github.com/login
- github.com/sessions/two-factor
```

### Discord
```
URL patterns:
- discord.com/oauth2/authorize
- discord.com/login
- discord.com/api/oauth2
```

### WeChat
```
URL patterns:
- open.weixin.qq.com/connect/qrconnect
- open.weixin.qq.com/connect/oauth2
```

### QQ
```
URL patterns:
- graph.qq.com/oauth2.0/authorize
- ssl.xui.ptlogin2.qq.com
- ui.ptlogin2.qq.com
```

## Click Sequences by Provider

### Google
```
Account selector: [data-identifier], .JDAKTe
Auth buttons: button:has-text("Allow"), button:has-text("Continue")
```

### Apple
```
Email input: input[type="email"], #account_name_text_field
Password: input[type="password"], #password_text_field  
Continue: button#sign-in, button:has-text("Continue")
Trust device: button:has-text("Trust")
```

### Microsoft
```
Account selector: .table-row[data-test-id]
Email input: input[name="loginfmt"]
Password: input[name="passwd"]
Next: button#idSIButton9
Accept: button#idBtn_Accept
```

### GitHub
```
Email: input#login_field
Password: input#password
Sign in: input[type="submit"]
Authorize: button[name="authorize"]
2FA: input#app_totp
```

### Discord
```
Email: input[name="email"]
Password: input[name="password"]
Login: button[type="submit"]
Authorize: button:has-text("Authorize")
```

### WeChat
```
Method: QR code scan
- Screenshot QR code to user
- Wait for mobile scan confirmation
- Detect page redirect
```

### QQ
```
Method: QR code or password login
QR: Screenshot to user
Password mode:
  - Switch: a:has-text("密码登录")
  - Username: input#u
  - Password: input#p
  - Login: input#login_button
```

## OAuth Button Detection

Scan login pages for these selectors:

| Provider | Selectors | Common Text |
|----------|-----------|-------------|
| Google | `[data-provider="google"]`, `.google-btn` | "Continue with Google" |
| Apple | `[data-provider="apple"]`, `.apple-btn` | "Sign in with Apple" |
| Microsoft | `[data-provider="microsoft"]` | "Sign in with Microsoft" |
| GitHub | `[data-provider="github"]` | "Continue with GitHub" |
| Discord | `[data-provider="discord"]` | "Login with Discord" |
| WeChat | `.wechat-btn`, `img[src*="wechat"]` | "WeChat Login" |
| QQ | `.qq-btn`, `img[src*="qq"]` | "QQ Login" |

## One-Time Setup

Login to each provider in clawd browser:

```bash
# Google
browser action=navigate profile=clawd url=https://accounts.google.com

# Apple
browser action=navigate profile=clawd url=https://appleid.apple.com

# Microsoft  
browser action=navigate profile=clawd url=https://login.live.com

# GitHub
browser action=navigate profile=clawd url=https://github.com/login

# Discord
browser action=navigate profile=clawd url=https://discord.com/login

# WeChat/QQ - Use QR scan, no pre-login needed
```

## Error Handling

- No "yes" reply → Cancel and notify user
- 2FA required → Prompt user to enter code manually
- QR timeout → Re-screenshot new QR code
- Login failed → Screenshot and send to user for debugging

## Usage Example

```
User: Login to Kaggle for me

Agent:
1. Navigate to kaggle.com/account/login
2. Detect Google/Facebook/Yahoo options
3. Send: "🔐 Kaggle supports:
   1️⃣ Google
   2️⃣ Facebook
   3️⃣ Yahoo
   Reply number to choose"
4. User replies: 1
5. Click Google login
6. Detect Google OAuth page
7. Send: "🔐 Kaggle requests Google login. Confirm? Reply yes"
8. User replies: yes
9. Select account, click Continue
10. Send: "✅ Logged into Kaggle!"
```

## Version History

- v1.0.0 - Initial release with 7 OAuth providers

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.