Skip to content

Writing a good skill

A description agents can match, steps an agent can follow, checks that prove the work, and what to leave out.

Applies to EngineCloud
View as Markdown
On this page
  1. The description decides when it is used
  2. One skill, one kind of work
  3. Steps an agent can follow
  4. Checks that prove it worked
  5. Keep SKILL.md short
  6. Touch as little as possible
  7. Never ask for secrets
  8. Try it before publishing

The description decides when it is used

Agents read the descriptions of every installed skill and open the ones that match the task. A good description names the situations and the words people use.

WeakStrong
«POS helper.»«Import products and prices from La Espiga’s point-of-sale export. Use when the person mentions the till, the nightly export, ventas.csv or updating prices.»

One skill, one kind of work

A skill that writes design guides and also deploys sites is two skills. Small skills are chosen more accurately and reviewed faster.

Steps an agent can follow

  • Numbered and in order, each one a single action.
  • Exact commands and what should happen: npx @sypnia/design check → «no findings».
  • Decisions go to the person, at their level: two or three options, in plain words for someone who does not program.
  • Say what not to do: «never change applied migrations», «never invent a colour outside the guide».

Checks that prove it worked

End with checks the agent runs before saying it is done: a command that passes, a file that exists, a screen that renders. A skill without checks leaves «done» to guesswork.

Keep SKILL.md short

Put long material in references/ and name, in the steps, which reference to open when. The agent reads a reference only when a step needs it.

Touch as little as possible

Prefer instructions to scripts. A skill that is instructions only is easier to trust, faster to review and runs nothing on anyone’s machine.

Never ask for secrets

A step never asks the person to paste a password, a key or a token into the conversation. It tells them where to put it (an environment file, a secret store) and checks only that it is set.

Try it before publishing

Terminal
npx @sypnia/skills try ./espiga-pos-import "update today's prices from ventas.csv"

Runs the task in a Sypnia Agent sandbox with only this skill installed, and shows what the agent did. It spends credits like any agent task.

  1. The description decides when it is used
  2. One skill, one kind of work
  3. Steps an agent can follow
  4. Checks that prove it worked
  5. Keep SKILL.md short
  6. Touch as little as possible
  7. Never ask for secrets
  8. Try it before publishing

    Search pages, sections and terms