Skip to content
ThirdLayer

Docs > Agents

Skills

Package 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.

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.

A skill can live at four levels. When two skills share the same name, the higher-precedence scope wins for that run:

PrecedenceScopeFactory pathWho sees it
1 (highest)Agent-scoped skillworkspace/agents/<id>/skills/<slug>/SKILL.md or users/<you>/agents/<slug>/skills/<slug>/SKILL.mdOnly runs of that specific agent
2Personal skillusers/<you>/skills/<slug>/SKILL.mdOnly you across your chats and personal agents
3Workspace shared skill (linked)Canonical definition in workspace/skills/<res-id>/SKILL.md, enabled via users/<you>/shared-skills/<res-id>/SKILL.mdAny teammate with read access who links/enables it
4Built-in system skillsBundled 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.

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
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.
FieldRequiredNotes
schemaVersionYesUse 1 when authoring; the server normalizes published skills to 2 and assigns resourceId
nameYesLowercase kebab-case slug (^[a-z0-9]+(?:-[a-z0-9]+)*$, max 64 chars); must match the personal or agent-scoped folder name
descriptionYes1–2,000 characters explaining when Dex should trigger this skill
compatibilityNoPlain-text note on required integrations or environment assumptions (informational—does not grant access)
disable-model-invocationNoSet true to hide the skill from automatic model selection while keeping /name manual invocation available
user-invocableNoSet false to hide the skill from the / slash menu while allowing the agent to invoke it automatically
metadataNoOptional 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.

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.

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:

Terminal window
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.

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.