Workspace instructions
Every turn, the loop readsAGENT.md from the user’s workspace root and appends
it to the system prompt, fenced as user preferences that stay subordinate to your
.system() prompt.
AGENT.md
Skills
A skill is a folder of instructions the model pulls in when it decides the task calls for it. Only the name and description sit in the system prompt, which costs a line or two. The body enters context when the model calls theskill tool.
SKILL.md
name is lowercase with hyphens and falls back to
the folder name. description is what the model matches against, so write it as
“what this does, and when to use it” in at most 1KB. The body can be up to 48KB.
Shipping skills with the agent
/skills/<name>/ inside the bash
sandbox, so scripts find their own templates by absolute path. They version with
your deploys.
Skills users create
Anyskills/<name>/SKILL.md in a user’s workspace joins the catalog
automatically, rescanned about every thirty seconds. A user skill wins a name
collision with a shipped one, so someone can override your default without a
redeploy.
Which to use
Next
Files and the canvas
The workspace file tree, and how the canvas renders it.