Docs sectionsCreate with AI
Docs › Extending agents

Create skills, hooks, subagents and rules with AI

Describe it in plain words and Assistant drafts the complete thing. Nothing is written until you click Save.

/create-skillsCreates a new skill.
/create-hooksCreates a new hook.
/create-rulesCreates a new rule.
Create with AIA button on the Skills, Hooks, Subagents and Rules pages; it covers subagents too.

The creation flow

  1. Type the command in Assistant, or click Create with AI on the Skills, Hooks, Subagents or Rules page.
  2. Describe what you need, for example: "Create a skill that standardizes how our team's API catches and returns errors, with an error code table and a quick check script."
  3. Assistant returns a preview card: the files it will create, their content and risk labels.
  4. Choose a scope (Personal by default) and click Save, or Discard to write nothing.

Editing an existing skill follows the same flow. If a newer version was just saved on another machine, the card tells you to reload before saving so you don't overwrite it. Hooks created with AI still go through the same script approval as hand-made hooks.