The context window is an agent’s workspace, and that space is limited. Storing dozens of Skills globally loads unnecessary definitions into every session and wastes tokens.

Claude Code installs Skills either globally or per project. A global setup loads every Skill across all projects, whereas loading only what each project needs keeps the context lean. Copying Skill files directly into each repository creates a different problem: every upstream change requires manual updates across multiple projects.

A symlink keeps the actual file in one place while referencing it from multiple paths. That makes it a natural fit for Skill management: store a single source copy in a central directory and create links inside individual projects.

The setup takes three steps. First, clone your open-source Skills repositories into a central folder such as ~/GitHub, which acts as the single source repository. Second, create a symlink instead of copying files whenever a project needs a specific Skill. Finally, link .claude/skills to .agents/skills so the agent reads directly from the source files.

Automating Maintenance and Contributions

Developers do not even need to memorize shell commands. Ask the agent in plain language to link a Skill, and it creates the symlink automatically. Adding or removing Skills works the same way: specify the path, and the agent handles the file operations.

Updates also happen in one step. Running git pull inside the central repository updates every linked project at once. When you spot a bug during project work and ask the agent to fix the Skill, the change applies directly to the central repository. Opening a PR from there turns everyday fixes into open-source contributions, keeping maintenance light even as your Skill library grows.

Summary

  • Per-project Skill installation preserves context window space far better than global installation.
  • Symlinks let multiple projects reference the same source files without duplicating directories.
  • Keeping a single source repository simplifies both version updates and upstream open-source contributions.