codex-app-troubleshooting SKILL.md skillA
codex-app-troubleshooting from black-yt/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add black-yt/skills/codex-app-troubleshooting@git:20261003.33d8d53Pins git:20261003.33d8d53 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- black-yt/skills
- Path
codex-app-troubleshooting/SKILL.md- Versions recorded
- 3
- Latest version
- git:20261003.33d8d53, committed Oct 3, 2026
- First version recorded
- Oct 3, 2026
- Size
- 13,711 bytes
- Repository stars
- 16
- License
- none declared
排查 Codex App 登录、WSL 后端、CLI 定位、项目迁移、MCP 和代理故障,保护 provider、活动对话与历史;也覆盖用户明确涉及的 CC Switch、Claude Code 代理迁移、Gemini CLI 环境及相关 IDE 扫描问题。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Codex App 故障修复 定位真正失败的桌面进程、认证请求或 agent 后端,在用户已有配置和授权范围内修复,并验证正常桌面启动方式。其他 agent 经验按产品分篇,只在当前问题涉及对应客户端时读取;不把一个产品的参数套到另一个产品。 ## 核心规则 - **先确定执行位置**:Windows 原生 agent、WSL agent、独立 CLI 和 SSH 远端 app-server 可能同时存在。桌面窗口或内置终端的类型不能证明认证请求来自哪里。 - **保留认证模式**:浏览器 ChatGPT OAuth 与自定义 API provider 的链路不同。修复 OAuth 不代表可以删除中转服务配置、改 `base_url`、清除 API key 或切换登录方式。 - **保留会话**:不把 `.codex`、数据库、WAL、history 或 sessions 当作重置按钮。用户要求保留活动对话时,不重启其后端、执行 `wsl --shutdown` 或批量杀 Codex/node 进程。 - **先读官方说明**:查询实际版本对应的认证和 Windows 环境文档;CLI 与 App 内置版本可能不同,页面名称或路径也可能迁移。 - **日志最小化**:不输出完整环境、`auth.json`、URL 中的凭据、OAuth code、cookie 或完整进程启动参数。只提取错误类别、请求主机、端口与必要 PID 信息。 - **最小修复**:先用目标进程范围的代理设置验证,再按用户的日常启动需求持久化;用户指定的有效端口要保留,不为了套用教程改成另一个端口。 - **失败边界**:连接失败、证书失败、HTTP 拒绝与授权码失效分开处理。不要关闭 TLS 校验、循环重放授权码或不断清空凭据。 - **权限与重启**:沿用当前会话已有授权,不重复索要已给的权限;若只有中断受保护活动任务才能继续,则先完成独立检查并说明剩余限制,不能自行终止任务。 ## 问题路由 1. 记录 App 版本、实际后端版本、Windows/WSL 模式、代理软件与当前端口,以及故障前发生的变化。 2. 按日志选择 reference:OAuth/端口/继承看 1–2;执行器与历史保护看 3;CLI、WSL 重连、项目迁移和 MCP 分别看 4–7;远端认证/转发看 8;安装限流看 9;provider/CC Switch 看 10;Claude/Gemini 看 11–12;扫描高占用看 13。 3. 修复后检查新启动的实际后端环境,而不只检查当前 shell。 4. 用新的登录流程和正常桌面快捷方式验证;临时启动脚本成功不等于双击启动已经修复。 5. 核对受保护进程与历史,报告根因、最小变更、回滚入口和未验证项。 ## 文件导航 …
Read the whole file at its exact version.
How to install
mdr add black-yt/skills/codex-app-troubleshooting@sha256:773c33b6792cf9e0The line at the top of this page pins the label git:20261003.33d8d53, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_qdb7wxmadihavzqy)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, all committed on Oct 3, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261003.33d8d53 latest | 2026-10-03 | 33d8d53 | 13,711 B | A | view · diff |
| git:20261003.104f0f2 | 2026-10-03 | 104f0f2 | 13,325 B | A | view · diff |
| git:20261003.b4dd22b | 2026-10-03 | b4dd22b | 6,559 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (13711 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
black-yt/skills · 16 stars · license none declared · pushed 2026-10-16 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_qdb7wxmadihavzqy GET https://markdownregistry.com/api/v1/resolve?ref=black-yt/skills/codex-app-troubleshooting GET https://markdownregistry.com/api/v1/blob/773c33b6792cf9e0824e5040b77ddb257c5fd2aa65cd21b67230983eb62d3117
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.