Skip to main content

AI skills

Instruction sets, in the Agent Skills format, that the assistant loads when a task matches the skill's description — that is all it reads to decide. The list returns the skills the token person can see in the workspace: their own and the ones other members shared with them (is_owner tells them apart; mine=true keeps only their own).

CommandHTTPDescription
ai-skills listGET /v1/ai-skillsList AI skills
ai-skills createPOST /v1/ai-skillsCreate an AI skill
ai-skills getGET /v1/ai-skills/{id}Get an AI skill by id
ai-skills updatePATCH /v1/ai-skills/{id}Update an AI skill
ai-skills deleteDELETE /v1/ai-skills/{id}Delete an AI skill

create needs name, description and instructions (the SKILL.md body, in Markdown); slug is made from name when omitted and is unique among the person's skills (409 slug_taken). files carries text files besides SKILL.md, up to 200,000 characters in total. A skill is born active and private; visibility (restricted with member_ids, or workspace) shares it, and needs the person's ai-skills.share permission. A person has at most 100 skills per workspace. Only the owner changes or deletes it (403, details.reason: not_owner); on update, files and member_ids replace the whole list and active: false hides the skill from the assistant. The scopes are finance/ai_skills.

Examples​

--params carries query and path parameters (id, page, filters); --json carries the request body; --fields limits which fields come back — worth using on every list/get to save context. See Global flags for the full reference.

# List AI skills
kobana finance ai-skills list \
--params '{"mine": true}' \
--fields "id,slug,name,visibility,active,is_owner"

# Get an AI skill by id
kobana finance ai-skills get \
--params '{"id": "AI_SKILL_ID"}'

# Create an AI skill
kobana finance ai-skills create \
--json '{"name": "Month-End Close", "description": "Use when closing the month: checks pending reconciliations and overdue bills.", "instructions": "1. List the unreconciled transactions of the month.\n2. List the overdue payables."}'

# Share it with the workspace
kobana finance ai-skills update \
--params '{"id": "AI_SKILL_ID"}' \
--json '{"visibility": "workspace"}'

# Delete an AI skill
kobana finance ai-skills delete \
--params '{"id": "AI_SKILL_ID"}' \
--dry-run

Next steps​