โโโโโโโโโโโ โโโโโโโโโโโ
โโโโโโโโโโโโโ โโโโโโโโโโโโโ
โโโ โโโโโโโโโโโโโโ โโโ
โโโ โโโโโโโโโโโโโโ โโโ
โโโโโโโโโโโ โโโ โโโโโโโโโโโ
โโโโโโโโโโ โโโโโโโโโโ
Your words become commands.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ $ cmd find files larger than 100MB โ
โ โ
โ โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ โ
โ โ find . -size +100M -type f โ โ
โ โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ โ
โ โณ copied to clipboard โ
โ โณ use --enable-execution to run this command โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
You know what you want. You just forgot the syntax. We all do.
git clone https://github.com/Proteusiq/cmd.git && cd cmd
cargo build --release
mkdir -p ~/.local/bin && mv target/release/cmd ~/.local/bin/[!TIP] Make sure
~/.local/binis in yourPATH
$ cmd setup
? Select your LLM provider:
โธ Anthropic (Claude)
OpenAI
Ollama (local)
Azure OpenAI
? Enter your API key: ********
โ API key stored in system keychainNote
Works with Claude, OpenAI, Ollama (free, local), or any OpenAI-compatible API.
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Files & directories
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
cmd find all rust files modified today
cmd show disk usage sorted by size
cmd count lines of code in this project
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Git
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
cmd show commits from last week by author
cmd undo last commit but keep changes
cmd what files changed in the last 3 commits
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Processes & system
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
cmd kill whatever is running on port 3000
cmd show top 10 processes by memory
cmd how much ram is chrome using
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Docker
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
cmd stop all running containers
cmd remove all dangling images
cmd show logs from the api container# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โ These NEED quotes (special characters) โ
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
cmd "what's using port 3000?" # apostrophe + ?
cmd "find *.log files" # glob (*)
cmd "show $PATH variable" # dollar sign
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โ These work WITHOUT quotes โ
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
cmd list all files
cmd show disk usage
cmd find large files in downloadsCharacters that require quoting: ? * [ ] $ & | ; < > ( ) ` ' " \ { } ~ !
Tip
When in doubt, use quotes. It never hurts.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SECURITY MODEL โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฃ
โ โ
โ [โ] Dry-run by default Commands shown, not executed โ
โ [โ] Keychain storage No plain text API keys โ
โ [โ] Destructive detection Warns about dangerous cmds โ
โ [โ] Critical blocking Blocks rm -rf / and similar โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Warning
Commands are generated by an LLM and executed on your system.
By default, cmd runs in dry-run mode - it shows the command and copies to clipboard, but does NOT execute.
cmd --enable-execution "query" # Execute with confirmation
cmd --enable-execution --skip-confirmation "query" # Execute without confirmationAlways review commands before executing.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ THREAT LEVELS โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ โ ๏ธ WARNING rm, mv, chmod, sudo, git push --force โ
โ โ Prompts for confirmation โ
โ โ
โ ๐ฅ DANGER rm -rf, dd, mkfs, curl|sh, kill -9 โ
โ โ Always prompts, even with --skip โ
โ โ
โ ๐ CRITICAL rm -rf /, rm -rf ~, fork bombs โ
โ โ BLOCKED ENTIRELY โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# Execution settings
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
cmd config --enable-execution # Enable execution mode
cmd config --skip-confirmation # Skip prompts (careful!)
cmd config --show # View current settings
cmd config --disable-execution --require-confirmation # Reset
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
# API key management
# โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
cmd config --show-keys # View stored keys (masked)
cmd config --delete-key anthropic # Delete a stored keySettings stored in ~/.config/cmd/settings.toml:
enable_execution = false # safe default
skip_confirmation = false # safe defaultCaution
Setting both enable_execution and skip_confirmation to true is dangerous.
We've designed cmd to be secure by default - but we know developers love their --yolo flags. If you enable both settings, you're living on the edge. Godspeed.
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
โ "compress โ โ โ โ tar -czvf โ
โ this folder" โ โโโถ โ LLM โ โโโถ โ folder.tar.gzโ โโโถ run
โ โ โ โ โ folder/ โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
natural Claude shell
language GPT command
Ollama
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ USAGE โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ cmd [query] Dry-run (default) โ
โ cmd --enable-execution [query] Execute with confirmation โ
โ cmd --enable-execution --skip-confirmation [query] โ
โ Execute without confirmation โ
โ โ
โ cmd setup Configure LLM provider โ
โ cmd config --show View settings โ
โ cmd config --show-keys View stored API keys โ
โ cmd config --delete-key PROVIDER Delete stored key โ
โ โ
โ cmd -m MODEL Use specific model โ
โ cmd -e ENDPOINT Use custom endpoint โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโ
โ Provider โ Environment Variable โ Default Model โ
โโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโค
โ Claude โ ANTHROPIC_API_KEY=sk-ant-... โ claude-sonnet-4-6 โ
โ OpenAI โ OPENAI_API_KEY=sk-... โ gpt-5.2 โ
โ Ollama โ OLLAMA_HOST=http://localhost:... โ qwen2.5-coder โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโ
Note
Environment variables take priority over keychain. This allows temporary overrides.
Tip
For Azure OpenAI, Groq, or other providers, use cmd setup and select "Other (custom)".
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โข macOS or Linux โ
โ โข Rust (to build) โ
โ โข LLM provider (or Ollama for free local) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Apache 2.0
Stop googling. Start doing.
Documentation ยท Issues ยท Releases