Re-fetches the skill from whatever source it was installed from (recorded
in .ally-source.json) and refreshes the Claude Code copy. If either copy has
been edited since it was installed, it stops rather than lose the edits; pass
force = TRUE to overwrite them.
Usage
update_skill(skill, scope = c("project", "user"), link = FALSE, force = FALSE)Arguments
- skill
Name of the installed skill (matches the directory name in
.agents/skills/).- scope
"project"installs into the current working directory,"user"into your home folder.- link
If
TRUE, put a relative symbolic link in each agent folder pointing at the.agents/skillscopy instead of a second copy, so there is a single set of files to edit. Falls back to copying where links can't be created (typically Windows without developer mode). The default,FALSE, copies.- force
If
FALSE, the default, stop rather than overwrite a copy of the skill that has been edited since it was installed or that ally did not install.TRUEoverwrites it.
Value
Invisibly, the result of install_skill().