Asoba Ona Terminal

Using / Commands (Interactive Mode)

Master Ona Terminal’s interactive CLI with slash commands and examples.


Getting Started

Launch interactive mode:

ona-terminal

You’ll see the interactive prompt:

πŸ€– | 

Type any command or natural language request.


Essential System Commands

Help and Discovery

# Show all available commands
πŸ€– | /help

# List all slash commands with descriptions
πŸ€– | /commands

# Get help for specific command
πŸ€– | /help github

System Status and Configuration

# Check system status and model availability
πŸ€– | /status
πŸ€– | /health

# List available MCP servers and their status
πŸ€– | /servers

# Show available AI models
πŸ€– | /models
πŸ€– | /model

# Interactive configuration management
πŸ€– | /configure

File Operations

Reading and Viewing Files

# Read and display file contents
πŸ€– | /read config.py
πŸ€– | /read README.md
πŸ€– | /read src/main.py

# Read with line limit
πŸ€– | /read --lines 50 large_file.txt

Directory Operations

# List directory contents
πŸ€– | /list
πŸ€– | /list src/

# List with hidden files
πŸ€– | /list --all

# List with detailed information  
πŸ€– | /list --details

Search Operations

# Search for files and content
πŸ€– | /find main.py
πŸ€– | /find "function name"
πŸ€– | /find "import requests"

# Search by type
πŸ€– | /find --type file "*.py"
πŸ€– | /find --type dir "test*"
πŸ€– | /find --type content "TODO"

# Search in specific path
πŸ€– | /find pattern --path src/

Code Operations

AI-Assisted File Editing

# Edit files with AI assistance
πŸ€– | /edit config.py
πŸ€– | /edit src/main.py "add error handling"
πŸ€– | /edit README.md "update installation instructions"

# Interactive editing
πŸ€– | /edit app.py
# Follow prompts for what changes to make

GitHub Integration

Repository Operations

# GitHub authentication
πŸ€– | /github auth login
πŸ€– | /github auth status
πŸ€– | /github auth logout

# Repository information
πŸ€– | /github repo info owner/repo
πŸ€– | /github repo info owner/repo --details

# Issues management
πŸ€– | /github issues list owner/repo
πŸ€– | /github issues list owner/repo --state=closed

# Pull requests
πŸ€– | /github pr list owner/repo
πŸ€– | /github pr list owner/repo --state=all

# Webhooks
πŸ€– | /github webhook list owner/repo

# Rate limiting
πŸ€– | /github rate-limit

O&M Specific Commands

Inverter Operations

# Upload inverter data for analysis
πŸ€– | /upload-inverter upload CUSTOMER_ID LOCATION MANUFACTURER SERIAL_NUMBER FILE_PATH REGION CLIENT_ID
πŸ€– | /upload-inverter CUSTOMER_ID LOCATION MANUFACTURER SERIAL_NUMBER FILE_PATH REGION CLIENT_ID
πŸ€– | /upload-inverter CUSTOMER_ID LOCATION MANUFACTURER SERIAL_NUMBER FILE_PATH REGION CLIENT_ID

# Check upload status
πŸ€– | /upload-inverter status [UPLOAD_ID]
πŸ€– | /upload-inverter status [UPLOAD_ID]

# Generate forecasts
πŸ€– | /forecast-inverter start CUSTOMER_ID LOCATION MANUFACTURER SERIAL_NUMBER REGION FORECAST_TYPE HORIZON_DAYS FREQUENCY
πŸ€– | /forecast-inverter start CUSTOMER_ID LOCATION MANUFACTURER SERIAL_NUMBER REGION FORECAST_TYPE HORIZON_DAYS FREQUENCY
πŸ€– | /forecast-inverter start CUSTOMER_ID LOCATION MANUFACTURER SERIAL_NUMBER REGION FORECAST_TYPE HORIZON_DAYS FREQUENCY

# Get forecast results
πŸ€– | /forecast-inverter get CUSTOMER_ID LOCATION MANUFACTURER SERIAL_NUMBER REGION OUTPUT_DIR FORECAST_TYPE
πŸ€– | /forecast-inverter get CUSTOMER_ID LOCATION MANUFACTURER SERIAL_NUMBER REGION OUTPUT_DIR FORECAST_TYPE

# Check forecast status
πŸ€– | /forecast-inverter status [REQUEST_ID]
πŸ€– | /forecast-inverter status [REQUEST_ID]

Example O&M Workflows

# Upload inverter data
πŸ€– | /upload-inverter SOLAR001 "Cape Town" "SolarEdge" SE12345 /data/inverter.csv af-south-1 client123

# Monitor processing
πŸ€– | /upload-inverter status SOLAR001_SE12345_1754151842

# Generate 7-day forecast
πŸ€– | /forecast-inverter start SOLAR001 "Cape Town" "SolarEdge" SE12345 af-south-1 P50 7 daily

# Get forecast results
πŸ€– | /forecast-inverter get SOLAR001 "Cape Town" "SolarEdge" SE12345 af-south-1 /tmp/forecasts P50

Configuration and Prompts

System Prompt Management

# List all available system prompts
πŸ€– | /prompts list

# Select a system prompt for current and future sessions
πŸ€– | /prompts select simple
πŸ€– | /prompts select medium
πŸ€– | /prompts select ooda

# Show current prompt
πŸ€– | /prompts current

Planning File Management (.ona)

# Set up .ona directory and .gitignore
πŸ€– | /ona setup
πŸ€– | /ona setup

# List all planning files in .ona directory
πŸ€– | /ona list
πŸ€– | /ona list

# Create planning files
πŸ€– | /ona create --content "Planning content here" --type plan
πŸ€– | /ona create --content "Analysis content here" --type insights

# Show .ona status
πŸ€– | /ona status

Command Categories Reference

System Commands

File Operations

GitHub Integration

O&M Operations

Configuration


Natural Language Integration

You can also use natural language for complex tasks:

# Code generation
πŸ€– | generate a python function that reads CSV files
πŸ€– | create a terraform module for AWS S3 bucket
πŸ€– | write unit tests for my authentication function

# Analysis and review
πŸ€– | analyze this Python file for performance issues
πŸ€– | review my repository structure and suggest improvements
πŸ€– | scan my codebase for security vulnerabilities

# Infrastructure operations
πŸ€– | deploy a microservices architecture on AWS
πŸ€– | create a Kubernetes deployment with monitoring
πŸ€– | analyze my inverter data and generate forecast

Tips and Best Practices

Command Efficiency

File Operations

GitHub Workflows

O&M Operations

Planning Integration


Troubleshooting

Command Not Found

If a command isn’t recognized:

File Operations Issues

GitHub Integration Issues

O&M Data Issues

For additional help, use /help followed by the specific command name for detailed usage information.