К основному содержанию
скилл CX Codex официальный · Anthropic

escalation-flagger — скилл для Claude Code: маршрутизация вопросов

Скилл определяет, кому отправить контрактный вопрос для утверждения, согласно матрице эскалации, и чертит черновик обращения. Экономит время на переписку «у тебя есть минута».

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add anthropics/claude-for-legal --skill escalation-flagger -a claude-code
Открыть на GitHub

Что делает escalation-flagger

Когда в контракте находится условие, которое превышает полномочия текущего рецензента — по сумме, по отклонению от стандартов или по автоматическому триггеру — нужно поднять вопрос выше. escalation-flagger читает матрицу эскалации из ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md, определяет, кому именно нужно одобрение, и генерирует готовое письмо с контекстом, вариантами и рекомендацией.

Скилл различает две позиции в контракте — покупатель или продавец — и подбирает нужную часть playbook'а для сравнения. Спрашивает, какая сторона в сделке, если это неясно. Не отправляет письмо автоматически: показывает черновик, юрист решает, когда нажимать. Если матрица не покрывает ситуацию, говорит об этом прямо.

Требует, чтобы файл CLAUDE.md с матрицей уже был в проекте — скилл его не создаёт.

Какие задачи решает

  • Определить, кому нужно утверждение контрактного условия
  • Составить объяснение проблемы для утверждающего с вариантами решений
  • Узнать, на каком пороге сумма требует эскалации
  • Выявить автоматические триггеры, которые всегда идут на утверждение
  • Различить, какой стороной контракта вы выступаете — покупателем или продавцом

Примеры запросов агенту

  • Какой порог для этого MSA — кому его согласовывать?
  • Escalate this: § 8 про неограниченную ответственность
  • /commercial-legal:escalation-flagger Section 5 contains IP assignment — это требует одобрения?

Как установить escalation-flagger

1Через Skills CLI (Vercel)

npx skills add anthropics/claude-for-legal --skill escalation-flagger -a claude-code

2Вручную: положить файлы

~/.claude/skills/escalation-flagger/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/escalation-flagger/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о escalation-flagger

Как установить escalation-flagger в Claude Code?

Запустите npx skills add anthropics/claude-for-legal --skill escalation-flagger -a claude-code. После установки найдите скилл в ~/.claude/skills/escalation-flagger/SKILL.md.

Что делает escalation-flagger?

Читает матрицу эскалации, определяет, кому отправить вопрос об утверждении контракта, и чертит готовое письмо с контекстом и вариантами решения. Письмо не отправляет — только показывает.

Что нужно, чтобы скилл работал?

Требует файл ~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md с заполненной таблицей эскалации. Если файла нет или таблица не определена, скилл об этом скажет.

Исходный текст

SKILL.md · Apache-2.0
---
name: escalation-flagger
description: >
  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.
argument-hint: "[describe the issue, or reference a review memo]"
---

# /escalation-flagger

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.

## Instructions

1. **Load `~/.claude/plugins/config/claude-for-legal/commercial-legal/CLAUDE.md`** → Escalation section. If missing, say so — the practice profile needs editing.

2. **Characterize the issue:** dollar threshold / term deviation / automatic trigger / business decision.

3. **Match to matrix, name the approver.** Be specific — a person or role, not "legal leadership."

4. **Draft the ask** per the template below: what the contract says, what playbook says, options with recommendation, decision-by date.

5. **Do not send.** Draft it, show it, let the lawyer send.

## Examples

```
/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 carveouts
```

---

## Matter context

**Matter 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`.

---

## Purpose

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.

## Load the matrix

**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.

## Workflow

### Step 1: Characterize the issue

What's being escalated?

- **Dollar threshold:** Contract value exceeds someone's approval authority
- **Term deviation:** A term is outside the playbook fallbacks — someone more senior needs to decide whether to accept
- **Automatic trigger:** One of the always-escalate items is present
- **Business decision:** Not a legal call — needs the business owner, not legal leadership

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.

### Step 2: Match to the matrix

```
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 needed
```

### Step 3: Name the approver

Be 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."

### Step 4: Draft the ask

The approver should be able to decide from the message alone — no "let me pull up the contract."

```markdown
**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]
```

### Step 5: Record the escalation

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.

## Calibration: when in doubt, escalate with a note

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:

- **Clearly inside the fallback range:** no escalation needed.
- **Clearly outside the range, or on the automatic-escalation list:** escalate.
- **Uncertain — the term is ambiguous, novel, or arguably inside the range but the argument is a stretch:** escalate anyway, and note the uncertainty explicitly. The draft flags the specific question the approver needs to decide and why the skill couldn't confidently place it inside the fallback. The approver narrows; the skill does not.

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.

## What this skill does not do

- It does not approve anything. It routes.
- It does not decide between the options. The draft includes a recommendation but the approver decides.
- It does not send the escalation message — it drafts it. The lawyer sends it after reading.

© anthropics · Apache-2.0 · anthropics/claude-for-legal

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
skill-name claude-office-skills Шаблон скилла из набора Claude Office Skills: задаёт структуру метаданных и разделов для скиллов по документам и юридическим задачам. CX Codex +1 4 500установок draft-nda phuryn Скилл помогает составить детальное соглашение о неразглашении (NDA) между двумя сторонами с учётом типов информации, юрисдикции и пометками разделов для проверки юристом. CX Codex +1 2 600установок contract-review claude-office-skills Находит риски в договорах, проверяет структуру документов и готовит правки для торга. Пригодится перед подписанием соглашений об оказании услуг, NDA и трудовых контрактов. CX Codex +1 5 400установок vendor-check официальный anthropics Скилл проверяет договоры с поставщиком сразу в CLM, CRM, почте и хранилище документов, показывает, какие согласованы и какие не подписаны, указывает сроки истечения. Используй при onboarding поставщика или пересмотре договора. CX Codex +1 2 800установок windows-privilege-escalation yaklang Скилл помогает проверить пути локального повышения привилегий Windows после получения низкопривилегированной оболочки. Пригодится для авторизованного аудита конфигурации системы. CX Codex +1 3 600установок langgraph-human-in-the-loop langchain-ai Скилл для создания графов с перерывами, ждущих человека. Пригодится, когда нужно показать результат агента, попросить одобрение или валидировать ввод перед продолжением. CX Codex +1 17 200установок

Из того же набора118

cold-call-prep Предсказывает вопросы преподавателя по делу и прогоняет вас по ним в сократическом режиме, отмечая, где вы плаваете. CX Codex +1 608установок matter-briefing Собирает короткую сводку по одному делу: текущий статус, что изменилось, ближайший дедлайн и открытые вопросы. Пригодится перед звонком юрконсультанту или руководству. CX Codex +1 608установок review-proposals Позволяет юристу пошагово разбирать предложения по обновлению плейбука от агента playbook-monitor и вносить одобренные правки в профиль практики. CX Codex +1 608установок stakeholder-summary Сводит готовую проверку договора к краткому тексту для бизнес-заказчика: можно ли подписывать, в чём риск и что делать дальше. CX Codex +1 608установок closing-checklist Ведёт YAML-чек-лист закрытия сделки: собирает пункты из договора и дью-дилидженса, обновляет статусы, показывает, что мешает закрытию. CX Codex +1 607установок outline-builder Скилл формирует структуру юридического конспекта по лекциям и учебникам, но принципиально отказывается писать правила за студента. CX Codex +1 608установок launch-review Проверяет запуск продукта по юридической рамке команды и выдаёт мемо с находками. Нужен для PRD, тикета трекера или вопроса о готовности функции к релизу. CX Codex +1 606установок written-consent Чертит единогласное письменное согласие совета директоров или комитета в формате компании, ищет прецедент в репозитории согласий и собирает чек-лист подписантов. CX Codex +1 606установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой