Docs > Agents
Skills
# Skills A skill is a reusable operating bundle that teaches Dex **how to perform a recurring class of work**—such as writing a customer renewal brief, auditing CRM stages, formatting release notes, or running a validation script. Skills provide instructions and supporting materials, **not** tool permissions or OAuth credentials. Put standing agent identity and write-approval policies in `AGENT.md`, stable background facts in [knowledge](/agents/knowledge/), and step-by-step repeatable procedures in skills. ## Progressive disclosure Dex loads skills in three stages so large skill libraries do not bloat agent context windows: 1. **Metadata (always loaded)** — Every available skill's `name` and `description` appears in the agent's skill listing (and in the `/` slash menu when user-invocable). 2. **`SKILL.md` body (loaded on demand)** — When a user types `/<skill-name>` or the agent invokes the `Skill` tool, Dex injects the Markdown instructions and expands any `$ARGUMENTS` placeholder. 3. **Supporting files (loaded only if needed)** — Any sibling `scripts/`, `references/`, templates, or assets in the skill directory are listed as paths on invocation so the agent reads or executes only the files required for the current run. ## Skill scopes and precedence A skill can live at four levels. When two skills share the same `name`, the higher-precedence scope wins for that run: | Precedence | Scope | Factory path | Who sees it | | --- | --- | --- | --- | | 1 (highest) | **Agent-scoped skill** | `workspace/agents/<id>/skills/<slug>/SKILL.md` or `users/<you>/agents/<slug>/skills/<slug>/SKILL.md` | Only runs of that specific agent | | 2 | **Personal skill** | `users/<you>/skills/<slug>/SKILL.md` | Only you across your chats and personal agents | | 3 | **Workspace shared skill (linked)** | Canonical definition in `workspace/skills/<res-id>/SKILL.md`, enabled via `users/<you>/shared-skills/<res-id>/SKILL.md` | Any teammate with `read` access who links/enables it | | 4 | **Built-in system skills** | Bundled with Dex (for example, `factory`, `shared-agents`, `context_system`, `automations`, `skill_creator`, `workflow-authoring`) | Automatically available (some gated on having the matching integration connected) | Because shared skills use links (`mode: linked`) rather than copies, updating `workspace/skills/<res-id>/SKILL.md` immediately updates every linked teammate without manual syncing. ## `SKILL.md` file format Every Factory skill folder contains a `SKILL.md` file with YAML frontmatter and a non-empty Markdown body, plus optional supporting files: ```text skills/quarterly-business-review/ SKILL.md references/ slide-rubric.md scripts/ format-metrics.py ``` ```markdown title="skills/quarterly-business-review/SKILL.md" --- schemaVersion: 1 name: quarterly-business-review description: >- Use when preparing a QBR deck outline or executive account summary from customer emails, Slack threads, and CRM records. compatibility: Requires Gmail or Slack read access and optional Attio CRM context. metadata: author: revenue-ops argument-hint: "<company name> [quarter]" --- Prepare a Quarterly Business Review brief for $ARGUMENTS. ## Steps 1. Query the company and linked contacts in the knowledge graph (`dex zeta`) and review timeline observations from the last 90 days. 2. Check open opportunities and renewal dates; cite the source thread or email for every risk or commitment. 3. Format the brief using the section weights in `references/slide-rubric.md`. 4. Flag missing metrics explicitly instead of estimating them. ``` ### Frontmatter reference | Field | Required | Notes | | --- | --- | --- | | `schemaVersion` | Yes | Use `1` when authoring; the server normalizes published skills to `2` and assigns `resourceId` | | `name` | Yes | Lowercase kebab-case slug (`^[a-z0-9]+(?:-[a-z0-9]+)*$`, max 64 chars); must match the personal or agent-scoped folder name | | `description` | Yes | 1–2,000 characters explaining **when** Dex should trigger this skill | | `compatibility` | No | Plain-text note on required integrations or environment assumptions (informational—does not grant access) | | `disable-model-invocation` | No | Set `true` to hide the skill from automatic model selection while keeping `/name` manual invocation available | | `user-invocable` | No | Set `false` to hide the skill from the `/` slash menu while allowing the agent to invoke it automatically | | `metadata` | No | Optional key-value metadata (`author`, `version`, `argument-hint`, `category`) | Omit `resourceId` and `source` when creating a new skill; preserve them unchanged when editing an existing published skill. ## Writing a strong `description` Agents decide whether to invoke a skill from its `name` and `description` alone. Write descriptions that state: - **Trigger phrases or situations** — *"Use when drafting a customer escalation update or summarizing an incident thread..."* - **Expected inputs and output** — *"...turns Slack and Linear context into a 3-section status note."* - **Scope boundaries** — Distinguish similar skills clearly so the model picks the right one without ambiguity. ## Authoring, sharing, and Marketplace You can create and manage skills in three ways: - **Through chat** — Ask Dex to capture a working process as a skill; Dex authors `SKILL.md` in Factory, shows a preview, and commits after you confirm. - **Through `dex factory` or the Workspace files editor** — Edit `SKILL.md` and supporting files directly, validate with `dex factory preview`, and publish with `dex factory push`. - **Through Playbooks & Marketplace (`/nexus/playbooks`, `/nexus/marketplace`)** — Browse private and workspace skills, publish a workspace skill, or install prebuilt templates and organization packs. To share a workspace skill with teammates via CLI: ```bash dex factory share factories/*/workspace/skills/<res-id> workspace --role read ``` Teammates with `read` access can adopt the skill from `/nexus/playbooks` or `/nexus/templates/skill/<id>`, creating a live link under `users/<them>/shared-skills/<res-id>/SKILL.md`. ## Attribution and quality tracking Every `Skill` tool invocation records structured telemetry (artifact hash, Factory commit SHA or system fingerprint, and source reference) so you can trace which skill version ran during a conversation or automation run. ## Related pages - [Working with agents](/agents/working-with-agents/) - Scope a skill to a single agent - [Knowledge and memory](/agents/knowledge/) - Keep static facts in knowledge files instead of skills - [Factory definition as code](/factory/workspace-structure/) - Full `SKILL.md` and skill-link file layout - [Permissions, spaces, and sharing](/factory/sharing-and-installation/) - Share workspace skills with people, Spaces, or everyonePackage reusable operating procedures, scripts, and references as SKILL.md bundles that load progressively across personal, workspace, and agent scopes.
A skill is a reusable operating bundle that teaches Dex how to perform a recurring class of work—such as writing a customer renewal brief, auditing CRM stages, formatting release notes, or running a validation script.
Skills provide instructions and supporting materials, not tool permissions or OAuth credentials. Put standing agent identity and write-approval policies in AGENT.md, stable background facts in knowledge, and step-by-step repeatable procedures in skills.
Progressive disclosure
Section titled “Progressive disclosure”Dex loads skills in three stages so large skill libraries do not bloat agent context windows:
- Metadata (always loaded) — Every available skill’s
nameanddescriptionappears in the agent’s skill listing (and in the/slash menu when user-invocable). SKILL.mdbody (loaded on demand) — When a user types/<skill-name>or the agent invokes theSkilltool, Dex injects the Markdown instructions and expands any$ARGUMENTSplaceholder.- Supporting files (loaded only if needed) — Any sibling
scripts/,references/, templates, or assets in the skill directory are listed as paths on invocation so the agent reads or executes only the files required for the current run.
Skill scopes and precedence
Section titled “Skill scopes and precedence”A skill can live at four levels. When two skills share the same name, the higher-precedence scope wins for that run:
| Precedence | Scope | Factory path | Who sees it |
|---|---|---|---|
| 1 (highest) | Agent-scoped skill | workspace/agents/<id>/skills/<slug>/SKILL.md or users/<you>/agents/<slug>/skills/<slug>/SKILL.md | Only runs of that specific agent |
| 2 | Personal skill | users/<you>/skills/<slug>/SKILL.md | Only you across your chats and personal agents |
| 3 | Workspace shared skill (linked) | Canonical definition in workspace/skills/<res-id>/SKILL.md, enabled via users/<you>/shared-skills/<res-id>/SKILL.md | Any teammate with read access who links/enables it |
| 4 | Built-in system skills | Bundled with Dex (for example, factory, shared-agents, context_system, automations, skill_creator, workflow-authoring) | Automatically available (some gated on having the matching integration connected) |
Because shared skills use links (mode: linked) rather than copies, updating workspace/skills/<res-id>/SKILL.md immediately updates every linked teammate without manual syncing.
SKILL.md file format
Section titled “SKILL.md file format”Every Factory skill folder contains a SKILL.md file with YAML frontmatter and a non-empty Markdown body, plus optional supporting files:
skills/quarterly-business-review/ SKILL.md references/ slide-rubric.md scripts/ format-metrics.py---schemaVersion: 1name: quarterly-business-reviewdescription: >- Use when preparing a QBR deck outline or executive account summary from customer emails, Slack threads, and CRM records.compatibility: Requires Gmail or Slack read access and optional Attio CRM context.metadata: author: revenue-ops argument-hint: "<company name> [quarter]"---
Prepare a Quarterly Business Review brief for $ARGUMENTS.
## Steps
1. Query the company and linked contacts in the knowledge graph (`dex zeta`) and review timeline observations from the last 90 days.2. Check open opportunities and renewal dates; cite the source thread or email for every risk or commitment.3. Format the brief using the section weights in `references/slide-rubric.md`.4. Flag missing metrics explicitly instead of estimating them.Frontmatter reference
Section titled “Frontmatter reference”| Field | Required | Notes |
|---|---|---|
schemaVersion | Yes | Use 1 when authoring; the server normalizes published skills to 2 and assigns resourceId |
name | Yes | Lowercase kebab-case slug (^[a-z0-9]+(?:-[a-z0-9]+)*$, max 64 chars); must match the personal or agent-scoped folder name |
description | Yes | 1–2,000 characters explaining when Dex should trigger this skill |
compatibility | No | Plain-text note on required integrations or environment assumptions (informational—does not grant access) |
disable-model-invocation | No | Set true to hide the skill from automatic model selection while keeping /name manual invocation available |
user-invocable | No | Set false to hide the skill from the / slash menu while allowing the agent to invoke it automatically |
metadata | No | Optional key-value metadata (author, version, argument-hint, category) |
Omit resourceId and source when creating a new skill; preserve them unchanged when editing an existing published skill.
Writing a strong description
Section titled “Writing a strong description”Agents decide whether to invoke a skill from its name and description alone. Write descriptions that state:
- Trigger phrases or situations — “Use when drafting a customer escalation update or summarizing an incident thread…”
- Expected inputs and output — “…turns Slack and Linear context into a 3-section status note.”
- Scope boundaries — Distinguish similar skills clearly so the model picks the right one without ambiguity.
Authoring, sharing, and Marketplace
Section titled “Authoring, sharing, and Marketplace”You can create and manage skills in three ways:
- Through chat — Ask Dex to capture a working process as a skill; Dex authors
SKILL.mdin Factory, shows a preview, and commits after you confirm. - Through
dex factoryor the Workspace files editor — EditSKILL.mdand supporting files directly, validate withdex factory preview, and publish withdex factory push. - Through Playbooks & Marketplace (
/nexus/playbooks,/nexus/marketplace) — Browse private and workspace skills, publish a workspace skill, or install prebuilt templates and organization packs.
To share a workspace skill with teammates via CLI:
dex factory share factories/*/workspace/skills/<res-id> workspace --role readTeammates with read access can adopt the skill from /nexus/playbooks or /nexus/templates/skill/<id>, creating a live link under users/<them>/shared-skills/<res-id>/SKILL.md.
Attribution and quality tracking
Section titled “Attribution and quality tracking”Every Skill tool invocation records structured telemetry (artifact hash, Factory commit SHA or system fingerprint, and source reference) so you can trace which skill version ran during a conversation or automation run.
Related pages
Section titled “Related pages”- Working with agents - Scope a skill to a single agent
- Knowledge and memory - Keep static facts in knowledge files instead of skills
- Factory definition as code - Full
SKILL.mdand skill-link file layout - Permissions, spaces, and sharing - Share workspace skills with people, Spaces, or everyone