Local-first, private AI companion for your shell.
scmd brings professional AI assistance to your shell with zero API costs. Analyze code, generate commands, and automate workflows entirely on your hardware.
| Engine | scmd | Copilot CLI | ChatGPT Plus | Aider |
|---|---|---|---|---|
| Annual Cost | $0 | $120 | $240 | $600+ |
| Data Locality | On-Prem | Cloud | Cloud | Cloud |
| Air-Gapped | ✅ Native | ❌ No | ❌ No | ❌ No |
| Command Logic | Man-Page Aware | General | General | Interactive |
| Distribution | YAML Repos | ❌ No | ❌ No | ❌ No |
brew install sunboy/tap/scmd
npm install -g scmd-cli
Natural conversations with context retention. Start a session with scmd chat and iterate on complex problems.
AI command generation powered by your system's actual documentation. Accurate, OS-specific output every time.
Get expert-level code reviews instantly. Detect security vulnerabilities without sending proprietary code to the cloud.
Install commands like npm packages. 8 categories: git, code, devops, docs, debug, data, security, shell. scmd repo search
Syntax highlighting for 40+ languages. Markdown rendering with themes. Auto-detection for piped output.
6 professional templates: security-review, performance, api-design, testing, docs, beginner-explain. Create and share custom templates.
// Case: Multi-turn conversation with context
// Case: Install community commands like npm
// Case: Professional security review with templates
Drop YAML templates into your home directory. SCMD builds the command index automatically. Share repositories across teams to standardize reviews.
name: api-review
model: qwen2.5-1.5b
prompt: |
Review this API endpoint for:
- HTTP method correctness
- Error handling coverage
- Input validation
Install scmd. It's free, private, and runs on your hardware.