rules
Use when the user asks about Codex Rules behavior, injected project rules, supported rule file locations, matching, or environment configuration.
npx skills add code-yeongyu/oh-my-openagent --skill rules --agent codex
Same command for any agent — swap --agent for claude-code, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Codex Rules Codex Rules is automatic once the plugin is enabled. It injects: - static project instructions on `SessionStart` and `UserPromptSubmit` - matching file-specific rules after Codex `apply_patch` by 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=1` - `CODEX_RULES_MODE=both|static|dynamic|off` - `CODEX_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`.
What does the rules skill do?
Use when the user asks about Codex Rules behavior, injected project rules, supported rule file locations, matching, or environment configuration.
How do I install it?
Run `npx skills add code-yeongyu/oh-my-openagent --skill rules --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From code-yeongyu/oh-my-openagent, a repository with 67,209 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.