Package Exports
- oh-my-codes
- oh-my-codes/package.json
Readme
oh-my-codes
The Best AI Agent Harness — a plugin for OpenCode that adds multi-model orchestration, account and workspace management, and token usage tracking.
Quick Start
# Install globally
npm install -g oh-my-codes
# Run the interactive setup
omc installOr without installing:
npx oh-my-codes installSee the Get Started guide for detailed instructions.
Documentation
Read the full documentation in your language:
CLI Commands
| Command | Description |
|---|---|
omc install |
Interactive setup (login, workspace, plugin config) |
omc account login <url> |
Log in via device code flow |
omc account logout [email] |
Log out from an account |
omc account switch |
Switch active workspace |
omc account list |
List logged-in accounts |
omc model list |
List available models |
omc model refresh |
Fetch latest models from API |
omc model clear |
Clear cached models |
omc token-usages |
View local token usage status |
omc token-usages push |
Push cached usage to server |
Inside OpenCode
Once configured, these commands are available directly in OpenCode:
/omc-login— log in to an OMC account/omc-switch— switch active workspace
License
SUL-1.0