Using Agent Skills
addyosmani/agent-skills
Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.
Route a contract issue to the right approver per the escalation matrix in ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md, and draft the ask.
$ npx skills add anthropics/claude-for-legal --skill escalation-flagger -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install anthropics/claude-for-legal escalation-flagger --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/commercial-legal/skills/escalation-flagger .claude/skills/escalation-flagger && 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 "escalation-flagger" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/commercial-legal/skills/escalation-flagger into .claude/skills/escalation-flagger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "escalation-flagger", 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/commercial-legal/skills/escalation-flaggerType 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 escalation-flagger -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install anthropics/claude-for-legal escalation-flagger --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/commercial-legal/skills/escalation-flagger .agents/skills/escalation-flagger && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "escalation-flagger" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/commercial-legal/skills/escalation-flagger into .agents/skills/escalation-flagger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "escalation-flagger", 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 escalation-flagger -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install anthropics/claude-for-legal escalation-flagger --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/commercial-legal/skills/escalation-flagger .cursor/skills/escalation-flagger && 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 "escalation-flagger" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/commercial-legal/skills/escalation-flagger into .cursor/skills/escalation-flagger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "escalation-flagger", 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 commercial-legal/skills/escalation-flagger--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 escalation-flagger -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install anthropics/claude-for-legal escalation-flagger --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/commercial-legal/skills/escalation-flagger .gemini/skills/escalation-flagger && 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 "escalation-flagger" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/commercial-legal/skills/escalation-flagger into .gemini/skills/escalation-flagger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "escalation-flagger", 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 escalation-flaggerInstalls 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 escalation-flagger -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/commercial-legal/skills/escalation-flagger .github/skills/escalation-flagger && 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 "escalation-flagger" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/commercial-legal/skills/escalation-flagger into .github/skills/escalation-flagger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "escalation-flagger", 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 escalation-flagger -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 escalation-flagger --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/commercial-legal/skills/escalation-flagger .opencode/skills/escalation-flagger && 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 "escalation-flagger" agent skill from https://github.com/anthropics/claude-for-legal/tree/main/commercial-legal/skills/escalation-flagger into .opencode/skills/escalation-flagger/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "escalation-flagger", 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.
escalation-flaggerRoute a contract issue to the right approver per the escalation matrix in ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md, and draft the ask.
Escalation Flagger is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization. Route a contract issue to the right approver per the escalation matrix in ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md, and draft the ask. Use when the user says "who needs to approve this", "escalate this", "does this need GC sign-off", "route this for approval", or when another skill finds an issue that exceeds the reviewer's authority.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Agent instruction files. The repository describes itself as: A suite of plugins for legal workflows. The licence is Apache-2.0.
5 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.
Escalation Flagger loads about 2.2k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 897 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). 897 words, ~2,165 tokens.
.claude/skills/escalation-flagger/SKILL.md (or your agent's skills folder).Names the approver for a contract issue per the ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md escalation matrix and drafts the message so you're not writing "hey got a sec" at 5pm.
Load ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md → Escalation section. If missing, say so — the practice profile needs editing.
Characterize the issue: dollar threshold / term deviation / automatic trigger / business decision.
Match to matrix, name the approver. Be specific — a person or role, not "legal leadership."
Draft the ask per the template below: what the contract says, what playbook says, options with recommendation, decision-by date.
Do not send. Draft it, show it, let the lawyer send.
/commercial-legal:escalation-flagger
The Acme MSA has uncapped liability — who approves and what do I say?/commercial-legal:escalation-flagger
Reference: acme-review-memo.md
Issue: §8.2 indemnity carveoutsMatter context. Check ## Matter workspaces in the practice-level CLAUDE.md. If Enabled is ✗ (the default for in-house users), skip the rest of this paragraph — skills use practice-level context and the matter machinery is invisible. If enabled and there is no active matter, ask: "Which matter is this for? Run /commercial-legal:matter-workspace switch <slug> or say practice-level." Load the active matter's matter.md for matter-specific context and overrides. Write outputs to the matter folder at ~/.claude/plugins/config/claude-for-legal/commercial-legal/matters/<matter-slug>/. Never read another matter's files unless Cross-matter context is on.
Every contracts team has an escalation matrix, written or not. This skill reads the written one (in ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md), matches a contract issue against it, names the approver, and drafts the ask so the lawyer isn't writing "hey do you have a sec" messages at 5pm.
Which side? Before matching to the matrix, determine which side the company is on for the contract whose issue is being escalated. Usually obvious: if the counterparty is a vendor/supplier providing goods or services, you're purchasing-side. If the counterparty is a customer buying your product/service, you're sales-side. If it's not obvious, ask. Read the matching playbook section (### Sales-side playbook or ### Purchasing-side playbook) to evaluate whether the term is inside fallbacks or triggers an automatic escalation — a term that's fine on one side can be a hard-no on the other. Note which side in the drafted ask so the approver knows which playbook was applied.
Read ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md → ## Escalation. If it's missing or vague, say so — the cold-start interview should have captured this, and if it didn't, the practice profile needs editing.
Expected structure:
| Can approve | Threshold | Escalates to | Via |
|---|---|---|---|
| Paralegal | Standard terms, <$50K | Counsel | Slack |
| Counsel | Non-standard but within fallbacks, <$500K | GC | Slack or email |
| GC | Everything else | CFO/Board | Meeting |
Plus automatic escalation triggers — things that escalate regardless of dollar value. Typically: unlimited liability, IP assignment, anything on the "never accept" lists.
What's being escalated?
Don't escalate things that are actually fine. If the term is within the fallbacks in ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md, it doesn't need to go up.
Is the issue an automatic trigger?
→ YES: escalate to [person named for that trigger]
→ NO: continue
Is the contract value above the reviewer's threshold?
→ YES: escalate to whoever has authority at that dollar level
→ NO: continue
Is the term deviation outside all documented fallbacks?
→ YES: escalate to whoever can approve non-standard terms
→ NO: reviewer can approve — no escalation neededBe specific. Not "escalate to legal leadership" — name the person or role from ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md. If the matrix doesn't name anyone for this situation, say so: "The escalation matrix doesn't cover [situation]. Suggest asking [GC name] who owns this."
The approver should be able to decide from the message alone — no "let me pull up the contract."
**Escalating to:** [name]
**Via:** [Slack #channel / email / meeting — per `~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md`]
**Urgency:** [deadline if there is one]
---
Hey [name] —
Need your call on the [Counterparty] [agreement type]. [One sentence on deal context.]
**The issue:** [Plain English, one paragraph. What they want, why it's outside
our standard, what the risk actually is.]
**What the contract says:**
> "[exact quote]"
**What our playbook says:** [quote from `~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md`]
**Options:**
1. **Accept** — [one line on why this might be okay]
2. **Push back with:** "[proposed counter-language]" — [one line on likely counterparty reaction]
3. **Walk** — [one line on whether that's realistic given the business context]
**My recommendation:** [which option and why, briefly]
**Need a decision by:** [date, if there is a deadline]
[Link to full review memo]If this team uses a ticket system or [CLM] approval workflows, log it. If not, note in the review memo that the escalation was sent, to whom, and when. The next person who reads the memo should see the status.
The cost of an unnecessary escalation is ~30 seconds of the approver's time — they read, say "fine, proceed," and the record shows they saw it. The cost of a missed escalation is signing an unapproved term, which is a one-way door. The costs are not symmetric. When in doubt, escalate.
The calibration for what warrants escalation lives in ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md, not in this skill. Check the playbook's stated position, its fallbacks, and its "automatic escalation regardless of dollar value" list:
Do not suppress an escalation because over-escalation might train approvers to skim. That's an approver-experience problem the attorney solves by adjusting thresholds in the playbook, not a problem the skill solves by making its own subjective call on a term it's uncertain about.
If a term comes up that the playbook doesn't address, don't guess the threshold — ask the reviewing attorney whether this class of issue should escalate, and offer to record the answer in ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md so future reviews are consistent.
© 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 commercial-legal/skills/escalation-flagger of anthropics/claude-for-legal.
Open the folder on GitHubat commit 4a6c651
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in anthropics/claude-for-legal, which our catalogue first saw on October 7, 2026.
Escalation Flagger 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 |
|---|---|---|---|---|---|---|
| Escalation Flagger this skillanthropics/claude-for-legal | 9.6k | 1 repos | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Using Agent Skillsaddyosmani/agent-skills | 103k | 4 repos | ~2.4k | Automated safety check: Pass | MIT | |
| Claude ReflectBayramAnnakov/claude-reflect | 1.7k | 2 repos | ~627 | Automated safety check: Pass | MIT | |
| Writing For Agentsbestofjs/bestofjs | 3.1k | 19 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills | 21k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Task Observerrebelytics/one-skill-to-rule-them-all | 3.2k | 1 repos | ~12k | Automated safety check: Pass | CC-BY-4.0 |
addyosmani/agent-skills
Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.
BayramAnnakov/claude-reflect
Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.
bestofjs/bestofjs
Writing documents for agents. An agent skill from bestofjs/bestofjs.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
rebelytics/one-skill-to-rule-them-all
Monitors task execution for skill improvement opportunities.
microsoft/SkillOpt
Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.
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.
Categories
Route a contract issue to the right approver per the escalation matrix in ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md, and draft the ask. Escalation Flagger is an agent skill from anthropics/claude-for-legal, published by the product's own GitHub organization.md, and draft the ask.
Escalation Flagger fits situations like: the user says who needs to approve this; does this need GC sign-off; route this for approval; another skill finds an issue that exceeds the reviewers authority.
Run `npx skills add anthropics/claude-for-legal --skill escalation-flagger -a claude-code`. Or copy the skill folder (commercial-legal/skills/escalation-flagger in anthropics/claude-for-legal) into .claude/skills/escalation-flagger in your project. Claude Code loads it when a task matches its description.
Run `npx skills add anthropics/claude-for-legal --skill escalation-flagger -a codex`. Or copy the skill folder (commercial-legal/skills/escalation-flagger in anthropics/claude-for-legal) into .agents/skills/escalation-flagger 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 escalation-flagger -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/escalation-flagger, .gemini/skills/escalation-flagger, .github/skills/escalation-flagger and .opencode/skills/escalation-flagger in your project.
SKILL.md names no scripts, command-line tools or credentials: Escalation Flagger 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.
Escalation Flagger 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.2k tokens (SKILL.md is roughly 8.7k 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 Escalation Flagger: Using Agent Skills (addyosmani/agent-skills, 103k stars), Claude Reflect (BayramAnnakov/claude-reflect, 1.7k stars), Writing For Agents (bestofjs/bestofjs, 3.1k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k 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.