/skills/Summary: List Skills
Description: List all skills accessible to the user (via File System).
| Name | In | Required | Type | Description |
|---|---|---|---|---|
feature |
query | No | anyOf | Filter skills by feature (e.g., 'swarm_control', 'voice_chat') |
x-user-id |
header | No | anyOf |
| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'GET' \ 'http://localhost:8000/api/v1/skills/?feature=<feature>' \ -H 'accept: application/json' \ -H 'X-User-ID: <your_user_id>'
/skills/Summary: Create Skill
Description: Create a new skill folder on the physical filesystem.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
x-user-id |
header | No | anyOf |
Required: Yes
application/jsonSkillCreate (Define in Models)| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'POST' \
'http://localhost:8000/api/v1/skills/' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>' \
-H 'Content-Type: application/json' \
-d '{}'
/skills/{skill_id}Summary: Update Skill
Description: Update top level metadata of an FS skill (emoji and system flag).
| Name | In | Required | Type | Description |
|---|---|---|---|---|
skill_id |
path | Yes | string | |
x-user-id |
header | No | anyOf |
Required: Yes
application/jsonSkillUpdate (Define in Models)| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'PUT' \
'http://localhost:8000/api/v1/skills/{skill_id}' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>' \
-H 'Content-Type: application/json' \
-d '{}'
/skills/{skill_id}Summary: Delete Skill
Description: Delete a skill permanently via shutil.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
skill_id |
path | Yes | string | |
x-user-id |
header | No | anyOf |
| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'DELETE' \
'http://localhost:8000/api/v1/skills/{skill_id}' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>'
/skills/{skill_id}/filesSummary: List Skill Files
Description: Get file tree for a skill.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
skill_id |
path | Yes | string | |
x-user-id |
header | No | anyOf |
| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'GET' \
'http://localhost:8000/api/v1/skills/{skill_id}/files' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>'
/skills/{skill_id}/files/{path}Summary: Read Skill File
Description: Read a specific skill file.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
skill_id |
path | Yes | string | |
path |
path | Yes | string | |
x-user-id |
header | No | anyOf |
| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'GET' \
'http://localhost:8000/api/v1/skills/{skill_id}/files/{path}' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>'
/skills/{skill_id}/files/{path}Summary: Create Or Update Skill File
Description: Create or update a skill file.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
skill_id |
path | Yes | string | |
path |
path | Yes | string | |
x-user-id |
header | No | anyOf |
Required: Yes
application/jsonSkillFileUpdate (Define in Models)| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'POST' \
'http://localhost:8000/api/v1/skills/{skill_id}/files/{path}' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>' \
-H 'Content-Type: application/json' \
-d '{}'
/skills/{skill_id}/files/{path}Summary: Delete Skill File
Description: Delete a skill file literally from disk.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
skill_id |
path | Yes | string | |
path |
path | Yes | string | |
x-user-id |
header | No | anyOf |
| Status Code | Description |
|---|---|
200 |
Successful Response |
422 |
Validation Error |
curl -X 'DELETE' \
'http://localhost:8000/api/v1/skills/{skill_id}/files/{path}' \
-H 'accept: application/json' \
-H 'X-User-ID: <your_user_id>'