Using Codex to Find and Visualize Disk Usage in the Terminal
Melvin Vivas · X post · 2026-09-14 · Open on X
Topics: AI Dev Tools & Productivity, Prompt & Context Engineering · Level: beginner
Summary
The creator used Codex to work out which folders take up the most SSD space and to visualize the result in the terminal, so he didn't need a separate disk-usage app. He shares the exact prompt.
Key points
- Prompt used: "which folders occupy big space. visualize in the terminal".
- A coding agent can replace small single-purpose utility apps.
- Review any deletions yourself before letting an agent remove files.
Resources mentioned
- OpenAI Codex · tool · openai.com · paid
OpenAI's coding agent. In the diagram it writes code, fixes review findings and drives the build loop. The creator also used it to make this video.
Also in: An agent bot that installs and drives Codex on its own (Melvin Vivas on X · notes), Asking a Coder bot to install Codex (Melvin Vivas on X · notes), Sign in with ChatGPT: Setting Usage Limits for Each App (Melvin Vivas on X · notes), Codex Cloud Environments Must Be Saved & Published Before Use (Melvin Vivas on X · notes) and 240 more
Try this
- Ask your coding agent: "which folders occupy big space. visualize in the terminal".
More in AI Dev Tools & Productivity
- Using GPT-6 Astra in Codex Without Skills
- Improving Codex's UI Design Output with Impeccable (npx impeccable install)
- Use GPT-5.6 Luna in Codex for Terminal Tasks
- Codex Computer Use with Astra for Human-Like App Testing
- Paste Documentation URLs into Codex Instead of Using MCP
- Save Codex Usage Limits by Routing Tasks Between Two Models