by l1i1
绕过网络限制,一键安装 Codex App——即 ChatGPT 桌面应用
# Add to your Claude Code skills
git clone https://github.com/l1i1/CodexAppInstallerGuides for using cli tools skills like CodexAppInstaller.
Last scanned: 10/19/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-19T09:37:03.368Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how CodexAppInstaller compares with popular alternatives.
CodexAppInstaller is an open-source cli tools skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by l1i1. 绕过网络限制,一键安装 Codex App——即 ChatGPT 桌面应用. It has 100 GitHub stars.
Yes. CodexAppInstaller 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.
Clone the repository with "git clone https://github.com/l1i1/CodexAppInstaller" and add it to your Claude Code skills directory (see the Installation section above).
CodexAppInstaller is primarily written in C#. It is open-source under l1i1 on GitHub, so you can review or fork the full source.
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 CodexAppInstaller against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
30 days in the Featured rail · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
See comparison
Windows 上绕过网络限制,一键安装 Codex App——即 ChatGPT 桌面应用(包名 OpenAI.Codex,Microsoft Store 名 ChatGPT;Codex 是其中的一种模式)。
双击 CodexAppInstaller.exe,UAC 弹窗点"是",全程回车即可:
https://n.tokeness.dev/v1,模型 gpt-5.6-sol,粘贴 sk- Key 即可)或直接参数指定:
CodexAppInstaller.exe -ApiKey sk-xxxxxx

| 文件 | 说明 |
|---|---|
| CodexAppInstaller.exe | 最终分发物(全 C# 自包含,双击即用,自动提权) |
CodexAppInstaller.cs |
完整源码(下载 / 校验 / 安装 / 聚合 API 配置 / 快捷方式) |
build-exe.bat |
重新编译脚本(本机 .NET Framework csc + PowerShell SDK,无第三方依赖) |
img/ |
截图 |
README.md |
本文档 |
| 参数 | 说明 |
|---|---|
-SkipApi |
跳过聚合 API 配置 |
-ApiBaseUrl <url> |
聚合端点(默认 https://n.tokeness.dev/v1,需 OpenAI Responses 兼容) |
-ApiKey <key> |
API Key(格式 sk-xxxxxx) |
-ApiModel <model> |
模型(默认 gpt-5.6-sol) |
-SkipChecksum |
跳过 SHA256 校验(不推荐) |
-SkipShortcut |
不创建桌面快捷方式 |
-h |
帮助 |
| 优先级 | 来源 | 说明 |
|---|---|---|
| 1 | GitHub Release + gh-proxy(v4.gh-proxy.org → gh-proxy.org 双前缀回退) |
镜像仓库 Wangnov/codex-app-mirror,tag 通过 api.github.com 动态获取 |
OpenAI.Codex_26.803.5235.0_x64__2p2nqsd0c76g0.MsixSHA256SUMS.txt,防镜像篡改%LOCALAPPDATA%\CodexAppInstaller\cache(跨重启持久),SHA256 匹配直接复用,版本更新后哈希变化自动失效重下进程内调用 PowerShell SDK:优先 Add-AppxProvisionedPackage(机器范围注册,所有用户可用);机器范围注册不注册给当前用户,补一次用户级 Add-AppxPackage 立即生效;检测兜底 Get-AppxProvisionedPackage。
安装完成后创建 Codex.lnk 桌面快捷方式(WScript.Shell 指向 shell:AppsFolder\<AUMID>,AUMID 通过 Get-StartApps 动态获取——AppId 不一定是 App)。
Codex 桌面应用与 CLI、IDE 扩展共用同一份 ~/.codex/config.toml(官方文档:agents in the app inherit the same configuration as the IDE and CLI extension),配置一次三端生效。
交互默认 Y,回车采用默认端点 https://n.tokeness.dev/v1 与模型 gpt-5.6-sol。写入:
~/.codex/config.toml(原配置备份 config.toml.bak):
model = "gpt-5.6-sol"
model_provider = "custom"
preferred_auth_method = "apikey"
[model_providers.custom]
name = "custom"
base_url = "https://n.tokeness.dev/v1"
wire_api = "responses" # Codex 仅支持 Responses 协议
requires_openai_auth = true
[windows]
sandbox = "elevated"
~/.codex/auth.json:{"OPENAI_API_KEY": "sk-xxxxxx"} —— Key 不落 config.toml;桌面端从桌面启动不读 shell 环境变量,auth.json 最可靠配置后需完全退出并重启 Codex 桌面应用生效。
winget install --id 9PLM9XGG6VKS -s msstore)。wire_api = "responses"),纯 Chat Completions 端点无法直连。| 现象 | 处理 |
|---|---|
| 所有下载源失败 | 检查网络/代理连通性,或重试 |
| 401 鉴权失败 | 检查 ~/.codex/auth.json 中 OPENAI_API_KEY 是否正确、账户余额是否充足 |
| 400 协议错误 | 端点必须 OpenAI Responses 兼容,纯 Chat Completions 不可用 |
| 配置不生效 | 完全退出(含托盘)并重启 Codex 桌面应用;确认 ~/.codex/config.toml 存在且为你期望的内容 |
| 模型列表为空 | 检查端点 /v1/models 可用性与 model 模型 ID(默认 gpt-5.6-sol) |