Creating Lava Skills

Overview

Creating new skills in Lava is straightforward. When defining a skill, you’ll provide a name, description, and optional instructions. Here are some tips to keep in mind:

  • Name: The name is critical since the agent orchestrator uses it to decide when and whether its tools should be called. Choose something clear that helps the AI understand the purpose of the tools within the skill.
  • Description: At the skill level this field is for administrator reference only and is not exposed to the agent. Use it to document the purpose and scope of the skill for human readers. Note that this differs from the [Description] attribute placed on POCO properties and method arguments in native tools, which is sent to the language model.
  • Instructions: This field is passed to the agent to give additional context about how the skill and its tools should be used. Its content is appended to the agent’s system prompt, so keep it concise. We recommend leaving it blank at first and only adding guidance when necessary. When used, instructions here often carry more weight than tool-level instructions alone.