Day 5, 25 minutes · beginner
Why it matters
Elske does not only sell from her webshop. She also has a wholesale list for shops that stock her candles, in a second folder. She wants the same check there, without copying the skill into every project and keeping the copies in step.
That is what personal skills are for: one copy in your home folder that every project can use. Here the three agents stop agreeing. Codex and GitHub Copilot both read ~/.agents/skills. Antigravity reads ~/.gemini/config/skills instead, but it can be told to read another folder too.
Today you put Elske's skill in your personal folder, point Antigravity at the same copy, and use it in a second project in every agent. You finish with an honest list of what differs between the three, so you know which parts of a skill travel and which do not.
Where personal skills live
| Agent | Personal skill folders |
|---|---|
| Codex | ~/.agents/skills (Codex calls this the user scope) |
| GitHub Copilot | ~/.agents/skills or ~/.copilot/skills |
| Antigravity | ~/.gemini/config/skills, shared by the app and the CLI. The CLI also reads ~/.gemini/antigravity-cli/skills and ~/.gemini/skills |
~ is your home folder: /Users/<you> on macOS, /home/<you> on Linux and C:\Users\<you> on Windows.
Antigravity can load more skill folders through a small file called a discovery manifest. A personal one at ~/.gemini/config/skills.json that lists ~/.agents/skills makes all three agents read the same copy. Antigravity does not expand ~ in that file, so write the full path.
{
"entries": [
{ "path": "/home/elske/.agents/skills" }
]
}
On Windows, write the path with double backslashes, as JSON needs: "C:\\Users\\elske\\.agents\\skills".
The steps
- Make a second project. Create a folder
mosswick-wholesalewithgit init, and save aproducts.csvin it with this content:
sku,name,price_eur,burn_hours
WH-201,Fig and Cedar Jar (box of 6),96.00,45
WH-202,Sea Salt Tin (box of 12),118.80,30
WH-203,Linen Pillar (box of 4),70,40
- Copy the skill folder
.agents/skills/product-sheet-checkfrommosswick-candlesinto~/.agents/skills/in your home folder, so you get~/.agents/skills/product-sheet-check/SKILL.md. Create~/.agents/skillsfirst if it does not exist. - Point Antigravity at it with the manifest above, if you use Antigravity.
- Start each agent in
mosswick-wholesale, check that it lists the skill and ask: "Is my product sheet OK?" The answer should flag line 4, where the price70lacks two decimals, and end with the skill's fixed line, "1 problems found". - Keep the project copy in
mosswick-candles. It is committed, so a colleague who clones the shop project gets it too.
Pick your tool below and follow the steps.
Two copies with one name
In mosswick-candles the skill now exists twice: in the project and in your home folder. The tools handle that differently:
- Codex does not merge them; both can show up in its skill picker.
- Antigravity keeps one, and a workspace skill wins over a personal one.
- GitHub Copilot's docs do not say which copy wins.
If you edit one copy, edit the other, or delete the project copy once the team has its own way to share skills.
What travels and what does not
The same folder worked unchanged in all three agents all week. These parts are portable:
- the folder layout,
SKILL.mdwithnameanddescription, the markdown instructions, and a script referenced by a path relative to the skill folder; - the project location
.agents/skills.
These parts are tool-specific:
- Personal folder:
~/.agents/skillsfor Codex and Copilot,~/.gemini/config/skillsor a manifest for Antigravity. - Extra header fields: the standard also allows
license,compatibility,metadataand the experimentalallowed-tools. Copilot documentslicenseandallowed-tools; the Codex and Antigravity pages read for this course list onlynameanddescription. Antigravity even makesnameoptional. - Extra files: Codex reads
agents/openai.yamlfor display names, invocation policy and tool dependencies. The other two do not mention it. - Calling by name:
$namein Codex,/nameinside a Copilot prompt, the skill's own slash command in Antigravity. - Size limits: Antigravity reads at most 800 lines or 45 KiB per file read and truncates a preloaded body after 24,000 bytes. The standard advises keeping
SKILL.mdunder 500 lines. For Codex, the only limit its skills page gives is the budget of its first skills list. - The cloud: GitHub's coding agent in the cloud does not see your personal folder; it needs the skill in the repository, or a dotfiles repository for cloud sandbox sessions.
Where skills work, per surface. This course uses the three CLIs, where skills are fully supported. Outside the terminal it differs. GitHub's table marks agent skills as preview in JetBrains IDEs and not supported in Eclipse and Xcode; VS Code, Visual Studio, GitHub.com and the Copilot app support them. OpenAI lists standalone skills in the ChatGPT desktop app, Codex CLI and the IDE extension. Antigravity lists its app, CLI, IDE and IDE extensions (VS Code, Visual Studio, Eclipse, JetBrains, Android Studio, Zed, Xcode), with no preview label.
To check a skill against the standard itself, agentskills.io points to a reference tool, skills-ref validate ./my-skill. GitHub CLI's gh skill publish --dry-run, in public preview, also validates skills against the specification.
Common mistakes
- Writing
~in Antigravity's manifest. It is not expanded; the folder is silently not found. - Expecting a personal skill in a cloud agent. Put shared skills in the repository.
- Approving the script from a strange path. The personal copy runs from your home folder, outside the project. Some agents may ask for approval because of that. Read the path before you approve.
Today's actions
Ticks are not saved without an accountDo it in your tool
OpenAI Codex
- From the folder that holds mosswick-candles, copy the skill into your personal folder. On macOS or Linux:
mkdir -p ~/.agents/skills cp -R mosswick-candles/.agents/skills/product-sheet-check ~/.agents/skills/ - On Windows, run these two lines in PowerShell instead.
New-Item -ItemType Directory -Force $HOME\.agents\skills Copy-Item -Recurse mosswick-candles\.agents\skills\product-sheet-check $HOME\.agents\skills\ - Start Codex in the second project.
cd mosswick-wholesale codex - Type
/skillsand check that product-sheet-check is listed. In this folder it can only come from your personal folder. - Ask the question without naming the skill.
Is my product sheet OK? - If the agent asks to run the script from your home folder, read the path and the command, then approve it once. The answer should flag the price on line 4.
- Type
/exitto close the session.
Note: Codex calls ~/.agents/skills the user scope. In mosswick-candles the skill now exists twice; Codex does not merge two skills with the same name, and both can show up in its picker.
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
- From the folder that holds mosswick-candles, copy the skill into your personal folder. On macOS or Linux:
mkdir -p ~/.agents/skills cp -R mosswick-candles/.agents/skills/product-sheet-check ~/.agents/skills/ - On Windows, run these two lines in PowerShell instead.
New-Item -ItemType Directory -Force $HOME\.agents\skills Copy-Item -Recurse mosswick-candles\.agents\skills\product-sheet-check $HOME\.agents\skills\ - Start Copilot in the second project and confirm that you trust the folder.
cd mosswick-wholesale copilot - Type
/skills get product-sheet-check. The location should be in your home folder, not in the project. - Ask the question without naming the skill.
Is my product sheet OK? - If the agent asks to run the script from your home folder, read the path and the command, then approve it once. The answer should flag the price on line 4. Then type
/exit.
Note: Copilot also reads personal skills from ~/.copilot/skills. Copilot in the cloud does not see your personal folder: for cloud sandbox sessions, put the skill in .copilot/skills in your dotfiles repository.
Google Antigravity
- From the folder that holds mosswick-candles, copy the skill into your personal folder. On macOS or Linux:
mkdir -p ~/.agents/skills cp -R mosswick-candles/.agents/skills/product-sheet-check ~/.agents/skills/ - On Windows, run these two lines in PowerShell instead.
New-Item -ItemType Directory -Force $HOME\.agents\skills Copy-Item -Recurse mosswick-candles\.agents\skills\product-sheet-check $HOME\.agents\skills\ - In your editor, create
skills.jsonin the folder~/.gemini/config/with this text. Replace the path with the full path of your own.agents/skillsfolder.{ "entries": [ { "path": "/home/elske/.agents/skills" } ] } - Start the Antigravity CLI in the second project and confirm that you trust the folder.
cd mosswick-wholesale agy - Type
/skills. Open product-sheet-check and check that its path is in your home folder. Press Esc twice. - Ask the question without naming the skill.
Is my product sheet OK? - If the agent asks to run the script from your home folder, read the path and the command, then approve it once. The answer should flag the price on line 4. Then type
/exit.
Note: Antigravity does not expand ~ in a manifest, so write the full path. On Windows use double backslashes, for example C:\\Users\\elske\\.agents\\skills. Its own personal folder, ~/.gemini/config/skills, works without a manifest.
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