CLI Commands
import { Tabs, TabItem } from ‘@astrojs/starlight/components’;
Daemon Control
Section titled “Daemon Control”Commands that manage the background daemon process.
mia start # Start the daemon (via PM2)mia stop # Stop the daemonmia restart # Restart the daemonmia status # Show daemon status (PID, uptime, plugin)mia logs # Tail daemon logs (live stream)Conversation
Section titled “Conversation”Interactive Chat
Section titled “Interactive Chat”mia chat # New conversationmia chat --resume <id> # Resume a saved conversationmia chat --list # List saved conversationsmia chat --cwd /path/to/proj # Override working directorymia chat --no-context # Skip workspace context injectionChat Slash Commands
Section titled “Chat Slash Commands”Inside an interactive chat session:
| Command | Description |
|---|---|
/add <file> | Queue a file for injection into context |
/exec <command> | Queue command output for injection |
/diff [ref] | Queue current git diff |
/remember <fact> | Store a fact in memory |
/fetch <url> | Fetch URL content and inject |
/new | Start a fresh conversation |
/clear | Clear the terminal |
/exit | End the session |
/help | Show available commands |
One-Shot Ask
Section titled “One-Shot Ask”mia ask "Explain the auth flow"mia ask --cwd ~/project "What does this do?"echo "error log" | mia ask --raw "What caused this?"Workflow Commands
Section titled “Workflow Commands”Commit
Section titled “Commit”Generate AI-powered commit messages from staged changes.
mia commit # Interactive: review and confirmmia commit --yes # Auto-confirm (no prompt)mia commit --all # Stage all changes firstmia commit --dry-run # Show message without committingmia commit --push # Push after committingStandup
Section titled “Standup”Generate a summary of recent development activity.
mia standup # Today's activitymia standup --yesterday # Yesterday's activitymia standup --hours 48 # Last 48 hoursmia standup --repos ~/a,~/b # Across multiple reposChangelog
Section titled “Changelog”Generate a changelog from git history.
mia changelog # Recent changesmia changelog --from v1.0.0 # From a specific tagmia changelog --from v1.0 --to v2.0 # Between tagsmia changelog --write # Write to CHANGELOG.mdPlugin Management
Section titled “Plugin Management”mia plugin list # Show all plugins and statusmia plugin switch gemini # Switch active pluginmia plugin test # Verify active plugin worksmia plugin info claude-code # Details about a specific pluginMemory
Section titled “Memory”mia memory list # Show recent stored factsmia memory search "pnpm" # Find facts by query (FTS5)mia memory add "uses Rust" # Manually store a factmia memory stats # Memory stats by typeScheduler
Section titled “Scheduler”mia scheduler list # Show all tasksmia scheduler add "0 9 * * 1-5" "standup" # Add cron taskmia scheduler delete <id> # Remove a taskmia scheduler start <id> # Enable a taskmia scheduler stop <id> # Disable a taskmia scheduler test <id> # Run immediatelyP2P & Mobile
Section titled “P2P & Mobile”mia p2p status # Connection status (peers, uptime)mia p2p qr # Show QR code for mobile pairingmia p2p refresh # Rotate seed and reconnectConfiguration
Section titled “Configuration”mia config # Show all configmia config get activePlugin # Get a specific valuemia config set maxConcurrency 5 # Set a valueDiagnostics
Section titled “Diagnostics”mia doctor # Workspace health check (deps, config, plugins)mia log # Recent dispatch historymia log --n 20 # Last 20 dispatchesmia usage # Token usage summarymia usage --week # This week's usagemia usage --all # All-time usageUpdate
Section titled “Update”mia update # Pull latest, rebuild, restart daemon