Skills
Skills are reusable packages of instructions, tools, and prompts that give your AI assistant new capabilities. aix allows you to define a skill once and use it everywhere.
What is a Skill?
A skill is defined by a SKILL.md file that follows the Agent Skills Specification. It typically contains:
- Metadata: Name, version, description.
- Tools: Which MCP tools or shell commands the skill needs.
- Instructions: The prompt that teaches the AI how to use the skill.
- Triggers: Slash commands (e.g.,
/git) that activate the skill.
Creating a Skill
Use aix skill init to scaffold a new skill.
aix skill init my-featureThis creates a directory my-feature/ with a starter SKILL.md:
---
name: my-feature
description: Description of what this skill does
version: 1.0.0
tools:
- Bash
triggers:
- /feature
---
# My Feature Skill
You are an expert at...Installing Skills
Once you have a skill defined (or downloaded), install it to your active platforms.
From a Repository
The recommended way to install skills is through a registered repository. Once you have added a repository, you can install skills by name.
# Search and install a skill from your configured repos
aix skill install git-workflowFrom Local Files
You can also install skills directly from a local directory or file.
# Install from a local directory
aix skill install ./my-featureFrom a Remote URL
aix also supports installing skills directly from a raw SKILL.md URL.
# Install from a remote URL
aix skill install https://example.com/skills/git-workflow.mdTargeting Platforms
By default, aix installs the skill to all configured platforms. You can restrict this with flags:
# Install only to OpenCode
aix skill install ./my-feature --platform opencodeHow does this work?
aixreads your skill definition and translates it into the native configuration format for each platform. See the Platform Configuration guide for details on which files are modified.
Managing Skills
Listing Skills
See what skills are installed and which platforms they are active on.
aix skill listRemoving Skills
To remove a skill from all platforms:
aix skill remove my-featureBest Practices
- Keep it Focused: A skill should do one thing well (e.g., “Git Workflow” or “Database Migration”).
- Define Tools: Explicitly list required tools in the
toolsfrontmatter section soaixcan validate permissions. - Use Triggers: Define clear slash commands (e.g.,
/test,/deploy) to make the skill easy to invoke.