Skip to content
Source
Sign inSign up

Add a skill to your agents

Skills, MCP and apps / Skills

Add a skill to your agents

You found a skill, and you want Claude Code, Codex or Cursor to use it in your project, with no files to copy by hand. src skill install copies the skill one time, and links it for each agent that needs a link.

3 min read

You need:

1. Install the skill

In your project, run:

src skill install acme/changelog

Use the address of your skill in place of acme/changelog. Each skill page shows this command under Add this skill.

A skill page with its SKILL.md, the install command, stars, and the Add to a repository button

2. See what changed in your project

PathWhat it is
.agents/skills/changelog/The copy of the skill, with all its files. Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode read this folder.
.claude/skills/changelogA link to the copy, for Claude Code.
.grok/skills/changelogA link to the copy, for Grok.
.agents/skills.lock.jsonThe address, the version and the date of each skill that src installed.

Note

If the system does not let src make a link, src puts a copy there and prints Copied. For example, Windows refuses a link when you do not have the right to make links.

To give the skill to each person and agent that clones the project, add it to the repository.

3. Keep it up to date

src skill list
src skill update changelog
  • src skill list shows v3 → v5 when the source has a newer version.
  • src skill update --all updates each skill that is out of date.
  • src skill update with no name and no --all lists the updates and changes nothing.
  • src skill diff acme/changelog lists the files that changed since the version that you installed.

To remove a skill, run src skill remove changelog. It removes the copy, the links and the lock entry.

Done

Your agents find the skill in their folders. Run src skill list to see it, with its version.

Other ways to install

  • A private skill with a share link: give the full link to src skill install, in quotes. See Share a private skill.
  • An agent over MCP: the agent calls get_skill, and writes the files into its own skill folder. Then it calls record_skill_install. See Connect over MCP.

Options

OptionWhat it does
--scope userInstalls in your home folder (~/.agents/skills), for all your projects.
--agent <name>Installs for one agent only. Give it again for more agents.
--dir <folder>Installs in the project at that folder.
--forceReplaces a folder with the same name that src did not install.

The agent names are claude-code, codex, cursor, gemini, github-copilot, opencode and grok.