Create Skill
This skill teaches you how to create new skills for the Norns agent system.
What is a Skill?
A skill is a folder containing:
- •A
SKILL.mdfile with YAML frontmatter and instructions - •Optional supporting files (scripts, templates, examples)
Skill Structure
code
skills/
└── my-skill-name/
├── SKILL.md # Required: Instructions and metadata
├── scripts/ # Optional: Executable scripts
│ └── run.sh
├── templates/ # Optional: Template files
│ └── config.yaml.j2
└── examples/ # Optional: Example files
└── example.json
SKILL.md Format
The SKILL.md file MUST have YAML frontmatter followed by Markdown content:
yaml
--- name: skill-name # kebab-case identifier description: Brief description of what the skill does version: 1.0.0 author: Norns tags: - category1 - category2 triggers: # Phrases that activate this skill - keyword phrase 1 - keyword phrase 2 dependencies: # Optional: Other skills this depends on - other-skill-name --- # Skill Title Detailed instructions for how to use this skill...
Creating a New Skill
To create a new skill:
- •Identify the capability: What should this skill do?
- •Choose a name: Use kebab-case (e.g.,
deploy-docker,analyze-logs) - •Create the folder:
skills/{skill-name}/ - •Write SKILL.md: Include frontmatter and detailed instructions
- •Add supporting files: Scripts, templates, examples as needed
- •Test the skill: Verify the instructions are clear and complete
Example: Creating a Deployment Skill
bash
# Create the skill folder mkdir -p skills/deploy-service # Create SKILL.md cat > skills/deploy-service/SKILL.md << 'EOF' --- name: deploy-service description: Deploy a service to the Ravenhelm platform using Docker Compose version: 1.0.0 author: Norns tags: - deployment - docker - infrastructure triggers: - deploy a service - start a container - launch application --- # Deploy Service Instructions for deploying services to the Ravenhelm platform... EOF
Best Practices
- •Be specific: Clear, actionable instructions
- •Include examples: Show real-world usage
- •Document dependencies: List required tools or other skills
- •Use triggers wisely: Choose phrases users naturally say
- •Version your skills: Track changes with semantic versioning
- •Test before saving: Verify the skill works correctly
Skill Discovery
Skills are automatically discovered from:
- •
~/.hlidskjalf/skills/(user skills) - •
./hlidskjalf/skills/(project skills)
The agent reads only the YAML frontmatter initially for token efficiency. Full content is loaded only when a skill is activated.