LexDye Blog · LexDye AI tools · Published · LexDye, Inc.

How to run LexDye from Claude

LexDye finds them. Claude reviews them. The LexDye Definition Tracker checks the defined terms in an agreement: terms used but never defined, terms defined more than once, definitions never used, terms used before they are defined, and lower-case uses of defined terms. It runs on your own computer and makes no network connections. Claude can run LexDye for you and then review every finding against the agreement.

There are two ways to do this, depending on which Claude you use.

Option 1: Claude Code or Cowork (Claude runs LexDye for you)

Use this if you work with Claude Code or Cowork, where Claude can work with files in a folder on your computer.

  1. Download the command-line version. On the beta page, click Command line (for AI agents). You get one file, lexdye-cli-beta.mjs. It needs Node.js 20 or later.
  2. Put it in a folder with your agreement. Save the Word file (.docx) of the agreement in the same folder, and open that folder in Claude Code or Cowork.
  3. Ask Claude to run it. For example:
    Run node lexdye-cli-beta.mjs "My Agreement.docx", then review every entry in the LexDye report against the agreement.
  4. Read Claude's review. LexDye saves its report next to the agreement. Claude reads the report and the agreement and tells you which findings need a fix and which are harmless.

Even simpler with the LexDye skill. Add the LexDye skill for Claude. Then you can just say “run this agreement through LexDye,” and Claude finds the file, runs LexDye, and reviews the report.

If LexDye stops on quotation marks. LexDye stops when it finds quotation marks it cannot read and lists the lines. Claude should show you those lines before changing anything.

Option 2: Claude chat (you run LexDye, Claude reviews the report)

Use this if you use Claude in a web browser or the chat window, where Claude cannot open files on your computer.

  1. Download the LexDye app (one HTML file) from the beta page and open it in Chrome, Safari, Edge, or Firefox.
  2. Click Open Word File and choose the agreement.
  3. When the analysis is complete, click Copy report for AI.
  4. Paste the report into Claude. The report includes the full agreement text with line numbers and the review instructions, so Claude can check every entry.

Long agreement? Upload the report instead. A full report can be long. Instead of pasting it, click Download report in step 3 and upload the saved file to Claude as an attachment. Claude reads the same report, and your chat stays clean.

Why not have Claude open the LexDye app in its browser?

We tested it. Claude's built-in browser is for websites. It does not load an app file from your computer, and it cannot choose a Word file in the app's file picker for you. The command-line version runs the same analysis and writes the same report, so it is the better route for Claude.

What stays on your computer

LexDye itself reads only the agreement you give it, writes only the report, and makes no network connections. When you ask Claude to review the results, Claude reads the agreement and the report, and your use of Claude is governed by your agreement with Anthropic. Before you share an agreement with any AI, make sure your client's confidentiality terms and your firm's AI policy allow it.

What LexDye checks, and what it does not

LexDye is strictly about defined terms. It does not judge style, quotation conventions, meanings, or cross-references to sections. LexDye deliberately errs on the side of flagging items for review, which is why Claude's review step matters. See the fact sheet for details.

License

LexDye is provided under license from LexDye, Inc. See the Definition Tracker Terms of Use. Questions or feedback: info@LexDye.com.