# Lexflow Contract Analyst

> Local contract evidence retrieval tool for keyword-based passage ranking and UUID-verified citations.

Lexflow Contract Analyst is a paid AI agent skill on Agensi by Alex, in Legal & Compliance. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Alex](https://www.agensi.io/creators/alex-nano)
- Category: [Legal & Compliance](https://www.agensi.io/skills/legal-compliance)
- Version: 1.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/lexflow-contract-analyst
- Tags: legal, python, search, documentation, text-analysis

## About this skill

Manually hunting through 50-page legal agreements for specific clauses is slow and error-prone. This skill automates local contract evidence retrieval, pinpointing relevant passages with exact character offsets and unique citation identifiers.

### What it does
- **Evidence retrieval** uses BM25-style keyword ranking to extract relevant text blocks from local contracts.
- **Passage chunking** divides long documents into paragraph-aware sections to maintain context.
- **Citation management** assigns immutable UUID identifiers to every retrieved passage for auditability.
- **Validation utilities** verify that cited evidence exists within the current document's evidence set.
- **Standalone execution** runs via a single Python script with zero third-party dependencies.

### How it works
1. Point the skill to a local UTF-8 plain-text contract file.
2. Provide a specific question or provision type to investigate.
3. The script executes locally to rank and retrieve the top relevant passages.
4. Review the returned text blocks along with their assigned citation UUIDs.

### Frameworks & tools
The skill is built for Python 3.10+ environments using only the standard library. It requires no database, external APIs, or heavy packages like NumPy or PyTorch.

### Why this beats prompting it yourself
Generic prompts often hallucinate clauses or lose track of specific page locations in long documents. This skill enforces a programmatic retrieval pipeline that binds every claim to a verifiable, cited passage in the source text.

### Use cases
- Locate termination triggers and notice periods across multiple service agreements.
- Identify specific indemnification obligations in vendor contracts.
- Extract exact wording for force majeure clauses during compliance audits.
- Validate internal document citations against a specific version of a text file.

### Known limitations
Supports only UTF-8 encoded .txt files up to 10 MB. It does not parse PDF or DOCX formats and does not perform semantic reasoning or synonym matching.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Lexflow Contract Analyst skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help with long legal agreements?

This skill automates the process of finding specific clauses in long legal documents. It uses keyword ranking to extract relevant text passages and assigns each one a unique citation identifier to ensure every claim is backed by verifiable evidence.

### What files or software do I need to provide for this skill to work?

The skill requires a local UTF-8 plain-text contract file up to 10 MB. It runs on Python 3.10 or later and uses the standard library, meaning it does not require any external databases, API keys, or third-party packages to function.

### What specific information does the skill provide when I search a contract?

The skill returns the top relevant text blocks from the contract along with their exact character offsets. Each passage is also assigned an immutable UUID citation to maintain an audit trail for every piece of evidence retrieved.

### Are there any document types or search methods this skill does not support?

This skill is designed for keyword-based retrieval rather than semantic reasoning or synonym matching. It only supports UTF-8 text files and cannot process PDFs, Word documents, or scanned images.

### How should I direct my AI agent to use this skill?

You can ask your agent to investigate a specific contractual issue, such as finding termination triggers, notice periods, or indemnification obligations within a provided text file. Be sure to point your agent to the local file you want it to analyze.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
