Agent skill

Share A Library

by MoizIbnYousaf in MoizIbnYousaf/ai-agent-skills

A skill your agent uses when a managed library is ready to publish to GitHub and hand to teammates as an install command.

MITAuto-check passed

Install Share A Library

skills CLI
$ npx skills add MoizIbnYousaf/ai-agent-skills --skill share-a-library -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install MoizIbnYousaf/ai-agent-skills share-a-library --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/MoizIbnYousaf/ai-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/share-a-library .claude/skills/share-a-library && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
share-a-library
GitHub stars
1.1k
Token cost
~412 tokens
SKILL.md length
161 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when a managed library is ready to publish to GitHub and hand to teammates as an install command.

  • Works in 3 steps: Regenerate docs if needed. → Publish the workspace to GitHub. → Return the exact shareable install…
  • A managed library is ready to publish to GitHub and hand to teammates as an install command
  • SKILL.md covers Goal, Preconditions, Workflow and Guardrails, plus 1 more section
  • Calls npx, git and gh

What it does

Share A Library is an agent skill from MoizIbnYousaf/ai-agent-skills. 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.

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with GitHub. The repository describes itself as: Universal skill installer and package manager for AI coding agents. One command, 12+ runtimes. npx ai-agent-skills. The licence is MIT.

When your agent uses it

  • A managed library is ready to publish to GitHub and hand to teammates as an install command

Example prompts

  • “/share-a-library”

Requirements

  • Node.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Regenerate docs if needed.
  2. Publish the workspace to GitHub.
  3. Return the exact shareable install command.

What it can do on your machine

Read from SKILL.md and the folder at commit 6d95c78. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Share A Library loads about 412 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 161 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~412

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from MoizIbnYousaf/ai-agent-skills at commit 6d95c78, republished under its MIT licence (© MoizIbnYousaf). 161 words, ~412 tokens.

Download SKILL.mdSave it as .claude/skills/share-a-library/SKILL.md (or your agent's skills folder).
name
share-a-library
description
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.
category
workflow
version
4.1.0

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
  1. 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
  1. 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

© MoizIbnYousaf, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/share-a-library of MoizIbnYousaf/ai-agent-skills.

Open the folder on GitHubat commit 6d95c78

Compare with similar skills

Share A Library next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Share A Library compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Share A Library this skillMoizIbnYousaf/ai-agent-skills1.1k—~412Automated safety check: PassMIT
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Greplooponyx-dot-app/onyx32k4 repos~3.3kAutomated safety check: PassMIT
GitHub Deep Researchbytedance/deer-flow84k4 repos~1.3kAutomated safety check: PassMIT
Diagnosing Superpowers Sessionsobra/superpowers297k3 repos~1.7kAutomated safety check: PassMIT
Update V8 Versionopeninterpreter/openinterpreter69k2 repos~845Automated safety check: PassApache-2.0

Similar skills

  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed
  • GitHub Deep Research

    bytedance/deer-flow

    Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.

    84k GitHub starsUsed in 4 repos~1.3k tokens
    Research & ScienceAuto-check passed
  • Investigates a session where Superpowers went wrong, reads the transcripts on disk and produces an evidence-cited report, optionally prepared as a bug report for the maintainers.

    297k GitHub starsUsed in 3 repos~1.7k tokens
    Agent WorkflowsAuto-check passed
  • Update V8 Version

    openinterpreter/openinterpreter

    Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.

    69k GitHub starsUsed in 2 repos~845 tokens
    DevOps & CloudAuto-check passed
  • Last30days

    mvanhorn/last30days-skill

    Research what people actually say about any topic in the last 30 days.

    64k GitHub stars~7.9k tokensUpdated today
    Research & ScienceAuto-check: notes

More from MoizIbnYousaf/ai-agent-skills

All 15 skills in this repo
  • Database Design

    MoizIbnYousaf/ai-agent-skills

    Database schema design, optimization, and migration patterns for PostgreSQL, MySQL, and NoSQL databases.

    1.1k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • LLM Application Dev

    MoizIbnYousaf/ai-agent-skills

    Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.

    1.1k GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed
  • Audit Library Health

    MoizIbnYousaf/ai-agent-skills

    A skill your agent uses when checking the overall health of a skills library.

    1.1k GitHub stars~518 tokensUpdated 18 days ago
    Auto-check passed
  • Backend Development

    MoizIbnYousaf/ai-agent-skills

    Backend API design, database architecture, microservices patterns, and test-driven development.

    1.1k GitHub stars~853 tokensUpdated 18 days ago
    Auto-check passed
  • Browse And Evaluate

    MoizIbnYousaf/ai-agent-skills

    A skill your agent uses when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing.

    1.1k GitHub stars~453 tokensUpdated 18 days ago
    Auto-check passed
  • Code Documentation

    MoizIbnYousaf/ai-agent-skills

    Writing effective code documentation - API docs, README files, inline comments, and technical guides.

    1.1k GitHub stars~1.4k tokensUpdated 18 days ago
    Auto-check passed

Works with

Questions about Share A Library

What does Share A Library do?

A skill your agent uses when a managed library is ready to publish to GitHub and hand to teammates as an install command. Share A Library is an agent skill from MoizIbnYousaf/ai-agent-skills. Use when a managed library is ready to publish to GitHub and hand to teammates as an install command.

When should I use Share A Library?

Share A Library fits situations like: A managed library is ready to publish to GitHub and hand to teammates as an install command.

How do I install Share A Library in Claude Code?

Run `npx skills add MoizIbnYousaf/ai-agent-skills --skill share-a-library -a claude-code`. Or copy the skill folder (skills/share-a-library in MoizIbnYousaf/ai-agent-skills) into .claude/skills/share-a-library in your project. Claude Code loads it when a task matches its description.

How do I install Share A Library in Codex?

Run `npx skills add MoizIbnYousaf/ai-agent-skills --skill share-a-library -a codex`. Or copy the skill folder (skills/share-a-library in MoizIbnYousaf/ai-agent-skills) into .agents/skills/share-a-library in your project. Codex loads it when a task matches its description.

Can I use Share A Library in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MoizIbnYousaf/ai-agent-skills --skill share-a-library -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/share-a-library, .gemini/skills/share-a-library, .github/skills/share-a-library and .opencode/skills/share-a-library in your project.

What does Share A Library need to run?

Going by SKILL.md and its folder, Share A Library needs the command-line tools its instructions call (npx, git and gh). Our summary lists: Node.js.

Does Share A Library access the network?

SKILL.md contains no URLs. Its commands use npx, git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Share A Library safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Share A Library use?

Share A Library is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Share A Library use?

About 412 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Share A Library?

Skills that share tags, products or a category with Share A Library: PR Babysitter (openinterpreter/openinterpreter, 69k stars), Greploop (onyx-dot-app/onyx, 32k stars), GitHub Deep Research (bytedance/deer-flow, 84k stars) and Diagnosing Superpowers Sessions (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Share A Library?

MoizIbnYousaf (a GitHub user) maintains it in MoizIbnYousaf/ai-agent-skills, which has 1,149 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 21, 2026.

Source: MoizIbnYousaf/ai-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.