Community程式設計與開發github.com

codex-issue-digest

執行 openai/codex 的 GitHub 問題摘要,支援依功能區域標籤、所有區域以及可設定的時間範圍查詢。當被要求彙總近期 Codex 錯誤回報或功能請求時使用,特別適用於 tui、exec、app 等特定擁有者標籤。

codex-issue-digest 是什麼?

codex-issue-digest 是一個 AI 代理技能,專為 Codex (openai/codex) 專案設計,能自動產生 GitHub 問題的摘要報告。此技能會從現有的 Codex 儲存庫中執行 Python 收集器腳本 (collect_issue_digest.py),根據指定的功能區域標籤 (如 tui、exec) 或所有標籤,以及可設定的時間窗口 (預設 24 小時) 來收集問題資料。它支援 Cursor 和 Codex 這類 AI 代理平台。技能的核心功能是產生「標題優先」的摘要,並根據使用者參與度 (獨特人類使用者互動次數) 自動標記注意力等級 (🔥 或 🔥🔥),讓開發者能快速掌握最重要的問題。摘要會區分「安靜日」和「活躍日」,並在需要時提供詳細的問題表格,同時避免重複列出低信號資訊,確保報告簡潔且具洞察力。

相容平台~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 的問題,針對要求的 feature-area 標籤,產生一個以標題優先、富含洞見的摘要,預設時間範圍為過去 24 小時。當使用者要求不同的時間長度時 (例如「過去一週」或「48 小時」),應遵循該設定。預設僅回覆摘要;只有在使用者要求時才包含詳細資訊。

僅包含目前同時具備 bug 或 enhancement 標籤,以及至少一個要求的擁有者標籤的問題。如果使用者要求「所有區域」或「所有標籤」,則收集所有標籤中帶有 bug/enhancement 的問題。

輸入

  • Feature-area 標籤,例如 tui exec
  • all areas / all labels 用以掃描所有目前的 feature 標籤
  • 可選的 repo 覆寫,預設為 openai/codex
  • 可選的時間窗口,預設為過去 24 小時;範例:48h、7d、1w、past week

工作流程

  1. 從目前的 Codex 儲存庫 checkout 執行收集器:
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 作為真實來源。它包含新的問題、新的問題留言、新的反應/按讚、目前的標籤、目前的反應計數、準備好給模型的 summary_inputs,以及詳細的 digest_rows。
  2. 根據使用者的要求選擇輸出模式:
    • 預設模式:報告以 ## Summary 開頭,且不輸出 ## Details。
    • Details-upfront 模式:如果使用者要求詳細資訊、表格、完整摘要、「包含細節」或類似內容,則以 ## Summary 開頭,然後包含 ## Details。
    • Follow-up details 模式:如果使用者在僅獲得摘要摘要後要求更多細節,則在原有的收集器 JSON 仍然可用時,從中產生 ## Details;否則重新執行收集器。
  3. 在 ## Summary 中,撰寫一個標題優先的執行摘要:
    • ## Summary 下的第一個非空白行必須是單行的標題或判斷,而不是一個項目符號。即使讀者在此停下來,它也應該是有用的。
    • 在平靜的日子,請優先使用:No major issues reported by users. 當沒有被提升的行、沒有新重複的主題,且沒有任何需要擁有者採取行動的事項時,使用此句。
    • 當使用者正在提出值得注意的問題時,讓標題指出數量或主題,例如 Two issues are being surfaced by users:。
    • 在活躍的標題下方,僅列出驅動注意力的問題或主題,按重要性排序。每行以該行的 attention_marker 開頭 (如果有的話),接著是簡潔的擁有者可讀描述和行內問題引用。
    • 將 🔥🔥 視為值得放到標題的級別,將 🔥 視為被提升的級別。不要自己加入火焰表情符號;僅複製該行的 attention_marker。
    • 在標題之後,將任何額外的摘要詳細資訊保持為 1-3 行簡潔文字,僅在它增加了一個對決策重要的備註、重複的主題或擁有者行動時才加入。
    • 不要在 ## Summary 中包含例行計數、廣泛統計或低信號表格摘要,除非它們改變了標題。將元資料和可選的計數放在 ## Details 或頁尾中。
    • 在預設模式下,以一個簡潔的提示結束報告,例如 Want details? I can expand this into the issue table. 保持此提示與摘要標題分開,以使標題保持整潔。
    • 從 summary_inputs 中自行分組並命名主題;收集器特意不硬編碼問題類別。
    • 僅當問題確實共享同一個產品問題時才使用群組。如果幾個問題僅僅共享一個廣泛的平台或標籤,則單獨描述它們。
    • 不要僅僅因為某個重複主題的個別問題低於詳細資料表格的門檻就省略它。幾個類似的回報應被指出為反覆出現的客戶關切。
    • 對於單一問題行,直接總結該關切,而不是稱其為一個群組。
    • 使用每個相關行的 ref_markdown 中的行內編號問題連結。
    • 範例平靜摘要:
## 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 欄位。
    • 保持表格簡短;當摘要已涵蓋時,省略低信號的行。
    • 使用精簡的欄位,例如 marker、area、type、description、interactions 和 refs。
    • Description 儲存格應為簡短的擁有者可讀片語。使用行的 description、標題、內文摘錄和最近的留言,但不要機械地複製原始的 GitHub 問題標題(當它包含附帶細節時)。
    • 當沒有有意義的信號時,使用一個明確的平靜/無關切句子。
  2. 精確使用 JSON 中的 attention_marker。對於正常行它是空的,對於被提升的行是 🔥,對於非常高關注度的行是 🔥🔥。實際的臨界值在 attention_thresholds 中。
  3. 在一行或項目符號指向問題時,使用行內編號引用,例如 Compaction bugs [1](https://github.com/openai/codex/issues/123), [2](https://github.com/openai/codex/issues/456)。不要添加單獨的腳註部分。
  4. 將 interactions 標示為 Interactions;它統計在請求的時間窗口內,建立新問題、添加新留言或進行反應的獨特人類 GitHub 使用者數量。同一位使用者對同一個問題的多篇貼文/反應只計一次。
  5. 在一行精簡的來源行中提及收集器的 script_version、儲存庫 checkout 的 git_head 和時間窗口。在預設模式下,將其放在細節提示之前,使最後一行仍然詢問使用者是否想要詳細資訊。在 details-upfront 模式下,它可以作為頁尾。

反應處理

收集器使用 GitHub reactions 端點,該端點包含 created_at,以計算在摘要時間窗口內針對已獲取 (hydrated) 問題所建立的反應。它報告時間窗口內的反應計數以及目前的反應總數。將目前的反應總數視為持續參與度,並將 new_reactions / new_upvotes 視為時間窗口內的活動。

預設情況下,收集器使用 since=<window start> 獲取問題留言,並限制每個問題的留言頁面數。這可以防止非常長的歷史討論串主導一次摘要執行,並將報告重點放在近期的貼文上。僅在需要詳盡的留言歷史記錄而非執行時間時,才使用 --fetch-all-comments。

GitHub 問題搜尋仍然以問題的 updated_at 為種子,因此如果反應不會更新 updated_at,則純反應型的問題可能會被漏掉。要涵蓋每個純反應型的情況,需要一個持久化的快照儲存或更廣泛的已標記問題掃描。

注意力標記

收集器根據請求的時間窗口來調整注意力標記。基準是在 24 小時內,🔥 需要 5 個獨特人類使用者,🔥🔥 需要 10 個獨特人類使用者;更長或更短的時間窗口會線性調整這些臨界值並無條件進位。例如,一個一週的報告使用 35 和 70 次互動。獨特人類使用者是指在時間窗口內建立了問題、建立了留言或進行了反應 (包括按讚) 的使用者。同一位使用者對同一個問題的多個動作只計一次。機器人貼文和機器人反應會被排除在外。在說明中,將其解釋為高使用者互動,而不是提及表情符號。

新鮮度

自動化應從包含此技能的儲存庫 checkout 中執行。對於共享的日常使用,建議採用以下模式之一:

  • 在一個在自動化開始之前已更新的 checkout 中執行自動化,例如使用 git pull --ff-only。
  • 如果自動化無法安全地變更 checkout,則從收集器輸出中報告當前的 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.

驗證

針對近期問題進行乾執行 (dry run) 收集器:

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.

相關技能