Syncs skills across AI CLI tools (Claude, Cursor, Windsurf, etc.) from a single source of truth. Use when: "sync skills", "install skill", "search skills", "list skills", "show skill status", "backup...
Use Skillshare to maintain a source and distribute resources to configured targets.
Read only the reference relevant to the requested operation; the routing table is below.
Check skillshare <command> --help if the installed version differs from these examples.
~/.config/skillshare/config.yaml. Project config: .skillshare/config.yaml
or skillshare/config.yaml; hidden wins when both exist. Use -g or -p explicitly
when location matters instead of relying on auto-detection.SKILL.md; agents are single Markdown files.
Source paths can be customized. Use the configured sources instead of assuming defaults.extension: works only on extras targets.directTools and piOptions,
turning a global server off in one project, and mcp.projects for many folders from
one config.--no-tui for plain output or --json where supported.
Do not add --force simply to avoid a prompt: it can overwrite conflicts or override audits.--dry-run where supported. After changing
skills or agents, sync the intended resource and scope. MCP mutations save source only
unless --sync is supplied; sync --all also includes extras and MCP, but excludes plugins.install --json
permits overwrite and selects all when no skill/agent filter is given, but retains
the audit gate; it is not merely an output format. Read install.md
and audit.md before using it for automation.{fromEnv: VARIABLE} references.
Managing settings does not require resolving secrets, copying OAuth credentials,
starting servers, or probing their tools.skillshare status --json
skillshare list --json
skillshare diff --json
skillshare doctor --json
skillshare mcp --json
doctor exits 1 when it finds errors. Audit uses --format json; JSON flags and
TUI availability vary by command. See the relevant reference rather than assuming parity.
skillshare install user/repo -s pdf,commit
skillshare install user/repo --track -b develop --all
skillshare sync
skillshare check --json
skillshare update my-skill
skillshare sync
For project setup, use init -p, then install -p and sync -p. Rehydrate configured
remote dependencies with install without a source. For full flag details and agents,
read install.md and sync.md.
skillshare disable 'draft-*' --dry-run
skillshare disable 'draft-*'
skillshare enable 'draft-*'
skillshare uninstall my-skill
skillshare sync
skillshare trash restore my-skill
skillshare sync
Run the requested operation, not this entire example sequence. Quote glob patterns so Skillshare receives them unchanged. Disabling uses ignore rules; uninstall uses trash.
skillshare mcp import --from claude --json
skillshare mcp add docs --url https://example.com/mcp --target claude --no-tui
skillshare sync mcp --dry-run --json
skillshare sync mcp
--target is singular and repeatable. A preview does not apply changes. For revisions,
editing, import conflicts, credentials, backups, and human-operated TUI commands, read
mcp.md.
skillshare plugin list --json
skillshare plugin add ./my-plugin --target claude --dry-run --json
skillshare plugin disable demo --target claude --no-tui
skillshare sync plugins demo --dry-run --json
Run only the requested operation. add installs a whole native package; import
adopts an existing installation. Plugin enable/disable saves sync selection only;
the next sync plugins installs or removes the managed target. It is excluded
from sync --all. Inspect targetDefinitions for supported operations and scopes;
format discovery alone does not mean installation is supported. Read plugins.md before applying changes.
skillshare hub add https://example.com/hub.json # Save a hub source
skillshare hub add https://example.com/hub.json --label my-hub # With custom label
skillshare hub add git@ghe.corp.com:team/skills.git --label ghe # SSH/private/GHE hub source
skillshare hub list # List saved hubs
skillshare hub default my-hub # Set default hub
skillshare hub remove my-hub # Remove a hub
skillshare hub index --source ~/.config/skillshare/skills/ --full --audit # Build hub index
Read the matching file for command flags, examples, and limitations. Avoid loading all references for a single task.
| Topic | File |
|---|---|
| Native agents, selection, ignore rules, and recovery | native-agents.md |
| MCP configuration, imports, TUI, and recovery | mcp.md |
| Complete plugins, native lifecycle, and sync selection | plugins.md |
| Init flags | init.md |
| Sync/collect/commit/push/pull | sync.md |
| Install/update/uninstall/new | install.md |
| Status/diff/list/search/check | status.md |
| Security audit | audit.md |
| Trash | trash.md |
| Operation log | log.md |
| Targets | targets.md |
| Extras (rules/commands/prompts) | extras.md |
| Backup/restore | backup.md |
| Troubleshooting | TROUBLESHOOTING.md |