Download and install a skill from a GitHub repository. The repository
should contain one or more skill directories, each with a SKILL.md file.
Arguments
- repo
GitHub repository in
"owner/repo"format. Optionally include a Git reference (branch, tag, or SHA) as"owner/repo@ref", following the convention used bypak::pak()andremotes::install_github(). Defaults to"HEAD"when no ref is specified.- skill
Optional skill name. If
NULLand the repository contains multiple skills, an interactive picker is shown (or an error in non-interactive sessions).- scope
Where to install the skill. One of:
"project"(default): Installs to a project-level skills directory, chosen from.btw/skills/or.agents/skills/in that order. If one already exists, it is used; otherwise.btw/skills/is created."user": Installs to the first of~/.btw/skills,~/.config/btw/skills, ortools::R_user_dir("btw")/skillsthat already exists, defaulting to~/.btw/skillsif none do.A directory path: Installs to a custom directory, e.g.
scope = ".openhands/skills". UseI("project")orI("user")if you need a literal directory with those names.
- overwrite
Whether to overwrite an existing skill with the same name. If
NULL(default), prompts interactively when a conflict exists; in non-interactive sessions defaults toFALSE, which errors. Set toTRUEto always overwrite, orFALSEto always error on conflict.
See also
Other skills:
btw_skill_install_package(),
btw_tool_skill()
