Coding with AI on Omarchy OS: A New Frontier in Programming
how easy it is to write, debug, fix, and convert scripts on Omarchy OS using two AIs together: Claude and CodeX.
how easy it is to write, debug, fix, and convert scripts on Omarchy OS using two AIs together: Claude and CodeX.
This workflow turns Omarchy into an incredibly powerful development environment — especially for Bash scripts, small utilities, and workflow automation. Everything shown in the video is taken directly from the transcript.

⸻
🔹 What the Video Covers
1️⃣ Setting up a project folder

• Creating a new folder (work/project)
• Opening two Konsole terminals
• Navigating both into the same working directory
• Keeping the file manager open to watch files appear in real time
⸻
2️⃣ Using Claude to generate a script

You begin with a prompt like:
“Write a Bash script for Arch Linux to detect yay/paru, show system info, run Pacman updates, update AUR, clean orphan packages, and exit cleanly.”
Claude generates the full script including functions, menu, error handling and clear messages.
⸻
3️⃣ Using CodeX to check Claude’s code

• Launching CodeX in the project folder
• Allowing access only to that folder
• CodeX scans the script and returns detailed bug reports
• Identifies missing checks, exit codes, and logic issues
You then paste CodeX’s findings back into Claude for fixes.
⸻
4️⃣ AI Feedback Loop (Claude ↔ CodeX)

• CodeX reports issues
• Claude fixes them
• You send the fixes back to CodeX
• CodeX validates or finds more issues
• After a few rounds, the script becomes stable and safe
This loop is exactly what you demonstrate live in the video.
⸻
5️⃣ Running the finished script

The script launches with a proper menu:
• Show system information
• Run a system update
• Update AUR packages
• Clean orphan packages
• Quit
You test each option—including an AUR update error from switching to “edge” packages—and explain how the AI helps repair it.
⸻
6️⃣ Converting the script into a TUI with Gum

You ask Claude to convert the Bash script into a Gum TUI app.
Claude rewrites the script with:
• Headers
• Menus
• Color icons
• Interactive prompts
You test the Gum version, then send bugs to CodeX again for another refinement cycle.
⸻
7️⃣ Final polishing

You show how the final TUI can eventually be added to the Omarchy menu (like Red Pill).
The process shows:
• How fast AI can build usable tools
• How Claude + CodeX complement each other
• How Omarchy makes coding easier by integrating AI directly
• Why AI is now essential for Linux scripting, debugging, and workflow automation
⸻
💬 Final Thoughts
AI coding is nothing to fear — it’s an incredible productivity boost.
On Omarchy OS, you can diagnose errors, create scripts, rewrite configs, and build full TUIs in minutes.
Instead of Googling for hours, you can copy logs, paste them into Claude or CodeX, and get instant solutions.
It’s one of the best coding experiences available on Linux today.
⸻
🔔 Subscribe
Follow the Linux Out of the Box series for more Omarchy tools, AI workflows, custom TUIs, scripting tutorials, and Linux productivity experiments.
#Linux #OmarchyOS #ArchLinux #Hyprland #LinuxOutOfTheBox #ClaudeAI #CodeX #AICoding #BashScripting #GumTUI #LinuxAutomation #LinuxForCreators #OpenAI #Anthropic