Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for corporate counsels

Legal Cross-Reference Repair Agent

Every cross-reference points to the clause it was meant to.

Legal Cross-Reference Repair Agent: what goes in, what the agent does and what you get

What it does

When clauses are renumbered, cross-references like 'see clause 7.2' break or silently point to a different topic. When a draft is renumbered or restructured, this agent maps each reference to the clause it originally meant, using the earlier version. It checks whether the new number points to the same subject. If not, it inspects the context and finds where the original clause moved. It patches the links in a copy, then validates every reference again after repagination. Substantive changes go to the lawyer. Edge case: clause 7.2 used to cover termination but now covers fees after a new clause was inserted, so the agent updates the reference to 7.3.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueApprovedNo 1 STARTS WHEN Draft renumbered 2 USES A TOOL Resolve each reference to its original target 3 CHECKS THE RESULT Does the new number point to the same subject? If not: inspect context and find the moved clause. Backto step 2. 4 USES A TOOL Patch links in a copy 5 USES A TOOL Validate references after repagination 6 YOU APPROVE Lawyer approves 7 RESULT Tested cross-reference draft
Read the steps as a list
  1. Draft renumbered
  2. Resolve each reference to its original target
  3. Does the new number point to the same subject?If not: inspect context and find the moved clause. Back to step 2.
  4. Patch links in a copy
  5. Validate references after repagination
  6. Lawyer approvesThe agent waits here for your OK.
  7. Tested cross-reference draft

How it decides

It resolves references by original meaning, not by number, and checks context when meaning and number disagree.

  • Find targets by meaning, not number.
  • Substantive changes go to the lawyer.
  • References to deleted clauses are never repointed by the agent.

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Reference formats recognized
  • Previous version used for mapping
  • Report format
  • Who approves the draft

What keeps you in control

It always asks you first

  • Substantive clause changes
  • Filing

Hard limits

  • Copy only.

It stops when

  • Done: all references valid.

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensA loan agreement was restructured on November 11, with two clauses added. The agent resolved 88 references. Twelve now pointed to different subjects, so the check failed for them. It found where each original clause moved and patched the links. After repagination it validated all 88 again. One reference pointed to a deleted clause and went to the lawyer, who approved the draft on November 12.

More agents for corporate counsels