Bundled agent skills document 'omarchy debug', which is not a subcommand (should be 'omarchy-debug')
System details
Intel Core i5-5257U, Intel Iris Graphics 6100 (Broadwell-U), MacBookPro12,1, Omarchy 4.0.4-1, kernel 7.2.5-3-omarchy, Hyprland 0.56.2/Wayland
What's wrong?
Omarchy's own bundled agent skills instruct agents to run omarchy debug --no-sudo --print, but omarchy debug is not a valid subcommand. The real command is the standalone omarchy-debug binary. An agent following the shipped instructions literally hits exit 127 and has no diagnostic log.
This is agent-facing, so the blast radius is every Omarchy install that uses the bundled skills: the agent is handed a command that cannot work, at exactly the moment it needs diagnostics for a bug report.
Steps to reproduce
$ omarchy debug --no-sudo --print
Unknown Omarchy command: omarchy debug
Run 'omarchy commands --all' to discover available commands.
$ echo $?
127
$ omarchy-debug --no-sudo --print | head -3
Date: Mon Sep 28 06:24:12 PM MDT 2026
Hostname: omarchy
Omarchy Package: omarchy 4.0.4-1
$ echo $?
0
debug appears 0 times in omarchy commands --all. There is no omarchy debug subcommand in any form.
Wrong instructions shipped to agents
/usr/share/omarchy/default/agents/skills/omarchy/SKILL.md:
222: omarchy debug --no-sudo --print # Debug info (ALWAYS use these flags)
228: **IMPORTANT:** Always run `omarchy debug` with `--no-sudo --print` flags to avoid interactive sudo prompts that will hang the terminal.
234: omarchy debug --no-sudo --print
/usr/share/omarchy/default/agents/skills/omarchy/contributing.md:
26: omarchy debug --no-sudo --print
28: # Interactive variant: `omarchy debug` offers to upload the log to logs.omarchy.org
/usr/share/omarchy/default/agents/skills/diagnose-crash/reporting.md:
89: `omarchy version`, and diagnostics from `omarchy debug --no-sudo --print` (which
90: also writes `/tmp/omarchy-debug.log`; the interactive `omarchy debug` can upload
The flags and the /tmp/omarchy-debug.log claim are both correct — only the command name is wrong. omarchy-debug --no-sudo --print exits 0 and does write /tmp/omarchy-debug.log (69KB).
Note
.github/ISSUE_TEMPLATE/bug.yml line 22 correctly says omarchy-debug, so the bug template and the bundled skills disagree. The template is right; the skills are wrong.
Expected
Either the skills use omarchy-debug, or a omarchy debug subcommand is added to dispatch to it. Since omarchy-debug is not a omarchy-* group command but a standalone binary, the skill text is the thing that needs fixing.
Impact
contributing.md and reporting.md are the guides an agent reads when it is asked to file an Omarchy bug. Following them produces a dead-end command, so the agent either files a report without diagnostics or stalls trying to produce them. It is a one-word fix repeated across three files.
Thanks for the detailed report. This is the same bug as #7185, so I'm closing this one as a duplicate of it, the same way #12629 (the same report about the skill text) was closed. If you think this is a different problem, say so and it can be reopened.
The skill's omarchy debug --no-sudo --print is a valid route. The dispatcher resolves it to omarchy-debug by filename (resolve_direct_route in bin/omarchy, the same in v4.0.4 and on quattro), so changing the skills to omarchy-debug would hide the bug rather than fix it. The dispatcher only looks for commands in the directory of the omarchy that was started (bin/omarchy:5). On 4.0.4-1, /usr/share/omarchy/bin/omarchy links to /usr/bin/omarchy, but omarchy-debug comes from the omarchy-settings package and exists only in /usr/bin. When /usr/share/omarchy/bin comes first on PATH, as it does in your session, the dispatcher can't find it.
I checked this on a clean 4.0.4-1 worker VM. /usr/bin/omarchy debug --no-sudo --print exits 0 and writes /tmp/omarchy-debug.log. /usr/share/omarchy/bin/omarchy debug --no-sudo --print exits 127 with Unknown Omarchy command, because /usr/share/omarchy/bin/omarchy-debug doesn't exist there.
Open pull requests #9290, #12750 and #14022 fix the routing, and the maintainer will decide between them. Until one lands, omarchy-debug --no-sudo --print works directly.
Reviewed by Claude Opus 5.5, with a second opinion from Codex Medium. Codex agreed that the route is valid in both versions and found the same mechanism: the dispatcher only searches its own directory.