🎯 Basic Usage

Getting Started

Once installed, OpenCode Monitor runs seamlessly in the background while you use OpenCode AI. Here’s how to get started:

1. Start Monitoring

# Start monitoring your OpenCode AI sessions
ocmonitor start

This command begins tracking your OpenCode AI usage in real-time.

2. View Current Session

# View your current session details
ocmonitor show

3. Check Today’s Usage

# View today's usage summary
ocmonitor today

Common Commands

Here are the most frequently used commands:

CommandDescription
ocmonitor startBegin monitoring OpenCode AI sessions
ocmonitor stopStop monitoring
ocmonitor showDisplay current session information
ocmonitor todayShow today’s usage summary
ocmonitor weekShow this week’s usage
ocmonitor monthShow this month’s usage

Live Dashboard

For real-time monitoring, you can launch the live dashboard:

# Launch the live monitoring dashboard
ocmonitor live

This opens an interactive terminal dashboard showing real-time usage statistics.