skill-sync
БесплатноЗапускает вложенные скриптыНе проверенSync and install skills from a GitHub skills repository into a local or global AI skill root. Use when the user asks to install skills, update skills, sync…
от onfire7777★ 17 звёзд на GitHubОб этом скилле
Skill Sync
Sync all skills from a GitHub repository into /home/ubuntu/skills/ with version tracking, validation, and change detection.
Quick Start
Run the script to preview the default repository, onfire7777/universal-ai-skills-library.
python3 /home/ubuntu/skills/skill-sync/scripts/sync_skills.py --dry-run
Show the user the repository, full commit SHA, target directory, and skills that would be installed or updated. Let the user inspect the selected changes and wait for approval of that exact sync. Then rerun with the same repository, target, and filters, replacing --dry-run with --apply <commit-sha>. Review a new preview if the repository has moved on.
Commands
# Preview selected skills from a different repository
python3 /home/ubuntu/skills/skill-sync/scripts/sync_skills.py --repo user/repo-name --filter "security,audit"
# Preview replacing locally modified skills
python3 /home/ubuntu/skills/skill-sync/scripts/sync_skills.py --force
# Validate currently installed skills
python3 /home/ubuntu/skills/skill-sync/scripts/sync_skills.py --validate-only
How It Works
- Fetch the repository's default branch with Git and preview its exact commit
- Discover all directories containing a valid
SKILL.md(supports bothrepo/skill-name/andrepo/skills/skill-name/layouts) - Compare each skill's content hash against the last sync state
- Apply only when the supplied commit matches the previewed source. Install new skills, update changed skills, and skip unchanged ones.
- Validate that each skill has SKILL.md frontmatter (
name+description) - Save state after applying, with the commit hash and per-skill content hashes
Change Detection
The script tracks content hashes to avoid unnecessary overwrites:
- Source unchanged, dest unchanged - skipped (already up-to-date)
- Source changed, dest unchanged - updated from repo
- Source unchanged, dest changed - skipped (local changes preserved)
- Both changed - skipped unless
--forceis used
State File
Sync state is stored at ~/.skill-sync-cache/sync_state.json. Contains last sync timestamp, commit hash, and per-skill content hashes. Delete this file to force a full re-sync.
Configuration
Use Git and Python 3.12 or newer. The preview may populate the Git cache. It leaves the skills directory and installation state alone.
Paths can be overridden via environment variables or CLI flags:
| Setting | Default | Override |
|---|---|---|
| Skills directory | /home/ubuntu/skills |
SKILL_ROUTER_SKILLS_DIR or --skills-dir |
| Cache directory | ~/.skill-sync-cache |
SKILL_ROUTER_SYNC_CACHE or --cache-dir |
After Syncing
Skills are immediately available to compatible AI clients after syncing. Agents route skills from the target skill root using the name and description in each SKILL.md frontmatter.
Установить skill-sync в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл skill-sync?
Sync and install skills from a GitHub skills repository into a local or global AI skill root. Use when the user asks to install skills, update skills, sync skills from GitHub, load a skill library, or ensure cross-AI skill roots are up to date.
Как установить скилл skill-sync?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл skill-sync запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic