Package and Save Skill
curl --request POST \
--url https://api.zerodrive.dev/v1/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"instructions": "<string>",
"files": [
{
"relative_path": "<string>",
"content": "<string>",
"content_base64": "<string>",
"source_url": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
instructions: '<string>',
files: [
{
relative_path: '<string>',
content: '<string>',
content_base64: '<string>',
source_url: '<string>'
}
]
})
};
fetch('https://api.zerodrive.dev/v1/skills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/skills"
payload = {
"name": "<string>",
"description": "<string>",
"instructions": "<string>",
"files": [
{
"relative_path": "<string>",
"content": "<string>",
"content_base64": "<string>",
"source_url": "<string>"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Package and Save Skill
Package a reusable Agent Skill into _SKILLS/<verb-noun-name>/SKILL.md enforcing naming rules and buzzword filters.
POST
https://api.zerodrive.dev
/
v1
/
skills
Package and Save Skill
curl --request POST \
--url https://api.zerodrive.dev/v1/skills \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"instructions": "<string>",
"files": [
{
"relative_path": "<string>",
"content": "<string>",
"content_base64": "<string>",
"source_url": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
instructions: '<string>',
files: [
{
relative_path: '<string>',
content: '<string>',
content_base64: '<string>',
source_url: '<string>'
}
]
})
};
fetch('https://api.zerodrive.dev/v1/skills', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/skills"
payload = {
"name": "<string>",
"description": "<string>",
"instructions": "<string>",
"files": [
{
"relative_path": "<string>",
"content": "<string>",
"content_base64": "<string>",
"source_url": "<string>"
}
]
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
Body
application/json
Response
201
Skill saved

