share-a-library

share-a-library is a skill for Claude Code, Codex from MoizIbnYousaf/Ai-Agent-Skills. It costs 41 tokens per session (384 once invoked), scanned A, original, MIT.

A workflow for publishing a finished managed library to GitHub and giving teammates an install command.

In plain words
What is it for?
Use it after checking a library, regenerating its documentation, creating or connecting a Git repository, and sharing the exact installation command.
Why use it?
It covers the steps needed to turn local work into a shared, installable library.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after checking a library, regenerating its documentation, creating or connecting a Git repository, and sharing the exact installation command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moizibnyousaf/ai-agent-skills/share-a-library
About the project

AI Agent Skills is a curated library and package manager for installing, organizing, and creating skills for compatible AI coding agents. It is for developers who want to manage reusable agent instructions through a command-line or terminal interface. The catalogue skills and agents are examples of the kind of add-ons it helps manage.

MoizIbnYousaf/Ai-Agent-Skills · 1,134 stars · on GitHub · npmjs.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MoizIbnYousaf/Ai-Agent-Skills --skill share-a-library
Clone the repo
git clone --depth 1 https://github.com/MoizIbnYousaf/Ai-Agent-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for share-a-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/moizibnyousaf/ai-agent-skills/share-a-library/github.svg)](https://agentmods.dev/skills/moizibnyousaf/ai-agent-skills/share-a-library)
Your own site
<a href="https://agentmods.dev/skills/moizibnyousaf/ai-agent-skills/share-a-library"><img src="https://agentmods.dev/badge/skills/moizibnyousaf/ai-agent-skills/share-a-library/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for share-a-library

Your own site · 80×15
<a href="https://agentmods.dev/skills/moizibnyousaf/ai-agent-skills/share-a-library"><img src="https://agentmods.dev/badge/skills/moizibnyousaf/ai-agent-skills/share-a-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 384 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 18
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 25
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 42
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 48
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00384
Opus 5 $0.00020 $0.00192
Sonnet 5 $0.00008 $0.00077
Haiku 4.5 $0.00004 $0.00038

Measured 11d ago against content hash aecbd8ad9931, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

share-a-library scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/share-a-library/SKILL.md · 65 lines

What it actually says

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.
npx ai-agent-skills build-docs
  1. Publish the workspace to GitHub.
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:

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

Otherwise:

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
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 65 lines · 41 tokens per session scan A aecbd8ad9931

Subscribe to this mod's changes

share-a-library is a skill published in the GitHub repository MoizIbnYousaf/Ai-Agent-Skills (1,134 stars, last pushed 24d ago), licensed MIT. It adds 41 tokens to every session and 384 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skillshare-changelog

Generate CHANGELOG.md entry from recent commits in conventional format. Also syncs the website changelog page. Use this skill whenever the user asks to: generate a changelog, document what changed between tags, or create a new CHANGELOG entry. If you see requests like "write the changelog for v0.17", "what changed…

runkids/skillshare · 134 tokens

skillshare-release

End-to-end release workflow for skillshare. Runs tests, generates changelog (via /changelog), optionally writes local RELEASENOTES, updates version numbers, commits, and drafts announcements. Use when the user says "release", "prepare release", "cut a release", "release v0.19", or any request to publish a new version.…

runkids/skillshare · 87 tokens

release-manager

Tier: POWERFUL Category: Engineering Domain: Software Release Management & DevOps.

sampleXbro/agentsmesh · 5 tokens

prepare-release

Use this skill whenever preparing agentsmesh for an npm release — whether first publish, patch, minor, or major. Triggers on: 'prepare release', 'ready to publish', 'ship version', 'release prep', 'get this to npm', 'bump version', 'cut a release', 'what's needed to publish'. Runs a strict ordered checklist: test…

sampleXbro/agentsmesh · 153 tokens

git-flow-pr

Executes the full PR-driven development workflow: create an isolated feature branch from the current work, commit all staged changes, rebase cleanly onto the selected base branch (skipping any ancestor commits already merged), push the branch, and open a GitHub pull request linked to a related issue. Includes guidance…

soulcodex/agentic · 103 tokens

package-release-engineering

Use when preparing, validating, or documenting the release workflow for a TypeScript library published to npm, including semver, changelog, tagging, and publish safety.

sampleXbro/agentsmesh · 38 tokens