extract-terms-and-generate-summary

extract-terms-and-generate-summary is a skill for Claude Code from iterationlayer/skills. It costs 28 tokens per session (5,571 once invoked), scanned A, original, MIT.

A pipeline that extracts important clauses from terms and conditions and creates a plain-language PDF summary. The summary is intended for people who need the main implications without reading the full contract.

In plain words
What is it for?
Use it for vendor or partner contract review, covering items such as liability limits, termination rules, and data handling.
Why use it?
It reduces the effort of finding key contract risks and explaining them to non-legal stakeholders.

Skill for Claude Code

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

Part of the document-extraction plugin — 142 skills shipped together

Good fit Use it for vendor or partner contract review, covering items such as liability limits, termination rules, and data handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iterationlayer/skills/extract-terms-and-generate-summary
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.

Any agent
npx skills add iterationlayer/skills --skill extract-terms-and-generate-summary
Clone the repo
git clone --depth 1 https://github.com/iterationlayer/skills

Made for: Claude Code.

Or install document-extraction, the plugin that ships this one along with the rest of its 142 skills.

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 extract-terms-and-generate-summary

README.md
[![agentmods](https://agentmods.dev/badge/skills/iterationlayer/skills/extract-terms-and-generate-summary/github.svg)](https://agentmods.dev/skills/iterationlayer/skills/extract-terms-and-generate-summary)
Your own site
<a href="https://agentmods.dev/skills/iterationlayer/skills/extract-terms-and-generate-summary"><img src="https://agentmods.dev/badge/skills/iterationlayer/skills/extract-terms-and-generate-summary/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for extract-terms-and-generate-summary

Your own site · 80×15
<a href="https://agentmods.dev/skills/iterationlayer/skills/extract-terms-and-generate-summary"><img src="https://agentmods.dev/badge/skills/iterationlayer/skills/extract-terms-and-generate-summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,571 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00028 $0.05571
Opus 5 $0.00014 $0.02786
Sonnet 5 $0.00006 $0.01114
Haiku 4.5 $0.00003 $0.00557

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

Security

Grade A, and why

extract-terms-and-generate-summary scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

EXTRACTION=$(curl -s -X POST https://api.iterationlayer.com/document-extraction/v1/extract \
skills/extract-terms-and-generate-summary/SKILL.md · 593 lines

How it starts

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

Extract Terms and Generate a Simplified Summary

Legal agencies and compliance teams use this pipeline to process vendor or partner terms — extracting key clauses like liability limits, termination conditions, and data handling provisions, then generating a plain-language summary for non-legal stakeholders.

APIs Used

Document Extraction (1 credit per page), Document Generation (1 credits/request)

Prerequisites

You need an Iteration Layer API key. Get one at platform.iterationlayer.com during the 7-day trial.

For full integration guidance (SDKs, auth, MCP, error handling), see the Iteration Layer Integration Guide.

Implementation

# Step 1: Extract key clauses from T&C document
EXTRACTION=$(curl -s -X POST https://api.iterationlayer.com/document-extraction/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "files": [
      {
        "type": "url",
        "name": "vendor-terms-cloudpeak.pdf",
        "url": "https://example.com/contracts/vendor-terms-cloudpeak-2026.pdf"
      }
    ],
    "schema": {
      "fields": [
        {
          "name": "document_title",
          "type": "TEXT",
          "description": "Title of the terms document"
        },
        {
          "name": "effective_date",
          "type": "DATE",
          "description": "Effective date of the terms"
        },
        {
          "name": "parties",
          "type": "TEXT",
          "description": "Parties to the agreement"
        },
        {
          "name": "termination_clause",
          "type": "TEXTAREA",
          "description": "Termination conditions and notice period"
        },
        {
          "name": "liability_limitation",
          "type": "TEXTAREA",
          "description": "Liability limitation or cap"
        },
        {
          "name": "indemnification",
          "type": "TEXTAREA",
          "description": "Indemnification obligations"
        },
        {
          "name": "data_handling",
          "type": "TEXTAREA",
          "description": "Data processing and privacy provisions"
        },
        {
          "name": "governing_law",
          "type": "TEXT",
          "description": "Governing law and jurisdiction"
        },
        {
          "name": "payment_terms",
          "type": "TEXT",
          "description": "Payment terms and conditions"
        },
        {
          "name": "auto_renewal",
          "type": "BOOLEAN",
          "description": "Whether the agreement auto-renews"
        }
      ]
    }
  }')

# Step 2: Generate a plain-language summary PDF
curl -X POST https://api.iterationlayer.com/document-generation/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "format": "pdf",
    "document": {
      "metadata": {
        "title": "T&C Summary — CloudPeak SaaS Agreement",
        "author": "Whitmore Legal Advisors"
      },
      "page": {
        "size": {
          "preset": "A4"
        },
        "margins": {
          "top_in_pt": 54,
          "right_in_pt": 54,
          "bottom_in_pt": 54,
          "left_in_pt": 54
        }
      },
      "content": [
        {
          "type": "headline",
          "level": "h1",
          "text": "Terms & Conditions Summary"
        },
        {
          "type": "headline",
          "level": "h2",
          "text": "CloudPeak SaaS Master Services Agreement"
        },
        {
          "type": "paragraph",
          "runs": [
            {
              "text": "Effective: ",
              "font_weight": "bold"
            },
            {
              "text": "April 1, 2026"
            }
          ]
        },
        {
          "type": "separator"
        },
        {
          "type": "headline",
          "level": "h3",
          "text": "Termination"
        },
        {
          "type": "paragraph",
          "runs": [
            {
              "text": "Either party may terminate with 90 days written notice. CloudPeak may terminate immediately for non-payment after a 30-day cure period."
            }
          ]
        },
        {
          "type": "headline",
          "level": "h3",
          "text": "Liability"
        },
        {
          "type": "paragraph",
          "runs": [
            {
              "text": "Total liability is capped at 12 months of fees paid. Neither party is liable for indirect, consequential, or punitive damages."
            }
          ]
        },
        {
          "type": "headline",
          "level": "h3",
          "text": "Data Handling"
        },
        {
          "type": "paragraph",
          "runs": [
            {
              "text": "CloudPeak processes data as a data processor under GDPR. Data is stored in EU-based data centers. A Data Processing Agreement is incorporated by reference."
            }
          ]
        },
        {
          "type": "headline",
          "level": "h3",
          "text": "Governing Law"
        },
        {
          "type": "paragraph",
          "runs": [
            {
              "text": "Governed by the laws of the Netherlands. Disputes resolved in the courts of Amsterdam."
            }
          ]
        },
        {
          "type": "headline",
          "level": "h3",
          "text": "Payment & Renewal"
        },
        {
          "type": "paragraph",
          "runs": [
            {
              "text": "Net 30 payment terms. The agreement auto-renews annually unless either party provides 60 days notice before the renewal date."
            }
          ]
        },
        {
          "type": "separator"
        },
        {
          "type": "paragraph",
          "runs": [
            {
              "text": "This summary is for informational purposes only and does not constitute legal advice. Prepared by Whitmore Legal Advisors."
            }
          ]
        }
      ]
    }
  }'

Read the full file on GitHub · 593 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. 6d ago First seen · 593 lines · 28 tokens per session scan A 23f720350a01

Subscribe to this mod's changes

extract-terms-and-generate-summary is a skill published in the GitHub repository iterationlayer/skills (3 stars, last pushed 3mo ago), licensed MIT. It adds 28 tokens to every session and 5,571 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

akf-trust-metadata-v2

AKF — The AI Native File Format workflow skill. Use this skill when the user needs The AI native file format. EXIF for AI — stamps every file with trust scores, source provenance, and compliance metadata. Embeds into 20+ formats (DOCX, PDF, images, code). EU AI Act, SOX, HIPAA auditing and the operator should preserve…

diegosouzapw/awesome-omni-skills · 100 tokens

kamy

Generate production-ready PDFs (invoices, receipts, contracts, reports, brochures) from Handlebars templates or raw HTML using the Kamy API, and send them for e-signature with optional OTP identity verification, sender-chosen placement, auto-reminders, and a downloadable Certificate of Completion audit trail. Use…

Kamy-Development/kamy-plugin · 102 tokens

records-electronic-records-acceptance

Use this skill to understand when electronic records are acceptable to FMCSA inspectors. Covers PDF, original-format, and search-ability requirements.

x3allamerican/skills · 36 tokens

akf-trust-metadata

AKF — The AI Native File Format workflow skill. Use this skill when the user needs The AI native file format. EXIF for AI — stamps every file with trust scores, source provenance, and compliance metadata. Embeds into 20+ formats (DOCX, PDF, images, code). EU AI Act, SOX, HIPAA auditing and the operator should preserve…

diegosouzapw/awesome-omni-skills · 98 tokens

slides

Create and edit presentation slide decks (.pptx) with PptxGenJS, bundled layout helpers, and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying slide content while preserving editable output, adding…

fcakyon/claude-codex-settings · 83 tokens

lov-any2docx

Convert Markdown documents to professionally styled DOCX (Word) files with python-docx. Handles CJK/Latin mixed text, fenced code blocks, tables, blockquotes, cover pages, TOC field, watermarks, and page numbers. Supports multiple color themes matching any2pdf (Configurable Academic, Nord, GitHub Light, etc.) and is…

lovstudio/skills · 184 tokens