Vignette: Share skills and use them in ellmer
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 68/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- r
- Domain
- ai, documentation
Research direction
Read the current source and documentation for skill discovery, installation, and ellmer integration, focusing on inst/skills/ and the public APIs btw_skill_install_package(), btw_skill_install_github(), btw_skill_install_project(), btw_tools("skills"), and btw_skill_prompt(). Trace one existing skill with a bundled resource from an R package through discovery to use by an ellmer client, and run the examples where possible in a fresh session. Done means the vignette accurately covers packaging, sharing, discovery, consumption, and the distinction between explicit integration and btw_client().
Written by the indexing model from the issue text.
Description
Goal and audience
Teach intermediate-to-advanced R developers how to distribute skills so btw can find them, and how to integrate btw's skill tools into a regular ellmer client. This includes package authors and developers building custom assistants.
The focus is packaging, sharing, discovery, and consumption, not how to author skill instructions. Follow an existing useful skill from an R package's files through discovery/distribution to use by an ellmer assistant.
Proposed coverage — reassess before drafting
This is a starting proposal, not a fixed outline or required section order. Before writing, reassess the scope, example, and teaching sequence against the current implementation, existing documentation, and reader needs. Adjust, combine, or drop items as appropriate.
- Establish the packaging unit: a skill directory with
SKILL.mdand optional reference files or scripts. - Show the R package layout under
inst/skills/. - Explain automatic discovery from attached packages; distinguish installation from attachment.
- Use
btw_skill_install_package()to persist package skills in a project or user location without attaching the package in every session. - Cover GitHub sharing via
btw_skill_install_github()and dependency-based installation viabtw_skill_install_project(). - Explain project/user discovery, name conflicts, and custom search paths, linking to reference documentation for the complete location rules.
- Register
btw_tools("skills")in a plain ellmer client. - Use the public
btw_skill_prompt()helper to advertise skills in that client's system prompt. - Provide file-reading capability for bundled references, and explain how bundled scripts/resources are intended to be used.
- Contrast this explicit integration with what
btw_client()handles automatically. - Optionally mention slash-command integration without making it a second full tutorial.
Suggested boundaries
Avoid a skill-writing workshop, the skill-creator task, and a deep custom-agent tutorial. Make the distinction between registering a skill-loading tool and advertising available skills explicit. Use public APIs in the ellmer integration example rather than internal discovery/prompt helpers.
Writing guidance
Verify package discovery and installation behavior against source. Use a concrete skill with a bundled resource to demonstrate the complete path. Run discovery/integration examples where possible; render in a fresh session and avoid invented model output.
- Dominant language
- R
- Stars
- 150
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/btw
-
Difficulty 4/5 1-2 days Newbie friendliness 25/100
-
Codemode: MCP and tools via the run R toolMay be free again @gadenbuie claimed this 58 days ago, and no pull request is open. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
documentation
Difficulty 4/5 3-5 days Newbie friendliness 68/100
Similar issues
-
num_ode_rk4_adaptive rejects atol = 0 while accepting rtol = 0 and while num_ode_dopri5 accepts bothOpenarea/ode-pde good first issue help wanted kind/contract severity/4-minor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Apich-Organization/rssn#383 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
PRL-PRG/r-compile-server#70 · 1 comment ·
-
dependencies docker enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
posit-dev/images-workbench#257 ·
Maintainers usually reply within 1 day
-
dependencies docker enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
posit-dev/images-package-manager#188 ·
Maintainers usually reply within 1 day
-
dependencies docker enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
posit-dev/images-connect#222 ·
Maintainers usually reply within 1 day