SKILL.md it finds and injects the contents into its system prompt. From that point on, it knows when and how to run those tools on your behalf.
You can write a skill for anything: a CLI tool, a REST API you call with curl, a local script, or any workflow you want Max to follow.
When to create a custom skill
Create a skill when:- You have a CLI tool you want Max to invoke correctly.
- You use a service with a non-obvious interface (specific flags, auth patterns, output formats).
- You want Max to follow a specific workflow rather than improvise.
- You want Max to automatically handle a recurring task without re-explaining it every time.
How to create a skill
Choose a slug
Pick a lowercase, hyphenated name for your skill. This becomes the directory name under
~/.max/skills/.Good examples: my-api, deploy-tool, linear-issues, home-automation.The slug must not contain path separators or special characters.Ask Max to write the skill (recommended)
The easiest way to create a skill is to ask Max to do it. Describe the tool and Max will research it, write the Max creates the skill in
SKILL.md, and install it:~/.max/skills/{slug}/ and it becomes available on your next message.Or create the SKILL.md manually
Create the skill directory and file yourself:Then write
~/.max/skills/my-tool/SKILL.md with the content described in the SKILL.md format section below.SKILL.md format
Every skill is a directory containing aSKILL.md file with YAML frontmatter:
SKILL.md
What to include
| Section | Purpose |
|---|---|
Frontmatter (name, description) | Shown in skill listings and injected into the system prompt header |
| When to use | Tells Max when to activate this skill — be specific about trigger phrases and task types |
| Prerequisites | Installation and auth steps Max should check or guide the user through |
| Commands | Exact command syntax with flags, including examples with realistic values |
| Error handling | How Max should recover from common failures |
Finding community skills
The skills.sh ecosystem has pre-written skills for many popular tools. Ask Max to search for one:Managing skills
List installed skills
- TUI
- Telegram
- HTTP API
Remove a skill
- Ask Max
- HTTP API
- Manually
Skill directories
Max loads skills from three locations, in this order:| Directory | Source | Notes |
|---|---|---|
<max-package>/skills/ | Bundled | Ships with Max. Includes gogcli and find-skills. Read-only. |
~/.max/skills/ | User-installed | Created by max setup, learn_skill, or manually. |
~/.agents/skills/ | Global shared | Shared across multiple agents on the same machine. |
Skills in
~/.agents/skills/ are available to any agent that follows the same skill directory convention — not just Max.