Skip to content

Remove subagent instructions from system prompt - #5441

Merged
tlongwell-block merged 1 commit into
mainfrom
subagent_instruct
Oct 29, 2025
Merged

Remove subagent instructions from system prompt#5441
tlongwell-block merged 1 commit into
mainfrom
subagent_instruct

Conversation

@tlongwell-block

@tlongwell-block tlongwell-block commented Oct 29, 2025

Copy link
Copy Markdown
Collaborator

The subagent guidance in the system prompt is redundant with comprehensive instructions embedded directly in the tool descriptions themselves. The dynamic_task__create_task tool already explains the isolation context, extension handling, and return behavior, while subagent__execute_task details the execution strategies with clear examples.

Rather than maintaining duplicate instructions that could drift out of sync, consolidating this information into the tool descriptions provides a cleaner, more maintainable approach that reduces cognitive overhead while preserving all necessary guidance for effective subagent usage.

@tlongwell-block
tlongwell-block marked this pull request as ready for review October 29, 2025 14:58
@tlongwell-block
tlongwell-block merged commit 7caf31f into main Oct 29, 2025
14 checks passed
@tlongwell-block
tlongwell-block deleted the subagent_instruct branch October 29, 2025 14:59
BlairAllan pushed a commit to BlairAllan/goose that referenced this pull request Nov 29, 2025
Signed-off-by: Blair Allan <Blairallan@icloud.com>
shafqatevo pushed a commit to shafqatevo/goose that referenced this pull request Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants