Overview
The Skills API provides endpoints for publishing, discovering, and downloading AI agent skills.Publish Skill
Endpoint:POST /api/v1/skills
Publish a new skill or skill version. This is a two-phase process:
- POST /skills - Create version record and get upload URL
- Upload tarball to signed URL
- POST /skills/confirm - Trigger security scan and finalize
Requires
skills:publish scope.Request
Skill manifest matching skills.json schema
README.md content (markdown)
List of file paths in tarball (for UI display)
Response
Signed URL for uploading the tarball (valid for 1 hour)
UUID of the skill record
UUID of the version record
Error Responses
409 Conflict - Version already exists:Confirm Upload
Endpoint:POST /api/v1/skills/confirm
Finalize the publish after uploading the tarball. Triggers security scan.
Request
Version ID from publish response
SHA-512 hash of the tarball (format:
sha512-base64hash)Number of files in the tarball
Size in bytes
README.md content (if not provided in initial publish)
Response
Always
true on successful confirmationSkill name
Version number
Audit score (0-10) based on security scan
Security scan verdict:
pass, pass_with_notes, flagged, or failGet Skill Metadata
Endpoint:GET /api/v1/skills/{name}
Retrieve metadata for a skill.
Path Parameters
Skill name (URL-encoded for scoped packages)
Response
Skill name
Description from manifest
public or privateLatest published version
Publisher information
ISO 8601 timestamp
ISO 8601 timestamp
List Versions
Endpoint:GET /api/v1/skills/{name}/versions
List all published versions of a skill.
Response
Skill name
Array of version objects (sorted by publish date, newest first)
Get Version Details
Endpoint:GET /api/v1/skills/{name}/{version}
Get detailed information about a specific version, including download URL.
Response
Skill name
Version number
Description from manifest
SHA-512 hash for verification
Declared permissions
Audit score (0-10)
Scan status
Signed URL for downloading tarball (valid for 1 hour)
ISO 8601 timestamp
Download count (last 7 days)
Security scan verdict (if available)
Security findings from scan
Download Workflow
- GET
/api/v1/skills/{name}/{version}to getdownloadUrlandintegrity - Download tarball from
downloadUrl - Verify SHA-512 hash matches
integrity - Extract tarball to local directory
tank install):
Next Steps
Search API
Discover skills with search
Security Scanning
Learn about security analysis