Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.205 ·

--append-subagent-system-prompt flag

Entry
JSON All of v2.1.205
EntryKind: in v2.1.205,
New FeaturesSection of the release
What

Appends a custom system prompt to every Task-tool subagent launched by Claude Code, propagated recursively to nested subagents.

Usage
claude --print --append-subagent-system-prompt "Always respond in JSON" ...
Details
  • Only works with --print (non-interactive mode)
  • Sets CLAUDE_CODE_ENABLE_APPEND_SUBAGENT_PROMPT=1 automatically
  • Propagates the appended prompt through nested subagent chains
  • Useful for enforcing output format, language, or tool constraints across all agents in a pipeline
Evidence

CLI flag description (search for "Append a system prompt to every Task-tool subagent") — UCp() at line ~763864

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.205 →

Feedback