class RubyLLM::Skill

A Skill is a folder of instructions, scripts, and reference files in the open Agent Skills format. Its SKILL.md starts with YAML front matter naming and describing the skill, followed by the instructions in Markdown.

Chat#with_skills gives skills to a chat. The model sees each skill’s name and description, and loads the instructions and files of the ones a task needs.

skill = RubyLLM::Skill.find(:invoices)
skill.name        # => "invoices"
skill.description # => "Creates invoices as PDFs. Use when ..."
skill.path        # => #<Pathname:/app/app/skills/invoices>