Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ai Skills Library Pull?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/samuelasherrivello-ai-skills-library-pull)
---
name: ai-skills-library-pull
description: Copy named or all valid AI Skills Library skills into global Codex skills. Use when installing or refreshing global skills from this library.
---
# AI Skills Library Pull
Use this skill only to copy library skills into global Codex skills. It does not modify or publish the library checkout.
1. Require exactly one argument: a skill folder name or the literal `all`.
2. Resolve the library source as this repository's `.agents/skills` and the global destination as `$HOME/.agents/skills`. Show both full paths and the selected scope.
3. For a named skill, validate the selected source. For `all`, select every valid skill directory one level beneath the `ai-skills-create`, `ai-skills-library`, `openspec`, and `docker-sandbox` categories. A valid skill is a real directory containing `SKILL.md`; refuse a symbolic link or junction as the selected directory and refuse linked files or directories within it.
4. When the library checkout is available, use its `scripts/skill-copy-lifecycle.ps1` helper with `-Action pull -Skill <name|all>`. Preflight the complete selection before copying anything. A missing/invalid source, invalid destination, or unapproved conflict fails the operation without changing any skill.
5. If source and destination contents match, skip that skill. If a destination is absent, plan a physical directory copy. If contents differ, inspect the substantive differences and newest modification time. Select a newer copy automatically only when it is clearly better; if it is inferior or quality is unclear, ask the user which copy to retain. Use `-ReplaceConflicts` only after that evaluation authorizes replacement; for `all`, preflight every conflict before copying any skill.
6. Copy only after every selected skill passes preflight. Verify each destination is a physical directory with `SKILL.md` and content matching its source. If a copy fails, remove only directories newly created by this invocation, leaving sources and pre-existing destinations unchanged.
7. Report `Changed`, `Skipped`, and `Failed` names separately. Do not create a junction or symbolic link, move/delete a source, fetch/commit/push Git history, or modify unrelated skills. If the helper is unavailable, follow these same steps with filesystem copy operations.
## Library checkout exception
When running from inside the `ai-skills-library` checkout, treat its categorized `.agents/skills/<category>/<skill>` tree as the canonical catalog. `pull all` remains the supported operation for installing catalog skills into global discovery, including the `ai-skills-library` category. For one catalog skill, use `pull <skill>`.