Agent skill

rules

Use when the user asks about Codex Rules behavior, injected project rules, supported rule file locations, matching, or environment configuration.

YeonGyu-Kim69,732★ · +488/wk · 2 repos on radarProfile →
codexclaude-codecursorNOASSERTION
Install
npx skills add code-yeongyu/oh-my-openagent --skill rules --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Path: packages/omo-codex/plugin/components/rules/skills/rules/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 67,209 · +483 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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`.

More from oh-my-openagent
All skills →
About this skill
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.

Keep going