🎉 Cmdop v1.0 is here! Download now →
Skip to Content
DocsCLIAI Chat

AI Chat

Natural language interface for executing commands.

Start Chat

cmdop chat

Chat Interface

cmdop> list all large files in /var/log Finding large files in /var/log... Found 3 files over 100MB: - /var/log/syslog.1 (234 MB) - /var/log/kern.log (156 MB) - /var/log/auth.log.1 (112 MB) cmdop> delete the oldest one Deleting /var/log/auth.log.1... Done. cmdop> exit

Commands in Chat

CommandDescription
exit / quitExit chat
clearClear screen
historyShow command history
helpShow help

Target Machine

Execute on a specific machine:

cmdop chat --machine production-server

Or switch machines in chat:

cmdop> @production-server check disk usage

Capabilities

The AI assistant can:

  • File Operations - Create, read, modify, delete files
  • System Administration - Manage services, users, permissions
  • Development - Git operations, build commands, testing
  • Monitoring - Check logs, processes, resources
  • Networking - Configure network, check connections

Examples

System Administration

cmdop> show me memory usage cmdop> restart nginx cmdop> check what's using port 3000

Development

cmdop> run the tests cmdop> commit my changes with a good message cmdop> deploy to staging

File Management

cmdop> find all config files modified today cmdop> backup the database cmdop> compress logs older than 7 days

Safety

The AI will:

  • Ask for confirmation before destructive operations
  • Explain what commands will be executed
  • Refuse to perform dangerous operations without explicit approval

Configuration

# ~/.cmdop/config.yaml chat: model: gpt-4 confirm_destructive: true history_size: 1000

AI Chat | Cmdop