skills
Skill models for the Open WebUI Skills workspace.
Skills are prompt-style content blocks that get injected into the chat context
as system messages when referenced via <$skillId|label> mention syntax.
Unlike Tools, Skills are plain text/markdown (not Python code).
Classes
SkillMeta
SkillModel
Bases: BaseModel
Full skill model as stored in the database.
Represents a skill with all its fields including content and access grants.
- Code Reference routers skills Classes SkillsClient Functions
- Code Reference models skills Classes SkillUserModel
Attributes
content
The text/markdown content of the skill. When a skill is invoked in chat,
this content is wrapped in <skill name="..."> tags and injected as a
system message.
is_active
Whether the skill is active and available for use. Inactive skills are hidden from selectors.
access_grants
access_grants: list[AccessGrantModel] = Field(
default_factory=list
)
List of access grants controlling who can read/write this skill.
SkillUserModel
SkillResponse
Bases: BaseModel
Response model for skill operations, excluding the heavy content field.
- Code Reference routers skills Classes SkillsClient Functions create_new_skill
- Code Reference models skills Classes SkillUserResponse
Attributes
access_grants
access_grants: list[AccessGrantModel] = Field(
default_factory=list
)
List of access grants controlling who can read/write this skill.
SkillUserResponse
Bases: SkillResponse
Skill response including user details.
-
Code Reference
- models skills Classes SkillListResponse Attributes items
- routers skills Classes SkillsClient Functions get_skills
- Code Reference models skills Classes SkillAccessResponse
Attributes
SkillAccessResponse
Bases: SkillUserResponse
Skill response with write access indicator.
Used by list endpoints to communicate whether the requesting user has write permission on each skill.
- Code Reference
SkillForm
Bases: BaseModel
Form for creating or updating a skill.
- Code Reference routers skills Classes SkillsClient Functions
Attributes
access_grants
List of access grants for the skill.
Dict Fields
id(str, optional): Unique identifier for the grantprincipal_type(str, required): 'user' or 'group'principal_id(str, required): User/group ID, or '*' for public accesspermission(str, required): 'read' or 'write'
SkillListResponse
Bases: BaseModel
Paginated list of skills with user details.
Attributes
SkillAccessListResponse
Bases: BaseModel
Paginated list of skills with access information.
- Code Reference routers skills Classes SkillsClient Functions get_skill_list
Attributes
SkillAccessGrantsForm
Bases: BaseModel
Form for updating skill access grants.
- Code Reference routers skills Classes SkillsClient Functions update_skill_access_by_id
Attributes
access_grants
List of access grants for the skill.
Dict Fields
id(str, optional): Unique identifier for the grantprincipal_type(str, required): 'user' or 'group'principal_id(str, required): User/group ID, or '*' for public accesspermission(str, required): 'read' or 'write'