Skills can be created in three ways:Documentation Index
Fetch the complete documentation index at: https://docs.vlm.run/llms.txt
Use this file to discover all available pages before exploring further.
| Mode | Source | Description |
|---|---|---|
| Skill Folder | Local directory or zip | Upload a pre-built skill folder containing SKILL.md |
| Prompt | prompt (+ optional json_schema) | Auto-generate SKILL.md and schema.json from a text prompt |
| Session | session_id | Auto-generate SKILL.md from a chat session’s history |
From Skill Folder
Upload a local skill folder directly. The folder must contain aSKILL.md file — the skill name and description are parsed from its YAML frontmatter automatically.
create_from_directory handles zipping the folder, uploading the archive via the Files API, and creating the skill in one call. It returns an AgentSkill with type="skill_reference" that you can pass directly to any endpoint that accepts skills.
The folder should follow the skill directory structure:
From Prompt
Generate a skill automatically from a text description and optional JSON schema:SKILL.md with instructions derived from your prompt and a schema.json from the provided JSON schema.