npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@bacnh85/agent-skills

v0.3.4

Published

Manage repository-based AI agent skills from git and local sources.

Readme

Agent Skills

agent-skills manages a curated repository of AI agent skills and installs those skills into project or user directories.

Requirements

  • Node.js 20 or later
  • Git for adding or updating skills from remote repositories

Install the CLI

The package is published on npm. The recommended install paths use the npm registry.

Install the CLI globally from npm:

npm install -g @bacnh85/agent-skills

Verify the installed CLI:

agent-skills --help
agent-skills version

Use it in a project:

npm install @bacnh85/agent-skills
npx agent-skills --help

Run the CLI without installing it first:

npx @bacnh85/agent-skills --help

Pin a specific version, tag, or commit:

npm install -g @bacnh85/[email protected]
npm install -g @bacnh85/agent-skills@latest

GitHub-shorthand installs (bacnh85/agent-skills) and SSH/Git installs are still supported but are no longer the primary install path:

npm install -g bacnh85/agent-skills
npm install -g git+ssh://[email protected]/bacnh85/agent-skills.git

Set AGENT_SKILLS_REPO to the local checkout that contains the curated skills/ directory and its registry:

export AGENT_SKILLS_REPO=/absolute/path/to/agent-skills

PowerShell on Windows:

$env:AGENT_SKILLS_REPO = "C:\path\to\agent-skills"

To persist it for future PowerShell sessions:

[Environment]::SetEnvironmentVariable("AGENT_SKILLS_REPO", "C:\path\to\agent-skills", "User")

You can also set AGENT_SKILLS_REPO in dotenv files. The CLI checks these locations in order, after the real environment variable:

  1. <current-directory>/.env.local
  2. <current-directory>/.env
  3. <current-directory>/.agents/.env.local
  4. <current-directory>/.agents/.env
  5. ~/.agents/.env.local
  6. ~/.agents/.env

Example:

AGENT_SKILLS_REPO=/absolute/path/to/agent-skills

When the variable is not set anywhere, agent-skills uses the current working directory as the repository.

Install Skills for Agents

Run this command from a project directory to select skills and choose an installation scope interactively:

agent-skills install

Project-scope skills are installed in:

<current-directory>/.agents/skills/

Global-scope skills are installed in:

~/.agents/skills/

Install every skill without skill-selection prompts. In non-interactive environments, --all installs to project scope:

agent-skills install --all

The install command no longer accepts -g or --global; choose global scope from the interactive scope prompt.

Installing a selected skill replaces its existing directory with the repository version. Skills in the destination that were not selected are left untouched.

Interactive selection requires a terminal. Use --all in scripts, CI, and other non-interactive environments.

Uninstall Skills for Agents

Remove named skills from the current project:

agent-skills uninstall --skill demo --skill notes
agent-skills uninstall -s demo -s notes

Run without names to select installed project skills interactively:

agent-skills uninstall

Remove every installed project skill:

agent-skills uninstall --all

Use -g or --global with named, interactive, or --all forms to remove skills from ~/.agents/skills/:

agent-skills uninstall --skill demo -g
agent-skills uninstall -s demo --global
agent-skills uninstall -g
agent-skills uninstall --all -g

Only valid immediate skill directories are candidates. Uninstall leaves the .agents/skills directory and all unselected or unrelated entries intact.

Upgrade Installed Skills

Upgrade installed project-scope skills from the current curated repository:

agent-skills upgrade --installed

Upgrade installed global-scope skills from the current curated repository:

agent-skills upgrade --installed -g
agent-skills upgrade --installed --global

This refreshes only skills that are already installed in the selected scope. New skills added to the repository are not installed automatically; run agent-skills install to add them.

Manage the Curated Repository

The following commands read and update the repository selected by AGENT_SKILLS_REPO, or the current directory when it is unset.

Add

Add skills from GitHub shorthand, a GitHub tree URL, any Git URL, or a local path:

agent-skills add vercel-labs/skills
agent-skills add https://github.com/acme/skills/tree/main/skills/demo
agent-skills add ssh://[email protected]/acme/skills.git
agent-skills add ./my-local-skills
agent-skills add vercel-labs/skills --skill frontend-design
agent-skills add vercel-labs/skills -s frontend-design
agent-skills add vercel-labs/skills --skill frontend-design --skill web-design-guidelines

Git sources show clone progress before discovery. A direct skill source or a source containing one skill is selected automatically. Sources containing multiple skills open an interactive multiselect. Use the repeatable -s <name> or --skill <name> option to select exact SKILL.md frontmatter names without interactive input. Interactive adds ask for confirmation before writing to the curated repository.

List

List skills registered in the curated repository:

agent-skills list

List skills installed for agents in the current project or current user:

agent-skills list --installed
agent-skills list --installed -g
agent-skills list --installed --global

Remove

Remove named skills:

agent-skills remove --skill demo --skill another-skill
agent-skills remove -s demo -s another-skill

Run without names to select skills interactively:

agent-skills remove

Update

Update named skills from their recorded sources:

agent-skills update --skill demo --skill another-skill
agent-skills update -s demo -s another-skill

Run without names to update every registered skill:

agent-skills update

Git skills track the branch or ref recorded when added. Local skills are copied again from their original absolute path.

Command Reference

agent-skills add <source> [-s|--skill <name>]...
agent-skills remove [-s|--skill <name>]...
agent-skills list [--installed] [-g|--global]
agent-skills version
agent-skills upgrade [--yes|-y]
agent-skills upgrade --installed [-g|--global]
agent-skills update [-s|--skill <name>]...
agent-skills install [--all]
agent-skills uninstall [-s|--skill <name>]... [-g|--global]
agent-skills uninstall --all [-g|--global]

agent-skills version prints the installed version and checks npm for the latest release. Successful interactive commands check at most once every 24 hours and offer to install an available update. Choosing the default “later” option prints npm install -g @bacnh85/agent-skills@latest.

Repository Metadata

skill-registry.json records each curated skill's repository-relative destination, source, source-relative path, tracked ref and commit, content hash, and timestamps. skill-history.jsonl contains append-only add, update, and remove events.

These metadata files belong to the curated repository. The install command copies skill directories and writes skills-lock.json in the install target so list --installed can show vendor/source metadata for installed skills. It does not create registry or history files in .agents/skills.

Version 1 registries are migrated in memory and written as version 2 on the next mutation. Legacy entries without enough source provenance remain listable and removable, but must be re-added before they can be updated.