Skill Library Manager
Manage skills as a small governed library, not a loose folder dump. Favor official sources for standards, package managers for installation and updates, curated catalogs for discovery, backup-first curation for safety, and repository sync for sharing.
First Move
Classify the request before acting:
- Discover: find candidate skills, compare repositories, or recommend a starter stack.
- Inventory: inspect installed skills and summarize names, paths, descriptions, source packages, and likely overlaps.
- Curate: choose active defaults, move alternatives to backup, or plan restore points.
- Install/update/remove: use a package manager or repo-specific installer.
- Validate: check metadata, trigger breadth, dangerous instructions, duplicate responsibilities, and broken references.
- Publish: sync local skills to a GitHub skills repository with useful docs.
If the user did not request writes, stay read-only and produce a recommendation. If writes are requested, prefer dry-run or backup-first operations before changing active skill folders.
Source Strategy
Use the strongest project for the job:
openai/skills: official standard, system skills, examples, and validation expectations.
vercel-labs/skills: practical CLI-style install, list, find, update, remove, multi-agent targeting, and symlink/copy decisions.
ComposioHQ/awesome-codex-skills: discovery catalog for candidate skills and categories.
yeasy/ask: package-manager ideas such as lockfiles, security scanning, offline/private repo support, Web UI, and multi-agent sync.
Tyuts/xiaobai-skills: beginner-safe defaults, one active default per need, inventory writing, and backup instead of deletion.
jscraik/Agent-Skills: team governance, command handles, audits, eval evidence, runtime projections, and closeout proof.
akillness/oh-my-skills or similar large catalogs: broad coverage, but require stricter trigger and overlap review before global install.
For current facts about external repositories, search GitHub or the web before making claims about stars, maintenance, latest commands, or active branches.
For a compact comparison table and decision checklist, read references/project-patterns.md.
Inventory Workflow
Inspect likely skill roots, adapting paths to the user environment:
$roots = @(
"$env:USERPROFILE\.codex\skills",
"$env:USERPROFILE\.agents\skills",
"$env:USERPROFILE\.claude\skills"
)
foreach ($root in $roots) {
if (Test-Path -LiteralPath $root) {
Get-ChildItem -LiteralPath $root -Recurse -Filter SKILL.md -File
}
}
For each SKILL.md, capture:
name, path, and first-line purpose from frontmatter.
- likely source repository or package root.
- category: discovery, creation, frontend, image/media, docs/content, engineering workflow, planning, debugging, review, release, security, browser automation, project-specific, or broad framework.
- risk flags: overbroad trigger, destructive shell guidance, secret handling, external service dependency, deprecated/in-progress/personal scope, duplicate responsibility, missing license, or stale references.
Summarize with a small table first, then details only where they affect action.
Curation Rules
Keep the active library small:
- Prefer official/system skills when they fully cover the need.
- Prefer narrow, concrete skills over broad workflow frameworks for global activation.
- Keep only one broad engineering/process framework globally unless the user explicitly wants more.
- Keep high-risk, experimental, deprecated, personal, or overlapping skills in backup.
- Back up before moving or replacing. Do not delete by default.
- Preserve restore notes, including original path, backup path, reason, and restart reminder.
Recommended minimum global stack:
- official system skills for image generation, OpenAI docs, plugin creation, skill creation, and skill installation.
- one discovery mechanism:
skill-installer, vercel-labs/skills, find-skills, or a catalog-backed equivalent.
- one frontend/design lane if the user builds UI often.
- one engineering workflow lane, chosen by preference: official/project-specific workflow, Matt Pocock-style engineering skills, Superpowers-style strict methodology, or team-specific lifecycle skills.
- one publish/sync lane when the user maintains a shared skills repository.
Install And Update
Prefer mature package-manager flows when available:
# Discover/list from a repository
npx skills add owner/repo --list
# Install selected skills globally for Codex
npx skills add owner/repo --skill skill-name -g -a codex -y
# List or update installed skills
npx skills list -g
npx skills update -g -y
Use repo-provided scripts only after reading them enough to understand:
- target directories
- overwrite behavior
- network downloads
- backup/restore behavior
- dependency assumptions
- whether dry-run exists
If ask is installed and appropriate, consider it for version locking, security checks, offline/private repo support, and multi-agent sync. If it is not installed, do not require it for simple Codex-only tasks.
Validation
For each skill being added or kept active, check:
- frontmatter has only valid
name and description unless the local standard allows more.
description clearly says what the skill does and when to use it.
- trigger scope is not so broad that it fires on most coding tasks.
SKILL.md stays concise and links optional details through references/.
- scripts are deterministic enough to justify being bundled and have been test-run when changed.
- dangerous operations require explicit user intent and backups.
- external tools, API keys, or MCP dependencies are disclosed.
When creating or updating a skill, use $skill-creator conventions and run the available validation script, for example:
python "$env:USERPROFILE\.codex\skills\.system\skill-creator\scripts\quick_validate.py" "path\to\skill"
Publish Workflow
When the user asks to publish, back up, upload, or sync skills to GitHub:
- Inspect the local skill folder and target repository status.
- Exclude
.system skills unless the user explicitly asks for them.
- Prefer the existing sync skill or script if present.
- Dry-run first unless the user explicitly asked to push now.
- Confirm generated layout includes
skills/<skill-name>/ and useful README files.
- Commit with a clear message and push.
- Report changed skills, validation result, commit hash, push result, and any retry command if auth fails.
If the target repository has unrelated uncommitted changes, stop and ask before overwriting generated outputs.
Output Shape
For analysis tasks, return:
- verdict: use, avoid, backup, or investigate
- comparison table
- recommended active stack
- backup candidates
- exact next commands, if action is requested
For write tasks, return:
- files changed
- validation commands and results
- git commit/push status
- restart reminder if skills were installed, moved, or updated
1---2name: skill-library-manager3description: Manage Codex and agent skill libraries by combining the best ideas from open skill ecosystems. Use when the user asks to audit installed skills, discover better skills on GitHub, choose active vs backup skills, deduplicate broad workflow skills, compare skill managers such as openai/skills, vercel-labs/skills, ComposioHQ/awesome-codex-skills, yeasy/ask, Agent-Skills, oh-my-skills, xiaobai-skills, install or update skill sets, create a skills inventory, publish skills to a GitHub skills repository, or design a team-ready skill governance workflow.4---56# Skill Library Manager78Manage skills as a small governed library, not a loose folder dump. Favor official sources for standards, package managers for installation and updates, curated catalogs for discovery, backup-first curation for safety, and repository sync for sharing.910## First Move1112Classify the request before acting:1314- **Discover**: find candidate skills, compare repositories, or recommend a starter stack.15- **Inventory**: inspect installed skills and summarize names, paths, descriptions, source packages, and likely overlaps.16- **Curate**: choose active defaults, move alternatives to backup, or plan restore points.17- **Install/update/remove**: use a package manager or repo-specific installer.18- **Validate**: check metadata, trigger breadth, dangerous instructions, duplicate responsibilities, and broken references.19- **Publish**: sync local skills to a GitHub skills repository with useful docs.2021If the user did not request writes, stay read-only and produce a recommendation. If writes are requested, prefer dry-run or backup-first operations before changing active skill folders.2223## Source Strategy2425Use the strongest project for the job:2627- `openai/skills`: official standard, system skills, examples, and validation expectations.28- `vercel-labs/skills`: practical CLI-style install, list, find, update, remove, multi-agent targeting, and symlink/copy decisions.29- `ComposioHQ/awesome-codex-skills`: discovery catalog for candidate skills and categories.30- `yeasy/ask`: package-manager ideas such as lockfiles, security scanning, offline/private repo support, Web UI, and multi-agent sync.31- `Tyuts/xiaobai-skills`: beginner-safe defaults, one active default per need, inventory writing, and backup instead of deletion.32- `jscraik/Agent-Skills`: team governance, command handles, audits, eval evidence, runtime projections, and closeout proof.33- `akillness/oh-my-skills` or similar large catalogs: broad coverage, but require stricter trigger and overlap review before global install.3435For current facts about external repositories, search GitHub or the web before making claims about stars, maintenance, latest commands, or active branches.3637For a compact comparison table and decision checklist, read `references/project-patterns.md`.3839## Inventory Workflow4041Inspect likely skill roots, adapting paths to the user environment:4243```powershell44$roots = @(45 "$env:USERPROFILE\.codex\skills",46 "$env:USERPROFILE\.agents\skills",47 "$env:USERPROFILE\.claude\skills"48)49foreach ($root in $roots) {50 if (Test-Path -LiteralPath $root) {51 Get-ChildItem -LiteralPath $root -Recurse -Filter SKILL.md -File52 }53}54```5556For each `SKILL.md`, capture:5758- `name`, path, and first-line purpose from frontmatter.59- likely source repository or package root.60- category: discovery, creation, frontend, image/media, docs/content, engineering workflow, planning, debugging, review, release, security, browser automation, project-specific, or broad framework.61- risk flags: overbroad trigger, destructive shell guidance, secret handling, external service dependency, deprecated/in-progress/personal scope, duplicate responsibility, missing license, or stale references.6263Summarize with a small table first, then details only where they affect action.6465## Curation Rules6667Keep the active library small:68691. Prefer official/system skills when they fully cover the need.702. Prefer narrow, concrete skills over broad workflow frameworks for global activation.713. Keep only one broad engineering/process framework globally unless the user explicitly wants more.724. Keep high-risk, experimental, deprecated, personal, or overlapping skills in backup.735. Back up before moving or replacing. Do not delete by default.746. Preserve restore notes, including original path, backup path, reason, and restart reminder.7576Recommended minimum global stack:7778- official system skills for image generation, OpenAI docs, plugin creation, skill creation, and skill installation.79- one discovery mechanism: `skill-installer`, `vercel-labs/skills`, `find-skills`, or a catalog-backed equivalent.80- one frontend/design lane if the user builds UI often.81- one engineering workflow lane, chosen by preference: official/project-specific workflow, Matt Pocock-style engineering skills, Superpowers-style strict methodology, or team-specific lifecycle skills.82- one publish/sync lane when the user maintains a shared skills repository.8384## Install And Update8586Prefer mature package-manager flows when available:8788```powershell89# Discover/list from a repository90npx skills add owner/repo --list9192# Install selected skills globally for Codex93npx skills add owner/repo --skill skill-name -g -a codex -y9495# List or update installed skills96npx skills list -g97npx skills update -g -y98```99100Use repo-provided scripts only after reading them enough to understand:101102- target directories103- overwrite behavior104- network downloads105- backup/restore behavior106- dependency assumptions107- whether dry-run exists108109If `ask` is installed and appropriate, consider it for version locking, security checks, offline/private repo support, and multi-agent sync. If it is not installed, do not require it for simple Codex-only tasks.110111## Validation112113For each skill being added or kept active, check:114115- frontmatter has only valid `name` and `description` unless the local standard allows more.116- `description` clearly says what the skill does and when to use it.117- trigger scope is not so broad that it fires on most coding tasks.118- `SKILL.md` stays concise and links optional details through `references/`.119- scripts are deterministic enough to justify being bundled and have been test-run when changed.120- dangerous operations require explicit user intent and backups.121- external tools, API keys, or MCP dependencies are disclosed.122123When creating or updating a skill, use `$skill-creator` conventions and run the available validation script, for example:124125```powershell126python "$env:USERPROFILE\.codex\skills\.system\skill-creator\scripts\quick_validate.py" "path\to\skill"127```128129## Publish Workflow130131When the user asks to publish, back up, upload, or sync skills to GitHub:1321331. Inspect the local skill folder and target repository status.1342. Exclude `.system` skills unless the user explicitly asks for them.1353. Prefer the existing sync skill or script if present.1364. Dry-run first unless the user explicitly asked to push now.1375. Confirm generated layout includes `skills/<skill-name>/` and useful README files.1386. Commit with a clear message and push.1397. Report changed skills, validation result, commit hash, push result, and any retry command if auth fails.140141If the target repository has unrelated uncommitted changes, stop and ask before overwriting generated outputs.142143## Output Shape144145For analysis tasks, return:146147- verdict: use, avoid, backup, or investigate148- comparison table149- recommended active stack150- backup candidates151- exact next commands, if action is requested152153For write tasks, return:154155- files changed156- validation commands and results157- git commit/push status158- restart reminder if skills were installed, moved, or updated