btw skills location?

I'm building an R package (https://github.com/AlgoCompSynth/eikosany) that includes a btw Shiny chat agent to answer questions from a user about the package. Note that the user would see the package as installed, not as I see it as the developer or as you'd see it in the GitHub source repository.

To make the chat agent's question answering easier, I'm adding skills with btw::btw_task_create_skill. btw placed them in a directory .btw/skills in the root of the package as seen by the developer. devtools::check() does not like that for two reasons:

  1. It's a non-standard file in the root of the package directory, and
  2. It's a "hidden" file (name starts with a .).

I've moved the directory to inst/btw, which satisfies devtools::check() and means the skills will be in the package both for me as the developer and a user who's installed it. But will the chat agent be able to find them?

1 Like

Thinking about this overnight ...

  1. I probably should have asked the chatbot about this, and
  2. Surely there's some "industry standard" place where agents can put skills for other agents to find. Should my package load them "there" at install time?
1 Like