Agent Skills are directories containing a SKILL.md file with YAML front matter. M31A discovers them, presents their names and descriptions to the model, and loads the full instructions on demand through the activate_skill tool.
Skill file format
---
name: code-review
description: Review a diff for correctness, security, and style, then summarize findings.
---
# Code review
1. Inspect the diff with read-only tools.
2. Check error handling and boundary conditions.
3. Report findings ordered by severity.skillLoader.ts parses name and description from the front matter. skillManager.ts handles discovery, enablement, and administrative gating.
Discovery precedence
Skills are discovered from three sources, in order:
- Extensions — skills bundled with installed extensions,
- User — skills in your per-user M31A directory,
- Workspace — skills in the current project.
Later scopes can override earlier ones by name.
CLI management
m31a skills list [--all]
m31a skills enable <name>
m31a skills disable <name> [--scope]
m31a skills install <source> [--scope] [--path]
m31a skills link <path>
m31a skills uninstall <name> [--scope]In the TUI, use /skills list|link|disable|enable|reload. The command is gated by the skills feature setting.
Settings
{
"skills": {"enabled": true, "disabled": []},
"admin": {"skills": {}}
}skills.enabled is true by default. skills.disabled lists skill names that should not load. Admin settings can restrict which skills are permitted.
Built-in skills
The core package ships built-in skills under packages/core/src/skills/builtin/, including skill-creator and antigravity-support. Example skills are also bundled under bundle/examples/skills/.
Best practices
- Keep the
descriptionprecise — it is what the model uses to decide when to activate the skill. - Put the full procedure in the Markdown body, not in front matter.
- Treat skill content as trusted project code; review it before enabling.
Next steps
See Extensions for distributing skills with other assets.