Automatic Sub-Agent Activation Prevents User Workflow Control

Resolved 💬 3 comments Opened Aug 11, 2025 by fwends Closed Aug 15, 2025

Bug Description
Bug Report for Claude Code
Top and bottom of it my sub agents sometimes they are TERRIBLE and i DO NOT want to use them i want to bypass them and use the main agent. While the sub agents are a good idea they are also a MASSIVE hinderance and without an over-ride i will just end up deleting them i think

Title: Automatic sub-agent activation prevents user control over agent/model selection

Issue:
Sub-agents automatically activate based on keyword detection without user consent, preventing users from:

  1. Choosing to use the main agent instead
  2. Selecting a different model for sub-agents (e.g., using a faster/cheaper model for simple tasks)
  3. Maintaining control over their workflow

Current Behavior:

  • System proactively triggers sub-agents when detecting matching keywords/patterns
  • No way to disable automatic agent activation
  • No option to specify which model to use for sub-agents
  • Users must interrupt/cancel unwanted agent activations

Expected Behavior:

  • Option to disable automatic sub-agent activation (e.g., --no-auto-agents flag)
  • Ability to configure agent model selection (e.g., --agent-model opus-4.1)
  • Setting to require explicit confirmation before launching sub-agents
  • Config option in settings.json to control agent behavior

Impact:

  • Disrupts workflow when users want direct control
  • Wastes API calls on unwanted agent activations
  • Forces users to use potentially more expensive models for simple tasks
  • Creates frustration when system "overthinks" simple requests

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 1.0.72
  • Feedback ID: 5fe2bdfe-bbb8-4b18-b03a-5ce7d665d2a3

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at NX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:912\n    at Array.map (<anonymous>)\n    at LX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:903)\n    at SjB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2218:5231)\n    at $R (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:327:19859)\n    at yb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:42848)\n    at Sb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38369)\n    at Ij (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38297)\n    at gR (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38151)","timestamp":"2025-08-11T12:13:44.836Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: prisma\n    at NX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:912\n    at Array.map (<anonymous>)\n    at LX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:903)\n    at pxB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2278:9387)\n    at $R (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:327:19859)\n    at yb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:42848)\n    at Sb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38369)\n    at Ij (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38297)\n    at gR (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38151)","timestamp":"2025-08-11T12:14:11.124Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: prisma\n    at NX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:912\n    at Array.map (<anonymous>)\n    at LX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:903)\n    at pxB (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:2278:9387)\n    at $R (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:327:19859)\n    at yb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:42848)\n    at Sb (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38369)\n    at Ij (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38297)\n    at gR (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:329:38151)","timestamp":"2025-08-11T12:14:11.127Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: prisma\n    at NX (file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:1184)\n    at file:///Users/greg/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:1858:912\n    at

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗