---
name: create-rule
slug: codex--create-rule
description: "Create Codex rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md."
collection: Codex built-in
category: Agent Workflow
license: Proprietary
source: https://developers.openai.com/codex
install: "Bundled with Codex \u2014 no separate install"
---

# create-rule

Create Codex rules for persistent AI guidance. Use when you want to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.

## Install

```bash
Bundled with Codex — no separate install
```

## Source and license

Codex built-in by OpenAI — Proprietary license.
Upstream: https://developers.openai.com/codex

## Notes

Listed by Plugsky. Skill text and behaviour belong to the upstream author.
If you redistribute it, keep the upstream license and attribution.
