share-skill

Migrate local Claude Code skills into a Git-based repository with version control.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/susuyan/skills --skill share-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: share-skill
Source: https://github.com/susuyan/skills/tree/main/share-skill
Command: npx skills add https://github.com/susuyan/skills --skill share-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Share-skill helps teams migrate local Claude Code skills into a centralized Git-based repository, enabling per-skill version control, remote publishing, and collaborative sharing.

Core Features & Use Cases

  • Migration & Git Init: Move a local skill into your skills path and initialize a Git repo with an initial commit.
  • Remote Management: Configure per-skill remotes and push to GitHub, GitLab, or other hosting services.
  • Documentation & Marketplace: Generate documentation for skills and publish plugin/marketplace metadata.

Quick Start

Use the share-skill command to migrate a skill named my-skill to your skills repository and optionally configure a remote.

Frequently Asked Questions about share-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate local Claude Code skills to a Git repository?

Migrating local Claude skills to a Git repository involves moving the skill files into a centralized path, initializing version control, and creating an initial commit. Share-skill automates this process while validating skill existence to prevent overwrites.

Can I configure per-skill Git remotes to publish Claude skills individually?

Configuring per-skill Git remotes allows you to push individual Claude skills to hosting services like GitHub or GitLab. Share-skill mounts remote configurations for each skill, enabling isolated version control and publishing.

How do I generate marketplace metadata for shared Claude Code skills?

Generating marketplace metadata for shared Claude skills involves creating standardized documentation and plugin configurations. Share-skill automates this by producing the required metadata for publishing to a collaborative marketplace.

Do I need special dependencies to automate Git migration for local Claude skills?

Automating Git migration for local Claude skills requires no special dependencies beyond standard Git and local file operations. Share-skill performs safe migrations using native Git commands without needing external libraries.

What is the safest way to move local skills into a shared repository without losing data?

The safest way to move local skills into a shared repository is to validate skill existence prior to migration and avoid overwriting existing files. Share-skill enforces these constraints to ensure data integrity during Git initialization.

Why does my Claude skill migration fail when initializing a Git repository?

Claude skill migration can fail if the target skill does not exist in the local path or if Git encounters a pre-existing repository it cannot safely overwrite. Share-skill validates skill existence beforehand to prevent these migration errors.