User skills and slash recipes
Skills are markdown recipes your app (or end users) can apply during a chat.
App-declared skills (YAML)
dev:
skills:
- command: /commit
description: "Stage + commit + push the current diff"
path: skills/commit.md
Put the body in skills/commit.md next to app.yaml. Users
invoke /commit from the composer; the agent also has
use_skill when that meta-tool is available.
See Skills and Bundle namespaces.
Let users create their own skills
Opt in from YAML:
dev:
allow_user_skills: true
skills:
- command: /commit
description: "Stage + commit + push the current diff"
path: skills/commit.md
When allow_user_skills is true, the Digitorn UI can show a
"+ New skill" affordance. User skills are per user and app; a
user skill with the same name shadows the app-declared one.
When false (default), only skills declared in the YAML bundle are available.
How /use_skill behaves
- The user picks a skill (or types
/use_skill name …). - For that turn, Digitorn injects the skill body as a system directive the agent must follow.
- Later turns do not keep that directive unless the user invokes the skill again.