Skip to main content

rules

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

来源信息

仓库
code-yeongyu/lazyclaudecode
最近来源活动
2026年5月29日 05:14
检测到的 SKILL.md 语言
英语
星标
17
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

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`.
在 GitHub 查看