Skip to content

About

πŸ”— One skills folder for ALL your AI agents. Symlink SSOT across Claude Code, Codex, Comate, Cursor, Gemini CLI, Windsurf & 40+ platforms. 337MB β†’ 106MB on a real machine. Zero deps, safe by default.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

skill-unify

One skills folder for every AI agent on your machine.

δΈ­ζ–‡ζ–‡ζ‘£

License: MIT Python 3.8+

You run Claude Code, Codex, Comate, Cursor, Gemini CLI, Trae, Windsurf… and each one reads its own skills directory. One skill = a dozen copies. Sooner or later: version drift, gigabytes of duplication, and no idea which copy is real.

skill-unify makes ~/.agents/skills the single source of truth (SSOT) and replaces every copy with a symlink.

Measured on a real machine with 11 platform directories: 337 MB β†’ 106 MB, hundreds of duplicates collapsed into one entity each.

Why it's safe

  • Read-only by default β€” nothing touches disk until you pass --yes
  • Backups before deletes β€” prune only removes entities whose hash matches the SSOT exactly, and backs up first
  • Plan before act β€” every write command has a dry-run: plan / scan / doctor
  • Never wanders β€” refuses to touch anything outside platform skills directories

Quick start

# 1. Survey: platform table, skill counts, sizes, redundancy estimate
python3 scripts/skill-unify scan

# 2. Inventory: what's installed, what each skill does
python3 scripts/skill-unify list --sort=size

# 3. Plan, approve, execute
python3 scripts/skill-unify plan
python3 scripts/skill-unify sync --yes

Full cleanup when platforms already hold their own copies:

python3 scripts/skill-unify adopt --yes   # fold platform-unique skills into the SSOT
python3 scripts/skill-unify prune --yes   # delete duplicates, rebuild links (backed up)
python3 scripts/skill-unify doctor        # final health check

Install

git clone https://github.com/IQQcode/skill-unify.git ~/.agents/skills/skill-unify

Then let it onboard every future skill for you β€” install lands in the SSOT and syncs to all platforms in one step:

python3 ~/.agents/skills/skill-unify/scripts/skill-unify install <dir | zip | git-url> --yes

Monorepo friendly: install https://github.com/some/awesome-skills#the-skill-you-want --yes.

Commands

Command What it does Writes disk
scan Survey all platforms: counts, sizes, redundancy, illegal entries no
list Inventory installed skills (--sort=name|size|copies, --md, --tsv) no
plan Preview exactly what sync will do no
sync Create/repair symlinks per skill --yes
adopt Fold platform-unique skill entities into the SSOT --yes
prune Delete duplicate entities already covered by the SSOT (backs up first) --yes
doctor Broken links, junk entries, stray root files, name conflicts, missing frontmatter no
install Install a new skill into the SSOT + sync to all platforms --yes

Common flags: --root (SSOT path) Β· --config Β· --platform / --skill (scope) Β· --save-root (persist the SSOT choice).

Why ~/.agents/skills?

Not an invented convention: OpenCode lists it as a global discovery location, Cline's global path is exactly it, and Windsurf is converging toward .agents/skills. Choosing it means those platforms read the SSOT natively β€” zero links needed for them.

Highlights

  • Zero dependencies β€” pure Python 3.8+ standard library. No pip, no venv, no lockfile.
  • 41 platforms registered β€” with per-platform filtering (--platform) and a config file for custom allow/skip lists.
  • Agent-native β€” ships as a skill itself: the SKILL.md drives a 4-step interaction contract (show status quo β†’ show inventory β†’ confirm SSOT path β†’ execute & report) so the agent never deletes or decides without you.

Tests

python3 -m unittest discover -s tests

License

MIT

About

πŸ”— One skills folder for ALL your AI agents. Symlink SSOT across Claude Code, Codex, Comate, Cursor, Gemini CLI, Windsurf & 40+ platforms. 337MB β†’ 106MB on a real machine. Zero deps, safe by default.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages