Loading...
Loading...
Add an external skill from a GitHub repository to the current workspace. Use when users want to import, install, or add a skill from a GitHub URL (e.g., `/add-skill https://github.com/OpenHands/skills/tree/main/skills/codereview` or "add the codereview skill from https://github.com/OpenHands/skills/"). Handles fetching the skill files and placing them in .agents/skills/.
npx skill4agent add openhands/skills add-skillpython3 <this-skill-path>/scripts/fetch_skill.py "<github-url>" "<workspace-path>"https://github.com/owner/repo/tree/main/path/to/skillhttps://github.com/owner/repo/skill-namegithub.com/owner/repo/skill-nameowner/repo/skill-name/add-skill https://github.com/OpenHands/skills/tree/main/skills/codereview# Run the fetch script
python3 scripts/fetch_skill.py "https://github.com/OpenHands/skills/tree/main/skills/codereview" "/path/to/workspace"
# Verify installation
ls /path/to/workspace/.agents/skills/codereview/SKILL.mdcodereview.agents/skills/GITHUB_TOKEN