Before you start
You must have an agent configured in the Agent builder before you can attach skills to it.Creating a skill
The Agent builder includes a skill builder that generates a structured skill from a description or source document. You can also write skills manually in markdown.Open the skill builder
In CDF, navigate to Atlas AI > Agent builder and open your agent.Select Skills, then select + Add skill.
Provide source material
To generate a skill automatically, paste in or upload source material relevant to the skill’s domain. Suitable sources include SOPs, engineering specification documents, naming convention guides, and equipment manuals.The skill builder extracts the structure, vocabulary, and rules from the source material and produces a draft skill. This can be faster than writing a skill manually and works well for skills that cover naming conventions, tag formats, and asset hierarchies.
Review and complete the skill structure
Review each section of the generated skill and complete any sections that need adjustment. See Structuring a skill for guidance on each section.
Save and attach the skill to your agent
Save the skill and attach it to your agent. Test the agent with questions that should trigger the skill to verify that it loads correctly and improves the agent’s responses.Use agent evaluations to confirm behavior against expected responses before publishing.
Structuring a skill
A well-structured skill contains these sections. Not every skill requires all of them, but each section you include should be specific and accurate.Write a trigger description
The trigger description tells the agent when to load this skill. Write it as a direct statement that identifies the relevant question type, equipment category, or data domain.A clear trigger prevents the agent from loading the skill for unrelated questions.
Add data model guidance
Tell the agent which views to query and which properties are relevant for this skill’s domain. The Query tool can discover the schema at runtime, but explicit guidance reduces errors on frequently-used query patterns and helps the agent choose correctly when a data model has multiple date or status fields with similar names.
Map your vocabulary
Add mappings that translate the terms users are likely to use into the field values stored in CDF. This is one of the most effective ways to improve accuracy, because unclear terminology is a common source of errors in industrial data queries.
Define tool sequencing
Document the order in which the agent should call tools when answering questions in this skill’s domain. These tabs show sequencing instructions for three common tool combinations.
- Sensor trend questions
- Document questions
- Follow-up analysis
When a user asks about sensor readings, trends, or anomalies on a piece of equipment, the agent should follow this sequence.
Define the response format
Tell the agent what a complete answer looks like for this skill’s domain. Include which fields to show and any formatting preferences.
Add examples
Include examples that show the agent how to handle the most common question patterns for this skill. A few examples covering distinct scenarios are more effective than a long list of similar ones. Cover different question types: a simple lookup, an aggregation, a multi-tool question, and an ambiguous request.
Limitations
| Limit | Details |
|---|---|
| File format | Single .md file only. Zip archives and associated files are not supported. |
| File size | 30 KB maximum. |
| Name format | Alphanumeric characters and hyphens (-) only. No other symbols are allowed. |
| Reserved name prefix | Names must not start with cdf-. This prefix is reserved for Cognite packaged skills. |