Agent skill

Contract Snapshot

by LegalQuants in LegalQuants/lq-ai

A skill your agent uses when the user wants to compare the same handful of terms across N contracts side-by-side in a grid — what is the term, survival period, carveouts, and governing law in each…

Apache-2.0Auto-check passedLegal & Compliance

Install Contract Snapshot

skills CLI
$ npx skills add LegalQuants/lq-ai --skill contract-snapshot -a claude-code

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

GitHub CLI
$ gh skill install LegalQuants/lq-ai contract-snapshot --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/LegalQuants/lq-ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/contract-snapshot .claude/skills/contract-snapshot && 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-snapshot
GitHub stars
150
Token cost
~1.8k tokens
SKILL.md length
666 words
Files
1
Skills in repo
16
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when the user wants to compare the same handful of terms across N contracts side-by-side in a grid — what is the term, survival period, carveouts, and governing law in each…

  • Works in 3 steps: Review the column queries — do they… → Spot-check at least one cell per column… → Treat any not found cell as a signal to…
  • The user wants to compare the same handful of terms across N contracts side-by-side in a grid — what is the term
  • SKILL.md covers When this skill applies, Inputs, Per-column overrides and Output format and downstream…, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Contract Snapshot is an agent skill from LegalQuants/lq-ai. Use when the user wants to compare the same handful of terms across N contracts side-by-side in a grid — what is the term, survival period, carveouts, and governing law in each of these 5 NDAs? Returns a row-per-document × column-per-question grid with citations per cell. Reference skill for the M3-C outputformat - table mode; intended as a starting point for operators to fork and tune for their own contract types.

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 and Citation management. The repository describes itself as: Open-source AI for legal teams. Bring your own keys, run it where you want, own your data. The licence is Apache-2.0.

When your agent uses it

  • The user wants to compare the same handful of terms across N contracts side-by-side in a grid — what is the term
  • Survival period
  • Governing law in each of these 5 NDAs?

Example prompts

  • “/contract-snapshot”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Review the column queries — do they match the questions you actually want answered for this corpus?
  2. Spot-check at least one cell per column against the source document — does the extraction faithfully represent the source?
  3. Treat any not found cell as a signal to investigate, not as definitive evidence that the clause is absent.

What it can do on your machine

Read from SKILL.md and the folder at commit d185a62. 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 (its code samples are yaml).

    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 Snapshot loads about 1.8k tokens when it runs. Until then it costs about 109 tokens; SKILL.md has 666 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~109
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 LegalQuants/lq-ai at commit d185a62, republished under its Apache-2.0 licence (© LegalQuants). 666 words, ~1,752 tokens.

Download SKILL.mdSave it as .claude/skills/contract-snapshot/SKILL.md (or your agent's skills folder).
name
contract-snapshot
description
Use when the user wants to compare the same handful of terms across N contracts side-by-side in a grid — what is the term, survival period, carveouts, and governing law in each of these 5 NDAs? Returns a row-per-document × column-per-question grid with citations per cell. Reference skill for the M3-C output_format - table mode; intended as a starting point for operators to fork and tune for their own contract types.
lq_ai.title
Contract Snapshot
lq_ai.version
1.0.0
lq_ai.author
LegalQuants
lq_ai.tags
contracts, due-diligence, tabular, snapshot
lq_ai.jurisdiction
agnostic
lq_ai.trigger_examples
compare the term length and governing law across these NDAs, show me a side-by-side of these 5 contracts on key terms, I want a grid of these contracts'…
lq_ai.output_format
table
lq_ai.ensemble_verification
false
lq_ai.minimum_inference_tier
2

Contract Snapshot

A reference skill for the M3-C output_format: table mode. Produces a side-by-side grid of the same questions across N contracts — the in-house lawyer's "compare clauses across N agreements" workflow. Each cell carries a citation back to the source document, and failed extractions render as not found rather than confidently-wrong text.

When this skill applies

Apply when the user wants to compare a small number of well-defined questions across a corpus of similar contracts:

  • "What is the term, survival, and governing law across these 5 NDAs we're tracking?"
  • "Pull out the payment terms, IP ownership, and termination triggers across these 10 MSAs."
  • "For my Q3 portfolio review, I need a grid of these 30 vendor contracts' liability caps."

Do not apply this skill to:

  • Single-document review — use the appropriate document-specific skill (nda-review, msa-review-saas, etc.).
  • Free-form chat against contracts — that's the regular Chat surface.
  • Tasks where the questions aren't well-defined upfront — the column queries must be specific enough to extract from each row's source document; vague queries produce poor cells.

Inputs

The skill takes a set of documents (selected via the Tabular Review UI from a Knowledge Base, a Project, or a free file selection). The four columns above run as Citation Engine-grounded extractions against each document.

To adapt this skill for a different contract type (e.g., MSAs), fork the skill and rewrite the four column queries. Keep them short, specific, and quote-asking — the Citation Engine works best when the model is encouraged to quote rather than paraphrase.

Per-column overrides

This skill demonstrates the two per-column overrides M3-C1 supports:

  • ensemble_verification: true on the Survival column. Survival is the load-bearing economic term in confidentiality agreements (a 3-year confidentiality term with a 10-year survival is very different from one with no survival), so cells in this column run through Stage 4 of the Citation Engine cascade — three judges debating whether the cell value is faithful to its citation. Higher cost, higher confidence.
  • minimum_inference_tier: 3 on the Governing Law column. The skill-level floor is Tier 2 (commercial inference). Governing-law extraction is the column most likely to surface counterintuitive answers (e.g., a contract drafted under California law but with a Delaware forum-selection clause); routing this column to Tier 3+ avoids the cheapest models' tendency to collapse the two into one answer.

Other columns inherit the skill-level ensemble_verification: false and minimum_inference_tier: 2 defaults — appropriate for the lower-stakes, more-extractive Term and Carveouts columns.

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

Output format and downstream surfaces

The grid renders in the Tabular Review UI (/lq-ai/tabular/) with sticky-first-row and sticky-first-column. Each cell shows the extracted value + a small confidence chip; click anywhere on the cell to open the existing M2-C2 citation drawer with the source document highlighted at the cited chunk.

From the result view, operators can:

  • Export the grid as XLSX — each cell carries its citation as an Excel comment with a clickable link back to the deployment.
  • Export as CSV — citations are flattened to sibling {column_name}_citation_url columns.
  • Run a bulk operation — e.g., "Redline the Survival column in all rows" runs the nda-review skill against each row's source document with the survival value as context.

Disclaimer (per Decision F)

This skill is a starting point, not a vetted template. The four columns are appropriate for many NDAs but won't be right for every corpus. Before relying on the output of a Tabular Review run on this skill, the user-attorney should:

  1. Review the column queries — do they match the questions you actually want answered for this corpus?
  2. Spot-check at least one cell per column against the source document — does the extraction faithfully represent the source?
  3. Treat any not found cell as a signal to investigate, not as definitive evidence that the clause is absent.

The output is a draft for an in-house lawyer to validate, not a final compliance artifact.

Fork and tune

This skill is intentionally minimal so operators can fork it as a starting point:

yaml
# skills/my-org/msa-snapshot/SKILL.md (operator's fork)
output_format: table
columns:
  - name: Payment Terms
    query: What are the payment terms (frequency, days-to-pay, late-fee provisions)?
  - name: IP Ownership
    query: Who owns IP created during the engagement (work-for-hire, license-back, joint)?
  - name: Termination
    query: List each termination right (for cause, for convenience, notice periods).
  # ... more columns

The Tabular UI accepts both saved skills (like this one) and ad-hoc column specs entered directly in the wizard's column step.

© LegalQuants, 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 skills/contract-snapshot of LegalQuants/lq-ai.

Open the folder on GitHubat commit d185a62

Compare with similar skills

Contract Snapshot 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 Snapshot compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Contract Snapshot this skillLegalQuants/lq-ai150—~1.8kAutomated safety check: PassApache-2.0
Tabular Document Reviewborghei/Claude-Skills891—~3kAutomated safety check: PassMIT
Legal Design Assessmentlawve-ai/awesome-legal-skills847—~3.7kAutomated safety check: PassCC-BY-4.0
Contract Output Formatterinfometa/workbuddyskills348—~1.6kAutomated safety check: PassNone
Contract Reviewevolsb/claude-legal-skill4641 repos~3.6kAutomated safety check: PassMIT
Commercial Legal Plapiotrowski-afk/commercial-legal-pl1761 repos~4.1kAutomated safety check: PassApache-2.0

Similar skills

  • Tabular Document Review

    borghei/Claude-Skills

    Extract structured data from multiple documents into comparison matrix with citations.

    891 GitHub stars~3k tokensUpdated 4 days ago
    Legal & ComplianceAuto-check passed
  • Legal Design Assessment

    lawve-ai/awesome-legal-skills

    Audits a legal document against legal design principles. An agent skill from lawve-ai/awesome-legal-skills.

    847 GitHub stars~3.7k tokensUpdated 8 days ago
    Legal & ComplianceAuto-check passed
  • Contract Output Formatter

    infometa/workbuddyskills

    Format contract work products into the delivery shape that best matches the hit scenario (C1-C9) and the reading audience.

    348 GitHub stars~1.6k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Contract Review

    evolsb/claude-legal-skill

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

    464 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
  • Hand Drawn

    threerocks/hand-drawn-styles

    A skill your agent uses when users ask for a hand-drawn or illustrated image prompt, name one of the repository's 20 numbered styles or the 3.1 stable variant, or mention triggers such as…

    2.2k GitHub stars~398 tokensUpdated 2 days ago
    Legal & ComplianceAuto-check passed

More from LegalQuants/lq-ai

All 16 skills in this repo
  • A skill your agent uses when the user provides a client alert, regulatory bulletin, law firm memo, or similar legal update and wants the time-sensitive action items, deadlines, and obligations…

    150 GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Case Law Research

    LegalQuants/lq-ai

    A skill your agent uses when the user asks to find, read, or cite U.S.

    150 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Comms Improver

    LegalQuants/lq-ai

    A skill your agent uses when the user has a piece of legal-jargon-heavy text and wants it rewritten in plain language for a specified non-legal audience.

    150 GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Contract QA

    LegalQuants/lq-ai

    A skill your agent uses when the user has a contract loaded and asks a specific question about it — what a clause means, where something is addressed, whether a term is unusual, how a provision…

    150 GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Dpa Checklist Review

    LegalQuants/lq-ai

    A skill your agent uses when the user provides a Data Processing Agreement, Data Processing Addendum, or HIPAA Business Associate Agreement and asks whether it contains the terms required under the…

    150 GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Enhance Prompt

    LegalQuants/lq-ai

    A skill your agent uses when the user has typed a short or vague prompt and the system is configured to expand prompts before submission, or when the user explicitly invokes "Enhance Prompt" or asks…

    150 GitHub stars~3.3k tokensUpdated today
    Auto-check passed

Questions about Contract Snapshot

What does Contract Snapshot do?

A skill your agent uses when the user wants to compare the same handful of terms across N contracts side-by-side in a grid — what is the term, survival period, carveouts, and governing law in each…. Contract Snapshot is an agent skill from LegalQuants/lq-ai. Use when the user wants to compare the same handful of terms across N contracts side-by-side in a grid — what is the term, survival period, carveouts, and governing law in each of these 5 NDAs?

When should I use Contract Snapshot?

Contract Snapshot fits situations like: the user wants to compare the same handful of terms across N contracts side-by-side in a grid — what is the term; survival period; governing law in each of these 5 NDAs?.

How do I install Contract Snapshot in Claude Code?

Run `npx skills add LegalQuants/lq-ai --skill contract-snapshot -a claude-code`. Or copy the skill folder (skills/contract-snapshot in LegalQuants/lq-ai) into .claude/skills/contract-snapshot in your project. Claude Code loads it when a task matches its description.

How do I install Contract Snapshot in Codex?

Run `npx skills add LegalQuants/lq-ai --skill contract-snapshot -a codex`. Or copy the skill folder (skills/contract-snapshot in LegalQuants/lq-ai) into .agents/skills/contract-snapshot in your project. Codex loads it when a task matches its description.

Can I use Contract Snapshot 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 LegalQuants/lq-ai --skill contract-snapshot -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-snapshot, .gemini/skills/contract-snapshot, .github/skills/contract-snapshot and .opencode/skills/contract-snapshot in your project.

What does Contract Snapshot need to run?

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

Does Contract Snapshot 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 Snapshot 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 Snapshot use?

Contract Snapshot 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 Snapshot use?

About 1.8k tokens (SKILL.md is roughly 7k 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 Snapshot?

Skills that share tags, products or a category with Contract Snapshot: Tabular Document Review (borghei/Claude-Skills, 891 stars), Legal Design Assessment (lawve-ai/awesome-legal-skills, 847 stars), Contract Output Formatter (infometa/workbuddyskills, 348 stars) and Contract Review (evolsb/claude-legal-skill, 464 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Contract Snapshot?

LegalQuants (a GitHub organization) maintains it in LegalQuants/lq-ai, which has 150 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on October 11, 2026.

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