Reuse skills across projects
Each project commits its own copy of a skill, but the clone cache is shared by every project on the machine — so installing the same skill in a second project downloads nothing.
-
Install in the first project as usual:
Terminal window cd ~/dev/repo1gskill add github.com/example/skills --skill argocdThis fetches the source once into the clone cache (
~/.gskill/cache/<commit>/). -
Install in the second project:
Terminal window cd ~/dev/repo2gskill add github.com/example/skills --skill argocdThe recorded commit is already cached, so no network is needed — the content is restored from the cache into
repo2’s.agents/skills/argocd/. -
Confirm the cache sharing:
Terminal window gskill cache list # one commit-keyed entry serves both repos
Each project owns and commits its own .agents/skills/argocd/ copy — there is no shared store, so
removing the skill from one project never affects the other. Each project also controls its own
version through its own skills-lock.json — see
use different skill versions.