Community编程与开发github.com

codex-issue-digest

运行 GitHub Issue 摘要,针对 openai/codex 的按功能区域标签、所有区域以及可配置时间窗口。当被要求总结最近的 Codex 错误报告或功能增强请求时使用,尤其是针对所有者特定标签(如 tui、exec、app 或类似区域)。

codex-issue-digest 是什么?

codex-issue-digest 是一个 AI 代理技能,用于为 openai/codex 代码仓库生成以标题优先、见解驱动的 Issue 摘要。它允许用户按功能区域标签(如 tui、exec、app)或所有区域筛选,并支持可自定义的时间窗口(默认 24 小时)。该技能基于 Python 收集器脚本运行,该脚本输出 JSON 结构的摘要数据,包含 Issue、评论、互动和注意力标记。AI 代理随后根据这些数据生成简洁的执行摘要,使用诸如 🔥(高关注度)和 🔥🔥(极高关注度)等标记来指示关键 Issue。该技能提供两种输出模式:默认的仅摘要模式和详细的摘要加细节模式,后者包含紧凑的表格。它设计用于 Claude Code、Codex 等 AI 代理平台,开发人员可以通过自然的语言指令(例如“为标签 tui 和 exec 运行 Codex Issue 摘要”)来触发。

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

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

在你喜欢的 AI 中提问

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

文档

Codex Issue Digest

目标

为 openai/codex 的 Issue 生成一个标题优先、具有洞察力的摘要,针对请求的功能区域标签,默认覆盖过去 24 小时。当用户请求不同的持续时间时,例如“过去一周”或“48 小时”,则遵循该请求。默认仅返回摘要;仅在请求时才包含详细信息。

仅包含当前具有 bug 或 enhancement 标签且至少包含一个请求的所有者标签的 Issue。如果用户要求全部区域或全部标签,则收集所有标签下带有 bug/enhancement 标签的 Issue。

输入

  • 功能区域标签,例如 tui exec
  • all areas / all labels 以扫描当前所有功能标签
  • 可选的仓库覆盖,默认为 openai/codex
  • 可选的时间窗口,默认过去 24 小时;示例:48h、7d、1w、past week

工作流程

  1. 从当前 Codex 仓库检出目录运行收集器:
python3 .codex/skills/codex-issue-digest/scripts/collect_issue_digest.py --labels tui exec --window-hours 24

当用户请求非默认持续时间时,使用 --window "past week" 或 --window-hours 168。当用户说全部区域或全部标签时,使用 --all-labels。

  1. 将 JSON 作为事实来源。它包含新 Issue、新 Issue 评论、新的反应/点赞、当前标签、当前反应计数、模型可用的 summary_inputs 和详细的 digest_rows。
  2. 根据用户请求选择输出模式:
    • 默认模式:以 ## Summary 开头,不输出 ## Details。
    • 详情优先模式:如果用户要求详细信息、表格、完整摘要、“包含详细信息”或类似内容,则以 ## Summary 开头,然后包含 ## Details。
    • 跟进详情模式:如果用户在仅摘要的摘要后要求更多详细信息,则在现有的收集器 JSON 仍可用时生成 ## Details;否则重新运行收集器。
  3. 在 ## Summary 中,编写标题优先的执行摘要:
    • ## Summary 下的第一个非空行必须是单行标题或判断,不能是项目符号。即使读者只看这里,也应该有用。
    • 在平静的日子,最好使用:No major issues reported by users. 当没有关注度高的行、没有新出现的主题以及没有需要所有者采取行动的事项时使用。
    • 当用户正在提出值得注意的 Issue 时,让标题指明数量或主题,例如 Two issues are being surfaced by users:。
    • 在活跃标题下,仅列出驱动注意力的 Issue 或主题,按重要性排序。每行以该行的 attention_marker 开头(如果存在),然后是对所有者可读的简洁描述和行内 Issue 引用。
    • 将 🔥🔥 视为值得标题,将 🔥 视为关注度升高。不要自己添加火焰 emoji;仅复制行的 attention_marker。
    • 在标题之后,任何额外的摘要细节保持在 1-3 行简洁的描述,仅当它添加了与决策相关的警示、重复出现的主题或所有者的行动时。
    • 不要在 ## Summary 中包含常规计数、广泛的统计信息或低信号的表格摘要,除非它们改变了标题。将元数据和可选计数放在 ## Details 或页脚中。
    • 在默认模式下,以简洁的提示结束报告,例如 Want details? I can expand this into the issue table. 保持其与摘要标题分开,以便标题保持整洁。
    • 自己从 summary_inputs 中聚类和命名主题;收集器有意不硬编码 Issue 类别。
    • 仅当多个 Issue 真正共享相同的产品问题时才使用聚类。如果多个 Issue 仅共享广泛的平台或标签,则单独描述它们。
    • 不要仅仅因为单个 Issue 低于详细信息表格的截止线就不提及重复出现的主题。应将几个类似的报告作为重复的客户关注点指出。
    • 对于单个 Issue 的行,直接总结关注点,而不是称之为聚类。
    • 从每个相关行的 ref_markdown 中使用行内编号的 Issue 链接。
    • 示例平静摘要:
## Summary
No major issues reported by users.

Source: collector v5, git `abc123def456`, window `2026-04-27T00:00:00Z` to `2026-04-28T00:00:00Z`.
Want details? I can expand this into the issue table.
  • 示例活跃摘要:
## Summary
Two issues are being surfaced by users:
🔥🔥 Terminal launch hangs on startup [1](https://github.com/openai/codex/issues/123)
🔥 Resume switches model providers unexpectedly [2](https://github.com/openai/codex/issues/456)

Source: collector v5, git `abc123def456`, window `2026-04-27T00:00:00Z` to `2026-04-28T00:00:00Z`.
Want details? I can expand this into the issue table.
  1. 在 ## Details 中,当请求详细信息时,仅在有用时包含紧凑表格:
    • 优先使用 digest_rows 中的行;使用每行的 ref_markdown 包含 Refs 列。
    • 保持表格简短;当摘要已覆盖它们时,省略低信号的行。
    • 使用紧凑的列,如标记、区域、类型、描述、互动和引用。
    • Description 单元格应是一个对所有者可读的简短短语。使用行的 description、标题、正文摘录和最近的评论,但不要机械地复制原始 GitHub Issue 标题(当它包含偶然细节时)。
    • 当没有有意义的信号时,使用清晰的平静/无关注句子。
  2. 精确使用 JSON 中的 attention_marker。对于正常行为空,对于关注度升高的行为 🔥,对于非常高关注度的行为 🔥🔥。实际阈值在 attention_thresholds 中。
  3. 当行或项目符号指向 Issue 时,使用行内编号引用,例如 Compaction bugs [1](https://github.com/openai/codex/issues/123), [2](https://github.com/openai/codex/issues/456)。不要添加单独的脚注部分。
  4. 将 interactions 标记为 Interactions;它计算在请求的时间窗口内创建新 Issue、添加新评论或做出反应的唯一人类 GitHub 用户数量。同一用户在同一 Issue 上的多次发帖/反应计为一次。
  5. 在一行紧凑的源行中提及收集器 script_version、仓库检出的 git_head 和时间窗口。在默认模式下,将其放在详细信息提示之前,以便最后一行仍然询问用户是否想要详细信息。在详情优先模式下,它可以作为页脚。

反应处理

收集器使用 GitHub 反应端点(其中包括 created_at)来计算在摘要窗口内为已获取的 Issue 创建的反应。它报告窗口内反应计数和当前反应总数。将当前反应总数视为持续的参与度,并将 new_reactions / new_upvotes 视为窗口内的活动。

默认情况下,收集器获取 Issue 评论时使用 since=<window start> 并限制每个 Issue 的评论页面数。这可以防止非常长的历史线程主导摘要运行,并将报告重点放在最近的帖子。仅当需要详尽的评论历史而不是运行时间时才使用 --fetch-all-comments。

GitHub Issue 搜索仍然由 Issue 的 updated_at 驱动,因此如果反应不触及 updated_at,纯粹只有反应的 Issue 可能会被遗漏。覆盖每一个仅反应的情况需要持久化的快照存储或更广泛的已标记 Issue 扫描。

注意力标记

收集器根据请求的时间窗口缩放注意力标记。基线和阈值可通过命令行参数进行配置。在散文中,将其解释为用户的高互动,而不是命名 emoji。

时效性

自动化应从包含此技能的仓库检出中运行。对于共享的日常使用,优先选择以下模式之一:

  • 在自动化开始之前刷新检出,例如使用 git pull --ff-only。
  • 如果自动化无法安全地更改检出,则报告收集器输出中当前的 git_head,以便读者知道生成摘要的是哪个技能/脚本版本。

示例所有者提示

Use $codex-issue-digest to run the Codex issue digest for labels tui and exec over the previous 24 hours.
Use $codex-issue-digest to run the Codex issue digest for all areas over the past week.

验证

对最近的 Issue 进行试运行收集器:

python3 .codex/skills/codex-issue-digest/scripts/collect_issue_digest.py --labels tui exec --window-hours 24
python3 .codex/skills/codex-issue-digest/scripts/collect_issue_digest.py --all-labels --window "past week" --limit-issues 10

运行集中的脚本测试:

pytest .codex/skills/codex-issue-digest/scripts/test_collect_issue_digest.py

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-bug

Diagnose GitHub bug reports in openai/codex. Use when given a GitHub issue URL from openai/codex and asked to decide next steps such as verifying against the repo, requesting more info, or explaining why it is not a bug; follow any additional user-provided instructions.

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.

相关技能