Behavioral Modes

Adaptive behaviors that optimize for different development scenarios

GemBoost Behavioral Modes Guide 🧠

βœ… Quick Verification

Test modes by using /gb: commands - they activate automatically based on task complexity. For full command reference, see Commands Guide.

Quick Reference Table

ModePurposeAuto-TriggersKey BehaviorsBest Used For
🧠 BrainstormingInteractive discovery"brainstorm", "maybe", vague requestsSocratic questions, requirement elicitationNew project planning, unclear requirements
πŸ” IntrospectionMeta-cognitive analysisError recovery, "analyze reasoning"Transparent thinking markers (πŸ€”, 🎯, πŸ’‘)Debugging, learning, optimization
πŸ“‹ Task ManagementComplex coordination>3 steps, >2 directoriesPhase breakdown, memory persistenceMulti-step operations, project management
🎯 OrchestrationIntelligent tool selectionMulti-tool ops, high resource usageOptimal tool routing, parallel executionComplex analysis, performance optimization
⚑ Token EfficiencyCompressed communicationHigh context usage, --uc flagSymbol systems, estimated 30-50% token reductionResource constraints, large operations

Getting Started (2-Minute Overview)

Modes activate through behavioral instructions - Gemini Cli reads context files to determine which mode behaviors to adopt based on your task patterns and complexity.

Quick Examples:

# Automatic activation examples
/gb:brainstorm "mobile app"        # β†’ Socratic discovery questions
/gb:implement "auth system"        # β†’ Multi-phase coordination
"--uc analyze large-codebase/"     # β†’ Compressed symbol output

When to use manual flags:

  • β€’ Need specific behavior: --brainstorm, --introspect, --uc
  • β€’ Override automatic detection for learning/debugging
  • β€’ Optimize for specific constraints (memory, time, clarity)

Mode Details

🧠 Brainstorming Mode - Interactive Discovery

Purpose: Transform vague ideas into structured requirements through collaborative discovery.

Auto-Activation Triggers:

  • β€’ Vague project requests: "I want to build...", "Thinking about creating..."
  • β€’ Exploration keywords: brainstorm, explore, discuss, figure out, not sure
  • β€’ Uncertainty indicators: "maybe", "possibly", "could we"
  • β€’ Manual flags: --brainstorm, --bs

Behavioral Changes:

  • β€’ Socratic Questioning: Asks probing questions to uncover hidden requirements
  • β€’ Non-Presumptive Approach: Avoids assumptions, lets you guide discovery direction
  • β€’ Collaborative Partnership: Works with you in exploration rather than directive consultation
  • β€’ Requirement Synthesis: Converts insights into structured technical briefs
  • β€’ Cross-Session Memory: Maintains discovery context for follow-up discussions

Example Experience:

Standard Approach:

"I'll build a user authentication system with JWT tokens..."

Brainstorming Approach:
"πŸ€” Let's explore this together:
Β - What specific user problems does auth solve for your app?
Β - Who are your users and what's their technical comfort level?
Β - Any existing systems or social logins to integrate with?
Β - What security/compliance requirements do you have?
πŸ“ Outcome: Detailed auth requirements brief ready for implementation"

Success Criteria

  • ☐ Responds with questions instead of immediate solutions
  • ☐ Questions explore user needs, technical constraints, and business goals
  • ☐ Maintains collaborative tone throughout discovery process
  • ☐ Produces structured requirements or technical brief as outcome

Verify: /gb:brainstorm "web app" should ask about users, features, technology
Test: Vague requests should trigger discovery questions, not assumptions
Check: Mode should persist across follow-up questions in same conversation

Works Best With:

  • β€’ β†’ Task Management: Requirements discovery β†’ systematic implementation planning
  • β€’ β†’ Orchestration: Requirements clarity β†’ optimal tool selection for implementation
  • β€’ Manual Override: Use --brainstorm to force discovery even for "clear" requirements

πŸ” Introspection Mode - Meta-Cognitive Analysis

Purpose: Expose reasoning process for learning optimization and transparent decision-making.

Auto-Activation Triggers:

  • β€’ Self-analysis requests: "analyze my reasoning", "reflect on decision"
  • β€’ Error recovery scenarios and unexpected results requiring investigation
  • β€’ Complex problem solving with multiple viable approaches
  • β€’ Pattern recognition needs for optimization opportunities
  • β€’ Manual flag: --introspect

Behavioral Changes:

  • β€’ Reasoning Transparency: Exposes thinking process with clear markers (πŸ€”, 🎯, ⚑, πŸ“Š, πŸ’‘)
  • β€’ Decision Analysis: Evaluates choice logic and considers alternative approaches
  • β€’ Pattern Recognition: Identifies recurring behaviors and improvement opportunities
  • β€’ Meta-Learning: Extracts insights for continuous framework improvement
  • β€’ Framework Compliance: Validates actions against GemBoost principles and quality gates

Example Experience:

Standard Approach:

"I'll analyze this code structure and suggest improvements..."

Introspective Approach:
"🧠 Meta-Analysis: Why did I choose structural analysis over functional flow?
 🎯 Decision Logic: Saw class hierarchy β†’ assumed OOP pattern dominance
Β πŸ”„ Alternative Considered: Data flow analysis might reveal hidden dependencies
Β πŸ“Š Evidence Check: File imports suggest functional composition, not OOP
Β πŸ’‘ Learning: Need to analyze imports before choosing analysis strategy
 ⚑ Correction: Switching to functional flow analysis approach"

Works Best With:

  • β€’ β†’ Task Management: Provides transparent reasoning for complex phase decisions
  • β€’ Any Mode: Adds reasoning transparency layer to any other mode's operation
  • β€’ Manual Override: Use --introspect for learning sessions and debugging workflows

πŸ“‹ Task Management Mode - Complex Coordination

Purpose: Hierarchical task organization with session persistence for multi-step operations.

Auto-Activation Triggers:

  • β€’ Operations requiring >3 coordinated steps
  • β€’ Multiple file/directory scope (>2 directories OR >3 files)
  • β€’ Complex dependencies requiring phases and checkpoints
  • β€’ Quality improvement requests: polish, refine, enhance
  • β€’ Manual flags: --task-manage, --delegate

Behavioral Changes:

  • β€’ Hierarchical Planning: Breaks complex work into Plan β†’ Phase β†’ Task β†’ Todo structure
  • β€’ Session Persistence: Maintains project context and progress across interruptions
  • β€’ Memory Integration: Uses write_memory/read_memory for state preservation
  • β€’ Progress Orchestration: Coordinates TodoWrite with memory updates for tracking
  • β€’ Quality Gates: Implements systematic validation checkpoints between phases

Example Experience:

Standard Approach:

"I'll implement user authentication..." β†’ Direct implementation

Task Management Approach:
"πŸ“‹ Multi-Phase Implementation Plan:
 🎯 Phase 1: Security Requirements Analysis (Session 1)
 🎯 Phase 2: API Design & Documentation (Session 2)
 🎯 Phase 3: Implementation & Testing (Session 3-4)
 🎯 Phase 4: Integration & Validation (Session 5)
Β πŸ’Ύ Session persistence: Resume context automatically
Β βœ“ Quality gates: Validation before each phase transition"

Works Best With:

  • β€’ Brainstorming β†’ Requirements discovery then systematic implementation
  • β€’ + Orchestration: Task coordination with optimal tool selection
  • β€’ + Introspection: Transparent reasoning for complex phase decisions

🎯 Orchestration Mode - Intelligent Tool Selection

Purpose: Optimize task execution through intelligent tool routing and parallel coordination.

Auto-Activation Triggers:

  • β€’ Multi-tool operations requiring sophisticated coordination
  • β€’ Performance constraints (high resource usage)
  • β€’ Parallel execution opportunities (>3 independent files/operations)
  • β€’ Complex routing decisions with multiple valid tool approaches

Behavioral Changes:

  • β€’ Intelligent Tool Routing: Selects optimal MCP servers and native tools for each task type
  • β€’ Resource Awareness: Adapts approach based on system constraints and availability
  • β€’ Parallel Optimization: Identifies independent operations for concurrent execution
  • β€’ Coordination Focus: Optimizes tool selection and usage through coordinated execution
  • β€’ Adaptive Fallback: Switches tools gracefully when preferred options are unavailable

Example Experience:

Standard Approach:

Sequential file-by-file analysis and editing

Orchestration Approach:
"🎯 Multi-Tool Coordination Strategy:
Β πŸ” Phase 1: Serena (semantic analysis) + Sequential (architecture review)
 ⚑ Phase 2: Morphllm (pattern edits) + Magic (UI components)
Β πŸ§ͺ Phase 3: Playwright (testing) + Context7 (documentation patterns)
Β πŸ”„ Parallel execution: 3 tools working simultaneously"

Works Best With:

  • β€’ Task Management β†’ Provides tool coordination for complex multi-phase plans
  • β€’ + Token Efficiency: Optimal tool selection with compressed communication
  • β€’ Any Complex Task: Adds intelligent tool routing to enhance execution

⚑ Token Efficiency Mode - Compressed Communication

Purpose: Achieve estimated 30-50% token reduction through symbol systems while preserving information quality.

Auto-Activation Triggers:

  • β€’ High context usage approaching limits
  • β€’ Large-scale operations requiring resource efficiency
  • β€’ User explicit flags: --uc, --ultracompressed
  • β€’ Complex analysis workflows with multiple outputs

Behavioral Changes:

  • β€’ Symbol Communication: Uses visual symbols for logic flows, status, and technical domains
  • β€’ Technical Abbreviation: Context-aware compression for repeated technical terms
  • β€’ Structured Density: Bullet points, tables, and concise formatting over verbose paragraphs
  • β€’ Information Preservation: Maintains β‰₯95% information quality despite compression
  • β€’ Structured Format: Organized for clarity and task completion

Example Experience:

Standard Approach:

"The authentication system implementation shows a security vulnerability in the user validation function that needs immediate attention..."

Token Efficient Approach:
"πŸ›‘οΈ Security Alert:
Β auth.js:45 β†’ user val() β†’ critical vuln
Β πŸ“Š Impact: ❌ token bypass possible
 ⚑ Action: fix validation + audit ∡ high sev
Β πŸ”§ Est: 2h impl + 1h test"

Works Best With:

  • β€’ Any Mode: Adds compression layer while preserving mode-specific behaviors
  • β€’ Orchestration β†’ Compressed tool coordination and status updates
  • β€’ Manual Override: Use --uc when context pressure or efficiency is priority

🎨 Standard Mode - Balanced Default

Purpose: Provide clear, professional communication for straightforward development tasks.

Auto-Activation Triggers:

  • β€’ Simple, well-defined tasks without complexity indicators
  • β€’ Single-file operations with clear requirements
  • β€’ Basic explanations and standard development workflows
  • β€’ No other mode triggers detected (default fallback)

Behavioral Changes:

  • β€’ Professional Communication: Clear, concise technical language without compression
  • β€’ Moderate Detail: Balanced information depth suitable for most development tasks
  • β€’ Standard Tool Selection: Uses native Gemini capabilities and basic tools
  • β€’ Quality Focus: Maintains code quality without complex orchestration overhead
  • β€’ Responsive Adaptation: Ready to switch to specialized modes when complexity increases

Example Experience:

Standard Approach:

Consistent, professional baseline for all tasks

"I'll implement the login function with proper error handling:

Β 1. Validate user input (email format, password requirements)
Β 2. Authenticate against database with secure hashing
Β 3. Generate JWT token with appropriate expiration
Β 4. Return success response with user data

Β The implementation will follow security best practices and include comprehensive error handling."

Works Best With:

  • β€’ β†’ Any Mode: Serves as baseline that other modes enhance
  • β€’ Mode Switching: Automatically escalates to specialized modes when needed
  • β€’ Clarity Priority: When straightforward communication is more important than optimization

Advanced Usage

Mode Combinations

Multi-Mode Workflows:

# Discovery β†’ Planning β†’ Implementation
/gb:brainstorm "microservices architecture" --task-manage
# β†’ Brainstorming: requirement discovery
# β†’ Task Management: multi-phase coordination

# Analysis with transparency and efficiency
/gb:analyze legacy-system/ --introspect --uc
# β†’ Introspection: transparent reasoning
# β†’ Token Efficiency: compressed output

Manual Mode Control

Force Specific Behaviors:
  • β€’ --brainstorm: Force collaborative discovery for any task
  • β€’ --introspect: Add reasoning transparency to any mode
  • β€’ --task-manage: Enable hierarchical coordination
  • β€’ --orchestrate: Optimize tool selection and parallel execution
  • β€’ --uc: Compress communication for efficiency
Override Examples:
# Force brainstorming on "clear" requirements
/gb:implement "user login" --brainstorm

# Add reasoning transparency to debugging
/gb:fix auth-issue --introspect

# Enable task management for simple operations
/gb:update styles.css --task-manage

Mode Boundaries and Priority

When Modes Activate:

  1. Complexity Threshold: >3 files β†’ Task Management
  2. Resource Pressure: High context usage β†’ Token Efficiency
  3. Multi-Tool Need: Complex analysis β†’ Orchestration
  4. Uncertainty: Vague requirements β†’ Brainstorming
  5. Error Recovery: Problems β†’ Introspection

Priority Rules:

  • β€’ Safety First: Quality and validation always override efficiency
  • β€’ User Intent: Manual flags override automatic detection
  • β€’ Context Adaptation: Modes stack based on complexity
  • β€’ Resource Management: Efficiency modes activate under pressure

Real-World Examples

Complete Workflow Examples

New Project Development:

# Phase 1: Discovery (Brainstorming Mode auto-activates)
"I want to build a productivity app"
β†’ πŸ€” Socratic questions about users, features, platform choice
β†’ πŸ“ Structured requirements brief

# Phase 2: Planning (Task Management Mode auto-activates)
/gb:implement "core productivity features"
β†’ πŸ“‹ Multi-phase breakdown with dependencies
β†’ 🎯 Phase coordination with quality gates

# Phase 3: Implementation (Orchestration Mode coordinates tools)
/gb:develop frontend + backend
β†’ 🎯 Magic (UI) + Context7 (patterns) + Sequential (architecture)
β†’ ⚑ Parallel execution optimization

Debugging Complex Issues:

# Problem analysis (Introspection Mode auto-activates)
"Users getting intermittent auth failures"
β†’ πŸ€” Transparent reasoning about potential causes
β†’ 🎯 Hypothesis formation and evidence gathering
β†’ πŸ’‘ Pattern recognition across similar issues

# Systematic resolution (Task Management coordinates)
/gb:fix auth-system --comprehensive
β†’ πŸ“‹ Phase 1: Root cause analysis
β†’ πŸ“‹ Phase 2: Solution implementation
β†’ πŸ“‹ Phase 3: Testing and validation

Mode Combination Patterns

High-Complexity Scenarios:

# Large refactoring with multiple constraints
/gb:modernize legacy-system/ --introspect --uc --orchestrate
β†’ πŸ” Transparent reasoning (Introspection)
β†’ ⚑ Compressed communication (Token Efficiency)
β†’ 🎯 Optimal tool coordination (Orchestration)
β†’ πŸ“‹ Systematic phases (Task Management auto-activates)

Quick Reference

Mode Activation Patterns

Trigger TypeExample InputMode ActivatedKey Behavior
Vague Request"I want to build an app"🧠 BrainstormingSocratic discovery questions
Complex Scope>3 files or >2 directoriesπŸ“‹ Task ManagementPhase coordination
Multi-Tool NeedAnalysis + Implementation🎯 OrchestrationTool optimization
Error Recovery"This isn't working as expected"πŸ” IntrospectionTransparent reasoning
Resource PressureHigh context usage⚑ Token EfficiencySymbol compression
Simple Task"Fix this function"🎨 StandardClear, direct approach

Manual Override Commands

# Force specific mode behaviors
/gb:command --brainstorm    # Collaborative discovery
/gb:command --introspect    # Reasoning transparency
/gb:command --task-manage   # Hierarchical coordination
/gb:command --orchestrate   # Tool optimization
/gb:command --uc           # Token compression

# Combine multiple modes
/gb:command --introspect --uc    # Transparent + efficient
/gb:command --task-manage --orchestrate  # Coordinated + optimized

Mode-Specific Troubleshooting

Brainstorming Mode Issues:

# Problem: Mode gives solutions instead of asking questions
# Quick Fix: Check request clarity and use explicit flag
/gb:brainstorm "web app" --brainstorm         # Force discovery mode
"I have a vague idea about..."                # Use uncertainty language
"Maybe we could build..."                     # Trigger exploration

Task Management Mode Issues:

# Problem: Simple tasks getting complex coordination
# Quick Fix: Reduce scope or use simpler commands
/gb:implement "function" --no-task-manage     # Disable coordination
/gb:simple-fix bug.js                         # Use basic commands
# Check if task really is complex (>3 files, >2 directories)

Token Efficiency Mode Issues:

# Problem: Output too compressed or unclear
# Quick Fix: Disable compression for clarity
/gb:command --no-uc                           # Disable compression
/gb:command --verbose                         # Force detailed output
# Use when clarity is more important than efficiency

Introspection Mode Issues:

# Problem: Too much meta-commentary, not enough action
# Quick Fix: Disable introspection for direct work
/gb:command --no-introspect                   # Direct execution
# Use introspection only for learning and debugging

Orchestration Mode Issues:

# Problem: Tool coordination causing confusion
# Quick Fix: Simplify tool usage
/gb:command --no-mcp                          # Native tools only
/gb:command --simple                          # Basic execution
# Check if task complexity justifies orchestration

Error Code Reference

Mode ErrorMeaningQuick Fix
B001Brainstorming failed to activateUse explicit --brainstorm flag
T001Task management overheadUse --no-task-manage for simple tasks
U001Token efficiency too aggressiveUse --verbose or --no-uc
I001Introspection mode stuckUse --no-introspect for direct action
O001Orchestration coordination failedUse --no-mcp or --simple
M001Mode conflict detectedCheck flag priority rules
M002Mode switching loopRestart session to reset state
M003Mode not recognizedUpdate GemBoost or check spelling

Progressive Support Levels

Level 1: Quick Fix (< 2 min)

  • β€’ Use manual flags to override automatic mode selection
  • β€’ Check if task complexity matches expected mode behavior
  • β€’ Try restarting Gemini Cli session

Level 2: Detailed Help (5-15 min)

# Mode-specific diagnostics
/gb:help modes                            # List all available modes
/gb:reflect --type mode-status            # Check current mode state
# Review request complexity and triggers

See Common Issues Guide for mode installation problems

Level 3: Expert Support (30+ min)

# Deep mode analysis
GemBoost install --diagnose
# Check mode activation patterns
# Review behavioral triggers and thresholds

See Diagnostic Reference Guide for behavioral mode analysis

Level 4: Community Support

  • β€’ Report mode issues at GitHub Issues
  • β€’ Include examples of unexpected mode behavior
  • β€’ Describe desired vs actual mode activation

Success Validation

After applying mode fixes, test with:

  • ☐ Simple requests use Standard mode (clear, direct responses)
  • ☐ Complex requests auto-activate appropriate modes (coordination, reasoning)
  • ☐ Manual flags override automatic detection correctly
  • ☐ Mode indicators (πŸ€”, 🎯, πŸ“‹) appear when expected
  • ☐ Performance remains good across different modes

Quick Troubleshooting (Legacy)

  • β€’ Mode not activating β†’ Use manual flags: --brainstorm, --introspect, --uc
  • β€’ Wrong mode active β†’ Check complexity triggers and keywords in request
  • β€’ Mode switching unexpectedly β†’ Normal behavior based on task evolution
  • β€’ Execution impact β†’ Modes optimize tool usage, shouldn't affect execution
  • β€’ Mode conflicts β†’ Check flag priority rules in Flags Guide

Frequently Asked Questions

Q: How do I know which mode is active?

A: Look for these indicators in communication patterns:

  • β€’ πŸ€” Discovery questions β†’ Brainstorming
  • β€’ 🎯 Reasoning transparency β†’ Introspection
  • β€’ Phase breakdowns β†’ Task Management
  • β€’ Tool coordination β†’ Orchestration
  • β€’ Symbol compression β†’ Token Efficiency

Q: Can I force specific modes?

A: Yes, use manual flags to override automatic detection:

/gb:command --brainstorm     # Force discovery
/gb:command --introspect     # Add transparency
/gb:command --task-manage    # Enable coordination
/gb:command --uc            # Compress output

Q: Do modes affect execution?

A: Modes optimize tool usage through coordination:

  • β€’ Token Efficiency: 30-50% context reduction
  • β€’ Orchestration: Parallel processing
  • β€’ Task Management: Prevents rework through systematic planning

Q: Can modes work together?

A: Yes, modes are designed to complement each other:

  • β€’ Task Management coordinates other modes
  • β€’ Token Efficiency compresses any mode's output
  • β€’ Introspection adds transparency to any workflow

Summary

GemBoost's 5 behavioral modes create an intelligent adaptation system that matches your needs automatically:

  • β€’ 🧠 Brainstorming: Transforms vague ideas into clear requirements
  • β€’ πŸ” Introspection: Provides transparent reasoning for learning and debugging
  • β€’ πŸ“‹ Task Management: Coordinates complex multi-step operations
  • β€’ 🎯 Orchestration: Optimizes tool selection and parallel execution
  • β€’ ⚑ Token Efficiency: Compresses communication while preserving clarity
  • β€’ 🎨 Standard: Maintains professional baseline for straightforward tasks

The key insight: You don't need to think about modes - they work transparently to enhance your development experience. Simply describe what you want to accomplish, and GemBoost automatically adapts its approach to match your needs.