Codex Rules
SkillFiles & storageLets your agent answer questions about Codex Rules, like which rule files are supported and how rules get injected.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Codex Rules skill
About this capability
Use when the user asks about Codex Rules behavior, injected project rules, supported rule file locations, matching, or environment configuration.
What this skill tells your AI
The instructions your AI receives, as published by code-yeongyu/oh-my-openagent in packages/omo-codex/plugin/components/rules/skills/rules/SKILL.md and read by ahel’s review.
Codex Rules is automatic once the plugin is enabled. It injects:
- static project instructions on
SessionStartandUserPromptSubmit - matching file-specific rules after Codex
apply_patchby default
Dynamic PostToolUse output is injected as additional context and is deduplicated per plugin data session. Codex Rules does not rewrite tool output.
Supported project sources:
CONTEXT.md.omo/rules/**/*.md.claude/rules/**/*.md.cursor/rules/**/*.md.github/instructions/**/*.md.github/copilot-instructions.md
Supported environment knobs:
CODEX_RULES_DISABLED=1CODEX_RULES_MODE=both|static|dynamic|offCODEX_RULES_MAX_RULE_CHARS=<number>CODEX_RULES_MAX_RESULT_CHARS=<number>CODEX_RULES_ENABLED_SOURCES=CONTEXT.md,.omo/rules
The legacy PI_RULES_* variables are accepted as fallbacks for users migrating from pi-rules.
Signals
- GitHub stars
- 69k
- Forks
- 6k
- Last commit
- Sep 2026
- Hacker News mentions
- 20
Advanced
- Catalog kind
- skill
- Gateway key
rules- Source
- github.com/code-yeongyu/oh-my-openagent