Day 6, 30 minutes · beginner
Why it matters
Before the spring fair Elske has three sheets to check at once: the webshop, the market stall and the wholesale list. One agent can check them one after the other, but each check fills the conversation with JSON she does not need to see. Subagents fix that. The main agent hands each sheet to a separate helper with its own clean context, the helpers work in parallel, and only their short results come back.
All three agents can do this, each with its own command. And once a skill works this well, the next question is how to hand it to people outside the project. That is what plugins are for, and it is where the three tools differ most.
Today you check three sheets in parallel with subagents in every agent you use and get one combined report. Then you compare how each tool packages a skill as a plugin and decide whether Elske needs one at all.
When subagents help
The Codex docs explain the idea well. A long chat full of logs and tool output gets less reliable over time. Subagents keep that noise out of the main thread: they explore, test or check, and return a summary. Two warnings from the same page:
- They cost more. Each subagent does its own model and tool work, so a subagent run uses more tokens than one agent doing the same job.
- Prefer reading jobs. Parallel checks, searches and summaries are safe. Several agents editing the same files at once can clash.
Checking three sheets that nobody edits is a perfect fit.
| Agent | How you ask for subagents | How you watch them |
|---|---|---|
| Codex | Ask for subagents or parallel work in your prompt. Codex also follows skill or AGENTS.md instructions that ask for it | /subagents to switch between agent threads |
| GitHub Copilot CLI | Start the prompt with /fleet. The model may also delegate on its own |
/tasks to see the subtasks |
| Antigravity CLI | Ask in your prompt; the main agent decides whether to start subagents. /swarm is a bigger option for broad jobs |
/agents opens the Agent Manager panel |
In Antigravity, subagents inherit the main agent's permissions and sandbox settings, and any approval request comes back to you in the main view.
The steps
- Make a
sheetsfolder inmosswick-candleswith three files. Copyproducts.csvtosheets/shop.csv, copy the wholesale sheet from day five tosheets/wholesale.csv, and save this assheets/market.csv:
sku,name,price_eur,burn_hours
MK-301,Tea Light Bag of 10,6.50,4
MK-302,Beeswax Taper,7.25,8.5
- Ask for one subagent per sheet. Each one follows the product-sheet-check skill for its own sheet. The main agent combines the results.
- Watch the subagents while they run, with the command of your tool.
- Check the combined report. It should list five problems in total: three in
shop.csv, the burn time8.5inmarket.csvand the price70inwholesale.csv. - Save the report as
fair-check.mdand commit it with thesheetsfolder.
Pick your tool below and follow the steps.
Packaging the skill as a plugin
A plugin is an installable bundle. All three tools let a plugin carry skills, plus other parts such as MCP servers (connections to outside tools). In all three, the skill goes into a skills/ folder inside the plugin, unchanged:
mosswick-tools/
plugin.json
skills/
product-sheet-check/
SKILL.md
scripts/check_products.py
The skill folder travels as it is. The manifest, plugin.json, does not:
- Codex (OpenAI's plugins docs) and GitHub Copilot both describe a portable format called Agent Plugins: a root
plugin.jsonthat declares the Agent Plugins schema from agent-plugins.org. Copilot CLI tests a local plugin withcopilot plugin install ./mosswick-tools. OpenAI says to install and test a local plugin in the ChatGPT desktop app, through a marketplace file; Codex CLI has a/pluginsbrowser to install from marketplaces. - Antigravity uses its own manifest schema, from antigravity.google. For a repository that also ships plugins for other tools, it reads
.antigravity-plugin/plugin.json, which wins over a rootplugin.json. You check and install withagy plugin validateandagy plugin install ./mosswick-tools. A skill from a plugin gets the name<plugin>:<skill>. - MCP files differ too:
mcp.jsonin the Agent Plugins format,mcp_config.jsonin Antigravity.
So one plugin folder can serve all three, but only with two manifests side by side, and only Copilot and Antigravity document a plain command to test a local plugin from the terminal. Antigravity's validator warns about files meant for other tools; its docs say that is expected in a multi-tool repository.
For Elske the answer is simple. Her skill lives in the shop repository, where every agent finds it, and in her personal folder. She needs a plugin only when she wants to hand the check to people outside that repository, or bundle it with a connection to her webshop.
Where to go next
- The subagent ideas here work the same way in Claude Code: Subagents in Claude Code.
- To use skills, subagents and checks in client work: Ship AI at the client.
Common mistakes
- Using subagents for a tiny job. Three sheets of a few lines is a practice run. In daily work, a single agent is cheaper for small checks.
- Letting subagents edit the same file. Keep parallel work to reading and checking, and let the main agent write the report.
- Expecting one plugin manifest to work everywhere. Test the plugin in every tool you ship it for.
Today's actions
Ticks are not saved without an accountDo it in your tool
OpenAI Codex
- Start the agent in the practice folder, where you made the sheets folder.
cd mosswick-candles codex - Ask for subagents in plain words. Codex starts them when you ask directly.
Check the three sheets in the sheets folder in parallel. Use one subagent per sheet, and have each subagent follow the product-sheet-check skill for its own sheet. Then give me one table with sheet, line, sku and problem, and the total number of problems. - While it runs, type
/subagentsand pick a thread to see what one subagent is doing. Switch back to the main thread the same way. - If a subagent asks to run the script, read the command and approve it.
- Check that the table lists 5 problems: 3 in shop.csv, 1 in market.csv and 1 in wholesale.csv. Ask the agent to save it as fair-check.md.
Save that table as fair-check.md in this folder. - Type
/exitand commit the sheets folder and fair-check.md yourself.git add -A git commit -m "Fair check of three sheets"
Note: Current Codex releases turn subagent workflows on by default. Each subagent does its own model and tool work, so a run uses more tokens than a single agent. Codex can also delegate when a skill's instructions ask for it.
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
- Start the agent in the practice folder, where you made the sheets folder.
cd mosswick-candles copilot - Type
/fleetfollowed by the task. Copilot then gives separate parts of the work to subagents./fleet Check the three sheets in the sheets folder in parallel. Use one subagent per sheet, and have each subagent follow the product-sheet-check skill for its own sheet. Then give me one table with sheet, line, sku and problem, and the total number of problems. - While it runs, type
/tasks. Use the arrow keys and Enter to see a subtask's details, and Esc to go back to the prompt. - If Copilot asks for approval to run the script, read the command and choose Yes.
- Check that the table lists 5 problems: 3 in shop.csv, 1 in market.csv and 1 in wholesale.csv. Ask the agent to save it as fair-check.md.
Save that table as fair-check.md in this folder. - Type
/exitand commit the sheets folder and fair-check.md yourself.git add -A git commit -m "Fair check of three sheets"
Note: Without /fleet the model may still delegate to a subagent on its own, or do the work itself. In the /tasks list, x stops a subtask.
Google Antigravity
- Start the agent in the practice folder, where you made the sheets folder.
cd mosswick-candles agy - Ask for subagents in plain words. The main agent decides whether to start them; they run in the background.
Check the three sheets in the sheets folder in parallel. Use one subagent per sheet, and have each subagent follow the product-sheet-check skill for its own sheet. Then give me one table with sheet, line, sku and problem, and the total number of problems. - While they run, type
/agentsto open the Agent Manager panel with each subagent's role, state and current step. - If a subagent needs your approval to run the script, the request comes back to you. Read the command and approve it.
- Check that the table lists 5 problems: 3 in shop.csv, 1 in market.csv and 1 in wholesale.csv. Ask the agent to save it as fair-check.md.
Save that table as fair-check.md in this folder. - Type
/exitand commit the sheets folder and fair-check.md yourself.git add -A git commit -m "Fair check of three sheets"
Note: Subagents inherit the main agent's allowed commands, folder access and sandbox settings. They start with a clean context, without the main conversation. For broad jobs, /swarm is available on all plans.
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