You want to package a repeatable "add a database migration" procedure, with instructions and helper scripts, that the agent uses only when that task comes up. What do you create?
- Exam domain
- Using coding agents for application development~17% of the exam
- Difficulty
- Medium
- In this mock
- 10 questions on this domainPractise this domain
Why the exam asks this
Customizing coding agents for enterprise workflows.
Objective in the exam guide: Creating skills, plugins, extensions hooks, rules, and subagents using Antigravity.
Skills package repeatable procedures without bloating every prompt.
Why B is the answer
A skill: a folder with SKILL.md and scripts
A skill is a folder of instructions with a SKILL.md file that the agent follows for a specific task, loaded when relevant.
Remember: Task procedures are skills.
How it works
A skill is a folder with a SKILL.md file and optional scripts or resources.
The agent loads it only when a task matches, so it costs nothing the rest of the time.
Clues in the question
The words that point to the answer, and what each one tells you.
- instructions and helper scripts
- A folder of assets.
- only when that task comes up
- Loaded on demand.
In detail
- Skills keep task procedures out of the always-on context.
- Repository skills live under .agents/skills.
- A good skill says when it applies in its first lines.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A plugin that contains only MCP serversWrong
Plugins bundle things, and an MCP server alone is not a procedure.
B. A skill: a folder with SKILL.md and scriptsRight
Task procedures are skills.
C. A rule that loads into every conversationWrongMost tempting
A rule would load the procedure into every conversation.
Why it tempts: A rule is always on, which wastes context for a task-specific procedure.
D. A PreToolUse hook that blocks every other kind of taskWrong
Hooks enforce behaviour and do not teach a procedure.
Use case
An illustrative scenario, not a real incident.
Illustrative: a migrations skill tells the agent to generate the file, run it against a scratch database, and add a rollback, with scripts for each step.
See it in different ways
mindmap
root(("Antigravity"))
n1["Rules"]
n2["Always on"]
n3["AGENTS.md or GEMINI.md"]
n4["Skills"]
n5["Loaded for a task"]
n6["Folder with SKILL.md"]
n7["Hooks"]
n8["Scripts at loop events"]
n9["Can block a tool call"]
n10["Plugins"]
n11["Bundle skills, rules, MCP, hooks"]
n12["Subagents"]
n13["Clean context"]
n14["Run in parallel"]How to read this chart
- The centre is "Antigravity".
- "Rules" covers "Always on", "AGENTS.md or GEMINI.md".
- "Skills" covers "Loaded for a task", "Folder with SKILL.md".
- "Hooks" covers "Scripts at loop events", "Can block a tool call".
- "Plugins" covers "Bundle skills, rules, MCP, hooks".
- "Subagents" covers "Clean context", "Run in parallel".
flowchart LR S0["Task matches skill"] --> S1["Agent reads SKILL.md"] --> S2["Runs helper scripts"] --> S3["Reports result"]
How to read this chart
- Read it in order: Task matches skill, then Agent reads SKILL.md, then Runs helper scripts, then Reports result.