Skip to content
Conduit

skill

publish-skills

Publish AI agent skills to Git repositories in one command

jindalAnuj/publish-skillscommunitylistedunreviewednot running here yet

Set up

Skills are installed by placing their folder where your agent loads skills.

Install instructions come from the README

Skills do not use an MCP config. Follow the steps in the README below; one-click install arrives with accounts.

README

synced Oct 14, 2026

🚀 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 AgentsGit Platforms
Claude Code, Cursor, GitHub Copilot, Gemini, Cline, Codex, Windsurf, OpenHands, and 40+ moreGitHub, 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

StepToolWhat 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": "you@example.com"
  },
  "repositories": {
    "default": {
      "platform": "github",
      "url": "https://github.com/your-org/skills-repo",
      "targetBranch": "main",
      "skillsPath": "skills/"
    }
  },
  "defaultRepository": "default"
}

🌟 Why Use publish-skills?

✅ FeatureBenefit
One-command publishingNo manual Git operations
Multi-platformGitHub, GitLab, Bitbucket
Secure credentialsStored in platform-native keychains
PR-based workflowReview process, attribution, history
Agent-agnosticWorks with 40+ AI coding agents
Open ecosystemAnyone can create and share skills

🔒 Supported Git Platforms

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

🤖 Supported AI Agents

The skills package manager supports 40+ agents, including:

Agent--agent flag
Claude Codeclaude-code
Cursorcursor
GitHub Copilotgithub-copilot
Clinecline
OpenCodeopencode
Codexcodex
Windsurfwindsurf
OpenHandsopenhands
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

RegistryDescription
ClawHub3,000+ OpenClaw skills with vector search
Awesome Agent Skills26,000+ skills directory
Agent Skill HubUniversal registry for 790+ skills
Local SkillsTeam-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

↑↓ navigate openesc close