Modes & Shell Commands
MyLocalCLI features powerful modes inspired by OpenCode and AmpCode - two of the best CLI tools available.
Agent Modes (OpenCode-inspired)
Agent modes control what actions the AI can take in your project.
BUILD Mode šØ
- Default mode - Full access to all capabilities
- Can read, write, and modify files
- Can execute shell commands
- Can make git commits
- Use for: Active development and modifications
/build # Switch to BUILD mode
PLAN Mode š
- Read-only mode - Safe exploration
- Can only read files and search code
- Cannot modify files or run dangerous commands
- Ideal for understanding unfamiliar codebases
- Use for: Code review, exploration, planning
/plan # Switch to PLAN mode
Quick Toggle: Type tab to switch between modes instantly!
Performance Modes (AmpCode-inspired)
Performance modes control model selection and response characteristics.
SMART Mode š§
- Uses best available model for maximum capability
- Full context window (128K tokens)
- Best for complex tasks and nuanced understanding
/smart # Switch to SMART mode
RUSH Mode ā”
- Uses faster, more efficient model
- Reduced context for speed
- Best for quick questions and simple tasks
/rush # Switch to RUSH mode
Shell Mode (Quick Commands)
Execute shell commands directly without asking the AI! Inspired by AmpCode's shell mode.
Standard Shell ($)
Prefix any command with $ to run it immediately. Output is added to the AI's context.
$ npm test # Run tests, AI sees results
$ git status # Check git status
$ ls -la # List files
Incognito Shell ($$)
Prefix with $$ for incognito mode - command runs but output is NOT added to AI context.
$$ npm install lodash # Install package privately
$$ cat secret.env # View sensitive file
$$ git log --oneline # Check history without polluting context
Mode Commands Reference
| Command | Description |
|---|---|
/mode | Show current modes |
/build | Switch to BUILD mode (full access) |
/plan | Switch to PLAN mode (read-only) |
/smart | Switch to SMART mode (max capability) |
/rush | Switch to RUSH mode (fast) |
/shortcuts | Show all keyboard shortcuts |
Tips for New Users
- Start in BUILD mode for normal development work
- Switch to PLAN mode when exploring unfamiliar code (prevents accidental modifications)
- Use shell mode (
$) for quick commands instead of asking the AI - Use incognito shell (
$$) for sensitive operations
The mode indicator appears in your prompt:
ā [BUILD] You: your message here
ā [PLAN] You: analyzing the code...
New in v3.4.1: Enhanced TUI
MyLocalCLI now features a beautiful full-screen terminal interface:
Visual Features
- šØ Gradient Logo - Purple-to-cyan color transitions
- āāā® Rounded Boxes - Premium Unicode borders
- š Animated Thinking - Braille spinner while AI processes
- šļø Syntax Highlighting - Code blocks with color
New in v3.4.1
- š” Welcome Tips - Random helpful tip on each startup
- š Context Indicator - Visual bar showing context usage:
āØāāāāāāāāā© 32% - āØļø Input History - Commands remembered for recall
- šŖ Terminal Title - Window shows "MyLocalCLI"
- š Resize Support - Screen redraws on window resize
Launch with mylocalcli or use --classic for the traditional mode.