English | 简体中文
Manage Skill packages. A skill is a ZIP-packaged directory containing a
SKILL.md instruction file plus implementation code. Skills split into two
planes:
- Control plane — upload, list, get, download, delete skills on the platform.
- Data plane — scan local skills, load their instruction, read files, and execute commands inside a skill's directory.
Control plane:
Data plane (local):
Upload a local skill directory to the platform.
ar skill create --name <name> --code-dir <dir> [options]
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--name |
string | yes | Skill name (globally unique). | |
--code-dir |
path | yes | Local directory containing SKILL.md. |
|
--description |
string | no | auto | If omitted, read from YAML frontmatter of SKILL.md. |
--credential |
string | no | Credential name. | |
--from-file |
path | no | JSON file with the full create config. |
ar skill create --name web-scraper --code-dir ./skills/web-scraper
ar skill create --name restricted --code-dir ./skills/restricted --credential my-keyar skill list [--page-number <n>] [--page-size <n>]
| Flag | Type | Required | Description |
|---|---|---|---|
--page-number |
int | no | Page number. |
--page-size |
int | no | Page size. |
ar skill list
ar skill list --page-size 50ar skill get --name <name>
ar skill get --name web-scraperDownload a skill package and unpack it to a local directory.
ar skill download --name <name> [--dir <dir>]
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--name |
string | yes | Skill name. | |
--dir |
path | no | .skills |
Target directory to unpack into. |
ar skill download --name web-scraper
# → unpacks to ./.skills/web-scraper/
ar skill download --name web-scraper --dir ~/my-skillsar skill delete --name <name>
ar skill delete --name web-scraperScan a local skills directory and list each skill's metadata.
ar skill scan [--dir <dir>]
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--dir |
path | no | .skills |
Skills directory to scan. |
ar skill scan
ar skill scan --dir ~/my-skillsPrint the instruction (SKILL.md) and file list of a local skill.
ar skill load --name <name> [--dir <dir>]
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--name |
string | yes | Skill name. | |
--dir |
path | no | .skills |
Local skills directory. |
ar skill load --name web-scraperExits with status 1 and Skill '<name>' not found in <dir> if the skill is
missing.
Read a file (or list a directory) inside a skill's directory, printed as raw content so it can be piped to other tools.
ar skill read-file --name <name> --path <relpath> [--dir <dir>]
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--name |
string | yes | Skill name. | |
--path |
string | yes | Relative path inside the skill directory. | |
--dir |
path | no | .skills |
Local skills directory. |
ar skill read-file --name web-scraper --path scraper.py
ar skill read-file --name web-scraper --path assets/ # lists directory contentsExecute a shell command in a skill's directory (uses the skill dir as cwd).
ar skill exec --name <name> --command <cmd> [--dir <dir>] [--timeout <sec>]
| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--name |
string | yes | Skill name. | |
--command |
string | yes | Shell command to run. | |
--dir |
path | no | .skills |
Local skills directory. |
--timeout |
int | no | 300 |
Timeout in seconds. |
ar skill exec --name web-scraper --command "python scraper.py --url https://example.com"
ar skill exec --name my-skill --command "pytest tests/" --timeout 600