Community编程与开发github.com

Codex Bug

诊断 openai/codex 仓库中的 GitHub 错误报告。用于分析给定的 GitHub Issue 链接,并决定下一步行动,如验证仓库、请求更多信息或解释为何不是错误。

Codex Bug 是什么?

Codex Bug 技能专门用于分析和处理 openai/codex 仓库中的 GitHub 错误报告。当用户提供一个指向 `github.com/openai/codex/issues/...` 的 Issue URL 时,该技能会帮助开发人员或 AI 代理快速诊断问题并决定后续行动。其核心工作流程包括:首先验证输入的有效性,确保 URL 指向正确的仓库;然后通过网络访问 GitHub API 获取 Issue 和评论内容(而非直接解析 HTML),以提取标题、描述、复现步骤、期望与实际行为、运行环境、日志和附件等关键信息。在深入代码调研前,技能会要求用户用自定义语言总结错误报告,包含报告行为、预期行为、复现步骤和现有证据。随后,根据信息完整度决定行动:如果报告详细且可复现,则验证相关代码源文件;如果描述模糊或缺少必要信息,则请求更多细节;如果报告行为与当前实现或文档约束矛盾,则解释为何不是错误。最后,技能会输出一个简洁的发现总结和后续步骤建议。该技能适用于任何需要快速分类和响应 Codex 仓库错误报告的场景,支持基于 API 的直接网络访问,并强调在缺乏网络时提供离线备选方案。

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/openai/codex/tree/main/.codex/skills/codex-bug

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Codex Bug 是做什么的?

概述

诊断 Codex 的 GitHub 错误报告,并决定下一步行动:验证源代码、请求更多信息,或解释为何不是错误。

工作流程

  1. 确认输入
  • 要求提供指向 github.com/openai/codex/issues/… 的 GitHub Issue URL。
  • 如果 URL 缺失或不属于正确仓库,请用户提供正确的链接。
  1. 网络访问
  • 始终立即通过网络访问 Issue,即使你认为访问被阻止或不可用。
  • 优先使用 GitHub API 而非 HTML 页面,因为 HTML 内容杂乱:
    • Issue: https://api.github.com/repos/openai/codex/issues/<number>
    • 评论: https://api.github.com/repos/openai/codex/issues/<number>/comments
  • 如果环境要求明确批准,请通过工具即时请求批准,无需额外的用户提示。
  • 仅在网络尝试失败(即使已请求批准)后,解释你可以在离线状态下做什么(例如草拟响应模板),并询问如何继续。
  1. 阅读 Issue
  • 使用 GitHub API 响应(Issue + 评论)作为真实来源,而非抓取 HTML 页面。
  • 提取:标题、正文、复现步骤、期望行为与实际行为、运行环境、日志以及任何附件。
  • 注意报告是否已经包含日志或会话详细信息。
  • 如果报告包含线程 ID,在摘要中提及,并在有权限的情况下使用该 ID 查找日志和会话详情。
  1. 在调查之前总结错误
  • 在深入检查代码、文档或日志之前,用自己的话写出报告的简短摘要。
  • 包括报告的行为、预期行为、复现步骤、运行环境以及已有或缺失的证据。
  1. 决定行动方案
  • 通过源代码验证:当报告具体且可能可复现时。检查相关的 Codex 文件(如果无法访问,则提及需要检查的文件)。
  • 请求更多信息:当报告模糊、缺少复现步骤或缺乏日志/运行环境时。
  • 解释不是错误:当报告与当前行为或文档限制相矛盾时(引用 Issue 中的证据以及任何已检查的本地来源)。
  1. 回复
  • 提供关于你的发现和后续步骤的简洁报告。

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks Codex to monitor a PR, watch CI, handle review comments, or keep an eye on failures and feedback on an open PR.

code-review

Run a final code review on a pull request

code-review-change-size

Change size guidance (800 lines)

code-review-context

Model visible context

code-review-testing

Test authoring guidance

codex-issue-digest

Run a GitHub issue digest for openai/codex by feature-area labels, all areas, and configurable time windows. Use when asked to summarize recent Codex bug reports or enhancement requests, especially for owner-specific labels such as tui, exec, app, or similar areas.

codex-pr-body

Update the title and body of one or more pull requests.

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.

openai/babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep watching open PRs so fresh review feedback is surfaced promptly. Use when the user asks Codex to monitor a PR, watch CI, handle review comments, or keep an eye on failures and feedback on an open PR.

openai-docs

Use when the user asks how to build with OpenAI products or APIs, asks about Codex itself or choosing Codex surfaces, needs up-to-date official documentation with citations, help choosing the latest model for a use case, or model upgrade and prompt-upgrade guidance; use OpenAI docs MCP tools for non-Codex docs questions, use the Codex manual helper first for broad Codex self-knowledge, and restrict fallback browsing to official OpenAI domains.

openai/test-tui

Guide for testing Codex TUI interactively

path-types

Choose Rust types for operating system paths across the Codex repository. Use when defining new path-bearing types or explicitly migrating existing ones.

plugin-creator

Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries for plugin ordering and availability metadata, or update an existing local plugin during development with the CLI-driven cachebuster and reinstall flow.

pushing-ci-changes

Pushing GitHub Actions changes, resolving push rejection, requesting upload exceptions.

remote-tests

Testing against remote executors in integration tests.

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

test-tui

Guide for testing Codex TUI interactively

update-v8-version

Update Codex's pinned `v8` / `rusty_v8` versions, validate the release-candidate path, and investigate failed V8 canary or artifact builds. Use when asked to bump V8, update `rusty_v8` artifacts, prepare or validate a V8 release candidate, check `v8-canary`, or diagnose why a V8 version update no longer builds.

相关技能