codex_auto_register

作者 Ttungx已验证

Codex Register

1,038
Stars
359
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Ttungx/codex_auto_register

快速入门

使用 codex_auto_register 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

codex_auto_register

English | 简体中文

达可云DuckIP - 全球9000万住宅IP资源。提供✅动态住宅代理 ✅静态住宅代理 ✅不限量住宅代理,国家、州/省、城市、ASN 多级精准定位,支持社媒养号、跨境电商、数据采集、广告投放等业务,注册免费测试500M。

For updates, bug reports, and more Web3/AI tools, join our official developer community: Telegram 社群

⚠️ 免责声明:本项目仅供学习和研究使用,不得用于任何商业用途。使用本项目所产生的一切后果由使用者自行承担。

致谢

本项目基于原项目 https://github.com/adminlove520/chatgpt_register 改造而来。

当前仓库的主要差异:

  • 将注册codex邮箱服务从原先方案替换为 DuckMail API
  • 保留并扩展 Codex 协议 OAuth 流程
  • 输出 CLIProxyAPI v6 可识别的 Codex auth files

包含内容

环境依赖

根目录脚本:

pip install curl_cffi

Codex 脚本:

pip install requests urllib3

配置方式

仓库只提交示例配置,不提交真实配置。

使用前复制:

copy config.example.json config.json
copy codex\config.example.json codex\config.json

然后把你自己的 DuckMail、代理和 CPA 参数填进去。

根目录脚本

运行:

python chatgpt_register.py

对应示例配置见 config.example.json

主要配置项:

配置项说明
total_accounts注册账号数量
duckmail_api_baseDuckMail API 地址
duckmail_bearerDuckMail Bearer Token
proxyHTTP/HTTPS 代理
output_file注册结果输出文件
enable_oauth是否执行 OAuth
oauth_required是否要求 OAuth 成功
upload_api_url可选,上传到 CPA 的接口
upload_api_token可选,CPA 管理接口 Token

Codex 协议脚本

运行:

python codex\protocol_keygen.py

对应示例配置见 codex/config.example.json

该脚本会:

  • 使用 DuckMail 创建临时邮箱
  • 完成 ChatGPT 注册流程
  • 执行 Codex OAuth 登录并换取 token
  • 生成 CLIProxyAPI v6 兼容文件名的 token JSON
  • 可选上传到 CPA 管理接口

输出说明

运行过程中通常会生成以下本地文件,这些都已加入 .gitignore,不会进入新仓库:

  • config.json
  • codex/config.json
  • registered_accounts.txt
  • codex/accounts.txt
  • codex/ak.txt
  • codex/rk.txt
  • codex/registered_accounts.csv
  • codex/codex_tokens/
  • codex/codex_accounts_tokens/

仓库结构

chatgpt_register/
├── chatgpt_register.py
├── config.example.json
├── duckmaildoc.md
├── README.md
└── codex/
    ├── config.example.json
    ├── protocol_keygen.py
    └── README.md

说明

  • 需要可用代理,否则注册、OAuth 和 CPA 自动刷新都会失败
  • config.jsoncodex/config.json 仅保留在本地使用,不应提交
  • 如果你使用 CLIProxyAPI,建议保持 refresh_token 与 token JSON 文件完整保存

常见问题

What is codex_auto_register?

codex_auto_register is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Ttungx. Codex Register. It has 1,038 GitHub stars.

Is codex_auto_register safe to use?

Yes. codex_auto_register passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install codex_auto_register?

Clone the repository with "git clone https://github.com/Ttungx/codex_auto_register" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is codex_auto_register written in?

codex_auto_register is primarily written in Python. It is open-source under Ttungx on GitHub, so you can review or fork the full source.

Are there alternatives to codex_auto_register?

Yes. SkillsLLM lists many other CLI Tools skills you can browse and compare side by side. Open the CLI Tools category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh codex_auto_register against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ui-ux-pro-max-skill

by nextlevelbuilder

12

An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.

119,92012,870Python
CLI 工具ai-skillsantigravity
查看详情

happy

by slopus

Mobile and Web client for Codex and Claude Code, with realtime voice, encryption and fully featured

23,4501,980TypeScript
CLI 工具
查看详情

claudecodeui

by siteboon

Use Claude Code, OpenCode, Cursor CLI, and Codex on mobile and web with CloudCLI (aka Claude Code UI). CloudCLI is a free open source webui/GUI that helps you manage your Claude Code session and projects remotely.

13,3941,866TypeScript
CLI 工具
查看详情

CRS-自建Claude Code镜像,一站式开源中转服务,让 Claude、OpenAI、Gemini、Droid 订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。

12,5471,869JavaScript
CLI 工具
查看详情

ccstatusline

by sirmalloc

🚀 Beautiful highly customizable statusline for Claude Code CLI with powerline support, themes, and more.

12,508545TypeScript
CLI 工具
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情