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.
npx skills add iterationlayer/skills --skill extract-terms-and-generate-summarygit clone --depth 1 https://github.com/iterationlayer/skillsWrote 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.
[](https://agentmods.dev/skills/iterationlayer/skills/extract-terms-and-generate-summary)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.05571 |
| Opus 5.5 | $0.00011 | $0.02228 |
| Sonnet 5.5 | $0.00006 | $0.01114 |
| Haiku 4.5 | $0.00003 | $0.00557 |
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 3mo 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 \ 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."
}
]
}
]
}
}'
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.
- 3mo ago First seen · 593 lines · 28 tokens per session scan A 23f720350a01
extract-terms-and-generate-summary is a skill published in the GitHub repository iterationlayer/skills (4 stars, last pushed 5mo ago), licensed MIT. It adds 28 tokens to every session and 5,571 once invoked, about $0.0001 per session on Opus 5.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.
extract-terms-and-generate-summary compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| extract-terms-and-generate-summaryiterationlayer/skills | Skill | 4 | 5mo ago | MIT | A | 28 | Claude Code |
| contract-analyzerSwih/mistral-mcp | Skill | 15 | 2mo ago | MIT | A | 38 | Claude Code |
| aside-pdfKunanonJ/ai-skills-hub | Skill | 5 | 2mo ago | MIT | A | 94 | Claude Code, Codex |
| signer-apiPSPDFKit-labs/nutrient-skills | Skill | 18 | yesterday | none | A | 67 | Claude Code |
| records-electronic-records-acceptancex3allamerican/skills | Skill | 5 | 6mo ago | Apache-2.0 | A | 36 | Claude Code, Codex |
| kamyKamy-Development/kamy-plugin | Skill | 0 | 6mo ago | MIT | A | 102 | Claude Code, Codex |
| slidesfcakyon/claude-codex-settings | Skill | 1.2k | today | Apache-2.0 | A | 83 | Claude Code |