Skip to content
Back to skills

Ai Skills Library Push

ASecurity

Copy named or all valid global Codex skills into this AI Skills Library checkout. Use when importing global skills into the library.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 28, 2026
ai-agentsgodockergit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 28, 2026

npx -y skills add SamuelAsherRivello/ai-skills-library --skill ai-skills-library-push --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ai Skills Library Push?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ai Skills Library Push
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/samuelasherrivello-ai-skills-library-push/badge)](https://www.skillsdirectory.com/skills/samuelasherrivello-ai-skills-library-push)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ai-skills-library-push
description: Copy named or all valid global Codex skills into this AI Skills Library checkout. Use when importing global skills into the library.
---

# AI Skills Library Push

Use this skill only to copy global Codex skills into the local library checkout. It does not publish changes to GitHub.

1. Require exactly one argument: a skill folder name or the literal `all`.
2. Resolve the global source as `$HOME/.agents/skills` and the library destination as this repository's `.agents/skills`. Show both full paths and the selected scope. Known `ai-skills-create-*`, `ai-skills-library-*`, `ai-skills-openspec-*`, Docker sandbox, `ai-skills-triage-*`, `slidev-*`, and the three `ai-skills-productivity` skill names map to their matching categories. The helper skips `tiled-ai-*` skills because they belong in [ai-skills-tiled](https://github.com/SamuelAsherRivello/ai-skills-tiled). Ask the user to select a category for any other unmapped name before running the helper.
3. For a named skill, validate the selected source. For `all`, select every valid top-level global skill directory. 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 push -Skill <name|all>`. Pass `-Category <category>` for an unmapped named skill after the user chooses its category. Preflight the complete selection before copying anything. A missing/invalid source, invalid destination, unapproved conflict, or inability to write to the checkout fails the operation without changing any skill. If the checkout is not writable, clearly say no skills changed and suggest asking a library maintainer to import the 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 file modification time. Use a newer copy automatically only when it is clearly better; if it is inferior or quality is unclear, stop and ask the user which copy to retain. Pass `-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. `push all` remains the supported operation for importing global skills into that catalog; preserve the category layout and preflight every selected skill before copying. For a named global skill, use `push` with the appropriate category.

Files in this skill

  • SKILL.md3.3 KB
  • agents/openai.yaml117 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.