AITraining2U

Programs

Resources

Case Studies

Quick Links

Enquire Now
Domain 1 · 27%% of exam

Subagent prompting and tool scoping

How you brief a subagent, and what you let it touch.

4 min read · Lesson 7 of 12 in this domain

Two levers decide whether a subagent is useful: what you tell it, and what you let it touch. On the first, there is a real tension — precise instructions feel safer, but they are exactly what makes an agent brittle, because a script that meets an unanticipated situation has nowhere to go. Delegating intent plus a quality bar lets the subagent adapt when the first approach fails. On the second, the instinct to hand over every tool "just in case" is a mistake twice over: it widens what a mis-selection can damage, and a larger tool surface measurably degrades selection accuracy.

Key points
  • Over-specified procedural instructions (exact queries, exact filters) make subagents brittle — when the script fails they report failure instead of adapting.
  • Prefer goal-oriented prompts: state the research intent, the minimum quality bar, and source-credibility criteria. That grants authority to adapt.
  • Scope tools by role. A research subagent should not hold deploy or delete tools. Universal tool access is a named anti-pattern — it widens the blast radius and degrades selection accuracy.
  • Subagent failures must return structured error context, never an empty result. An empty result is indistinguishable from "searched and found nothing", so the coordinator draws a false conclusion.
  • Brief precisely the first time. Launch → wait → re-brief cycles cost more than getting the brief right.
Exam trap

"Add a rule to report failure if fewer than five results" reinforces the rigidity rather than fixing it.

Check your understanding

A subagent gives up when its exact queries return little. Best fix?

Correct answer: B — Replace step-by-step instructions with the goal plus quality criteria
Over-specified procedural instructions are what make agents brittle. State intent and let it adapt.

Why scope tools per subagent role?

Correct answer: B — It limits blast radius and improves selection accuracy
Universal tool access is an anti-pattern, and a smaller tool set measurably improves selection.

Practise this domain with 27%%-weighted questions in the study app.

Open in study app

Source: Claude Docs — Agent SDK subagents · Independent study aid, not affiliated with or endorsed by Anthropic.