Upload user skill
curl --request POST \
--url https://api.runaether.dev/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"files": [
{
"content": "<string>",
"path": "<string>",
"mode": 1
}
],
"slug": "<string>",
"overwrite": true
}
'import requests
url = "https://api.runaether.dev/skills"
payload = {
"files": [
{
"content": "<string>",
"path": "<string>",
"mode": 1
}
],
"slug": "<string>",
"overwrite": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
files: [{content: '<string>', path: '<string>', mode: 1}],
slug: '<string>',
overwrite: true
})
};
fetch('https://api.runaether.dev/skills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runaether.dev/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'files' => [
[
'content' => '<string>',
'path' => '<string>',
'mode' => 1
]
],
'slug' => '<string>',
'overwrite' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.runaether.dev/skills"
payload := strings.NewReader("{\n \"files\": [\n {\n \"content\": \"<string>\",\n \"path\": \"<string>\",\n \"mode\": 1\n }\n ],\n \"slug\": \"<string>\",\n \"overwrite\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runaether.dev/skills")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"files\": [\n {\n \"content\": \"<string>\",\n \"path\": \"<string>\",\n \"mode\": 1\n }\n ],\n \"slug\": \"<string>\",\n \"overwrite\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"files\": [\n {\n \"content\": \"<string>\",\n \"path\": \"<string>\",\n \"mode\": 1\n }\n ],\n \"slug\": \"<string>\",\n \"overwrite\": true\n}"
response = http.request(request)
puts response.read_body{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Skills
Upload user skill
Saves a skill bundle to the caller's library under its slug, answering 204; with overwrite it replaces a skill the caller already saved.
Use this tool when you need to:
- Add a skill every workspace of the caller's tasks receives, in every organization
- Replace a skill the caller already saved with a new version
- Shadow a default skill in the caller's own workspaces with their own skill of its slug
Examples:
- POST /skills {"slug": "release-notes", "files": [{"path": "SKILL.md", "content": "---\nname: release-notes\ndescription: Draft release notes from the pull requests merged since the last tag\n---\n1. List the pull requests merged since the last tag.\n2. Group them by area.\n"}]}
Hints:
- slug is required: 1 to 64 lowercase letters, digits and dashes, starting and ending with a letter or digit. files is required, at least one, each with path (relative, required), content (the file's text, required) and an optional mode (its permission bits as a decimal integer, 420 for 0644 when omitted). overwrite is optional, false by default.
- The bundle needs a SKILL.md at its root whose YAML frontmatter declares name, equal to the slug, and description, which the library lists.
- Without overwrite a slug the caller already saved is refused with 409, without a domain code; send overwrite true to replace it. Workspaces of the caller's tasks receive the saved skill from their next provision.
- Use listUserSkillFiles instead to read a saved skill's files first, and deleteUserSkill to remove one.
- Owners, admins and members of the caller's selected organization, for their own library (a session selects the caller's personal organization, a platform API key the one it is pinned to); a viewer or billing member there is refused with 403 org_role_insufficient, and an agent host's grant with 403 agent_host_route_not_allowed.
- Refused with 409 skill_slug_reserved for a slug a platform skill holds (aether-workflow, aether-mobile-testing and the five limrun- mobile-testing skills), whatever overwrite says.
- Refused with 400 for a bundle without a valid SKILL.md (missing, no frontmatter, no name or description, or a name that is not the slug) and for an absolute path, a path with a .. segment, a duplicate path, over 1000 files, a file over 5 MiB, files over 50 MiB together or a bundle whose gzipped tar is over 3,932,132 bytes, the message naming the first problem; 413 for a body of 64 MiB or more, 408 for one not received within 55 seconds; and 422 when the schema refuses the body (a slug outside the pattern, no files, an empty path, a file without content).
- The 5 MiB and 50 MiB limits count the files' decoded content; the 64 MiB cap counts the JSON body as sent. Content JSON escapes counts more than once against the cap (a tab, quote or backslash two bytes, another control character six, and <, > or & six from encoders that escape them), so a package within the limits whose files are heavy in such characters is refused with 413.
POST
/
skills
Upload user skill
curl --request POST \
--url https://api.runaether.dev/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"files": [
{
"content": "<string>",
"path": "<string>",
"mode": 1
}
],
"slug": "<string>",
"overwrite": true
}
'import requests
url = "https://api.runaether.dev/skills"
payload = {
"files": [
{
"content": "<string>",
"path": "<string>",
"mode": 1
}
],
"slug": "<string>",
"overwrite": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
files: [{content: '<string>', path: '<string>', mode: 1}],
slug: '<string>',
overwrite: true
})
};
fetch('https://api.runaether.dev/skills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.runaether.dev/skills",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'files' => [
[
'content' => '<string>',
'path' => '<string>',
'mode' => 1
]
],
'slug' => '<string>',
'overwrite' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.runaether.dev/skills"
payload := strings.NewReader("{\n \"files\": [\n {\n \"content\": \"<string>\",\n \"path\": \"<string>\",\n \"mode\": 1\n }\n ],\n \"slug\": \"<string>\",\n \"overwrite\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.runaether.dev/skills")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"files\": [\n {\n \"content\": \"<string>\",\n \"path\": \"<string>\",\n \"mode\": 1\n }\n ],\n \"slug\": \"<string>\",\n \"overwrite\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.runaether.dev/skills")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"files\": [\n {\n \"content\": \"<string>\",\n \"path\": \"<string>\",\n \"mode\": 1\n }\n ],\n \"slug\": \"<string>\",\n \"overwrite\": true\n}"
response = http.request(request)
puts response.read_body{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "org_membership_required",
"error": "<string>"
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}{
"code": "account_deleting",
"error": "<string>",
"errors": [
{
"location": "<string>",
"message": "<string>",
"value": "<unknown>"
}
]
}Authorizations
Body
application/json
Response
No Content