Agent skill · writing content · code-yeongyu

rules

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

Why this skill is useful

Provides specific configuration details and supported file locations for Codex Rules that the AI wouldn't reliably generate on its own.

What it needs

About 1k tokens when loaded. Last updated 2026-08-07. 67,387 stars on the source repository.

What this skill does

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 applypatch 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: CODEXRULESDISABLED=1 CODEXRULESMODE=both static dynamic off CODEXRULESMAXRULECHARS=<number> CODEXRULESMAXRESULTCHARS=<number> CODEXRULESENABLEDSOURCES=CONTEXT.md,.omo/rules The legacy PIRULES variables are accepted as fallbacks for users migrating from pi-rules.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills code-yeongyu/rules

View the source on GitHub

Browse the @skills marketplace