AgentSkillsCN

skillshare

从单一可信源同步各 AI CLI 工具中的技能。在被要求“同步技能”“收集技能”“从远程拉取”“查看状态”“列出技能”“安装技能”“初始化技能共享”“搜索技能”或管理技能目标时,可选用此技能。

SKILL.md
--- frontmatter
name: skillshare
version: 0.8.1
description: Syncs skills across AI CLI tools from a single source of truth. Use when asked to "sync skills", "collect skills", "pull from remote", "show status", "list skills", "install skill", "initialize skillshare", "search skills", or manage skill targets.
argument-hint: "[command] [target] [--dry-run]"

Skillshare CLI

code
Source: ~/.config/skillshare/skills  ← Single source of truth
         ↓ sync (symlinks)
Targets: ~/.claude/skills, ~/.cursor/skills, ...

Quick Start

bash
skillshare status              # Check state
skillshare sync --dry-run      # Preview
skillshare sync                # Execute

Commands

TaskCommand
Statusstatus, diff, list --verbose, doctor
Syncsync, sync --dry-run
Createnew <name>sync
Searchsearch <query>, search --list, search --json
Installinstall <source>sync
Team repoinstall <url> --tracksync
Collectcollect <target>sync
Updateupdate <name>, update --allsync
Removeuninstall <name>sync
Git syncpush -m "msg", pull
Targetstarget add <n> <p>, target remove <n>, target <n> --mode merge|symlink
Upgradeupgrade, upgrade --cli, upgrade --skill

Init (Non-Interactive)

AI must use flags — cannot respond to CLI prompts.

bash
# Step 1: Check existing skills
ls ~/.claude/skills ~/.cursor/skills 2>/dev/null | head -10

# Step 2: Run based on findings
skillshare init --copy-from claude --all-targets --git  # If skills exist
skillshare init --no-copy --all-targets --git           # Fresh start

# Step 3: Verify
skillshare status

Add new agents later:

bash
skillshare init --discover --select "windsurf,kilocode"

See init.md for all flags.

Safety

NEVER rm -rf symlinked skills — deletes source. Use skillshare uninstall.

References

TopicFile
Init flagsinit.md
Sync/pull/pushsync.md
Install/updateinstall.md
Status/diff/liststatus.md
Target managementtargets.md
Backup/restorebackup.md
TroubleshootingTROUBLESHOOTING.md