Install the bundled Shennong Codex skill for end-user agents
Source:R/package_tools.R
sn_install_codex_skill.RdThis helper installs the packaged Shennong Codex skills into a user skill
directory, for example ~/.agents/skills. Package usage skills are
distinct from initialized-project governance skills.
Usage
sn_install_codex_skill(
path = "~/.agents/skills",
type = c("package_skills", "project_skills", "both"),
overwrite = TRUE
)Examples
target_dir <- file.path(tempdir(), "skills")
installed <- sn_install_codex_skill(
path = target_dir,
type = "package_skills",
overwrite = TRUE
)
all(dir.exists(installed))
#> [1] TRUE