skillshare: Sync Skills and MCP Across AI CLI Tools
GitHub Repo
MIT
December 2, 2026 at 01:42 PM
0 views

skillshare: Sync Skills and MCP Across AI CLI Tools

@runkidsProject Author

What skillshare is

skillshare is a Go command-line tool that keeps one source folder of AI coding resources and pushes it out to the many places AI coding tools look for them. Its README sums up the job as "Your AI coding setup, everywhere": manage skills, agents, rules, MCP connections and hooks in one place, for Claude Code, Codex, Pi, OpenCode and more. The repository description goes further and lists plugins too: "Sync skills, agents, MCP, plugins to all AI CLI tools with one command and simplify team sharing."

The problem it targets is easy to recognise for anyone running more than one agent. A SKILL.md folder written for Claude Code lives in ~/.claude/skills, Gemini CLI wants ~/.gemini/skills, Codex and several others read the shared ~/.agents/skills, Cursor has its own folder, and each tool keeps MCP server definitions in a different file and format. Copy the same skill by hand into four places and they drift apart within a week. skillshare's answer is a single source directory under ~/.config/skillshare/ on macOS and Linux (or %AppData%\skillshare\ on Windows) and a sync command that links or copies everything into each configured "target".

The README pitches three outcomes: switch tools without rebuilding your setup, carry the setup to another machine by keeping the source in Git, and share project resources with a team by committing a .skillshare/ folder next to the code. It is aimed at developers who use two or more terminal agents (the kind compared in Claude Code vs Codex CLI vs Gemini CLI), at teams that want everyone's agents to read the same review checklist, and at anyone who wants to scan third-party skills before an agent loads them.

The project lives at runkids/skillshare, is MIT-licensed, and has documentation at skillshare.runkids.cc. The name is generic enough to collide with an unrelated online-learning brand, so searches for it work better with "CLI" or "AI" added.

How skillshare works

The model is source and targets. The source holds three kinds of resources, each in its own folder:

  • Skills in ~/.config/skillshare/skills/: directories with a SKILL.md, the format Claude Code and a growing list of other agents load on demand.
  • Agents in ~/.config/skillshare/agents/: single-file .md agent definitions. The agents page in the docs names Claude Code, Cursor, OpenCode, Augment, Copilot CLI and Droid as tools that tell skills and agents apart.
  • Extras in ~/.config/skillshare/extras/: "skills for non-skill content", such as rules, editor commands, prompt templates and a shared memory folder of Markdown notes.

MCP servers, hooks and plugins are declared in the config rather than stored as files: MCP definitions go in config.yaml (or a separate mcp.yaml), and skillshare writes each tool's native configuration file when you run skillshare sync mcp.

A target is a tool's folder plus a sync mode. The built-in list lives in internal/config/targets.yaml, which has 80 entries, matching the "80 built-in targets" figure on the supported-targets page. Each entry gives the global and project skills paths, and many also give agents, instruction-file and MCP locations. skillshare init walks that list, checks which tools are installed, and adds the ones it finds. It always adds a universal target for the shared ~/.agents/skills folder once any tool is detected.

Three sync modes decide what lands in a target:

ModeWhat the target getsTrade-off, per the docs
merge (default)One symlink per skill, plus a .skillshare-manifest.json; skills that already lived in the target are left aloneEdits in the source show up at once; per-target include and exclude filters work
copyReal files, tracked by checksum in the manifestWorks with tools that cannot read symlinks; changes only arrive on the next sync
symlinkThe whole target folder replaced by one symlink to the sourceSimplest, but no local skills or filters, and deleting through the target deletes the source

On Windows the README says folders are linked with NTFS junctions, which need no admin rights, while file symlinks need Developer Mode and otherwise fall back to copies.

Project mode mirrors all of this inside a repository. skillshare init -p creates .skillshare/config.yaml, .skillshare/skills/ and .skillshare/agents/, and sync -p links skills into project folders such as .claude/skills. The sync modes page notes that project-mode links are relative, so a cloned repository keeps working on another machine.

Around the sync core sit Git helpers (commit, push, pull), a security audit, timestamped backups and a trash folder, a context-size analyze command, and skillshare ui, a local web dashboard. There is also a separate desktop app, Skillshare App, which drives the same CLI.

Key features

  • One source, many tools. 80 built-in targets, from Claude, Codex, Cursor, Gemini CLI, Copilot, OpenCode, Goose and Kiro to smaller agents. Custom targets can be added with skillshare target add <name> <path>, and a second account of the same tool can be added with --agent and --config-dir.
  • Install from Git hosts. skillshare install accepts GitHub shorthand, full Git URLs, SSH URLs and local paths, records the upstream in .metadata.json, and update pulls changes later. --track keeps a Git checkout for a whole repository of skills.
  • Security audit on install. Every install runs a scan, and findings at or above the block threshold (CRITICAL by default) stop it unless you pass --force. The audit help lists analyzers named static, dataflow, tier, integrity, structure and cross-skill, and output can be text, JSON, SARIF or Markdown.
  • MCP once, many formats. skillshare mcp add stores a server definition, and skillshare sync mcp writes it into each receiving tool's own file. In the hands-on run that meant JSON for Claude Code and Gemini CLI and TOML for Codex. Tool allow and deny lists, import from an existing client and a mcp serve mode that serves your skills over MCP are also there.
  • Hooks and plugins. Named hooks are synced into each agent's native hook configuration. The hooks reference says skillshare "never executes hook commands during management or changes native trust automatically". Plugins are installed per target with skillshare plugin add and synced separately from sync --all.
  • Shared instruction files. The dashboard shows which CLAUDE.md, GEMINI.md or AGENTS.md each target reads, in load order, and can point several tools at one shared AGENTS.md. The docs stress that this is a dashboard feature with no separate CLI command.
  • Backups, restore and trash. Syncs snapshot targets under ~/.local/share/skillshare/backups/, keeping the last 10 and nothing older than 30 days by default. uninstall moves skills to a trash folder for seven days.
  • Context budget. sync and analyze estimate how many tokens each target's skills add to every session ("always loaded") and the largest amount loaded on demand.
  • Many install routes. An install script, Homebrew, Nix, PyPI (skillshare-cli), a PowerShell script, a GitHub Action (runkids/setup-skillshare) and the desktop app. The 0.36.2 PyPI wheel carries the same binary as the GitHub release (checked below).

Getting started

The README's install script for macOS and Linux installs to ~/.local/bin by default:

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

Homebrew and PyPI are the other common routes. The docs note that Homebrew releases "can lag behind by a few days":

brew install skillshare
uv tool install skillshare-cli

On Windows the README uses PowerShell:

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

Then the two-command quick start:

skillshare init            # Create config, source, and detected targets
skillshare sync            # Sync skills to all targets

init is interactive by default. The First Sync guide lists a non-interactive form for CI jobs and devcontainers, where every prompt has a flag:

skillshare init \
  --source ~/.config/skillshare/skills \
  --remote https://github.com/<you>/skills \
  --targets codex \
  --mode merge \
  --no-copy \
  --no-skill

Installing and auditing skills, and switching a target to real files when a tool cannot follow symlinks:

skillshare install github.com/reponame/skills
skillshare update --all
skillshare target claude --mode copy  # if symlinks don't work
skillshare audit

Per-repository skills, committed with the code:

skillshare init -p && skillshare sync

MCP servers, previewed before anything is written:

skillshare mcp add                    # guided URL or JSON setup
skillshare sync mcp --dry-run         # preview native configuration changes
skillshare sync mcp                   # apply connection settings

In CI, the README shows the GitHub Action:

- uses: runkids/setup-skillshare@v1
  with:
    source: ./skills
- run: skillshare sync

If you want automatic version checks off from the start, the updates reference gives both a command and a config key:

skillshare updates off         # Disable automatic checks and notifications
updates:
  auto_check: false

Hands-on: what running skillshare 0.36.2 showed

On 2 December 2026, skillshare v0.36.2 (released that day, from commit f9a2e33) was run on an x86-64 Linux VM. The plan was to build from source, but go.mod declares go 1.26.10 and the VM had Go 1.24.7. Go's automatic toolchain download was refused by the VM's network policy, so the source build did not happen. Instead the release tarball skillshare_0.36.2_linux_amd64.tar.gz (12.7 MB) was downloaded from GitHub Releases, and its SHA-256 (83716dfb…e5d484) matched the entry in the release's checksums.txt. The binary is a statically linked, stripped Go executable of 35 MB. The skillshare-cli 0.36.2 wheel from PyPI, installed into a venv, gave a byte-identical binary (same SHA-256), so the PyPI route ships the same build.

Every command ran with HOME set to an empty scratch folder holding fake ~/.claude (with one existing local skill), ~/.codex, ~/.gemini and ~/.cursor directories, with no real AI CLIs installed. A clean environment was used, with no GITHUB_TOKEN or GH_TOKEN. To see network traffic, HTTPS_PROXY pointed at a small local proxy that logged each CONNECT request and refused it, and strace confirmed that the binary made no connections other than to that proxy.

Setup and first sync

StepObserved
skillshare versionskillshare v0.36.2, exit 0. --help groups about 40 commands under Start, Skills and agents, More to sync, Targets, History, Git and CLI
init --all-targets --no-copy --no-git --no-skill --dry-run"Found 4 AI tools", "1 skill already in claude", then "Dry run — nothing was written". No files appeared, but one CONNECT to api.github.com was logged
Same without --dry-runWrote ~/.config/skillshare/config.yaml with targets claude, cursor, gemini and universal. Codex was detected from ~/.codex but credited to universal, because its skills path is the shared ~/.agents/skills. Created empty skills/ and agents/ source folders, a manifest in each target, and ~/.local/state/skillshare/logs/operations.log (one JSON line per command)
new review-checklist -P reviewerCreated SKILL.md from the reviewer pattern and an empty references/ folder
sync"Backup claude, cursor, gemini, universal" to a timestamped folder, then 1 linked in each target and "1 local" for claude. Each target got an absolute symlink into the source. The pre-existing local-only skill in ~/.claude/skills was untouched. The summary added "! 4 targets share skill folders — see skillshare doctor" and a context estimate of about 22 tokens always loaded and 166 on demand for claude

Two rough edges showed up straight away. First, doctor warned that "cursor will see content from: claude, universal" and that gemini would see universal's content, and suggested removing the cursor and gemini targets. init had added both of those itself. So on a machine with several tools, accepting the defaults gives you duplicate skills that doctor then asks you to untangle. Second, the reviewer template's step 1 says to read references/review-checklist.md, a file the template does not create. Both doctor and audit reported it as a LOW dangling-link finding.

Copy mode, symlink mode and removal

ActionObserved
target cursor --mode copy, then sync"cursor 1 copied". Real files appeared, and the manifest recorded a SHA-256, an mtime, the naming style (flat) and the origin for the skill
Edit the source, then diff cursorMerge-mode targets reflected the edit at once. diff reported Modified review-checklist, ~ SKILL.md (777 → 782 bytes) and "1 to sync"
Edit the cursor copy only, then sync"cursor 1 up to date". The local edit stayed
Edit both the copy and the source, then sync (no --force)"cursor 1 updated". The target-side edit was overwritten by the source version. It survived only in that sync's backup folder
target gemini --mode symlink, then sync"files migrated and linked". ~/.gemini/skills became one symlink to the source, with a printed warning that deleting files there "will delete from source!"
uninstall review-checklist --force, then syncMoved to ~/.local/share/skillshare/trash/ ("kept 7 days"). The next sync reported "1 pruned" in claude, cursor and universal, and removed the cursor copy along with its local edit. local-only survived

The copy-mode behaviour matches the sync reference, which says checksums decide what to skip. In practice, though, copy mode is one-way: an edit made in a copy is kept only until the source changes.

Project mode

In a fresh Git repository with a .claude/ folder, init -p --targets claude wrote .skillshare/config.yaml (a target list plus ignore and audit settings) and a .skillshare/.gitignore with a managed block for /logs/, /trash/ and /backups/. After new team-review -P none -p and sync -p, the link was relative: team-review -> ../../.skillshare/skills/team-review. Global-mode links and the global config.yaml used absolute paths.

MCP sync

ActionObserved
mcp add fs-test --target claude --target codex --target gemini -- npx -y @modelcontextprotocol/server-filesystem /tmp"Saved the MCP source". Only config.yaml changed; non-interactive add saves without syncing unless --sync is given
sync mcp --dry-runA plan of three add lines, nothing written
sync mcp"Applied 3 MCP files". It wrote ~/.claude.json (mcpServers with "type": "stdio"), ~/.codex/config.toml ([mcp_servers.fs-test]) and ~/.gemini/settings.json, and saved a backup of each file under ~/.local/state/skillshare/mcp/backups/
Add a hand-made server and an unrelated theme key to ~/.claude.json, then mcp remove fs-test --syncRemoved only fs-test from all three files. The hand-made server and the theme key were kept, though the JSON keys came back re-sorted

For background on the two MCP transports the add command supports (a command, or --url for Streamable HTTP), see MCP stdio vs Streamable HTTP.

The security audit

A local test skill held three lines: an "Ignore all previous instructions" phrase, curl … | bash and cat ~/.ssh/id_rsa. skillshare install on that folder exited 1 with "blocked — 2 findings at/above CRITICAL", naming prompt injection on line 5 and SSH key access on line 7. skillshare audit <path> also listed the curl pipe as HIGH ("Remote code execution: curl output piped to interpreter") and put the risk score at CRITICAL 65/100, adding that "The risk score is informational; only the severity blocks".

The surprise came from the dry run. install <path> --dry-run --audit-verbose on the same folder printed Audit no findings and a planned install, and exited 0. The --json dry run had a planned array and no audit result at all. A dry run therefore does not tell you whether the real install will be blocked, even though the docs' security checklist lists "Dry-run first" as a step before installing. Use skillshare audit <path> on a clone instead.

Network calls, update checks and telemetry

CommandOutbound requests logged (updates on, nothing cached)
init, init --dry-run, status, newOne to api.github.com each
sync, targetTwo to api.github.com
doctorraw.githubusercontent.com (the built-in skill's version) and api.github.com
ui (first run)github.com, for checksums.txt and the dashboard assets. With GitHub blocked it failed with "could not download UI assets"
Any command after updates off, or with SKILLSHARE_AUTO_UPDATE_CHECK=falseNone. status, doctor and sync made no connections. ui still needs GitHub the first time
updates check with checks offOne to api.github.com, as documented. It failed with "network error … Forbidden", exit 1

The source matches what was seen. internal/version/check.go caches the latest version for 24 hours in version-check.json, but a failed fetch is silently ignored and not cached, which is why every command retried here. The check asks Homebrew for a brew install, PyPI for a wheel install and the GitHub releases API otherwise. The GitHub client attaches a token from GITHUB_TOKEN, GH_TOKEN or gh auth token when one is available, and the environment-variables page lists "version check" among the uses of that token. A search of cmd/ and internal/ found no analytics or telemetry code, and none of the logged requests went anywhere except GitHub.

The web dashboard

With traffic to GitHub allowed, skillshare ui --no-open printed "UI assets downloaded and cached · 1.0s" and served on http://127.0.0.1:19420. The 2.6 MB skillshare-ui-dist.tar.gz release asset unpacked into 7.6 MB under ~/.cache/skillshare/ui/0.36.2/. GET /api/overview returned JSON with the source paths, mode and skill count to a plain curl with no token. The server binds to loopback by default, and the source has same-origin checks on some routes. Even so, think before using --host to expose it beyond loopback.

Not exercised: the source build and the Go test suite (toolchain unavailable), real AI CLIs reading the synced skills, installs from GitHub or other Git hosts, push/pull and --remote, upgrade, extras, hooks, plugins, mcp serve, the desktop app, the Herdr panel, and Windows junctions or macOS behaviour.

Use cases

  • Running two or more agents on one machine. Write a skill once in the source and let merge mode link it into Claude Code, Gemini CLI, OpenCode and the shared folder that Codex CLI reads. Edits show up everywhere without another command.
  • Team conventions in the repository. Commit .skillshare/ with a code-review or release skill. The README's example is one teammate on Claude Code and another on Codex sharing the same checklist instead of copying instructions from chat.
  • A new laptop or devcontainer. The First Sync guide restores a setup with init --remote … --all-targets --no-skill, a tracked install and sync, with no prompts.
  • Vetting third-party skills. Run skillshare audit on community skill packs, such as the ones in the Claude Code Security Skills Marketplace, before any agent loads them, and raise audit.block_threshold to HIGH for a team.
  • One MCP server list. Keep MCP definitions in config.yaml and write them into each tool's JSON or TOML. This helps most when people switch between tools covered by Claude Code vs Cursor vs Windsurf. If you are still deciding whether MCP is the right integration layer, see MCP vs REST API.
  • CI checks. The setup-skillshare Action plus audit --format sarif can gate pull requests that add skills. check has an --exit-code flag for update checks, per the project's comparison page.

How skillshare compares

Three neighbours have pages here. Each column below comes only from that project's own README. A blank-sounding cell ("not described") means the README is silent, not that the feature is missing.

skillshareSkills HubautoskillsAGENTS.md
What it isGo CLI plus local web dashboard; separate desktop appDesktop app for macOS, Windows and Linux; standalone CLI documented on its sitenpx autoskills CLI that scans a project and installs matching skillsAn open file format ("a README for agents"), not a tool
Tools covered80 built-in targets plus custom paths66 AI coding tools plus custom directoriesSelected with -a, --agent (e.g. cursor, claude-code)Any agent that reads the file
Resources managedSkills, agents, extras (rules, commands, memory), MCP, hooks, pluginsSkills, with tags and enable/disableSkills, chosen from the detected tech stackProject instructions in one Markdown file
Where skills come fromAny Git host or local path; GitHub and hub searchCollections, search, Git and local foldersOnly the curated autoskills registryNot applicable
Safety checksBuilt-in audit on install and update; CRITICAL blocks by defaultNot described in the READMERegistry reviewed by AI for prompt injection; SHA-256 manifest and skills-lock.jsonNot applicable
Cross-machine syncGit-backed source with push/pullPer-computer selection through a GitHub, GitLab or Gitee repositoryNot described in the READMECommitted with the repository
RuntimeSingle Go binary; dashboard assets fetched from GitHub on first useDesktop app; "No Node.js or npm is required" for AI managementNode.js >= 22.6None
LicenceMITMITCC BY-NC 4.0 (non-commercial, not OSI-approved)MIT

The closest peer is Skills Hub: both install skills once and sync them to many tools, and both sync across machines through Git hosting. Skills Hub leads with a desktop app and curated collections. skillshare leads with a CLI and reaches past skills into MCP, hooks, plugins and instruction files. autoskills solves a different problem, picking skills for a project's stack from a reviewed registry, and its non-commercial licence matters for company use. AGENTS.md complements all of them rather than competing: skillshare knows which instruction file each target reads and can point several tools at one shared AGENTS.md. The skillshare docs also carry their own comparison with Vercel's npx skills, scoped to that CLI's v1.8.1.

Where the README, docs and binary disagree

  • Dry run versus audit. The docs' security checklist says "Dry-run first: skillshare install <source> --dry-run". In 0.36.2 the dry run printed Audit no findings for a skill that the real install then blocked with two CRITICAL findings.
  • Checksums in the install script. install.sh pipes the release tarball from curl -sL straight into tar xz without checking checksums.txt. By contrast, skillshare upgrade (cmd/skillshare/upgrade.go) and the dashboard downloader (internal/uidist/uidist.go) both verify against that file. If you care about the difference, download the tarball and compare it with checksums.txt yourself, as was done here.
  • "Runtime dependency: None". The README's comparison table says there is no runtime dependency because it is a single Go binary. That is true for the CLI, but the binary does not contain the dashboard. skillshare ui downloads it from GitHub Releases on first launch, which the ui reference does document, and the project's own comparison page notes that Git is required for Git-backed operations.
  • Dashboard download size. The ui reference says "about 2 MB". The 0.36.2 asset is 2.6 MB compressed and 7.6 MB once cached.
  • Release banner. The README on the commit tagged v0.36.2 still opens with "Latest: v0.36.1". The v0.36.2 notes exist only on the release page and in the changelog.
  • Default targets that overlap. Not a documentation error, but a mismatch in behaviour: init --all-targets adds cursor, gemini and universal side by side, and doctor immediately suggests removing the targets init just added because their tools already read the claude or universal folders.
  • A template that fails its own lint. skillshare new -P reviewer references references/review-checklist.md without creating it, so the new skill fails doctor and audit with a dangling-link warning.

Things to know before adopting skillshare

  • Licence. MIT for the CLI, so it can be used, modified and redistributed commercially with the copyright notice kept. The skills you install keep their own licences. skillshare's audit checks for security patterns, not licence terms.
  • Update checks are on by default. Ordinary commands contact api.github.com (or PyPI or Homebrew, depending on how you installed), and doctor also fetches the built-in skill from raw.githubusercontent.com. If a GitHub token is in your environment or gh is logged in, it is sent with those API calls. Turn checks off with skillshare updates off or SKILLSHARE_AUTO_UPDATE_CHECK=false. No telemetry or analytics code was found.
  • Symlinks are the default. Some tools cannot read symlinked skills, and doctor itself says so. Copy mode fixes that, but it overwrites target-side edits whenever the source changes. Symlink mode makes rm -rf in a target delete the source.
  • Absolute paths in the global config. In this run the global config.yaml and the global links held absolute paths, while project-mode links were relative. Check this if you plan to keep more than the skills folder in Git.
  • Know what lands on disk. Besides the source, skillshare writes manifests into every target folder and uses XDG locations: ~/.local/share/skillshare for backups and trash, ~/.local/state/skillshare for logs and MCP backups, and ~/.cache/skillshare for dashboard assets. It also edits files such as ~/.claude.json, ~/.codex/config.toml and ~/.gemini/settings.json when you sync MCP.
  • Very fast release pace. Eight releases went out between 26 November and 2 December 2026 (v0.32.1 to v0.36.2), and the changelog runs from 0.1.0 on 14 January 2026. SECURITY.md says "Only the latest release is supported". Expect frequent upgrades and pin a version in CI, which the GitHub Action supports.
  • Pre-1.0. The version number is still 0.x, and CHANGELOG.md holds 208 version entries in under eleven months, so read the release notes before each upgrade.
  • Building from source needs a recent Go. go.mod and mise.toml pin Go 1.26.10, and mise.toml builds the dashboard with pnpm. On a machine with an older Go, the build depends on Go downloading the newer toolchain, which is what failed in the run above. Behind a restrictive proxy, the checksummed release binaries are the easier route.
  • Contribution process. The README asks contributors to open an issue first and then submit a draft PR with tests (make check runs format, lint and tests), and it links to a Ko-fi page for funding.

Project activity

Checked 2 December 2026: latest release v0.36.2, published 2 December 2026 with binaries for macOS, Linux and Windows on amd64 and arm64, Python wheels and a Homebrew formula; PyPI skillshare-cli 0.36.2; licence MIT; 3,538 stars, 333 forks and 36 open issues on GitHub; last push 2 December 2026.

The repository was created on 14 January 2026, and GitHub lists Go as its main language, with a TypeScript dashboard in ui/ and a Docusaurus site in website/. The README is translated into nine other languages. The previous releases came in quick succession: v0.36.1 (1 December), v0.35.0 (30 November), v0.34.2, v0.34.1 and v0.34.0 (28 and 29 November), and v0.33.0 and v0.32.1 (26 November). The 0.36.2 release notes cover a .gitignore fix for skills that contain a config.yaml, Claude Code mods offered only to Claude Code, and a longer timeout for Codex plugin update checks. For the agents skillshare feeds, see the Gemini CLI and GitHub Copilot CLI write-ups. For the config formats it rewrites, see the YAML and JSON glossary entries.

Enjoying this project?

Discover more amazing open-source projects on TechLogHub. We curate the best developer tools and projects.

Project
skillshare-ai-cli-sync
Created
December 2
Last Updated
December 2, 2026 at 01:42 PM

Maintain skillshare: Sync Skills and MCP Across AI CLI Tools? Add the badge to your README

Show that the project is featured on TechLogHub and send readers to this write-up.

Featured on TechLogHub
[![Featured on TechLogHub](https://techloghub.com/badge-neutral.svg)](https://techloghub.com/open-source/skillshare-ai-cli-sync?utm_source=techloghub_badge&utm_medium=referral&utm_campaign=readme)

Find more projects like this

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.