Slash Commands Reference
Ohlala SmartOps includes several built-in slash commands that provide quick access to common operations and information.
/ and provide instant responses. Use them for quick tasks and information lookup.π 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

/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

/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

/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

π 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

/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

/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

π 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
| Command | Speed | Detail Level | Best For |
|---|---|---|---|
/instances | β‘ Fast | π Interactive | Instance management |
"show me my instances" | π Slower | π Conversational | Analysis & insights |
/health | β‘ Fast | π Dashboard | Health monitoring |
"which instances need attention?" | π Slower | π AI Analysis | Troubleshooting |
/status | β‘ Fast | π Current | Operation 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
- Check spelling - Commands must be exact
- Verify AWS permissions - Commands require proper IAM roles
- Try
/status- Check if services are operational - Use
/help- See all available commands
π Next Steps
Learn More
- Natural Language Commands β - Conversational interactions
- Command Examples β - Real-world usage scenarios
- Troubleshooting β - Resolve common issues
Quick Start
Try these commands right now in Teams:
/help- See what’s available/instances- View your EC2 instances with interactive controls/health- Check instance health dashboard/rightsizing- Discover cost optimization opportunities"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?
- π§ Support: support@ohlala.cloud
- π Full Documentation: Browse all docs
- π₯ Video Tutorials: Command Examples Gallery βοΈ