Skip to content

samcus/How-To-Set-Up-Skillshare-Sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

How to Set Up a AI Skillshare Sync

  • User Goal: As an agentic engineer, I want to be able to be able to maintain my Claude, Codex, Antigravity, etc. skills in a single Github repo and be able to manage my skills in a centralized manner.
  • Secondary User Goal: As an agentic engineer, I want to be able to quickly be able to port over my skills from I/ADE to I/ADE (Claude to Codex, etc.)
  • Tertiary User Goal: As an agentic engineer, I want to be able to test out skills locally first and then be able to add them to my centralized skills repo once I'm satisfied with said skill.

Phase 1: First-Time Setup

Step 1 — Install skillshare

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/runkids/skillshare/main/install.sh | sh

Windows (PowerShell):

irm https://raw.githubusercontent.com/runkids/skillshare/main/install.ps1 | iex

macOS (Homebrew alternative):

brew install skillshare

Optional convenience alias — add to your ~/.zshrc or ~/.bashrc:

alias ss='skillshare'

Step 2 — Create your GitHub repository

Go to GitHub and create a new private repository (e.g., my-skills). Don't add any files — keep it empty. Copy the SSH URL, which will look like:

git@github.com:yourusername/my-skills.git

Step 3 — Back up any existing skills

If you already have skills in Claude, Codex, or other tools, back them up first:

skillshare backup

Step 4 — Initialize skillshare and connect to GitHub

Run this one command — it creates the source directory, initializes git, adds the remote, and auto-detects all your installed AI CLI tools:

skillshare init --remote git@github.com:yourusername/my-skills.git

Step 5 — Collect any skills you already have

If you already have skills scattered across Claude, Cursor, Codex, or other tools, collect them all into the single source directory:

skillshare collect --all

This copies local skills into ~/.config/skillshare/skills/ (the single source of truth) and replaces the originals with symlinks. If a skill exists in multiple places, it will warn you about duplicates — the source version wins by default.


Step 6 — Sync to all targets

skillshare sync

This syncs your source directory to Claude Code, OpenClaw, OpenCode, and any other detected AI CLI tools.


Step 7 — Push everything to GitHub

skillshare push -m "Initial commit: all my skills"

Under the hood this runs git add -A, commits with your message, and pushes — auto-setting the upstream branch on first push.


Phase 2: Daily Workflow

Adding a new skill

Write your skill anywhere in ~/.config/skillshare/skills/your-skill-name/SKILL.md, then push it up:

skillshare push -m "Add my new skill"

Because all targets are symlinked to that source directory, the skill is instantly available in Claude, Codex, Anti-Gravity, etc. — no extra sync step needed.

If you manually dropped a skill into one of your AI tools

This is the "upload what was missing" scenario you asked about. Because skillshare uses symlinks, anything you add directly to ~/.claude/skills/ is already in the source directory automatically. Just push:

skillshare push -m "Add skill I added manually to Claude"

If you added it to a non-symlinked location (e.g., a tool that uses copy mode), run collect first:

skillshare collect --all
skillshare push -m "Collect and upload manually added skills"

Syncing to a second machine

On any new machine, the same init command works — it detects that the remote already has skills and pulls them down automatically:

skillshare init --remote git@github.com:yourusername/my-skills.git

Pulling updates on an existing machine

skillshare pull

pull automatically runs sync after pulling, so everything stays in sync in one command.

Optional: Auto-sync on every terminal open

Add this to your ~/.zshrc or ~/.bashrc so you're always up to date:

skillshare pull 2>/dev/null

Quick Reference Cheat Sheet

Goal Command
Check status skillshare status
List all skills skillshare list
Push your changes skillshare push -m "description"
Pull from GitHub skillshare pull
Collect manually added skills skillshare collect --all
Sync all targets skillshare sync
Add a new AI tool later skillshare init --discover
Security audit skillshare audit
Visual dashboard skillshare ui

The key mental model: ~/.config/skillshare/skills/ is your single source of truth. All your AI tools point to it via symlinks, GitHub is its remote backup, and push/pull keeps everything in sync across machines.

About

How to setup an easy ongoing solution for syncing global AI skills from a single Github repo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors