CLI › Commands
Skills
Keep skills as SKILL.md files in Git and sync them with the platform.
A skill is a reusable set of instructions you attach to any agent: the step-by-step for a sales proposal, the brand's tone of voice, an audit checklist. With the CLI, each skill becomes a SKILL.md file that you version in Git and edit in your editor.
Terminal
doublex skills list | get | download | create | update | deleteThe SKILL.md format#
Markdown
---
name: Sales proposal
description: Builds sales proposals following the company standard, with scope, timeline and price.
---
# Sales proposal
1. Start with the problem the customer has, in their own words.
2. List the scope as verifiable deliverables.
...| Field | Rule |
|---|---|
name | 2 to 80 characters. Without it, the CLI uses the first # heading or the file name. |
description | Required, 2 to 1024 characters (the same limit as Claude skills). It's what the agent reads to know when to use the skill. |
| Body | The instructions, 2 to 30,000 characters. |
Download#
Terminal
doublex skills list --search proposal
doublex skills get skl_3e8f1a2b4c5d # prints it as SKILL.md
doublex skills download skl_3e8f1a2b4c5d -o skills/proposta/-o accepts a file, an existing folder (it writes SKILL.md inside it) or - (stdout). Without -o, it writes SKILL.md to the current folder.
Create#
Terminal
doublex skills create skills/proposta/SKILL.md
doublex skills create SKILL.md --scope team --team-id team_9c8b7a6d5e4f| Option | What it's for |
|---|---|
--name, --description | Override the values in the file. |
--scope personal|team|organization | Who sees and uses the skill. The default is personal. |
--team-id <id> | The team, when the scope is team. |
Update#
Terminal
doublex skills update skl_3e8f1a2b4c5d skills/proposta/SKILL.mdReplaces the name, description and instructions with the file's content. Agents that use the skill switch to the new version on their next message.
Delete#
Terminal
doublex skills delete skl_3e8f1a2b4c5d --yesDeleting a skill also removes it from the agents that used it.
Attach to an agent#
Terminal
doublex agents update agt_8f3a2b1c9d0e --args-json '{"skillIds": ["skl_3e8f1a2b4c5d"]}'