Creates inst/mordew/skills/<name>/SKILL.md from a template: the
instructions that tell the model how to use the tools of the server,
which the server serves as a skill.
Usage
add_skill(name, mordew_wd = get_mordew_wd())Arguments
- name
Name of the skill: 1 to 64 lowercase letters, digits and single hyphens.
- mordew_wd
Path to the package,
get_mordew_wd()by default.
Examples
path <- file.path(
tempfile(),
"runlog"
)
create_mordew(
path
)
add_skill(
"year-review",
mordew_wd = path
)
list.files(
file.path(
path,
"inst",
"mordew",
"skills",
"year-review"
)
)
#> [1] "SKILL.md"