Agents use skills through Skills Middleware. The middleware makes installed skills discoverable to the model, syncs selected skill files into the runtime sandbox, and provides tools for reading full skill instructions when needed.Documentation Index
Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
Use this file to discover all available pages before exploring further.
Enable Skills During Agent Creation
When creating a blank agent, the setup wizard can show installed workspace skills. To enable skills:- Start from the blank agent wizard.
- Select the target workspace.
- Open the skills step.
- Choose the installed skills the agent should use.
- Finish the wizard.
Configure Skills Middleware
In Agent Studio, Skills Middleware can be configured with:- Default Skills: skills loaded by default when the caller does not send an explicit runtime selection.
- System Prompt: optional custom text prepended before the default skills prompt.
- Auto Skill Discovery: optional repository search and installation during runtime.
SKILL.md and supporting resources.
Runtime Skill Selection
ChatKit can expose runtime skills in the composer. Users can select skills for a conversation or for the next message. At runtime:- selected skill IDs are passed as
selectedSkillIds - disabled skills can be passed as
disabledSkillIds selectedSkillWorkspaceIdcan point to the workspace that owns the selected skills
How the Agent Uses a Skill
Skills follow progressive disclosure.- Skills Middleware adds a concise list of available skills to the system context.
- The agent decides whether the task matches a skill.
- The agent uses
read_skill_fileto read the relevantSKILL.md. - The agent follows the full instructions and uses supporting files when needed.
Auto Skill Discovery
When Auto Skill Discovery is enabled, the agent can search indexed repositories if installed skills are not enough. The runtime can:- search indexed repositories with a query
- install a limited number of relevant skills into the current workspace
- sync those skills into the sandbox
- read their
SKILL.mdfiles before continuing