codex-oauth-automation-extension — Claude Code skill
Installs a Chrome extension that walks the whole OpenAI OAuth signup and login: pulls the email code, confirms the callback, repeats for several rounds.
npx skills add reason-machines/trending-skills --skill codex-oauth-automation-extension -a claude-codeWhat codex-oauth-automation-extension does
The extension runs signup and login as nine steps. It grabs the authorization link from the CPA panel, opens the form, fills email and password, reads a six-digit code from the mailbox, supplies a random name and birthday, logs in, then approves the consent screen. Codes come from DuckDuckGo, QQ Mail, 163 Mail or Inbucket, whichever you pick in the side panel.
background.js orchestrates the steps and the tabs. The content/ scripts handle the signup page and each mail provider, data/names.js holds the name data, sidepanel/ is the UI. Run state sits in chrome.storage.session and disappears when the browser closes; settings such as the CPA URL and mail service live in chrome.storage.local and survive a restart. Step 8 clicks the authorize button through the Chrome debugger API and waits for a callback matching http(s)://localhost:<port>/auth/callback?code=...&state=..., with a 120-second timeout.
Auto mode chains all nine steps for N rounds. If the @duck.com address fails, the run pauses until you type an email yourself. You need your own OAuth management panel URL, plus the Inbucket host and mailbox name when Inbucket supplies the codes.
What it helps with
- run OpenAI OAuth signup without filling every field by hand
- fetch the verification code from DuckDuckGo, QQ Mail, 163 Mail or Inbucket
- submit the callback to the CPA panel and wait for the success badge
- batch several signup rounds back to back in Auto mode
- resume a paused run from the first unhandled step
Example prompts for the agent
- Run codex-oauth-automation-extension in Auto mode for 3 rounds using 163 Mail
- Configure the extension: CPA
https://your-host/management.html#/oauth, MailInbucket, hostyour-inbucket-host - The run paused on the mail step — continue from the current step instead of restarting
How to install codex-oauth-automation-extension
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codex-oauth-automation-extension -a claude-code2Manually: put the files in place
~/.claude/skills/codex-oauth-automation-extension/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/codex-oauth-automation-extension/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codex-oauth-automation-extension -a codex2Manually: put the files in place
.agents/skills/codex-oauth-automation-extension/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codex-oauth-automation-extension -a cursor2Manually: put the files in place
.cursor/skills/codex-oauth-automation-extension/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/trending-skills codex-oauth-automation-extension2Manually: put the files in place
.github/skills/codex-oauth-automation-extension/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codex-oauth-automation-extension -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/trending-skills --path skills/codex-oauth-automation-extensionManually: put the files in place
.devin/skills/codex-oauth-automation-extension/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill codex-oauth-automation-extension -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about codex-oauth-automation-extension
How do I install Claude-oauth-automation-extension in Claude Code?
Run npx skills add reason-machines/trending-skills --skill codex-oauth-automation-extension -a claude-code. The skill lands in ~/.claude/skills/codex-oauth-automation-extension/SKILL.md.
What does Claude-oauth-automation-extension do?
It installs a Chrome extension that automates Anthropic OAuth signup and login: fills the form, reads the code from your mailbox, approves the callback and verifies it in the CPA panel.
Where does the extension get the verification code?
From DuckDuckGo, QQ Mail, 163 Mail or Inbucket, chosen in the side panel. Inbucket also needs its host and mailbox name.