skill-installer
openai/codex
厳選されたリストまたはGitHubリポジトリのパスから、$CODEX_HOME/skills に Codex スキルをインストールします。ユーザーがインストール可能なスキルのリストを表示するようリクエストした場合、厳選されたスキルをインストールする場合、または別のリポジトリ(非公開リポジトリを含む)からスキルをインストールする場合に使用します。
...すべて拡張しますスキルインストーラー
スキルのインストールを支援します。デフォルトではhttps://github.com/openai/skills/tree/main/skills/.curatedからのスキルが対象ですが、ユーザーは他の場所を指定することも可能です。 実験的なスキルはhttps://github.com/openai/skills/tree/main/skills/.experimentalにあり、同様の方法でインストールできます。
タスクに応じてヘルパースクリプトを使用してください:
- ユーザーが利用可能なスキルを確認したい場合、または特定の操作を指定せずにこのスキルを使用した場合に、スキル一覧を表示します。デフォルトでは
.curatedの一覧が表示されますが、実験的なスキルについて問い合わせがあった場合は、--path skills/.experimentalを指定して表示させることができます。 - ユーザーがスキル名を指定した場合は、curatedリストからインストールします。
- ユーザーが GitHub リポジトリまたはパス(非公開リポジトリを含む)を指定した場合は、別のリポジトリからインストールします。
ヘルパースクリプトを使用してスキルをインストールします。
コミュニケーション
スキルを一覧表示する際は、ユーザーのリクエストの文脈に応じて、おおよそ次のような出力をします。実験的なスキルについて尋ねられた場合は、.curatedではなく. experimentalから一覧を表示し、ソースを適切に明記してください:
"""
{repo} からのスキル:
- skill-1
- skill-2(すでにインストール済み)
- ... どのスキルをインストールしますか? """
スキルのインストール後、次のターンから利用可能になることをユーザーに伝えてください。
スクリプト
これらのスクリプトはすべてネットワークを使用するため、サンドボックス内で実行する場合は、実行時に権限の昇格をリクエストしてください。
scripts/list-skills.py(インストール済みアノテーション付きのスキル一覧を出力)scripts/list-skills.py --format json- 例(実験用リスト):
scripts/list-skills.py --path skills/.experimental scripts/install-skill-from-github.py --repo/ --path <skill へのパス> [<skill へのパス> ...] scripts/install-skill-from-github.py --url https://github.com// /tree// - 例(実験的なスキル):
scripts/install-skill-from-github.py --repo openai/skills --path skills/.experimental/
動作とオプション
- GitHubの公開リポジトリについては、デフォルトで直接ダウンロードを行います。
- 認証や権限のエラーによりダウンロードに失敗した場合は、gitのスパースチェックアウトに切り替わります。
- インストール先のスキルディレクトリがすでに存在する場合、処理を中止します。
$CODEX_HOME/skills/にインストールされます(デフォルトは~/.codex/skills)。--path を複数指定すると、1回の実行で複数のスキルがインストールされます。--name が指定されていない場合、各スキルの名前はパスのベースネームに基づいて付けられます。- オプション:
--ref(デフォルトはmain)、--dest、--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から取得されます。
Skill Installer
Helps install skills. By default these are from https://github.com/openai/skills/tree/main/skills/.curated, but users can also provide other locations. Experimental skills live in https://github.com/openai/skills/tree/main/skills/.experimental and can be installed the same way.
Use the helper scripts based on the task:
- List skills when the user asks what is available, or if the user uses this skill without specifying what to do. Default listing is
.curated, but you can pass--path skills/.experimentalwhen they ask about experimental skills. - Install from the curated list when the user provides a skill name.
- Install from another repo when the user provides a GitHub repo/path (including private repos).
Install skills with the helper scripts.
Communication
When listing skills, output approximately as follows, depending on the context of the user's request. If they ask about experimental skills, list from .experimental instead of .curated and label the source accordingly:
"""
Skills from {repo}:
- skill-1
- skill-2 (already installed)
- ... Which ones would you like installed? """
After installing a skill, tell the user it will be available on their next turn.
Scripts
All of these scripts use network, so when running in the sandbox, request escalation when running them.
scripts/list-skills.py(prints skills list with installed annotations)scripts/list-skills.py --format json- Example (experimental list):
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>- Example (experimental skill):
scripts/install-skill-from-github.py --repo openai/skills --path skills/.experimental/<skill-name>
Behavior and Options
- Defaults to direct download for public GitHub repos.
- If download fails with auth/permission errors, falls back to git sparse checkout.
- Aborts if the destination skill directory already exists.
- Installs into
$CODEX_HOME/skills/<skill-name>(defaults to~/.codex/skills). - Multiple
--pathvalues install multiple skills in one run, each named from the path basename unless--nameis supplied. - Options:
--ref <ref>(defaultmain),--dest <path>,--method auto|download|git.
Notes
- Curated listing is fetched from
https://github.com/openai/skills/tree/main/skills/.curatedvia the GitHub API. If it is unavailable, explain the error and exit. - Private GitHub repos can be accessed via existing git credentials or optional
GITHUB_TOKEN/GH_TOKENfor download. - Git fallback tries HTTPS first, then SSH.
- The skills at https://github.com/openai/skills/tree/main/skills/.system are preinstalled, so no need to help users install those. If they ask, just explain this. If they insist, you can download and overwrite.
- Installed annotations come from
$CODEX_HOME/skills.
skill-installerをインストール
スキルファイルをダウンロードし、.claude/skills/ ディレクトリに解凍してください。
ZIPをダウンロードリポジトリをクローンし、スキルファイルをプロジェクトにコピーしてください。
git clone https://github.com/openai/codex/tree/main/codex-rs/skills/src/assets/samples/skill-installer # Copy the skill folder to .claude/skills/ or .codex/skills/
コピー





家
