{"id":"rules","name":"rules","summary":"ユーザーがCodex Rulesの動作、プロジェクトルールの注入、サポート済みルールファイルの位置、マッチング、環境設定について質問した際に使用します。","body":"# Codex Rules\n\nCodex Rules is automatic once the plugin is enabled. It injects:\n\n- static project instructions on `SessionStart` and `UserPromptSubmit`\n- matching file-specific rules after Codex `apply_patch` by default\n\nDynamic `PostToolUse` output is injected as additional context and is deduplicated per plugin data session. Codex Rules does not rewrite tool output.\n\nSupported project sources:\n\n- `CONTEXT.md`\n- `.omo/rules/**/*.md`\n- `.claude/rules/**/*.md`\n- `.cursor/rules/**/*.md`\n- `.github/instructions/**/*.md`\n- `.github/copilot-instructions.md`\n\nSupported environment knobs:\n\n- `CODEX_RULES_DISABLED=1`\n- `CODEX_RULES_MODE=both|static|dynamic|off`\n- `CODEX_RULES_MAX_RULE_CHARS=<number>`\n- `CODEX_RULES_MAX_RESULT_CHARS=<number>`\n- `CODEX_RULES_ENABLED_SOURCES=CONTEXT.md,.omo/rules`\n\nThe legacy `PI_RULES_*` variables are accepted as fallbacks for users migrating from `pi-rules`.","author":"@code-yeongyu","ownerProfile":null,"authorContacts":null,"sourceUrl":"https://github.com/code-yeongyu/oh-my-openagent/tree/dev/packages/omo-codex/plugin/components/rules/skills/rules","license":"MIT","category":null,"lang":"en","tokens":230,"stars":0,"calls30d":1,"claimed":false,"visibility":"public","origin":"crawler","version":"0.1.0","createdAt":"2026-08-22","updatedAt":"2026-08-22","files":[],"requires":{"mcp":[],"tools":[]},"safety":{"flags":[],"scannedAt":"2026-08-22","hasScripts":false,"networkEndpoints":[]}}