Facts read
How do I ask my AI to check my Linux server without giving it write access?
Connect your AI to the server with CMDOP and leave it read-only, as a new agent is by default. It can then read the machine's CPUs, memory, disks and uptime (sys_info), take one CPU and memory sample (sys_metrics), list the processes the CMDOP user started (proc_list) and see how much disk AI agents' files and developer caches use (disk_usage). It changes nothing.
What you get
A first look at a server from the chat or from Claude Code, before you log in: is memory short, is a disk nearly full, how long has it been up, what that you started is still running. Nothing on the server is changed.
What you need
- A Linux or macOS computer with CMDOP installed and online on your page.
- Your AI connected to it: ChatGPT or Claude Code, over MCP.
- Nothing switched on beyond the default. All four tools below are in the
readclass, which a new agent already has.
The CMDOP app for macOS 14 or later, Apple silicon and Intel. Open it and sign in with your email: it sets up this Mac.
curl -fsSL https://install.cmdop.ai | shFour tools, all read-only
| Tool | What it returns |
|---|---|
| sys_info | Host name, OS and version, architecture, CPUs, memory, disks with their available space, uptime, and the user CMDOP runs as. |
| sys_metrics | One sample of CPU use and memory across the system the program can see. These are system values, not the limits of one service or group. |
| proc_list | Processes of the CMDOP user that a person or an agent started: pid, parent, command line, folder, start time and who started it. An optional `filter` narrows it by name. System helpers are only counted; other users' processes are never shown. |
| disk_usage | How much disk AI agents' own files and developer caches take, per folder, and how much a clean would reclaim. You can limit it with `targets` and `older_than_days`. If the walk hit its limit, the numbers are a lower bound. |
Ask for it
In a chat with CMDOP added, or in Claude Code, write one of these.
- How much memory and disk space is left on my server?
- Is anything I started still running on my server?
- How much space do AI agent files and caches take on this machine?
Read the answer for what it is
- One sample is a moment, not a trend. Ask again a few minutes later to see a change.
- The process list shows what was started and by whom, not how much CPU or memory each process uses.
disk_usageis not a whole-disk scan. How full each disk is comes fromsys_info.
What it does not do
It does not fix anything. Cleaning files or stopping processes needs other rights, which you would switch on separately for that agent; they are not part of this check.
Check what it did
The computer's own record shows each call under the agent's name, with the time. A person at the machine can pause all agents at once.
Limits
- Linux and macOS computers. Windows is not supported yet.
- Only what the four tools return: no per-process load, no history of samples, no whole-disk breakdown.
- Processes of other users on the server are never shown.
