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
Mode | Purpose | Auto-Triggers | Key Behaviors | Best Used For |
---|---|---|---|---|
π§ Brainstorming | Interactive discovery | "brainstorm", "maybe", vague requests | Socratic questions, requirement elicitation | New project planning, unclear requirements |
π Introspection | Meta-cognitive analysis | Error recovery, "analyze reasoning" | Transparent thinking markers (π€, π―, π‘) | Debugging, learning, optimization |
π Task Management | Complex coordination | >3 steps, >2 directories | Phase breakdown, memory persistence | Multi-step operations, project management |
π― Orchestration | Intelligent tool selection | Multi-tool ops, high resource usage | Optimal tool routing, parallel execution | Complex analysis, performance optimization |
β‘ Token Efficiency | Compressed communication | High context usage, --uc flag | Symbol systems, estimated 30-50% token reduction | Resource 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:
"I'll build a user authentication system with JWT tokens..."
Β - 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:
"I'll analyze this code structure and suggest improvements..."
Β π― 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:
"I'll implement user authentication..." β Direct implementation
Β π― 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:
Sequential file-by-file analysis and editing
Β π 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:
"The authentication system implementation shows a security vulnerability in the user validation function that needs immediate attention..."
Β 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:
Consistent, professional baseline for all tasks
Β 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:
- Complexity Threshold: >3 files β Task Management
- Resource Pressure: High context usage β Token Efficiency
- Multi-Tool Need: Complex analysis β Orchestration
- Uncertainty: Vague requirements β Brainstorming
- 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 Type | Example Input | Mode Activated | Key Behavior |
---|---|---|---|
Vague Request | "I want to build an app" | π§ Brainstorming | Socratic discovery questions |
Complex Scope | >3 files or >2 directories | π Task Management | Phase coordination |
Multi-Tool Need | Analysis + Implementation | π― Orchestration | Tool optimization |
Error Recovery | "This isn't working as expected" | π Introspection | Transparent reasoning |
Resource Pressure | High context usage | β‘ Token Efficiency | Symbol compression |
Simple Task | "Fix this function" | π¨ Standard | Clear, 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 Error | Meaning | Quick Fix |
---|---|---|
B001 | Brainstorming failed to activate | Use explicit --brainstorm flag |
T001 | Task management overhead | Use --no-task-manage for simple tasks |
U001 | Token efficiency too aggressive | Use --verbose or --no-uc |
I001 | Introspection mode stuck | Use --no-introspect for direct action |
O001 | Orchestration coordination failed | Use --no-mcp or --simple |
M001 | Mode conflict detected | Check flag priority rules |
M002 | Mode switching loop | Restart session to reset state |
M003 | Mode not recognized | Update 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.