Add Skills to a golem Project
Usage
use_skills(
source = c("ask", "local", "remote"),
agent_specs = c("ask", "claude", "agents", "both"),
skills = NULL,
main_md_files = c("ask", "yes", "no"),
overwrite = c("ask", "overwrite", "skip", "abort"),
golem_wd = get_golem_wd(),
interactive = rlang_is_interactive()
)Arguments
- source
Where to install agent skills from. Use
"ask"for the interactive menu.- agent_specs
Which agent specifications to install. Use
"ask"for the interactive menu.- skills
Skills to install. Use
NULLfor the interactive selector, or"all"to install all available skills.- main_md_files
Whether to also add
AGENTS.md/CLAUDE.md. Use"ask"for the interactive menu.- overwrite
How to handle existing files. Use
"ask"for the interactive menu.- golem_wd
Path to the golem project where files should be copied.
- interactive
Whether
"ask"values andskills = NULLshould prompt. In non-interactive mode, those values use local defaults.
Variants
use_skills()is the main entry point — pick the agent target viaagent_specs("claude","agents", or"both").use_agent_skills()anduse_claude_skills()are convenience wrappers foruse_skills(agent_specs = "agents")anduse_skills(agent_specs = "claude").use_skill()adds a single skill to an already-installed agent target, without touchingCLAUDE.md/AGENTS.md.