Share a Library

Use when a managed library is ready to publish to GitHub and hand to teammates as an install command. Run the GitHub publishing steps, then return the exact shareable install command.

1,160 stars 137 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add MoizIbnYousaf/ai-agent-skills --skill share-a-library
Manual install
git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git /tmp/ai-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/ai-agent-skills/skills/share-a-library ~/.claude/skills/share-a-library

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Share A Library

## Goal

Turn a finished local library into a real shared artifact with a repo URL and an install command another agent can use.

## Preconditions

- You are already inside a managed library workspace.
- The library has been sanity-checked.
- `npx ai-agent-skills build-docs` has already run, or you run it now before publishing.

## Workflow

1. Regenerate docs if needed.

```bash
npx ai-agent-skills build-docs
```

2. Publish the workspace to GitHub.

```bash
git init
git add .
git commit -m "Initialize skills library"
gh repo create <owner>/<repo> --public --source=. --remote=origin --push
```

3. Return the exact shareable install command.

If the library has a `starter-pack` collection:

```bash
npx ai-agent-skills install <owner>/<repo> --collection starter-pack -p
```

Otherwise:

```bash
npx ai-agent-skills install <owner>/<repo> -p
```

## Guardrails

- Do not stop at `git init`. A shared library is not shared until the repo exists and the install command is ready.
- If the repo already exists, connect the existing remote and push instead of creating a duplicate.
- Prefer the collection install command when a curated starter pack exists.
- Return the actual repo coordinates you used, not placeholders.

## Done

Return:

- the repo URL
- whether you shared a collection or the whole library
- the exact install command to hand to teammates
Read the full skill on GitHub

Details

Skill name
share-a-library
Path
skills/share-a-library/SKILL.md
License
MIT
Repo updated
21 September 2026

FAQ

What does the Share a Library skill do?

Use when a managed library is ready to publish to GitHub and hand to teammates as an install command. Run the GitHub publishing steps, then return the exact shareable install command.

How do I install the Share a Library skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add MoizIbnYousaf/ai-agent-skills --skill share-a-library. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Share a Library popular?

It lives in MoizIbnYousaf/ai-agent-skills, which has 1,160 GitHub stars and 137 forks, and is included in 1 curated skill list.

Related skills

Content Research Writer

1.2k

MoizIbnYousaf/ai-agent-skills

Conducts research, adds citations, and improves writing quality. Research topics thoroughly and produce well-cited content.

Writing & ContentIn 1 list137

Changelog Generator

1.2k

MoizIbnYousaf/ai-agent-skills

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

Git & Code ReviewIn 1 list137

Ask Questions If Underspecified

1.2k

MoizIbnYousaf/ai-agent-skills

Clarify requirements before implementing. Do not use automatically, only when invoked explicitly.

OtherIn 1 list137

Angular Migration

2k

rmyndharis/antigravity-skills

Migrate from AngularJS to Angular using hybrid mode, incremental component rewriting, and dependency injection updates. Use when upgrading AngularJS applications, planning framework migrations, or modernizing legacy Angular code.

Software Development295

Migrate Skills Between Libraries

1.2k

MoizIbnYousaf/ai-agent-skills

Use when moving skills between library workspaces or upgrading from a personal library to a team library. Export from one workspace, import into another.

Software DevelopmentIn 1 list137

Anti Reversing Techniques

2k

rmyndharis/antigravity-skills

Understand anti-reversing, obfuscation, and protection techniques encountered during software analysis. Use when analyzing protected binaries, bypassing anti-debugging for authorized analysis, or understanding software protection mechanisms.

Software Development295

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.