Add skill

From OpenHands/extensions · View interactive version

Add skill is an AI agent skill from the GitHub repository OpenHands/extensions. 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

How to use this skill

Skill file

Add Skill

Import skills from GitHub repositories into the current workspace.

Workflow

When a user requests to add a skill from a GitHub URL:

  1. Parse the URL to extract repository owner, name, and skill path
  2. Fetch the skill using the bundled script. Run it from this skill's

directory (the directory containing this SKILL.md file):

```bash

python3 scripts/fetch_skill.py "<github-url>" "<workspace-path>"

```

  1. Verify that SKILL.md exists in the destination
  2. Inform the user the skill is now available

URL Formats Supported

Example

User: /add-skill https://github.com/OpenHands/extensions/tree/main/skills/codereview

# 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

not globally; that workspace is where the skill becomes available

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.