library
Facilitates the distribution and synchronization of custom agent skills and prompts across multiple AI agents.
Install
mkdir -p .claude/skills/library-ianphil && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15054" && unzip -o skill.zip -d .claude/skills/library-ianphil && rm skill.zipInstalls to .claude/skills/library-ianphil
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Fleet library for sharing skills, extensions, and prompts between agents. Use when the user asks to "share a skill", "share a prompt", "fleet library", "library setup", "library add", "library use", "library sync", "library list", "library push", "library invite", or wants to distribute skills, exteKey capabilities
- →Create a fleet library repository on GitHub
- →Register skills, extensions, or prompts in the catalog
- →Pull items from the catalog for local or global installation
- →Push local changes of items back to their source
- →Remove items from the catalog
- →List contents of the fleet library catalog
How it works
The skill uses a `library.js` script to manage a private GitHub repository, which acts as a shared catalog for skills, extensions, and prompts, handling their registration, distribution, and synchronization.
Inputs & outputs
When to use library
- →Syncing custom prompts across a fleet
- →Publishing a new agent skill
- →Sharing extensions between team agents
About this skill
Fleet Library
Share skills, extensions, and prompts laterally between agents in a private fleet via a shared GitHub repository.
This skill includes library.js — a script that handles catalog management, file distribution, and fleet repo operations. Your job is to run it and handle UX.
Prerequisites
ghCLI must be authenticated (gh auth status)- For first-time setup: the authenticated user needs permission to create private repos
- For all other commands: a fleet library repo must exist (created via
setup)
How It Works
The fleet library is a private GitHub repo that acts as a shared catalog and hosting layer for skills, extensions, and prompts. Agents share items by registering them in the catalog (library.yaml) and pulling them from the source repo (or from the fleet repo itself for fleet-hosted items).
Three item types:
skill— directory-based, installed to.github/skills/or~/.copilot/skills/extension— directory-based, installed to.github/extensions/or~/.copilot/extensions/prompt— single-file (.prompt.md), installed to.github/prompts/or~/.copilot/prompts/
Three source types:
fleet— item is hosted directly in the fleet-library repoowner/repo— item lives in another agent's mind repo, resolved via GitHub API- Any installed item can be pushed back to its source via
push
Commands
Setup — create the fleet library repo
node .github/skills/library/library.js setup --repo owner/fleet-library
Output JSON:
{
"repo": "owner/fleet-library",
"created": true,
"files": ["library.yaml", "README.md", ".github/skills/library/SKILL.md", ".github/skills/library/library.js"]
}
This creates a private repo, scaffolds it with an empty catalog, README, and a copy of the library skill itself (self-propagation). Run this once per fleet.
Add — register an item in the catalog
node .github/skills/library/library.js add --name daily-report --type skill --source owner/agent-repo --path .github/skills/daily-report --description "Comprehensive daily briefing"
node .github/skills/library/library.js add --name code-review --type prompt --source owner/agent-repo --path .github/prompts/code-review.prompt.md --description "Structured code review prompt"
Output JSON:
{ "added": { "name": "daily-report", "type": "skill", "source": "owner/agent-repo", "path": ".github/skills/daily-report" } }
Use — pull an item from the catalog
node .github/skills/library/library.js use --name daily-report
node .github/skills/library/library.js use --name daily-report --global
Output JSON:
{ "installed": { "name": "daily-report", "type": "skill", "files": 3, "target": ".github/skills/daily-report" }, "npmInstalled": false }
--global installs to the user-level directory (~/.copilot/skills/, ~/.copilot/extensions/, or ~/.copilot/prompts/).
Push — push local changes back to source
node .github/skills/library/library.js push --name daily-report
Output JSON:
{ "pushed": { "name": "daily-report", "source": "owner/agent-repo", "files": 3, "commit": "abc123" } }
Remove — remove from catalog
node .github/skills/library/library.js remove --name daily-report
Output JSON:
{ "removed": { "name": "daily-report", "type": "skill" }, "localDeleted": false }
List — show catalog contents
node .github/skills/library/library.js list
Output JSON:
{
"fleet_repo": "owner/fleet-library",
"skills": [
{ "name": "daily-report", "description": "Comprehensive daily briefing", "source": "owner/agent-repo", "installed": "default" }
],
"extensions": [],
"prompts": [
{ "name": "code-review", "description": "Structured code review prompt", "source": "owner/agent-repo", "installed": "default" }
]
}
Each item's installed field is false, "default", or "global".
Sync — re-pull all installed items
node .github/skills/library/library.js sync
Output JSON:
{ "synced": ["daily-report", "shared-tool"], "errors": [] }
Search — find items by keyword
node .github/skills/library/library.js search --keyword report
Output JSON:
{ "matches": [{ "name": "daily-report", "type": "skill", "description": "Comprehensive daily briefing", "source": "owner/agent-repo" }] }
Invite — send enrollment message (Phase 3 stub)
node .github/skills/library/library.js invite --agent skippy
Output JSON:
{ "invited": "skippy", "status": "sent" }
Presenting Results
After setup
═══════════════════════════════════════════
✅ FLEET LIBRARY CREATED
Repo: owner/fleet-library
═══════════════════════════════════════════
Scaffolded files:
📄 library.yaml — empty catalog
📄 README.md — repo description
📦 .github/skills/library/ — self-propagating skill
The library skill is now available to any agent that clones this repo.
After add
Added to fleet catalog:
📦 daily-report (skill) — source: owner/agent-repo
After use
Installed from fleet library:
📦 daily-report — 3 files → .github/skills/daily-report
If skills were installed, remind the user:
"Restart your Copilot session to activate new skills."
After list
Fleet Library: owner/fleet-library
Skills:
📦 daily-report — Comprehensive daily briefing
source: owner/agent-repo | installed: default
Extensions:
(none)
Prompts:
📄 code-review — Structured code review prompt
source: owner/agent-repo | installed: default
After sync
Synced 2 items from fleet library:
✅ daily-report
✅ shared-tool
After search
Search results for "report":
📦 daily-report (skill) — Comprehensive daily briefing
Rules
- Always confirm before removing — removals may delete local files
- Never silently overwrite — if an item already exists locally from a different source, report the conflict
- Setup is idempotent — if the repo already exists, report it and skip creation
- Self-propagation is key — setup always includes the library skill itself in the fleet repo
- If
ghCLI is not available, report the error and stop - If the script fails, show the error output and suggest checking
gh auth status - Catalog is the source of truth — the
library.yamlin the fleet repo is authoritative - Prompts are single files — unlike skills/extensions (directories), prompts are
.prompt.mdfiles installed directly into the prompts directory, not into a subdirectory
When not to use it
- →When `gh` CLI is not authenticated
- →When the authenticated user lacks permission to create private repositories for setup
Prerequisites
Limitations
- →The skill requires `gh` CLI to be installed and authenticated
- →The fleet library is a private GitHub repository
- →Prompts are single files, unlike skills/extensions which are directories
How it compares
This skill provides a centralized, version-controlled system for sharing and distributing AI assets across a private agent fleet, ensuring consistency and ease of access, unlike manual file sharing.
Compared to similar skills
library side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| library (this skill) | 0 | 4mo | Review | Intermediate |
| using-superpowers | 95 | 3mo | No flags | Beginner |
| ultrawork | 11 | 2mo | No flags | Advanced |
| clawhub | 25 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by ianphil
View all by ianphil →You might also like
using-superpowers
obra
Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists
ultrawork
Yeachan-Heo
Parallel execution engine for high-throughput task completion
clawhub
openclaw
Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawhub CLI.
skill-installer
openai
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).
continuous-learning
affaan-m
Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.
memory-keeper-proactive-context-maintenance
b4CU-R4U
Automatically detect and maintain memory freshness by monitoring context staleness, significant code changes, task completions, and phase transitions. Proactively suggests and executes memory sync operations with user confirmation. Use when the user says "sync memory", "update context", or when the Skill detects that context is stale (>2 hours), significant changes have occurred (new commits), tasks completed, or major milestones reached. Replaces passive "context is stale" warnings with active maintenance.