Skip to content
Development
Skill

/rules

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

From plugin
lazyclaudecode
1914 skills6 agents2 MCP

Claude Code

$ npx -y skills add code-yeongyu/lazyclaudecode --skill rules --agent claude-code

SKILL.md

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

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:

  • `AGENTS.md`
  • `CLAUDE.md`
  • `CONTEXT.md`
  • `.sisyphus/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=AGENTS.md,.sisyphus/rules`

The legacy `PI_RULES_*` variables are accepted as fallbacks for users migrating from `pi-rules`.

@code-yeongyu
Ships withlazyclaudecode

The lazy way to run omo inside Claude Code. A native Claude Code plugin marketplace by Sisyphus Labs. What it is · Install · Components · MCP · Telemetry · omo

1914 skills6 agents2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
19
Star history of code-yeongyu/lazyclaudecode on GitHub, a chart by star-history.com

Other skills on lazyclaudecode.

lsp

lsp

Use when Codex needs language-server diagnostics, definitions, references, symbols, or rename safety checks in the current…

debugging

debugging

MUST USE for any real runtime debugging across ANY language or binary — crashes, silent failures, wrong responses, stuck…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about rules.

Which coding agents can use rules?
rules installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.