Skip to content

Skill ​

Overview
What it isA reusable instruction package added to an agent's system prompt
CLIagt skill
Agent toolsresource_* with kind: "skill"
Web consoleResources → Skill; Skills in the agent form
Fileskills/<category>/<package>/SKILL.md
Crateagt-skill

What it does ​

A skill packages instructions for one kind of work, such as "how we review code" or "how to run the release checklist", so you can attach it to any agent instead of copying it into every prompt. When a run starts, the full text of every attached skill is added to the agent's instructions. Codex agents receive skills too.

Skills use the SKILL.md format: Markdown with a YAML front matter. Packages can be scoped, such as @team/review.

How to use it ​

Web console: Resources → New resource → Skill creates a skeleton with a name and description. Write the full instructions with the CLI.

CLI:

bash
agt skill create code-review --description 'Review source code for correctness and style'
agt skill update code-review --file ./code-review/SKILL.md
agt skill read code-review
agt agent update reviewer --add-skill code-review

Agent tools:

json
{"kind":"skill","reference":"code-review","create":true,"data":{"description":"Review source code"}}
{"kind":"skill","reference":"code-review","create":false,"data":{"text":"---\nname: code-review\n..."}}

Common parameters ​

ParameterMeaning
--descriptionOne-line summary, shown in lists
--fileA SKILL.md file, or a directory that contains one

All parameters ​

agt skill create <package> ​

OptionRequiredMeaning
--description <text>yesSummary, at most 1024 characters
--category <c>noCategory (default default)

Creates a SKILL.md with the name, the description and a placeholder body.

agt skill update <package> ​

OptionRequiredMeaning
--file <path>yesA SKILL.md file or a directory containing it. Replaces the whole file.
--category <c>noCategory

Other commands ​

CommandMeaning
read <ref>Print SKILL.md
list, info, delete, categorySee Resources

File: SKILL.md ​

markdown
---
name: code-review
description: Review source code for correctness and style
license: MIT
---
# Code review

1. Read the whole change before commenting.
2. ...
Front matter fieldRequiredMeaning
nameyesPackage name; must match the directory
descriptionyesSummary, at most 1024 characters
licensenoLicense of the instructions
compatibilitynoCompatibility notes, at most 500 characters
metadatanoString map. For scoped packages, agt.package holds the full name, such as @team/review; its last part must equal name.
allowed-toolsnoNot supported yet: an agent with such a skill fails to run

Tool fields (resource_write, kind: "skill") ​

FieldWhenMeaning
descriptioncreateSummary; creates the skeleton
textupdateThe complete new SKILL.md, front matter included
  • Agent: attaching skills
  • Prompt: the base role description

Released under the MIT License.