Install, update, and manage Claude Code skills from GitHub repositories. Use when user wants to install a skill from a GitHub URL (e.g., https://github.com/user/repo) or shorthand (e.g., user/repo), update installed skills, list installed skills, check skill versions, or remove a skill.
/plugin marketplace add mikekelly/promode/plugin install skill-manager@promodeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/resolve_url.pyManage Claude Code skills as git repositories cloned from GitHub.
Skills are git repositories containing a SKILL.md file. They can be installed in two locations:
~/.claude/skills/<skill-name>/) - available in all projects<project>/.claude/skills/<skill-name>/) - available only in that projectEach skill is cloned from a GitHub repository. Updates are done via git pull. Versions are tracked by git commit SHA.
Important: Most projects are already git repositories. When installing a skill into a project, it must be added as a git submodule so it can be tracked and shared with collaborators. User skills are regular clones since ~/.claude/skills/ is typically not a git repo.
When installing a skill, ALWAYS ask the user whether they want:
Do NOT proceed with installation until the user has specified which location they want.
Resolves GitHub shorthand to full URL. Returns: <url> <repo-name>
python scripts/resolve_url.py user/repo
# Output: https://github.com/user/repo repo
Note: The repo name is used as the default skill directory name. If a skill with that name already exists, ask the user for an alternative name to avoid conflicts.
python scripts/resolve_url.py user/repo
mkdir -p ~/.claude/skills
git clone https://github.com/user/repo ~/.claude/skills/repo
cat ~/.claude/skills/repo/requirements.txt
If the file exists, install with:
pip install -r ~/.claude/skills/repo/requirements.txt
python scripts/resolve_url.py user/repo
mkdir -p /path/to/project/.claude/skills
git -C /path/to/project submodule add https://github.com/user/repo .claude/skills/repo
cat /path/to/project/.claude/skills/repo/requirements.txt
If the file exists, install with:
pip install -r /path/to/project/.claude/skills/repo/requirements.txt
git -C ~/.claude/skills/skill-name pull
git -C /path/to/project/.claude/skills/skill-name pull
git -C /path/to/project add .claude/skills/skill-name
rm -rf ~/.claude/skills/skill-name
git -C /path/to/project submodule deinit -f .claude/skills/skill-name
git -C /path/to/project rm -f .claude/skills/skill-name
rm -rf /path/to/project/.git/modules/.claude/skills/skill-name
git -C ~/.claude/skills/skill-name rev-parse --short HEAD