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.

Install it, pinned
mdr add black-yt/skills/codex-app-troubleshooting@git:20261003.33d8d53

Pins 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

The exact contents, by fingerprint
mdr add black-yt/skills/codex-app-troubleshooting@sha256:773c33b6792cf9e0

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qdb7wxmadihavzqy.svg)](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.

versioncommittedcommitsizeaudit
git:20261003.33d8d53 latest2026-10-03 33d8d53 13,711 BA view · diff
git:20261003.104f0f22026-10-03 104f0f2 13,325 BA view · diff
git:20261003.b4dd22b2026-10-03 b4dd22b 6,559 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from black-yt/skills

AGENTS.md AGENTS.md file
black-yt/skills · AGENTS.md
git:20260804.1ce2bfe · audit B · 16 stars
agent-orchestration SKILL.md skill
black-yt/skills · agent-orchestration/SKILL.md · 当任务包含大量相似工作、长时间管线或需要并行陪跑与异常修复时,组织主 Codex、原生子 agent 或 Claude Code/Atria 中层监督者,以及确定性底层执行者;控制权限、资源、证据和接管边界。
git:20261016.9ee6ddd · audit A · 16 stars
agents-md-maintenance SKILL.md skill
black-yt/skills · agents-md-maintenance/SKILL.md · 当需要创建、整理、拆分或维护仓库中的 AGENTS.md、CLAUDE.md 或同类默认加载 agent 操作指南时使用;覆盖常驻上下文边界、*.local/ 按需拆分、公开/私有跟踪策略、同步校验和安全编辑。
git:20260803.6c56440 · audit A · 16 stars
ai-conference-paper-writing SKILL.md skill
black-yt/skills · ai-conference-paper-writing/SKILL.md · 当需要撰写、重构或打磨 AI conference paper 时使用;覆盖 research story、章节结构、图表实验布局、引用、case study、术语体系和可复现评测,重点把工作包装成清晰的问题、能力缺口和论证闭环。
git:20260611.295e62a · audit A · 16 stars
browser-render-visualization SKILL.md skill
black-yt/skills · browser-render-visualization/SKILL.md · 当需要用 Playwright 渲染网页前端、GitHub Pages、本地静态页面、Canvas 或 Three.js 页面并保存桌面/移动端截图、检查空白渲染、布局溢出和浏览器报错时使用。
git:20260605.e763408 · audit B · 16 stars
codex-history-sync SKILL.md skill
black-yt/skills · codex-history-sync/SKILL.md · 当需要把一个 CODEX_HOME/.codex 中的 Codex 会话记录、history.jsonl、sessions 和 thread title 元数据单向同步到另一个用户或目录下的 .codex 时使用;强调…
git:20260701.f15c195 · audit A · 16 stars
context-overlay SKILL.md skill
black-yt/skills · context-overlay/SKILL.md · Use when configuring or debugging the context-overlay OpenAI-compatible proxy for deterministic prompt/context…
git:20260713.9b7b32b · audit B · 16 stars
docx-splitting SKILL.md skill
black-yt/skills · docx-splitting/SKILL.md · 当需要在 Windows + Microsoft Word 环境中按页拆分 .docx 文件并尽量保留原始格式、图片、表格和分页效果时使用。
git:20260509.cdf62b1 · audit A · 16 stars
feishu-bot SKILL.md skill
black-yt/skills · feishu-bot/SKILL.md · 当需要创建、配置、调用或排查飞书/Lark 机器人时使用;覆盖自定义机器人 webhook 单向群通知、签名校验、消息格式、错误码,以及应用机器人收发消息、tenant_access_token、权限、事件订阅、卡片交互和资源上传。
git:20260613.d8ec3ec · audit A · 16 stars
frontend-markdown-rendering SKILL.md skill
black-yt/skills · frontend-markdown-rendering/SKILL.md · 当需要在前端把最终 assistant 文本渲染为 Markdown,同时保留工具过程为纯文本/JSON,并支持表格、代码块、图片、KaTeX 公式、Mermaid 图和 workspace 本地图片安全访问时使用。
git:20260605.e763408 · audit B · 16 stars
github-readme-writing SKILL.md skill
black-yt/skills · github-readme-writing/SKILL.md · 当需要为 GitHub 项目创建、重构或审阅高质量 README.md 时使用;参考 ResearchClawBench 风格,覆盖居中标题、徽章、导航、teaser、highlights、news、Mermaid、GitHub…
git:20260611.295e62a · audit A · 16 stars
huggingface-dataset-publishing SKILL.md skill
black-yt/skills · huggingface-dataset-publishing/SKILL.md · 当需要创建、上传、验证和维护 Hugging Face Dataset 时使用,尤其是包含图片、多图字段、文本步骤、答案、JSON/metadata 字段的数据集;包括 datasets Features/Image/Sequence…
git:20260605.e763408 · audit A · 16 stars

Every file in black-yt/skills

Browse by kind, by grade A, or by owner.