Usage
These skills are only loaded when a prompt includes one of the trigger words.Frontmatter Syntax
Frontmatter is required for keyword-triggered skills. It must be placed at the top of the file, above the guidelines. Enclose the frontmatter in triple dashes (---) and include the following fields:| Field | Description | Required | Default |
|---|---|---|---|
triggers | A list of keywords that activate the skill. | Yes | None |
Example
Keyword-triggered skill file example located at.openhands/skills/yummy.md:
Troubleshooting
If your keyword-triggered skill isn’t activating:1. Check File Location
- CLI: Place skills in
~/.openhands/skills/(user-level) or.openhands/skills/(repository-level) - GUI: Place skills in
.openhands/skills/in your repository root - Ensure the file has a
.mdextension (e.g.,my-skill.md, notmy-skill.txt) - Common mistake: Using folder name
microagentsinstead ofskills
2. Verify Frontmatter Format
The frontmatter must be properly formatted with triple dashes (---), a triggers: field, and each trigger on its own line with a dash and space (- ).
Correct:
- Using list format instead of separate lines:
triggers: [/myskill, myskill] - Missing triple dashes at top or bottom
- Missing space after dash:
-/myskill - Missing colon after
triggers
3. Check Skills Are Enabled and Test Triggers
- Verify
AGENT_ENABLE_PROMPT_EXTENSIONS=true(default) - Trigger keywords are case-sensitive - include both variations if needed:
- myskilland- MySkill - Slash prefixes (like
/myskill) are treated as literal strings, not commands - Test with a simple skill to verify the system is working:

