SKILL.md declares what data it may read, what rules must run, what records it can produce, when a person must approve work, and which controlled actions are available.
What is in a skill
Every supported skill usesapi_version: mandala.ai/v1 and kind: agent_workflow. The main sections are:
See
skills/procurement-reorder/SKILL.md and skills/sales-spike-investigator/SKILL.md in the repository for complete examples.
Compilation is a safety gate
Mandala resolves every declared capability against the selected workspace. Validation fails when a required capability is missing, not granted, unhealthy, incompatible with the current connector schema, or not approved for model processing. A successful compilation produces an immutable manifest containing:- exact connector and capability versions;
- allowed tools and model-visible fields;
- a deterministic runtime graph;
- rules, record projections, approvals, and actions; and
- source and manifest digests for later explanation.
Agent lifecycle
Agents move through deliberate states:
Each installed version is retained. Rollback restores an earlier version through the same validation and readiness boundaries.
Manage agents in the terminal
Start with the guided manager:/agent-* commands in the interactive client. A manual run against real cataloged workspace data uses: