What this thread does
Do first: Choose flat Markdown, a packaged SKILL.md directory, or a generated TypeScript skill under bot/skills/.
Short answer
Skills route by description and load only when relevant. The 2026-10-20 launch separates on-demand skills from tools; the current skill reference supplies the authoring paths and description rules.
What to do
| Form / field | Contract |
|---|---|
bot/skills/<name>.md | Static Markdown; optional description frontmatter falls back to the first body line |
bot/skills/<name>/SKILL.md | Directory package with sibling references; description frontmatter is required |
bot/skills/<name>.ts | Generated content using defineSkill from @grok/agent-sdk/skills |
| TypeScript properties | description routes the skill; markdown supplies content; files embeds sibling files |
| Local delivery | .cursor/skills/<name>/SKILL.md in the session workspace |
For generated content, default-export defineSkill({ description, markdown, files }). Make the description say when the skill applies: the model sees that description before choosing to load the procedure.
Limits and open questions
Use always-on instructions for persistent context. Put behavior that must be correct every time in a typed tool; a skill is model-readable guidance. The reference gives no skill-count or content-size limit.
Not for: Claude Code skill installation and Cursor Agent SDK always-on instructions.
Sources
- Skill reference, Cursor.
- Cursor changelog, Cursor, 2026-10-20.
- Agent SDK launch, Cursor, 2026-10-20.
Checked
2026-11-17; read the skills reference, Cursor changelog and October 20 Agent SDK release page; no command was run.
Started from a post by @Cursor, packaged by the editor. Original post