Import an existing skill from a GitHub repository URL into the current workspace. Use only when the user provides or references a GitHub URL/repo to fetch from (e.g., `/add-skill https://github.com/OpenHands/extensions/tree/main/skills/codereview` or "add the codereview skill from https://github.com/OpenHands/extensions/"). Handles fetching the skill files and placing them in .agents/skills/. This does not author new skills — to create a new skill from scratch (no source URL), use the skill-cre…
Import an existing skill from a GitHub repository URL into the current workspace.
Use only when the user provides or references a GitHub URL/repo to fetch from (e.g., `/add-skill https://github.com/OpenHands/extensions/tree/main/skills/codereview` or "add the codereview skill from https://github.com/OpenHands/extensions/").
Handles fetching the skill files and placing them in .agents/skills/.
This does not author new skills — to create a new skill from scratch (no source URL), use the skill-creator skill instead.
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
# Run the fetch script
python3 scripts/fetch_skill.py "https://github.com/OpenHands/extensions/tree/main/skills/codereview" "/path/to/workspace"
# Verify installation
ls /path/to/workspace/.agents/skills/codereview/SKILL.md
On Windows, use python if python3 is not available and verify with PowerShell, for example: Test-Path C:\path\to\workspace\.agents\skills\codereview\SKILL.md.
Response: "✅ Added codereview to your workspace. The skill is now available."
Notes
Creates .agents/skills/ directory if it doesn't exist
Uses GITHUB_TOKEN for authentication (required for private repos)
Warns before overwriting existing skills with the same name