Slash Commands Reference

Complete reference for built-in slash commands and their usage

Essential Commands

/help

Purpose: Display all available commands and features

Usage:

$$/help /help [command] - Show detailed help for specific command$$

Response: Interactive adaptive card showing:

  • All available slash commands
  • Natural language command examples
  • Quick action buttons for common operations
  • Localized content based on user’s Teams language

Help command showing interactive card with all available bot features


/instances

Purpose: List all EC2 instances with interactive management options

Usage:

$$/instances$$

Response: Interactive card displaying:

  • Instance IDs, names, and tags
  • Current state (running, stopped, etc.)
  • Instance type and platform
  • SSM connectivity status
  • Quick action buttons for each instance

Instances command showing interactive list of EC2 instances with action buttons


/health

Purpose: Comprehensive health dashboard for instances

Usage:

$$/health - Show health dashboard for all instances /health [instance-id] - Show health for specific instance$$

Response: Rich dashboard featuring:

  • CPU, memory, and disk usage metrics
  • SSM agent connectivity status
  • Visual health indicators and charts
  • System performance trends
  • CloudWatch metrics integration

Health command displaying comprehensive dashboard with metrics and charts Health command showing detailed instance health metrics and status


/rightsizing

Purpose: Cost optimization and rightsizing recommendations

Usage:

$$/rightsizing$$

Response: Cost optimization dashboard with:

  • Current instance utilization analysis
  • Rightsizing recommendations
  • Potential cost savings calculations
  • Instance type upgrade/downgrade suggestions
  • CloudWatch metrics-based insights

Rightsizing command showing cost optimization recommendations and potential savings


Monitoring & Management Commands

/status

Purpose: Show pending commands and recent activity

Usage:

$$/status$$

Response: Command status dashboard showing:

  • Currently pending SSM commands
  • Recent command execution history
  • Command success/failure rates
  • AWS Console links for detailed monitoring
  • Elapsed time for running operations

Status command displaying pending operations and recent activity


/history

Purpose: View detailed command execution history

Usage:

$$/history$$

Response: Comprehensive command history with:

  • Past command executions
  • Success/failure status
  • Detailed results and outputs
  • Timestamp and user information
  • Filtering and search capabilities

History command showing detailed execution history and results


/token-usage

Purpose: Monitor Bedrock AI token usage and costs

Usage:

$$/token-usage$$

Response: Token usage analytics including:

  • Current billing period usage
  • Token consumption trends
  • Cost breakdown by operation type
  • Usage limits and quotas
  • Optimization recommendations

Token usage command showing AI usage analytics and cost breakdown Token usage command showing AI usage analytics and cost breakdown with details


Command Tips

Quick Access

  • Type / in Teams to see all available slash commands
  • Commands are case-insensitive: /help = /HELP = /Help
  • Use Tab completion in Teams for faster command entry

Combining with Natural Language

You can follow slash commands with natural language for more specific requests:

$$/health show me only instances with high CPU usage /instances filter by production environment /help with cost optimization$$

Command Parameters

  • Most commands work without parameters for overview information
  • Add instance IDs for specific instance details: /health i-1234567890abcdef0
  • Use /help [command] for detailed usage instructions

Command History

  • Use ↑ (up arrow) in Teams to repeat recent commands
  • All commands are logged for audit purposes
  • Interactive cards maintain state for better user experience

Command Comparison

CommandSpeedDetail LevelBest For
/instancesFastInteractiveInstance management
"show me my instances"SlowerConversationalAnalysis & insights
/healthFastDashboardHealth monitoring
"which instances need attention?"SlowerAI AnalysisTroubleshooting
/statusFastCurrentOperation tracking

Error Handling

Common Issues

Command not recognized:

$$Unknown command: /instaces Did you mean: /instances?$$

Missing permissions:

$$❌ Insufficient AWS permissions for this operation Contact your administrator to review IAM policies$$

Service unavailable:

$$⚠️ AWS services temporarily unavailable Try again in a few moments or use /status for details$$

Recovery Steps

  1. Check spelling - Commands must be exact
  2. Verify AWS permissions - Commands require proper IAM roles
  3. Try /status - Check if services are operational
  4. Use /help - See all available commands

Next Steps

Learn More

Quick Start

Try these commands right now in Teams:

  1. /help - See what’s available
  2. /instances - View your EC2 instances with interactive controls
  3. /health - Check instance health dashboard
  4. /rightsizing - Discover cost optimization opportunities
  5. "show me instances that need attention" - Try natural language

Advanced Usage

Command Workflows

Combine slash commands for powerful workflows:

$$1. /instances → Click instance → View health details 2. /health → Identify issues → Use natural language for troubleshooting 3. /rightsizing → Review recommendations → Ask for implementation help 4. /status → Monitor ongoing operations → /history for detailed results$$

Interactive Features

  • Action Buttons: Most commands include interactive buttons for common actions
  • Context Preservation: Commands remember your selections for follow-up questions
  • Real-time Updates: Health and status information refreshes automatically
  • Multi-language Support: Commands adapt to your Teams language preference

Need Help?