Local-first, private AI companion for your shell.
scmd brings professional AI code review, command generation, and chat to your terminal with zero API costs and 100% privacy.
Local-first AI that works completely offline. Perfect for secure environments, GDPR compliance, and developers who value privacy. No subscriptions, no cloud dependencies, no data uploads.
scmd is designed as a supplementary tool for quick terminal tasks. Use it alongside your existing AI tools for maximum productivity.
| Feature | scmd (Local) | Cloud AI Services |
|---|---|---|
| Best For | Quick shell tasks, code reviews, command generation | Complex reasoning, large codebases, multi-file editing |
| Cost | $0 forever | Subscription-based |
| Privacy | 100% local, nothing sent externally | Data sent to cloud servers |
| Offline Support | β Works fully offline | β Requires internet |
| Speed | 5-8s (no network latency) | Varies (network dependent) |
| Extensibility | YAML templates, 100+ community commands | Varies by service |
| Model Power | Smaller models (0.5B-7B) | Large frontier models |
brew install sunboylabs/tap/scmd
npm install -g scmd-cli
Your proprietary code never leaves your machine. No cloud uploads, no data mining, no compliance risks. Work with sensitive codebases in regulated industries without privacy concerns.
No subscriptions, no API tokens, no surprise bills. One-time install, unlimited usage. Perfect for teams that want predictable costs and enterprise budget control.
Works perfectly offline. Essential for secure environments, remote locations, or anywhere network access is restricted. No internet dependency means no downtime.
5-8 second response times on modern hardware. No network round trips, no API rate limits. Your hardware, your speedβespecially fast with GPU acceleration.
Choose your own models, customize every prompt, extend with YAML templates. No vendor lock-in or forced updates. Own your AI infrastructure completely.
Meet GDPR, HIPAA, SOC2 requirements effortlessly. Data sovereignty guaranteedβyour code stays in your jurisdiction. No third-party data processors to audit.
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.