skill-copy
A CLI tool that copies a single Agent Skill file from a GitHub repository folder into a local agent's skills directory.
Makes it easy to initialize a project with the skills you need, such as skill-creator for creating new skills.
Each agent has a different skills directory.
For an example Dockerfile that installs skill-copy and adds Anthropic's skill-creator skill, see here.
Install
# first make sure your GOPATH is set
go install github.com/briangershon/skill-copy@latest
Usage
skill-copy <github-tree-url> <destination>
The tool:
- Validates the folder is a skill (must contain
SKILL.md)
- Creates
<destination>/<skill-name>/
- Copies all files and subdirectories into it
Build for local development
go build -o skill-copy .
Publishing a new release
Merge changes to main, then tag and push:
make tag TAG=v1.2.3
This creates the git tag and pushes it to origin. Once pushed, go install github.com/briangershon/skill-copy@latest will resolve to the new tag.
Example: Install Anthropic's skill-creator
Install skills for a project
skill-copy https://github.com/anthropics/skills/tree/main/skills/skill-creator ./.claude/skills
Install skills for a user
skill-copy https://github.com/anthropics/skills/tree/main/skills/skill-creator ~/.claude/skills
This copies the skill-creator skill into ~/.claude/skills/skill-creator/.
Requirements
- Go 1.16+
- Public GitHub repositories only (no authentication required)