omarchy: Instructions file for Codex

AGENTS.md

omarchy AGENTS.md is an instructions file for Codex, OpenCode from omacom/omarchy. It costs 3,921 tokens per session, scanned A, original, MIT.

Repository instructions for developing Omarchy, an Arch Linux desktop environment, including its documentation, commands, shell, fonts, migrations, and tests.

In plain words
What is it for?
Working on Omarchy source code, command scripts, installation files, the Quickshell desktop, icon fonts, migrations, documentation, and graphical acceptance tests.
Why use it?
They provide project-specific rules so changes follow the repository’s structure, naming, documentation, and verification practices.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is omacom/omarchy's own configuration. It tells Codex and OpenCode how to work on omarchy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything omarchy configures →

About the project

Omarchy is a Linux distribution with a predefined desktop environment, tools, settings, and workflows. Developers and other Linux users use it as their operating system, including for terminal work, programming, gaming, and everyday applications. The catalogue entries provide instructions and skills for working with Omarchy.

omacom/omarchy · 46,359 stars · on GitHub · omarchy.org

Reuse

Borrowing it

Nothing to install: this file belongs to omacom/omarchy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/omacom/omarchy/quattro/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/omacom/omarchy

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for omarchy AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/omacom/omarchy/agents-md/github.svg)](https://agentmods.dev/instructions/omacom/omarchy/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/omacom/omarchy/agents-md"><img src="https://agentmods.dev/badge/instructions/omacom/omarchy/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for omarchy AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/omacom/omarchy/agents-md"><img src="https://agentmods.dev/badge/instructions/omacom/omarchy/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,921 This file is loaded in full into every session.
When invoked 3,921 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.03921 $0.03921
Opus 5.5 $0.01568 $0.01568
Sonnet 5.5 $0.00784 $0.00784
Haiku 4.5 $0.00392 $0.00392

Measured 3d ago against content hash 75381099d9dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

omarchy AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 194 lines

How it starts

The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Task Guides

Deeper instructions for specific kinds of work live in agents/skills/. Read the matching guide before starting:

Documentation Layout

Three documentation trees, split by genre and audience:

  • agents/skills/ - task procedure ("do this when doing X"), for anyone working on the codebase
  • docs/ - reference on how the system is shaped (file layout, update pipeline, theming, shell architecture), for anyone working on the codebase; skills link here for depth
  • manual/ - end-user documentation for using Omarchy, published; never codebase internals

Style

  • In markdown documents (plans/, docs/, manual/), write full lines — no hard wrapping at 80 columns; break only at structural boundaries like headings and list items
  • Two spaces for indentation, no tabs
  • Use bash 5 conditionals: use [[ ]] for string/file tests and (( )) for numeric tests
  • In [[ ]], don't quote variables, but do quote string literals when comparing values (e.g., [[ $branch == "dev" ]])
  • Prefer (( )) over numeric operators inside [[ ]] (e.g., (( count < 50 )), not [[ $count -lt 50 ]])
  • Prefer a full if/else conditional for simple two-path control flow; don't rely on exec or exit in one branch to make following statements unreachable
  • For strings/paths with spaces, quote them instead of escaping spaces with \ (e.g., "$APP_DIR/Disk Usage.desktop", not $APP_DIR/Disk\ Usage.desktop)
  • Shebangs must use #!/bin/bash consistently (never #!/usr/bin/env bash). A security-sensitive entrypoint may use the exact #!/bin/bash -p form only when it must suppress BASH_ENV and exported-function startup injection before its first command; that exception must be explained at the boundary and covered by a regression that rejects an ordinary Bash launch with a decoy -p argument.
  • Scripts under install/ and migrations/ may be sourced and intentionally omit shebangs

Read the full file on GitHub · 194 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · +4 lines · +86 tokens per session 75381099d9dc
  2. 9d ago Changed · +1 lines · +36 tokens per session 7f76c269639d
  3. 13d ago Changed · +2 lines · +51 tokens per session 09511d4c0cda
  4. 15d ago Changed · +20 lines · +719 tokens per session e5a6dc581d55
  5. 18d ago Changed · +1 lines · +26 tokens per session 669950acbf54
  6. 21d ago Changed · +3 lines · +142 tokens per session b9463bd48ed0
  7. 24d ago Changed · +1 lines · +54 tokens per session 0b549c400873
  8. 26d ago Changed · +4 lines · +86 tokens per session d755b70ebc7b
  9. 27d ago Changed · +24 lines · +741 tokens per session 3263e79c4607
  10. 1mo ago First seen · 134 lines · 1,980 tokens per session scan A d525b1ce8103

Subscribe to this mod's changes

omarchy AGENTS.md is an instructions file published in the GitHub repository omacom/omarchy (46,359 stars, last pushed today), licensed MIT. It adds 3,921 tokens to every session, about $0.0157 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

omarchy AGENTS.md compared with instructions from other repositories

omarchy AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
omarchy AGENTS.mdomacom/omarchyInstructions file46ktodayMITA3,921Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode