add-skill
13
总安装量
4
周安装量
#24274
全站排名
安装命令
npx skills add https://github.com/openhands/skills --skill add-skill
Agent 安装分布
opencode
4
gemini-cli
4
claude-code
4
github-copilot
4
codex
3
Skill 文档
Add Skill
Import skills from GitHub repositories into the current workspace.
Workflow
When a user requests to add a skill from a GitHub URL:
- Parse the URL to extract repository owner, name, and skill path
- Fetch the skill using the bundled script:
python3 <this-skill-path>/scripts/fetch_skill.py "<github-url>" "<workspace-path>" - Verify that SKILL.md exists in the destination
- Inform the user the skill is now available
URL Formats Supported
https://github.com/owner/repo/tree/main/path/to/skillhttps://github.com/owner/repo/skill-namegithub.com/owner/repo/skill-nameowner/repo/skill-name(shorthand)
Example
User: /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/.openhands/skills/codereview/SKILL.md
Response: “â
Added codereview to your workspace. The skill is now available.”
Notes
- Creates
.openhands/skills/directory if it doesn’t exist - Uses
GITHUB_TOKENfor authentication (required for private repos) - Warns before overwriting existing skills with the same name