Day 2, 25 minutes · beginner
Why it matters
A skill only pays off if every agent you use can find it and read it. Codex, GitHub Copilot and Antigravity each look in a few folders of their own, and they treat the header of SKILL.md a little differently. Put the file in the wrong place, or give it a name one tool does not accept, and the skill silently does nothing in that tool.
There is one project folder that all three read: .agents/skills in your repository. If you write the header the strict way the open standard asks for, one file works everywhere.
Today you write Elske's first skill, product-sheet-check, as instructions only, with no script yet. You check that each agent loads it, and you run it by name. At the end the same folder, untouched, gives the same report in every agent you use.
Where each agent looks in a project
| Agent | Project folders it reads for skills |
|---|---|
| Codex | .agents/skills in the folder where you start it and in every parent folder up to the repository root |
| GitHub Copilot | .github/skills, .claude/skills or .agents/skills in the repository |
| Antigravity | .agents/skills in the project and in each parent folder up to the repository root (it still accepts the older .agent/skills) |
So the shared spot is .agents/skills/<skill-name>/SKILL.md. Each skill gets its own folder.
The header: write it for the strictest reader
The agentskills.io specification requires name and description. The tools differ a little:
- Codex requires both fields.
- Copilot requires both and asks for a lower case
namewith hyphens. Its docs say the name typically matches the folder name. - Antigravity requires only
description. Without aname, it uses the folder name.
The specification is the strictest: name is at most 64 characters, only a-z, 0-9 and single hyphens, no hyphen at the start or end, and it must match the folder name. Follow that and all three accept the file. Keep extra header fields for later; tool-specific fields are the subject of day five.
Elske's first skill
The description below is too short on purpose. Tomorrow you make it trigger on its own. Today you call the skill by name, so the description matters less.
---
name: product-sheet-check
description: Checks a product sheet for Mosswick Candles.
---
# Product sheet check
Check the product sheet the user names. If they name none, use products.csv in the project root. Never change the sheet.
## Rules
1. Line 1 is exactly: sku,name,price_eur,burn_hours
2. Every row has a sku, and no sku appears twice.
3. price_eur has two decimals, for example 18.50.
4. burn_hours is a whole number.
## Report
List each problem as: line number, sku, what is wrong. Count lines as a text editor does, with the header as line 1. End with "Sheet OK" when there are no problems, or "N problems found".
The fixed last line, "Sheet OK" or "N problems found", is useful later: when you see it, you know the skill ran.
The steps
- Create the folder
.agents/skills/product-sheet-check/insidemosswick-candles. Mind the dot at the start of.agents; on macOS and Linux it hides the folder from a normal listing. - Create
SKILL.mdin that folder with the text above, in your own editor. The file name must be exactlySKILL.md, in capitals. Do not ask an agent to write it: Codex, for one, keeps.agentsread-only in its default sandbox. - Commit the folder, so the skill travels with the project:
git add -Aandgit commit -m "Add product-sheet-check skill". - Check that each agent loads it, then run it by name with the same request: check
products.csv. - Compare the answers. Every agent should find the same three problems: the price on line 3, the empty burn time on line 4 and the duplicate sku on line 5, and end with "3 problems found".
Pick your tool below and follow the steps.
How you call a skill by name
| Agent | Call it by name |
|---|---|
| Codex | type $ and pick the skill, or open /skills |
| GitHub Copilot | put /product-sheet-check in your prompt |
| Antigravity | mention the skill by name; the CLI also turns every skill into a slash command |
Common mistakes
- A folder name that does not match
name. It may still work in one tool and fail validation elsewhere. Keep them identical. skill.mdin lower case. Copilot says plainly that the file must be namedSKILL.md.- One folder too deep.
.agents/skills/shop/product-sheet-check/SKILL.mdis not found by a plain scan. Antigravity, for example, looks one level deep. - Adding the skill while an agent runs. Copilot and the Antigravity CLI need
/skills reloador a new session to refresh their skill lists. Codex detects changes, but restart it if the skill does not appear.
Today's actions
Ticks are not saved without an accountDo it in your tool
OpenAI Codex
- In your editor, create
.agents/skills/product-sheet-check/SKILL.mdin the practice folder with this text and save it.--- name: product-sheet-check description: Checks a product sheet for Mosswick Candles. --- # Product sheet check Check the product sheet the user names. If they name none, use products.csv in the project root. Never change the sheet. ## Rules 1. Line 1 is exactly: sku,name,price_eur,burn_hours 2. Every row has a sku, and no sku appears twice. 3. price_eur has two decimals, for example 18.50. 4. burn_hours is a whole number. ## Report List each problem as: line number, sku, what is wrong. Count lines as a text editor does, with the header as line 1. End with "Sheet OK" when there are no problems, or "N problems found". - Start Codex in the practice folder.
cd mosswick-candles codex - Type
/skillsand check that product-sheet-check is in the list. If it is missing, check the path and file name, then restart Codex. - Call the skill by name: type
$and pick it, or paste this prompt.$product-sheet-check Check products.csv. - Read the answer. It should name lines 3, 4 and 5 and end with 3 problems found.
- Type
/exitto close the session.
Note: Codex reads .agents/skills in the folder where you start it and in every parent folder up to the repository root. Create skill files yourself: in the default sandbox Codex keeps .agents read-only.
Paid planOpenAI lists the Codex CLI for ChatGPT Plus, Pro, Business, Edu and Enterprise. Free and Go list Codex in the desktop app only, subject to rollout. An API key also works.
GitHub Copilot
- In your editor, create
.agents/skills/product-sheet-check/SKILL.mdin the practice folder with this text and save it.--- name: product-sheet-check description: Checks a product sheet for Mosswick Candles. --- # Product sheet check Check the product sheet the user names. If they name none, use products.csv in the project root. Never change the sheet. ## Rules 1. Line 1 is exactly: sku,name,price_eur,burn_hours 2. Every row has a sku, and no sku appears twice. 3. price_eur has two decimals, for example 18.50. 4. burn_hours is a whole number. ## Report List each problem as: line number, sku, what is wrong. Count lines as a text editor does, with the header as line 1. End with "Sheet OK" when there are no problems, or "N problems found". - Start Copilot in the practice folder.
cd mosswick-candles copilot - Type
/skills list. If product-sheet-check is missing, type/skills reloadand look again. - Type
/skills get product-sheet-checkto see the skill's details, including where Copilot found it. - Call the skill by name with a slash in your prompt.
Use the /product-sheet-check skill to check products.csv. - Read the answer. It should name lines 3, 4 and 5 and end with 3 problems found. Then type
/exit.
Note: Copilot also reads project skills from .github/skills and .claude/skills, but only .agents/skills is shared with the other two agents in this course.
Google Antigravity
- In your editor, create
.agents/skills/product-sheet-check/SKILL.mdin the practice folder with this text and save it.--- name: product-sheet-check description: Checks a product sheet for Mosswick Candles. --- # Product sheet check Check the product sheet the user names. If they name none, use products.csv in the project root. Never change the sheet. ## Rules 1. Line 1 is exactly: sku,name,price_eur,burn_hours 2. Every row has a sku, and no sku appears twice. 3. price_eur has two decimals, for example 18.50. 4. burn_hours is a whole number. ## Report List each problem as: line number, sku, what is wrong. Count lines as a text editor does, with the header as line 1. End with "Sheet OK" when there are no problems, or "N problems found". - Start the Antigravity CLI in the practice folder.
cd mosswick-candles agy - Type
/skillsand find product-sheet-check. Highlight it and press Enter to see its description and path, then press Esc twice. - If the skill is missing, type
/skills reloadand look again. - Call the skill by mentioning its name.
Use the product-sheet-check skill to check products.csv. - Read the answer. It should name lines 3, 4 and 5 and end with 3 problems found. Then type
/exit.
Note: The CLI also turns every skill into a slash command, here /product-sheet-check. Antigravity reads .agents/skills in each parent folder up to the repository root.
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up