skill-installer
Installation
SKILL.md
Skill Installer
Installs Claude skills from public GitHub repository directories into either the current project or the local machine.
Overview
When a user provides a GitHub URL pointing to a skill directory (e.g. https://github.com/owner/repo/tree/main/skills/my-skill), this skill:
- Parses the URL to extract the repo, branch, and path
- Downloads only the skill subdirectory using
git sparse-checkout(no full clone) - Runs a thorough security assessment on the downloaded files
- Presents a security report in the chat (gist) + saves the full report to a temp file
- Asks the user whether to proceed with installation
- Copies the skill to the chosen destination and cleans up
Step 1: Parse the GitHub URL
From a URL like https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices, extract: