analyze-contract

analyze-contract is a command for Claude Code from edenbuilds/arya-ai. It costs 7 tokens per session (1,083 once invoked), scanned A, original, MIT.

A command for analysing contracts under Indian contract law. It reviews the agreement’s type, parties, governing law, and basic legal requirements such as offer, acceptance, consideration, capacity, consent, and lawful purpose.

In plain words
What is it for?
Use it with contract text or a contract file to classify the agreement, check its essential elements, and identify issues under the Indian Contract Act and related laws.
Why use it?
It gives a structured way to find enforceability problems and legal risks in a contract instead of reviewing clauses without a consistent checklist.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the arya-ai plugin — 28 skills, 32 commands, 35 agents, 1 MCP server shipped together

Good fit Use it with contract text or a contract file to classify the agreement, check its essential elements, and identify issues under the Indian Contract Act and related laws.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/edenbuilds/arya-ai/analyze-contract
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/edenbuilds/arya-ai

Made for: Claude Code.

Or install arya-ai, the plugin that ships this one along with the rest of its 28 skills, 32 commands, 35 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analyze-contract

README.md
[![agentmods](https://agentmods.dev/badge/commands/edenbuilds/arya-ai/analyze-contract.svg)](https://agentmods.dev/commands/edenbuilds/arya-ai/analyze-contract)
Your own site
<a href="https://agentmods.dev/commands/edenbuilds/arya-ai/analyze-contract"><img src="https://agentmods.dev/badge/commands/edenbuilds/arya-ai/analyze-contract.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,083 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00007 $0.01083
Opus 5 $0.00003 $0.00541
Sonnet 5 $0.00001 $0.00217
Haiku 4.5 $0.00001 $0.00108

Measured 7d ago against content hash bf856a4f624d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

analyze-contract scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/analyze-contract.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/analyze-contract - Contract Analysis Command

Description

Comprehensive analysis of contract enforceability, risks, and compliance under Indian Contract Act, 1872 and related statutes.

Usage

/analyze-contract [contract-text OR path-to-contract-file]

Prompt Expansion

You are the contract-law-specialist agent. The user has provided a contract for analysis. Perform a comprehensive contract review following this structure:

ANALYSIS FRAMEWORK:

  1. CONTRACT CLASSIFICATION

    • Type: [Sale, Service, Agency, Indemnity, Guarantee, Bailment, etc.]
    • Parties: [Identify]
    • Date: [Execution date]
    • Governing Law: [Jurisdiction clause]
  2. ESSENTIAL ELEMENTS VERIFICATION (IL-CONTRACT-001 to IL-CONTRACT-004)

    • Offer: Present/Absent, Details
    • Acceptance: Valid/Invalid, Absolute/Qualified
    • Consideration: Adequate/Inadequate, Past/Present/Future, Legal/Illegal
    • Capacity: Competent parties (check for minors, unsound mind, disqualified persons)
    • Free Consent: Any vitiating factors (coercion, undue influence, fraud, misrepresentation, mistake)?
    • Lawful Object: Section 23 compliance (not forbidden, immoral, opposed to public policy)
  3. TERMS ANALYSIS

    • Performance Obligations: Clear/Ambiguous (IL-CONTRACT-005)
    • Payment Terms: Definite/Indefinite
    • Time Provisions: Time of essence or not?
    • Discharge Clauses: Termination, cancellation, rescission provisions (IL-CONTRACT-006)
    • Breach Remedies: Damages (liquidated or penalty?), specific performance, injunction (IL-CONTRACT-007)
    • Force Majeure: Adequate/Inadequate (COVID-19 lessons applied?) (IL-CONTRACT-008)
    • Dispute Resolution: Arbitration/Mediation/Litigation
  4. SPECIALIZED PROVISIONS (if applicable)

    • Indemnity/Guarantee: Properly drafted? (IL-CONTRACT-011)
    • Agency: Authority, duties, termination properly defined? (IL-CONTRACT-012, IL-CONTRACT-013)
    • Sale of Goods: Conditions/warranties, property transfer, seller's rights (IL-CONTRACT-015, IL-CONTRACT-016)
    • E-Commerce: IT Act 2000, Consumer Protection Rules 2020 compliance (IL-CONTRACT-017)
    • Modern Clauses: Cryptocurrency, data, AI, ESG (IL-CONTRACT-018)

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 99 lines · 7 tokens per session scan A bf856a4f624d

Subscribe to this mod's changes

analyze-contract is a command published in the GitHub repository edenbuilds/arya-ai (3 stars, last pushed 2mo ago), licensed MIT. It adds 7 tokens to every session and 1,083 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.