Community程式設計與開發github.com

技能安裝工具

從精選列表或 GitHub 儲存庫路徑安裝 Codex 技能至 $CODEX_HOME/skills。當使用者要求列出可安裝技能、安裝精選技能或從其他儲存庫(包括私有儲存庫)安裝技能時使用。

技能安裝工具 是什麼?

技能安裝工具是一個專為 Codex 開發環境設計的專業技能管理器,能夠從官方精選列表或 GitHub 儲存庫自動安裝技能。它支援三種主要操作模式:列出可用的精選或實驗性技能、根據名稱從精選列表安裝技能,以及從任何 GitHub 儲存庫(包括私有儲存庫)安裝技能。安裝過程會自動使用直接下載方式,若遇到認證問題則會回退至 Git sparse checkout,並支援多種參數如 --ref、--dest 和 --method 來控制安裝行為。此工具在沙箱環境中執行時需要請求權限提升,因為所有腳本都需要網路存取。安裝完成後,技能會存放在 $CODEX_HOME/skills 目錄中,並在下一次對話中生效。

相容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/openai/codex/tree/main/codex-rs/skills/src/assets/samples/skill-installer

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

技能安裝工具 是做什麼的?

協助安裝技能。預設從 https://github.com/openai/skills/tree/main/skills/.curated 安裝,但使用者也可以提供其他位置。實驗性技能位於 https://github.com/openai/skills/tree/main/skills/.experimental,並可以相同方式安裝。

根據任務使用輔助腳本:

  • 當使用者詢問有哪些可用技能,或使用此技能但未指定操作時,列出技能。預設列出 .curated,但當使用者詢問實驗性技能時,可傳遞 --path skills/.experimental。
  • 當使用者提供技能名稱時,從精選列表安裝。
  • 當使用者提供 GitHub 儲存庫/路徑(包括私有儲存庫)時,從其他儲存庫安裝。

使用輔助腳本安裝技能。

溝通方式

列出技能時,大致根據使用者請求的上下文輸出如下內容。如果他們詢問實驗性技能,則從 .experimental 列出,而不是 .curated,並標明來源:

來自 {repo} 的技能:
1. skill-1
2. skill-2(已安裝)
3. ...
您想要安裝哪些?

安裝技能後,告知使用者該技能將在下一次對話中可用。

腳本

所有這些腳本都會使用網路,因此在沙箱中執行時,請求權限提升才能執行。

  • scripts/list-skills.py(輸出技能列表,附已安裝標註)
  • scripts/list-skills.py --format json
  • 範例(實驗性列表):scripts/list-skills.py --path skills/.experimental
  • scripts/install-skill-from-github.py --repo <owner>/<repo> --path <path/to/skill> [<path/to/skill> ...]
  • scripts/install-skill-from-github.py --url https://github.com/<owner>/<repo>/tree/<ref>/<path>
  • 範例(實驗性技能):scripts/install-skill-from-github.py --repo openai/skills --path skills/.experimental/<skill-name>

行為與選項

  • 預設對公開 GitHub 儲存庫使用直接下載。
  • 如果下載因認證/權限錯誤而失敗,則回退至 Git sparse checkout。
  • 如果目標技能目錄已存在,則中止操作。
  • 安裝至 $CODEX_HOME/skills/<skill-name>(預設為 ~/.codex/skills)。
  • 多個 --path 值可一次安裝多個技能,除非提供 --name,否則每個技能名稱來自路徑的基本名稱。
  • 選項:--ref <ref>(預設 main)、--dest <path>、--method auto|download|git。

備註

  • 精選列表透過 GitHub API 從 https://github.com/openai/skills/tree/main/skills/.curated 取得。如果無法取得,請解釋錯誤並退出。
  • 私有 GitHub 儲存庫可透過現有的 git 憑證或可選的 GITHUB_TOKEN/GH_TOKEN 進行下載存取。
  • Git 回退方式會先嘗試 HTTPS,然後是 SSH。
  • 位於 https://github.com/openai/skills/tree/main/skills/.system 的技能已預先安裝,因此無需協助使用者安裝這些技能。如果使用者詢問,只需解釋即可。如果他們堅持要安裝,您可以下載並覆寫。
  • 已安裝標註來自 $CODEX_HOME/skills。

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

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.

相關技能