Skip to content
Operations
Agent

command-metadata

Read this before adding or changing commands in `bin/`.

From plugin
omarchy
41k13 skills13 agents
Install
$ npx -y skills add basecamp/omarchy --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Read this before adding or changing commands in `bin/`.

Agent definition

command-metadata.md

Command Metadata

Read this before adding or changing commands in `bin/`.

Commands in `bin/` can declare CLI metadata in comments near the top of the file. `bin/omarchy` scans the first 80 lines, and tests expect command metadata to remain valid.

Supported metadata keys:

  • `# omarchy:group=...` - override the command group inferred from the filename
  • `# omarchy:name=...` - override the command name inferred from the filename
  • `# omarchy:summary=...` - short help text
  • `# omarchy:args=...` - usage arguments
  • `# omarchy:examples=...` - examples separated with ` | `
  • `# omarchy:alias=...` / `# omarchy:aliases=...` - alternate routes
  • `# omarchy:hidden=true` - hide from default command listings
  • `# omarchy:requires-sudo=true` - mark commands that require sudo

Only use `omarchy:examples` where there are args that need explaining.

Prefer explicit metadata for user-facing commands. Keep routes consistent with the filename unless there is a deliberate alias or compatibility route.

Example:

# omarchy:summary=Take a screenshot
# omarchy:args=[smart|region|windows|fullscreen] [slurp|copy]
# omarchy:examples=omarchy screenshot | omarchy capture screenshot region
Ships withomarchy

Omarchy is a beautiful, fun & agentic Linux distribution by DHH. Read more at omarchy.org.

Get the whole plugin
Stats
41,214
Stars
4,651
Forks
Active
Maintenance
Shell
Language
MIT
License
2h ago
Last commit
1y ago
Created
14d ago
Added

Repo: basecamp/omarchy

Other agents on omarchy.