Skill Installer

composio-community/awesome-codex-skills/skill-installer

作者 composio-community0930e1373789d2eda449039f7ac154b33031de89无许可证17K 个星标收录于 2026年11月20日更新于 2026年11月20日仓库4个月前更新

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

包含脚本AI 与智能体
AI 生成的概览

列出并安装 Codex 技能:可从精选列表或 GitHub 仓库路径安装到 $CODEX_HOME/skills。

功能
提供辅助脚本,可列出精选技能并标注哪些已安装,也可从 GitHub 仓库路径或 URL 安装一个或多个技能到 $CODEX_HOME/skills(默认 ~/.codex/skills)。公开仓库默认直接下载,遇到认证或权限错误时回退到 git 稀疏检出;若目标目录已存在则中止。安装后会提示用户重启 Codex 以加载新技能。
适用场景
当用户询问有哪些可安装的技能、想按名称安装精选技能,或想从其他 GitHub 仓库(含私有仓库)安装技能时使用。
运行要求
需要技能自带的 Python 脚本;需要访问 GitHub API 与 GitHub 仓库的网络连接;私有仓库可选提供 GITHUB_TOKEN 或 GH_TOKEN(或已有 git 凭据);回退方案需要 git。

AI 概览如何生成和校验

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.

Use the helper scripts based on the task:

  • List curated skills when the user asks what is available, or if the user uses this skill without specifying what to do.
  • 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 curated skills, output approximately as follows, depending on the context of the user's request: """ Skills from {repo}:

  1. skill-1
  2. skill-2 (already installed)
  3. ... Which ones would you like installed? """

After installing a skill, tell the user: "Restart Codex to pick up new skills."

Scripts

All of these scripts use network, so when running in the sandbox, request escalation when running them.

  • scripts/list-curated-skills.py (prints curated list with installed annotations)
  • scripts/list-curated-skills.py --format json
  • 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>

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 --path values install multiple skills in one run, each named from the path basename unless --name is supplied.
  • Options: --ref <ref> (default main), --dest <path>, --method auto|download|git.

Notes

  • Curated listing is fetched from https://github.com/openai/skills/tree/main/skills/.curated via 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_TOKEN for 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.

来源与署名

来源:composio-community/awesome-codex-skills位于skill-installer提交0930e13

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

在 README 中添加徽章

向读者展示该技能已收录于 SourceWeft,徽章链接到本页。

“Listed on SourceWeft”徽章预览
[![Listed on SourceWeft](https://sourceweft.com/badge/skills/gh-composio-community-awesome-codex-skills-skill-installer-skill-installer-d021fb105336c61b.svg)](https://sourceweft.com/skills/gh-composio-community-awesome-codex-skills-skill-installer-skill-installer-d021fb105336c61b?utm_source=readme&utm_medium=badge)

举报或申请下架