Skip to content
BENIBIX Learn

skills Option

Also known as Agent SDK skills, Claude Agent SDK skills

The option that picks which skills an agent session may use.

Think of it like

It is like a list of the recipe cards a cook may use.

Example

Mia's repo has twenty skills, but her support agent needs two. She lists just those two in skills.

Why it matters

Each skill on offer costs context, and a short list keeps the agent on task.

Definition

skills is the Agent SDK option that picks which skills a session can use. Pass all for every skill found, or a list of exact skill names. When it is set, the SDK adds the Skill tool to allowedTools for you. Skills are still found on disk through settingSources, so an empty source list leaves nothing to pick.

Example code

typescript
skills: ["pdf", "release-notes"]
Only these two skills are on offer.

Common mistake

Setting skills with settingSources empty. Skills are read from disk, so none are found.

Key takeaways

  1. 1
    all, or a list. Exact names.
  2. 2
    Adds the Skill tool. For you.
  3. 3
    Needs a source. Found on disk.