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

publish-skills

v1.3.0

Published

A CLI tool that publishes AI agent skills to Git repositories via Pull/Merge Requests.

Downloads

79

Readme

🚀 publish-skills

NPM Version NPM Downloads License Build Status GitHub Pages Code Style

Publish AI agent skills to Git repositories in one command.

The easiest way to share Claude, Cursor, Gemini, and Copilot skills with the world.


Works With

| AI Agents | Git Platforms | |-----------|---------------| | Claude Code, Cursor, GitHub Copilot, Gemini, Cline, Codex, Windsurf, OpenHands, and 40+ more | GitHub, GitLab, Bitbucket |


⚡ Quick Start

npx publish-skills publish

That's it! Your skill is now a Pull Request away from being shared with the world.


🎯 What Does It Do?

publish-skills is a CLI tool that bridges the gap between creating AI agent skills and sharing them with the community. Whether you're building skills for Claude, Cursor, Gemini, Copilot, or any of the 40+ supported AI coding agents, this tool automates the entire publishing workflow via Pull Requests to GitHub, GitLab, or Bitbucket.

The Magic Combo: publish-skills + skills

| Step | Tool | What It Does | | ---- | ------------------ | -------------------------------------------------------- | | 1️⃣ | publish-skills | 📤 Publish your skill to a Git repository via PR/MR | | 2️⃣ | skills (npx) | 🔍 Discover, download & install skills from the registry |

graph LR
    A[You create a skill] --> B[npx publish-skills publish]
    B --> C[PR to skills repo]
    C --> D[Skills package manager]
    D --> E[Everyone can install!]

Together, they create a complete ecosystem:

  • Publish your skills once with publish-skills
  • Share them via a central Git repository
  • Discover them with npx skills find <topic>
  • Install them with npx skills add <repo-or-skill>

📦 What's a Skill?

A skill is a reusable package of instructions that supercharge AI agents like Claude, Gemini, Cursor, and 40+ others.

my-awesome-skill/
├── SKILL.md           # 📋 Required: YAML frontmatter + instructions
├── README.md          # 📖 Optional: Usage documentation
└── content/           # 📁 Optional: Prompts, templates, resources
    ├── prompts/
    ├── templates/
    └── resources/

📁 Skills Directory

You can organize multiple skills in a single directory:

skills/
├── skill-one/
│   ├── SKILL.md
│   └── content/
├── skill-two/
│   ├── SKILL.md
│   └── README.md
└── skill-three/
    ├── manifest.json
    └── content/

This allows you to publish multiple skills in a single merge request.

SKILL.md Format

---
name: my-skill
description: What this skill does and when to use it
---

# My Skill

Detailed instructions for the agent to follow when this skill is activated.

## When to Use

Describe the scenarios where this skill should be used.

## Steps

1. First, do this
2. Then, do that

Required fields:

  • name: Unique identifier (lowercase, hyphens allowed)
  • description: Brief explanation (1-2 sentences)

Optional fields:

  • metadata.internal: Set to true to hide from normal discovery (WIP/internal skills)

That's it! No separate manifest.json needed. The SKILL.md file contains everything.


🎨 Commands at a Glance

# 🏗️  Create a new skill from template
npx publish-skills create

# ✅ Validate your skill before publishing
npx publish-skills validate [path]

# 🚀 Publish your skill (creates PR/MR)
npx publish-skills publish [skill-path] [--all]

# 🔐 Login/Logout to Git platforms
npx publish-skills login
npx publish-skills logout

# ⚙️  Manage configuration
npx publish-skills config list
npx publish-skills config set <key> <value>

🔧 How It Works

1. Create Your Skill

npx publish-skills create

Interactive wizard guides you through:

  • Skill name & description
  • Target AI agents (Claude, Gemini, Cursor, etc.)
  • License selection

2. Build Your Skill

Add content to the generated structure. Edit SKILL.md with your instructions. Optionally add content/ with prompts, templates, and resources.

3. Publish Your Skill

Publish a Single Skill

npx publish-skills publish ./my-skill

Publish Multiple Skills

If you have a directory containing multiple skills, you can publish them all at once:

# Interactive mode: select which skills to publish
npx publish-skills publish ./skills

# Non-interactive: publish all skills in the directory
npx publish-skills publish ./skills --all

When publishing multiple skills:

  • All skills are validated before proceeding
  • A single feature branch is created (feature/multi-skill-<timestamp>)
  • All selected skills are copied into the repository
  • One commit with all skills is created
  • One Pull Request is opened with details about all skills

The tool:

  1. ✅ Validates your skill structure(s)
  2. 🔐 Loads your Git credentials
  3. 📥 Clones the target repository
  4. 🌿 Creates a feature branch
  5. 📁 Copies your skill(s) to skills/<skill-name>/
  6. 💾 Commits with a clear message
  7. 🚀 Pushes the branch
  8. 🔀 Opens a Pull/Merge Request
  9. 🎉 Displays the PR URL

4. Share with the World

Once your PR is merged to the skills repository, anyone can install your skill:

# List available skills in a repo
npx skills add vercel-labs/agent-skills --list

# Install a specific skill
npx skills add vercel-labs/agent-skills --skill my-awesome-skill

# Install all skills from a repo
npx skills add vercel-labs/agent-skills --all

# Install to specific agents
npx skills add vercel-labs/agent-skills -a claude-code -a cursor

# Install globally (available in all projects)
npx skills add vercel-labs/agent-skills -g --skill my-awesome-skill

🛠️ Setup & Configuration

First-Time Setup

# 1. Login to your Git platform (GitHub/GitLab/Bitbucket)
npx publish-skills login

# 2. Configure the target repository
# Example for GitHub:
npx publish-skills config set repositories.default.url https://github.com/your-org/skills-repo
# Example for GitLab:
npx publish-skills config set repositories.default.url https://gitlab.com/your-group/skills-repo
# Example for Bitbucket:
npx publish-skills config set repositories.default.url https://bitbucket.org/your-team/skills-repo

# 3. Publish your first skill!
npx publish-skills publish ./my-skill

Configuration File

Settings stored at ~/.publish-skills/config.json:

{
  "author": {
    "name": "Your Name",
    "email": "[email protected]"
  },
  "repositories": {
    "default": {
      "platform": "github",
      "url": "https://github.com/your-org/skills-repo",
      "targetBranch": "main",
      "skillsPath": "skills/"
    }
  },
  "defaultRepository": "default"
}

🌟 Why Use publish-skills?

| ✅ Feature | Benefit | | -------------------------- | ------------------------------------ | | One-command publishing | No manual Git operations | | Multi-platform | GitHub, GitLab, Bitbucket | | Secure credentials | Stored in platform-native keychains | | PR-based workflow | Review process, attribution, history | | Agent-agnostic | Works with 40+ AI coding agents | | Open ecosystem | Anyone can create and share skills |


🔒 Supported Git Platforms

| Platform | Status | API Library | | --------------- | ---------- | ----------------- | | GitHub | ✅ Phase 1 | @octokit/rest | | GitLab | ✅ Phase 1 | @gitbeaker/rest | | Bitbucket | ✅ Phase 1 | bitbucket | | Self-hosted Git | 🚧 Phase 2 | Git CLI |


🤖 Supported AI Agents

The skills package manager supports 40+ agents, including:

| Agent | --agent flag | | --------------- | ---------------- | | Claude Code | claude-code | | Cursor | cursor | | GitHub Copilot | github-copilot | | Cline | cline | | OpenCode | opencode | | Codex | codex | | Windsurf | windsurf | | OpenHands | openhands | | And 30+ more... | |

See the full list in the skills documentation.


🚀 For Developers

Local Development

# Clone and setup
git clone https://github.com/jindalAnuj/publish-skills
cd publish-skills
npm install

# Build
npm run build

# Link for testing
npm link

# Try it out
publish-skills --version
publish-skills create

Tech Stack

  • Language: TypeScript 5 (strict mode)
  • CLI: yargs + inquirer
  • Git: simple-git
  • APIs: @octokit/rest, @gitbeaker/rest, bitbucket
  • Security: keytar (platform-native credential storage)
  • UI: chalk, ora, cli-table3

📄 License

MIT © Anuj Jindal


🙋 Support


🌐 Part of the Skills Ecosystem

publish-skills is designed to work seamlessly with the Vercel Labs skills ecosystem:

┌─────────────────────────────────────────────────────────────────┐
│                    Skills Ecosystem                              │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│   CREATE          PUBLISH              DISCOVER        INSTALL   │
│   ──────          ───────              ────────        ───────   │
│                                                                  │
│   SKILL.md   →   publish-skills   →   ClawHub     →   skills    │
│                                        OpenClaw        (npx)     │
│                                        GitHub                    │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘

Skill Registries & Directories

| Registry | Description | |----------|-------------| | ClawHub | 3,000+ OpenClaw skills with vector search | | Awesome Agent Skills | 26,000+ skills directory | | Agent Skill Hub | Universal registry for 790+ skills | | Local Skills | Team-focused skill sharing |


🔗 Related

  • skills - The companion package manager for discovering and installing skills (Vercel Labs)
  • vercel-labs/skills - Skills CLI source and documentation
  • OpenClaw - OpenClaw ecosystem documentation
  • ROADMAP.md - Current features and future roadmap
  • MARKETING.md - Marketing guide and directory submissions

Made with ❤️ for the AI agent community

⭐ Star this repo💼 Connect on LinkedIn