Bundle collapse-r agent skill - #882
arthurgailes wants to merge 1 commit into
Conversation
Copy the collapse-r skill from fastverse/skills (c3748aa) into
inst/skills/ so btw discovers it when collapse is attached and
btw_skill_install_package("collapse") can install it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Hi @arthurgailes. Thanks for this. I can see that that could be useful. On the other hand it is not clear to me how popular the btw package is and what other use-cases there are apart from the skill being installable directly from the package. For example what happend after Overall, my concern is that the skill increases the size of the package and I think maintaining it in a separate repo together with the fastverse skill would be easier. |
|
Thanks. I see the following benefits:
If you run btw::btw_skill_install_package("collapse"), then given a prompt that doesn't mention collapse ("demean log GDP within country and compute YoY growth in R"):
More broadly, I think the btw model here of bundling them with the package is a good one that packages should adopt by default. R needs to be ready for agent-first coding |
Copies the
collapse-rskill from fastverse/skills (c3748aa) intoinst/skills/collapse-r/, following btw's convention for package-bundled skills. btw discovers it automatically when collapse is attached, andbtw::btw_skill_install_package("collapse")installs it.SKILL.mdandreferences/are included;evals/is left out.Notes:
inst/, soR CMD checkdoesn't flag them.Tested by installing the branch and running
btw skills list collapse, which listscollapse-r.R CMD checknot run.🤖 Generated with Claude Code