Agent skill

Contract Analyzer

by revfactory in revfactory/harness-100

A pipeline where an agent team performs contract analysis, drafting, review, and risk assessment.

Apache-2.0Auto-check passedLegal & Compliance

Install Contract Analyzer

skills CLI
$ npx skills add revfactory/harness-100 --skill contract-analyzer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install revfactory/harness-100 contract-analyzer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/66-contract-analyzer/.claude/skills/contract-analyzer .claude/skills/contract-analyzer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
contract-analyzer
GitHub stars
1.3k
Token cost
~1.8k tokens
SKILL.md length
694 words
Files
1
Skills in repo
464
Repo updated
First seen
Licence
Apache-2.0

At a glance

A pipeline where an agent team performs contract analysis, drafting, review, and risk assessment.

  • Works in 3 steps: Preparation (Performed Directly by… → Team Assembly and Execution → Integration and Final Deliverables
  • Contexts such as review the contract
  • SKILL.md covers Execution Mode, Agent Composition, Workflow and Modes by Request Scope, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Contract Analyzer is an agent skill from revfactory/harness-100. A pipeline where an agent team performs contract analysis, drafting, review, and risk assessment. Use this skill for contexts such as 'review the contract', 'contract analysis', 'draft a contract', 'contract risk assessment', 'contract review', 'clause modification', 'contract comparison', 'NDA review', 'service agreement', 'lease agreement', 'employment contract', 'license agreement', and other contract management tasks. Note: Providing legal counsel, conducting litigation, notarization, and court document…

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Legal & Compliance, covering Contract review. The licence is Apache-2.0.

When your agent uses it

  • Contexts such as review the contract
  • Contract analysis
  • Draft a contract
  • Contract risk assessment

Example prompts

  • “review the contract”
  • “contract analysis”
  • “draft a contract”
  • “/contract-analyzer”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Preparation (Performed Directly by Orchestrator)
  2. Team Assembly and Execution
  3. Integration and Final Deliverables

What it can do on your machine

Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Contract Analyzer loads about 1.8k tokens when it runs. Until then it costs about 145 tokens; SKILL.md has 694 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~145
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 694 words, ~1,845 tokens.

Download SKILL.mdSave it as .claude/skills/contract-analyzer/SKILL.md (or your agent's skills folder).
name
contract-analyzer
description
A pipeline where an agent team performs contract analysis, drafting, review, and risk assessment. Use this skill for contexts such as 'review the contract', 'contract analysis', 'draft a contract', 'contract risk assessment', 'contract review', 'clause modification', 'contract comparison', 'NDA review', 'service agreement', 'lease agreement', 'employment contract', 'license agreement', and other contract management tasks. Note: Providing legal counsel, conducting litigation, notarization, and court document preparation are outside the scope of this skill.

Contract Analyzer — Contract Analysis, Drafting, and Review Pipeline

An agent team collaborates to perform clause analysis, drafting/revision, risk assessment, comparison review, and comprehensive opinion.

Warning: This pipeline does not replace professional legal advice.

Execution Mode

Agent Team — 5 agents communicate directly via SendMessage and cross-verify each other's work.

Agent Composition

AgentFileRoleType
clause-analyst.claude/agents/clause-analyst.mdClause structure, interpretation, essential clause verificationgeneral-purpose
clause-drafter.claude/agents/clause-drafter.mdClause drafting, amendment proposalsgeneral-purpose
risk-assessor.claude/agents/risk-assessor.mdLegal and business risk assessmentgeneral-purpose
comparison-reviewer.claude/agents/comparison-reviewer.mdStandard/previous version comparison, negotiation pointsgeneral-purpose
contract-coordinator.claude/agents/contract-coordinator.mdComprehensive opinion, consistency verificationgeneral-purpose

Workflow

Phase 1: Preparation (Performed Directly by Orchestrator)
  1. Extract from user input:
    • Contract Text: The contract to analyze (file or text)
    • Contract Type: Sale/Service/Lease/NDA/Employment/License, etc.
    • Party Position: User's position as Party A or Party B
    • Special Concerns (optional): Specific clauses, risks, comparison targets
    • Comparison Target (optional): Standard template, previous version
  2. Create the _workspace/ directory in the project root
  3. Organize the input and save to _workspace/00_input.md
  4. If contract text is available, copy to _workspace/original_contract.md
  5. Determine the execution mode based on the requested scope
Phase 2: Team Assembly and Execution
OrderTaskOwnerDependenciesOutput
1Clause Analysisclause-analystNone_workspace/01_clause_analysis.md
2aRisk Assessmentrisk-assessorTask 1_workspace/03_risk_assessment.md
2bComparison Reviewcomparison-reviewerTask 1_workspace/04_comparison_report.md
3Clause Drafting/Revisionclause-drafterTasks 1, 2a, 2b_workspace/02_draft_clauses.md
4Comprehensive Opinioncontract-coordinatorTasks 1, 2a, 2b, 3_workspace/05_final_opinion.md

Tasks 2a (Risk) and 2b (Comparison) are executed in parallel.

Inter-agent Communication Flow:

  • clause-analyst completes -> Delivers risk clauses to risk-assessor, structural info to comparison-reviewer
  • risk-assessor + comparison-reviewer complete -> Deliver modification requirements to clause-drafter
  • clause-drafter completes -> contract-coordinator comprehensively verifies all deliverables
  • contract-coordinator: If Red inconsistencies found, requests revision from relevant agent -> rework -> re-verify (up to 2 times)
Phase 3: Integration and Final Deliverables
  1. Review all files in _workspace/
  2. Verify that all Red required actions in the comprehensive opinion are reflected in the amendments
  3. Report the final summary to the user:
    • Clause Analysis Report — 01_clause_analysis.md
    • Amendments — 02_draft_clauses.md
    • Risk Assessment — 03_risk_assessment.md
    • Comparison Review — 04_comparison_report.md
    • Comprehensive Opinion — 05_final_opinion.md

Modes by Request Scope

User Request PatternExecution ModeAgents Deployed
"Review this contract", "Full analysis"Full AnalysisAll 5 agents
"Draft a contract", "Write a contract"Drafting Modeclause-drafter + risk-assessor + contract-coordinator
"Just assess the risk"Risk Modeclause-analyst + risk-assessor
"Compare with previous version"Comparison Modeclause-analyst + comparison-reviewer
"Modify this clause"Amendment Modeclause-drafter only

Using Existing Files: If comparison targets (standard, previous version) are provided, comparison-reviewer utilizes them.

Show full SKILL.md (289 more words)Show less

Data Transfer Protocol

StrategyMethodPurpose
File-based_workspace/ directoryStoring and sharing main deliverables
Message-basedSendMessageReal-time delivery of key information, revision requests
Web BrowsingWebSearch/WebFetchStandard templates, related laws, case law research

Error Handling

Error TypeStrategy
No contract textSwitch to drafting mode based on standard template for the contract type
Party position unclearAnalyze from both Party A and Party B perspectives, request position confirmation from user
Governing law unclearDefault analysis based on domestic law, note possibility of other applicable laws
Web search failureWork based on general legal knowledge, note "latest case law unverified"
Agent failureRetry once -> if failed, proceed without that deliverable, note omission in report

Test Scenarios

Normal Flow

Prompt: "Review this software development service contract. We are Party B (the contractor)." + contract file provided Expected Results:

  • Clause Analysis: Full structure map, clause-by-clause legal and practical analysis, essential clause check
  • Risk Assessment: Risks from Party B's perspective, disadvantageous clause identification, mitigation strategies
  • Comparison Review: Differences from software development standard contract
  • Amendments: Revised wording for disadvantageous clauses, additional protective clauses
  • Comprehensive Opinion: Signing feasibility, required modification list, checklist
New Drafting Flow

Prompt: "Draft a freelance design service contract. I am Party A." Expected Results:

  • Drafting Mode: clause-drafter creates standard service contract draft
  • risk-assessor checks risks of the drafted document
  • contract-coordinator performs final verification
Error Flow

Prompt: "Check if this contract is okay" + English NDA provided Expected Results:

  • English NDA analysis, key terms annotated in both languages
  • Analysis based on domestic law, with explanation of common law practice differences
  • Governing law verification recommendation included in comprehensive opinion

Agent Extension Skills

AgentExtension SkillPurpose
risk-assessor, clause-analystclause-risk-databaseRisk clause pattern DB, risk scoring algorithm
clause-drafter, comparison-reviewernegotiation-playbookNegotiation strategy framework, amendment wording templates

© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in en/66-contract-analyzer/.claude/skills/contract-analyzer of revfactory/harness-100.

Open the folder on GitHubat commit 8e8d35c

Compare with similar skills

Contract Analyzer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Contract Analyzer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Contract Analyzer this skillrevfactory/harness-1001.3k—~1.8kAutomated safety check: PassApache-2.0
Contract Reviewevolsb/claude-legal-skill4611 repos~3.6kAutomated safety check: PassMIT
Commercial Legal Plapiotrowski-afk/commercial-legal-pl1761 repos~4.1kAutomated safety check: PassApache-2.0
Custom Nda Generatorzubair-trabzada/ai-legal-claude1.8k1 repos~2.9kAutomated safety check: PassNone
Tabular Document Reviewanthropics/claude-for-legal9.6k3 repos~4.3kAutomated safety check: PassApache-2.0
Tw Formal WritingImbad0202/tw-formal-writing178—~1kAutomated safety check: PassMIT

Similar skills

  • Contract Review

    evolsb/claude-legal-skill

    Review legal contracts, NDAs, employment agreements, SaaS terms, and M&A documents.

    461 GitHub starsUsed in 1 repo~3.6k tokens
    Legal & ComplianceAuto-check passed
  • Commercial Legal Pl

    apiotrowski-afk/commercial-legal-pl

    Skill do analizy i tworzenia umów według polskiego prawa, ze szczególnym uwzględnieniem umów B2B, IP i IT (body leasing, NDA, wdrożenia, SaaS, przeniesienie praw autorskich, ugody).

    176 GitHub starsUsed in 1 repo~4.1k tokens
    Legal & ComplianceAuto-check passed
  • Custom Nda Generator

    zubair-trabzada/ai-legal-claude

    Generates a complete, customized Non-Disclosure Agreement with plain English annotations, tailored to the specific parties and situation

    1.8k GitHub starsUsed in 1 repo~2.9k tokens
    Legal & ComplianceAuto-check passed
  • Tabular Document Review

    anthropics/claude-for-legal

    Official

    Builds a review grid with one row per document and one column per data point, each cell cited to a verbatim quote, built for M&A diligence and other batch reviews.

    9.6k GitHub starsUsed in 3 repos~4.3k tokens
    Legal & ComplianceAuto-check passed
  • Tw Formal Writing

    Imbad0202/tw-formal-writing

    台灣正式文件撰寫助手 — 涵蓋政府公文、政府機關其他文件、法律文件、人民對政府文書四類中文正式文件的撰寫(不含學術論文、商業文書、私人書信等,見下方排除清單)。

    178 GitHub stars~1k tokensUpdated 12 days ago
    Legal & ComplianceAuto-check passed
  • Contract Review Pro

    CSlawyer1985/contract-review-pro

    专业合同审核 Skill:7步工作流(含立场声明、框架审阅、类型路由)、5类通用门禁+16个专项门禁、终稿三件套+HTML可视化报告、8维度风险评分、修订5分类路由。完全自包含,零外部依赖。

    275 GitHub stars~2.3k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from revfactory/harness-100

All 464 skills in this repo
  • Anti Bot Analyzer

    revfactory/harness-100

    A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • API Error Design Patterns

    revfactory/harness-100

    Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed
  • API Security Checklist

    revfactory/harness-100

    Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.

    1.3k GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Arg Parser Generator

    revfactory/harness-100

    Methodology for systematically designing and generating CLI tool argument parser structures.

    1.3k GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Audience Segmentation

    revfactory/harness-100

    Audience segmentation skill used by the analyst and curator agents.

    1.3k GitHub stars~1.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Audio Storytelling

    revfactory/harness-100

    Audio storytelling skill used by the podcast scriptwriter and show note editor.

    1.3k GitHub stars~1.6k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Contract Analyzer

What does Contract Analyzer do?

A pipeline where an agent team performs contract analysis, drafting, review, and risk assessment. Contract Analyzer is an agent skill from revfactory/harness-100. A pipeline where an agent team performs contract analysis, drafting, review, and risk assessment.

When should I use Contract Analyzer?

Contract Analyzer fits situations like: contexts such as review the contract; contract analysis; draft a contract; contract risk assessment.

How do I install Contract Analyzer in Claude Code?

Run `npx skills add revfactory/harness-100 --skill contract-analyzer -a claude-code`. Or copy the skill folder (en/66-contract-analyzer/.claude/skills/contract-analyzer in revfactory/harness-100) into .claude/skills/contract-analyzer in your project. Claude Code loads it when a task matches its description.

How do I install Contract Analyzer in Codex?

Run `npx skills add revfactory/harness-100 --skill contract-analyzer -a codex`. Or copy the skill folder (en/66-contract-analyzer/.claude/skills/contract-analyzer in revfactory/harness-100) into .agents/skills/contract-analyzer in your project. Codex loads it when a task matches its description.

Can I use Contract Analyzer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill contract-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/contract-analyzer, .gemini/skills/contract-analyzer, .github/skills/contract-analyzer and .opencode/skills/contract-analyzer in your project.

What does Contract Analyzer need to run?

SKILL.md names no scripts, command-line tools or credentials: Contract Analyzer is instructions for the agent only.

Does Contract Analyzer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Contract Analyzer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Contract Analyzer use?

Contract Analyzer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Contract Analyzer use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Contract Analyzer?

Skills that share tags, products or a category with Contract Analyzer: Contract Review (evolsb/claude-legal-skill, 461 stars), Commercial Legal Pl (apiotrowski-afk/commercial-legal-pl, 176 stars), Custom Nda Generator (zubair-trabzada/ai-legal-claude, 1.8k stars) and Tabular Document Review (anthropics/claude-for-legal, 9.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Contract Analyzer?

revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.

Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.