Day 3, 25 minutes · beginner
Why it matters
Yesterday you called the skill by name. That is reliable, but it means you have to remember the skill exists. The real gain comes when the agent picks it up by itself: Elske types "is my product sheet OK?" and gets her standard check, without knowing the skill's name.
All three agents decide that from one line: the description in the header of SKILL.md. It is the only part of the skill an agent reads before it decides. A vague description means the skill never fires; a greedy one means it fires on requests it should leave alone.
Today you rewrite Elske's description so it says what the skill does, when to use it and when not to. Then you test it with five prompts, three that should start the skill and two that should not, in every agent you use. At the end you have a description that triggers on the right requests and a small test list you can run again after every change.
What the agents read before they decide
All three load skills in steps. At the start, or on every turn, the agent sees a short list with each skill's name and description. Only when a request seems to match does it read the full SKILL.md.
That list has a budget, so a long description can get cut:
- Codex keeps its first skills list to about 2% of the model's context window, or 8,000 characters when it does not know the window size. With many skills installed, it shortens descriptions first and may leave some skills out of the list with a warning.
- Antigravity shares a budget of 20,000 tokens between all active skills, custom subagents, workflows and MCP tools. When that runs out, it drops the descriptions of the largest items first, so they show only their names.
- GitHub Copilot says it chooses a skill based on your prompt and the skill's description. Its docs give no budget number.
The open standard allows up to 1,024 characters. Shorter is safer.
How to write a description that triggers
Combine the advice of the specification and the three vendors:
- Say what it does, with the words people use. Name the file, the columns and the problems it finds. The specification asks for keywords that help an agent spot the task.
- Say when to use it. "Use when asked to check, validate or review ..." gives the agent clear trigger words.
- Put the key use first. The Codex docs advise front-loading the main use case, because a shortened description keeps its start.
- Say when not to use it. Antigravity calls this a negative trigger: one sentence that names look-alike tasks, such as "Do not use for writing product texts".
- Write in the third person. "Checks a product sheet", not "I check" or "You can use me".
Elske's new description
description: Checks a Mosswick Candles product sheet (a CSV with sku, name, price_eur and burn_hours) for missing or duplicate SKUs, prices without two decimals and burn times that are not whole numbers. Use when asked to check, validate or review products.csv or another product sheet, for example before an upload. Do not use for writing product texts, changing prices or making a new sheet.
The test list
Save these five prompts in a file called trigger-tests.md in the practice folder. None of them names the skill.
Should start the skill:
1. Can you look over products.csv before I upload it to the webshop?
2. Is my product sheet OK?
3. Validate the candle list in products.csv.
Should not start the skill:
4. Write a two-line product text for the Fig and Cedar Jar.
5. What would be a fair price for a candle that burns 45 hours?
You can tell whether the skill ran from the last line of the answer: "Sheet OK" or "N problems found" means it did.
The steps
- Replace the description in
SKILL.mdwith the new one and save. Keep thenameline as it is. - Reload the skills in each agent, or start a new session.
- Run each test prompt in a fresh chat. All three CLIs have
/newfor that. Earlier prompts in the same chat would steer the agent, so start clean each time. - Score the results. Five out of five is the goal. If prompt 2 fails, the description lacks the words people use; add them. If prompt 4 or 5 starts the skill, sharpen the "Do not use" sentence.
- Commit the new description together with
trigger-tests.md.
Pick your tool below and follow the steps.
When you never want it to start by itself
Some skills should only run on request, for example one that publishes something. The open standard has no field for that, and the tools differ:
- Codex reads an optional file,
agents/openai.yaml, inside the skill folder. Settingallow_implicit_invocation: falsethere stops Codex from picking the skill on its own; calling it with$still works. - GitHub Copilot CLI lets you disable a skill completely with
/skills, but its docs describe no setting that keeps a skill for named use only. - Antigravity's docs describe no such setting either.
For Elske's check, starting by itself is exactly what you want, so leave it on.
Common mistakes
- Testing in one long chat. The agent remembers the skill from the earlier prompt and keeps using it.
- Blaming the description for a model problem. The agentskills.io quickstart warns that some models follow skills less reliably than others. If one agent misses all three, try another model there before you rewrite the text.
- Packing every keyword in. A 1,000-character description eats the shared budget and is the first to be cut.
Today's actions
Ticks are not saved without an accountDo it in your tool
OpenAI Codex
- In your editor, replace the description line in
.agents/skills/product-sheet-check/SKILL.mdwith this one and save.description: Checks a Mosswick Candles product sheet (a CSV with sku, name, price_eur and burn_hours) for missing or duplicate SKUs, prices without two decimals and burn times that are not whole numbers. Use when asked to check, validate or review products.csv or another product sheet, for example before an upload. Do not use for writing product texts, changing prices or making a new sheet. - Start Codex in the practice folder. It picks up changed skills by itself; if the old description still shows in
/skills, restart Codex.cd mosswick-candles codex - Paste the first test prompt. Do not mention the skill.
Can you look over products.csv before I upload it to the webshop? - Repeat with
/newbefore each of the other four prompts from trigger-tests.md. Write down which answers end with Sheet OK or N problems found. - If a prompt scores wrong, change the description, start a new chat with
/newand run that prompt again. Then type/exit.
Note: To stop Codex from starting a skill by itself, an optional agents/openai.yaml in the skill folder can set allow_implicit_invocation: false. Calling it with $ still works. The Copilot and Antigravity pages read for this course do not mention that file.
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, replace the description line in
.agents/skills/product-sheet-check/SKILL.mdwith this one and save.description: Checks a Mosswick Candles product sheet (a CSV with sku, name, price_eur and burn_hours) for missing or duplicate SKUs, prices without two decimals and burn times that are not whole numbers. Use when asked to check, validate or review products.csv or another product sheet, for example before an upload. Do not use for writing product texts, changing prices or making a new sheet. - Start Copilot in the practice folder, or type
/skills reloadif it is already running.cd mosswick-candles copilot - Type
/skills get product-sheet-checkand check that it shows the new description. - Paste the first test prompt. Do not mention the skill.
Can you look over products.csv before I upload it to the webshop? - Repeat with
/newbefore each of the other four prompts from trigger-tests.md. Write down which answers end with Sheet OK or N problems found. - If a prompt scores wrong, change the description, type
/skills reloadand/new, and run that prompt again. Then type/exit.
Note: Copilot decides when to use a skill from your prompt and the skill's description. To turn the skill off completely, type /skills, select it, press Enter and choose Disable.
Google Antigravity
- In your editor, replace the description line in
.agents/skills/product-sheet-check/SKILL.mdwith this one and save.description: Checks a Mosswick Candles product sheet (a CSV with sku, name, price_eur and burn_hours) for missing or duplicate SKUs, prices without two decimals and burn times that are not whole numbers. Use when asked to check, validate or review products.csv or another product sheet, for example before an upload. Do not use for writing product texts, changing prices or making a new sheet. - Start the Antigravity CLI in the practice folder, or type
/skills reloadif it is already running.cd mosswick-candles agy - Type
/skills, open product-sheet-check and check that it shows the new description. Press Esc twice. - Paste the first test prompt. Do not mention the skill.
Can you look over products.csv before I upload it to the webshop? - Repeat with
/newbefore each of the other four prompts from trigger-tests.md. Write down which answers end with Sheet OK or N problems found. - If a prompt scores wrong, change the description, type
/skills reloadand/new, and run that prompt again. Then type/exit.
Note: Antigravity shows the agent every skill's name and description on every turn. Its docs advise one short do-not-use sentence at the end of the description to stop look-alike requests.
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