Skills
Skills provide the agent with specialized knowledge for specific topics. When a user asks a question related to a skill, the agent loads that skill to provide expert-level guidance with detailed examples and best practices.
The agent automatically discovers available skills at startup and proactively loads relevant skills based on user questions.
Custom Skills
Custom skills are markdown files you create and store in the Splunk app's skills directory. They allow you to extend the agent with domain-specific knowledge tailored to your organization's needs.
Skill File Format
Skills use markdown format with YAML frontmatter:
---
name: Index Optimization
description: Best practices for optimizing Splunk index performance
---
# Index Optimization Best Practices
Your skill content here...
Required frontmatter fields:
-
name: The skill's display name.
Used by the agent to load the skill. -
description: Brief description of what the skill covers.
Used by the agent to decide when it should load the skill.
Creating Custom Skills
-
Create a
.mdfile in the app'sskills/directory: -
Add frontmatter with
nameanddescriptionfields. -
Write your content using markdown syntax.
Tip
Skills names are loaded on app startup. No Splunk restart or reload is required when editing existing skills, but a refresh of the browser tab might be necessary to load new skills.
Validation
Validate your skills using the lynt.sh script:
The validator checks for:
- Proper frontmatter structure
- Required
nameanddescriptionfields - Correct markdown syntax
Built-in Skills
Coming soon!