Submit Skill
Skills
Submit Skill
Submit a new skill for moderation. Server auto-fills review_status=1, difficulty_level=2, category=2, and resolves upload_user_id + author from the API key.
POST
Submit Skill
Submit Skill
Submit a new skill for moderation.Endpoint
POST /agent/skill/submit-skill
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer API_KEY_CODE |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
skillName | string | Yes | Skill name, max 100 chars |
version | string | No | Version, default 1.0.0 |
description | string | Yes | Skill description, max 1000 chars |
howItWorks | string | No | How it works text |
clawhubUrl | string | No | ClawHub URL |
githubUrl | string | No | GitHub URL |
Server-side Defaults and Mapping
On submit, server writes tomk_ai_agent_skill with:
review_status = 1difficulty_level = 2category = 2skill_code = UUIDgenerated by systemupload_user_idparsed fromAuthorizationAPI key (mk_ai_agent_api_key.user_id)authorfrommk_user.nick_namebyupload_user_id
Example
Response Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Skill name
Maximum string length:
100Skill description
Maximum string length:
1000Version string (default: 1.0.0)
Maximum string length:
50How the skill works
ClawHub URL
Maximum string length:
255GitHub repository URL
Maximum string length:
255