Codex Rules Reference
code-yeongyu/oh-my-openagent
Explains how the Codex Rules plugin injects project instructions and file-specific rules into a session, which rule files it reads and which settings control it.
Grade an IRAC essay for structure, issue-spotting, rule accuracy, analysis depth, and organization.
$ npx skills add anthropics/claude-for-legal --skill irac-practice -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install anthropics/claude-for-legal irac-practice --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .claude/skills && cp -r skills-src/law-student/skills/irac-practice .claude/skills/irac-practice && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "irac-practice" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/law-student/skills/irac-practice into .claude/skills/irac-practice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "irac-practice", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/anthropics/claude-for-legal/tree/main/law-student/skills/irac-practiceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add anthropics/claude-for-legal --skill irac-practice -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install anthropics/claude-for-legal irac-practice --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .agents/skills && cp -r skills-src/law-student/skills/irac-practice .agents/skills/irac-practice && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "irac-practice" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/law-student/skills/irac-practice into .agents/skills/irac-practice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "irac-practice", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anthropics/claude-for-legal --skill irac-practice -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install anthropics/claude-for-legal irac-practice --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/law-student/skills/irac-practice .cursor/skills/irac-practice && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "irac-practice" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/law-student/skills/irac-practice into .cursor/skills/irac-practice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "irac-practice", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/anthropics/claude-for-legal.git --path law-student/skills/irac-practice--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add anthropics/claude-for-legal --skill irac-practice -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install anthropics/claude-for-legal irac-practice --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/law-student/skills/irac-practice .gemini/skills/irac-practice && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "irac-practice" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/law-student/skills/irac-practice into .gemini/skills/irac-practice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "irac-practice", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install anthropics/claude-for-legal irac-practiceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add anthropics/claude-for-legal --skill irac-practice -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .github/skills && cp -r skills-src/law-student/skills/irac-practice .github/skills/irac-practice && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "irac-practice" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/law-student/skills/irac-practice into .github/skills/irac-practice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "irac-practice", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add anthropics/claude-for-legal --skill irac-practice -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install anthropics/claude-for-legal irac-practice --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/anthropics/claude-for-legal.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/law-student/skills/irac-practice .opencode/skills/irac-practice && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "irac-practice" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/law-student/skills/irac-practice into .opencode/skills/irac-practice/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "irac-practice", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
irac-practiceGrade an IRAC essay for structure, issue-spotting, rule accuracy, analysis depth, and organization.
Irac Practice is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization. Grade an IRAC essay for structure, issue-spotting, rule accuracy, analysis depth, and organization. Does NOT rewrite the essay or show a model answer; tracks patterns across sessions. Use when the user says "grade my IRAC", "check my essay", or "I wrote this, give me feedback".
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: A suite of plugins for legal workflows. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 4a6c651. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Irac Practice loads about 2.6k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 943 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from anthropics/claude-for-legal at commit 4a6c651, republished under its Apache-2.0 licence (© anthropics). 943 words, ~2,594 tokens.
.claude/skills/irac-practice/SKILL.md (or your agent's skills folder).~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → classes, exam formats, outline locations, learning style.~/.claude/plugins/config/claude-for-legal/law-student/irac-sessions/[student]/tracker.md for pattern detection. Surface patterns after 3+ sessions.If the question the student is asking sounds like it's about a REAL situation — their lease, their parking ticket, their family's business, their friend's arrest, a real dollar amount, a real deadline, a real party name — stop.
"This sounds like a real situation, not a hypothetical. I can't give you legal advice, and you can't give it either — you're not a lawyer yet. If this is real, [the person] needs an actual lawyer: legal aid, your school's clinic, a lawyer referral service (your jurisdiction's bar association, law society, or legal aid body), or (if there's money) a private attorney. I'm happy to help you understand the general legal concepts involved, but that's study, not advice."
Watch for: real names, real addresses, real dates, specific dollar amounts, "my landlord/boss/parent/friend," "I got a ticket/letter/notice," deadlines measured in days. Any one of these is a trigger.
1L writing is mostly IRAC. 2L-3L writing that touches legal analysis is IRAC under the hood. The exam rewards structure as much as content. This skill grades structure — did you spot the issues, did you state the rules correctly, did you apply rules to facts or just restate both?
Does not rewrite the essay. Ever. The whole point is that you learn by writing, getting specific structural feedback, and rewriting yourself.
[UNCERTAIN] if it's a debatable issue-call where reasonable graders disagree.[VERIFY] on anything I'm not certain about. I do not silently fail your correct rule statement because I wasn't sure.~/.claude/plugins/config/claude-for-legal/law-student/CLAUDE.md → current classes, exam formats, outline locations, learning style~/.claude/plugins/config/claude-for-legal/law-student/irac-sessions/[student]/tracker.md if exists — pattern tracking across sessionsTwo modes:
If skill-generated, the hypo itself follows the same confidence rules — the skill flags any sub-issue it's less confident about.
Don't skim. Read the student's answer as if grading it. Map it against expected IRAC components:
Output per component. No rewriting. Specific, not generic.
# IRAC Grade — [date]
**Hypo:** [summary or pointer]
**Student answer length:** [N words]
**Expected issues:** [list — from the hypo]
---
## Issue spotting
**Spotted:** [list]
**Missed:** [list — these are points left on the table]
**Mis-identified:** [if the student called something an issue that isn't]
[If an issue is [UNCERTAIN: debatable issue-call], note: "your grader might agree or disagree here; defensible read."]
## Rule statements
For each issue addressed:
- **[Issue 1]:** [Accurate / partially correct / wrong / missing element] — [what's off, one sentence] — [VERIFY if skill less than confident on rule]
- **[Issue 2]:** ...
## Analysis
For each rule the student stated:
- **[Issue 1] — did you apply?** [Yes, applied to [specific facts] | Partially — you mentioned [facts] but didn't link to rule element | No — you restated rule then facts without mapping]
- [If not applied well: "what you needed to do: connect [specific fact] to [specific rule element]. Not 'defendant acted negligently because of the facts' — 'defendant breached the duty of care because [specific fact] means [specific conclusion about the element].'"]
## Organization
- **Order:** IRAC? CRAC? Something else?
- **Paragraph structure:** topic sentence leading? Or buried?
- **Transitions:** do issues flow, or is it a wall of text?
- **Call responsiveness:** did you answer what was asked?
## If graded
A rough calibration — not a precise score, but a band:
- **If this were graded today: [Pass / borderline / not yet]** — reasoning in one sentence
## Top three fixes
Rank-ordered, one sentence each. What to rewrite if you only had time for three changes.
1.
2.
3.
## Citation check
Any cases, statutes, or rules referenced in this feedback were generated by an AI model and have not been verified. Before you rely on them in a rewrite or a graded essay, look them up on Westlaw, CourtListener, or your school's research tool. AI-generated citations are sometimes fabricated or misquoted.
## Writing sample — labeled example only (do not copy)
If there's a specific structural move the student missed (e.g., rule-application mapping), show ONE example sentence or paragraph that illustrates the move. Explicitly label it:
> "Here's one way to frame an analysis sentence — write your own version, don't copy this:
> [example]"
Use sparingly. One per grade, max two. Never a full IRAC example.
**Never on the student's actual substantive issue.** Example phrasings illustrate the structural move in generic placeholder form (e.g., "[fact] means [conclusion about element] because [reasoning]"). They cannot show what an analysis sentence or paragraph would look like on the exact hypo or issue the student is writing about — that crosses from "seeing the move" into "being handed the answer." If the student is writing about negligence in a car accident hypo, the example must use a different subject area or abstract placeholders, not a negligence analysis sentence.Append to ~/.claude/plugins/config/claude-for-legal/law-student/irac-sessions/[student]/tracker.md:
## [date] — [subject / hypo topic]
- Issues missed: [list]
- Rule accuracy: [% or qualitative]
- Analysis gap: [specific pattern — e.g., "restates rule without applying"]
- Organization: [ok / weak / strong]After 3+ sessions, surface patterns:
Pattern detection is the long-term value of this skill. One-off feedback helps one essay; pattern feedback changes how you study.
/law-student:legal-writing instead/law-student:socratic-drill on issue-spotting for the subject before more essay practiceEnd with the next-steps decision tree per CLAUDE.md ## Outputs. Customize the options to what this skill just produced — the five default branches (draft the X, escalate, get more facts, watch and wait, something else) are a starting point, not a lock-in. The tree is the output; the lawyer picks.
© anthropics, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in law-student/skills/irac-practice of anthropics/claude-for-legal.
Open the folder on GitHubat commit 4a6c651
We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in anthropics/claude-for-legal, which our catalogue first saw on October 7, 2026.
Irac Practice next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Irac Practice this skillanthropics/claude-for-legal | 9.6k | 3 repos | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Codex Rules Referencecode-yeongyu/oh-my-openagent | 70k | — | ~269 | Automated safety check: Pass | Custom licence | |
| Rules Distillationaffaan-m/ECC | 275k | 2 repos | ~2.3k | Automated safety check: Pass | MIT | |
| Crossframe Essaysickn33/agentic-awesome-skills | 47k | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| Hookify Rulesaffaan-m/ECC | 275k | — | ~605 | Automated safety check: Notes | MIT | |
| Rules Distillaffaan-m/ECC | 275k | — | ~1.5k | Automated safety check: Pass | MIT |
code-yeongyu/oh-my-openagent
Explains how the Codex Rules plugin injects project instructions and file-specific rules into a session, which rule files it reads and which settings control it.
affaan-m/ECC
Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.
sickn33/agentic-awesome-skills
A skill your agent uses when explicit CrossFrame work needs a Chinese critical insight essay, commentary, concept essay, public piece, or structure-to-article draft after diagnosis.
affaan-m/ECC
当用户要求创建hookify规则、编写hook规则、配置hookify、添加hookify规则或需要关于hookify规则语法和模式的指导时,应使用此技能。
affaan-m/ECC
スキルをスキャンしてドメイン横断的な原則を抽出し、ルールに蒸留する——既存のルールファイルへの追記、修正、または新規作成
affaan-m/ECC
扫描技能以提取跨领域原则并将其提炼为规则——追加、修订或创建新的规则文件
anthropics/claude-for-legal
Structures a legal clinic client intake interview and produces a case summary with cross-area issue spotting, conflict flags and triage classification.
anthropics/claude-for-legal
Holds student work in a queue for a legal clinic professor to approve, edit-then-approve or return before anything reaches clients or courts.
anthropics/claude-for-legal
Builds a review grid with one row per document and one column per data point, each cell cited to a verbatim quote, built for M&A diligence and other batch reviews.
anthropics/claude-for-legal
Runs a category-by-category legal review of a product launch from a PRD or tracker ticket, calibrated to your team's framework, and writes a review memo in house format.
anthropics/claude-for-legal
Searches watched registries for community legal skills, shows matches with descriptions and offers the full SKILL.md before anything is installed.
anthropics/claude-for-legal
Shows which contracts renew soon and when notice must be sent by, working from a maintained renewal register, and warns about missed cancellation windows.
Grade an IRAC essay for structure, issue-spotting, rule accuracy, analysis depth, and organization. Irac Practice is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization. Grade an IRAC essay for structure, issue-spotting, rule accuracy, analysis depth, and organization.
Irac Practice fits situations like: the user says grade my IRAC; give me feedback.
Run `npx skills add anthropics/claude-for-legal --skill irac-practice -a claude-code`. Or copy the skill folder (law-student/skills/irac-practice in anthropics/claude-for-legal) into .claude/skills/irac-practice in your project. Claude Code loads it when a task matches its description.
Run `npx skills add anthropics/claude-for-legal --skill irac-practice -a codex`. Or copy the skill folder (law-student/skills/irac-practice in anthropics/claude-for-legal) into .agents/skills/irac-practice in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anthropics/claude-for-legal --skill irac-practice -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/irac-practice, .gemini/skills/irac-practice, .github/skills/irac-practice and .opencode/skills/irac-practice in your project.
SKILL.md names no scripts, command-line tools or credentials: Irac Practice is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Irac Practice is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Irac Practice: Codex Rules Reference (code-yeongyu/oh-my-openagent, 70k stars), Rules Distillation (affaan-m/ECC, 275k stars), Crossframe Essay (sickn33/agentic-awesome-skills, 47k stars) and Hookify Rules (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
anthropics (a GitHub organization, an official publisher) maintains it in anthropics/claude-for-legal, which has 9,617 GitHub stars. The repository holds 147 skills in this directory. The repository was last updated on September 29, 2026.
Source: anthropics/claude-for-legal on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.