extract-violations-and-generate-summary

extract-violations-and-generate-summary is a skill for Claude Code from iterationlayer/skills. It costs 29 tokens per session (4,662 once invoked), scanned A, original, MIT.

A pipeline that reads traffic-fine notices and creates a spreadsheet summarizing the violations. It can capture ticket details, amounts, vehicle information, and payment deadlines.

In plain words
What is it for?
Use it for fleet or logistics operations, including accounting, client review, and driver accountability.
Why use it?
It turns a stack of separate notices into one reviewable record, reducing manual entry and helping teams track fines and deadlines.

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 fleet or logistics operations, including accounting, client review, and driver accountability.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/iterationlayer/skills/extract-violations-and-generate-summary/github.svg)](https://agentmods.dev/skills/iterationlayer/skills/extract-violations-and-generate-summary)
Your own site
<a href="https://agentmods.dev/skills/iterationlayer/skills/extract-violations-and-generate-summary"><img src="https://agentmods.dev/badge/skills/iterationlayer/skills/extract-violations-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-violations-and-generate-summary

Your own site · 80×15
<a href="https://agentmods.dev/skills/iterationlayer/skills/extract-violations-and-generate-summary"><img src="https://agentmods.dev/badge/skills/iterationlayer/skills/extract-violations-and-generate-summary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,662 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.00029 $0.04662
Opus 5.5 $0.00012 $0.01865
Sonnet 5.5 $0.00006 $0.00932
Haiku 4.5 $0.00003 $0.00466

Measured 3mo ago against content hash dfe37b1ad0ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

extract-violations-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 \
skills/extract-violations-and-generate-summary/SKILL.md · 576 lines

How it starts

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

Extract Violations and Generate a Fine Summary

Fleet management agencies use this pipeline to process stacks of traffic fine notices — extracting violation details and generating a consolidated spreadsheet for client review, accounting, and driver accountability.

APIs Used

Document Extraction (1 credit per page), Sheet 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 violation data from a fine notice
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": "fine-notice-TRF-2026-4471.pdf",
        "url": "https://example.com/fines/fine-notice-TRF-2026-4471.pdf"
      }
    ],
    "schema": {
      "fields": [
        {
          "name": "violation_number",
          "type": "TEXT",
          "description": "Violation or ticket reference number"
        },
        {
          "name": "violation_date",
          "type": "DATE",
          "description": "Date the violation occurred"
        },
        {
          "name": "vehicle_plate",
          "type": "TEXT",
          "description": "License plate number"
        },
        {
          "name": "driver_name",
          "type": "TEXT",
          "description": "Name of the driver if listed"
        },
        {
          "name": "violation_type",
          "type": "TEXT",
          "description": "Type of violation, e.g. speeding, red light"
        },
        {
          "name": "location",
          "type": "TEXT",
          "description": "Location where the violation occurred"
        },
        {
          "name": "fine_amount",
          "type": "CURRENCY_AMOUNT",
          "description": "Fine amount"
        },
        {
          "name": "due_date",
          "type": "DATE",
          "description": "Payment due date"
        },
        {
          "name": "points",
          "type": "INTEGER",
          "description": "Penalty points assigned"
        }
      ]
    }
  }')

# Step 2: Generate a summary spreadsheet
curl -X POST https://api.iterationlayer.com/sheet-generation/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "format": "xlsx",
    "sheets": [
      {
        "name": "Violation Summary",
        "columns": [
          {
            "name": "Violation #",
            "width": 20
          },
          {
            "name": "Date",
            "width": 14
          },
          {
            "name": "Plate",
            "width": 14
          },
          {
            "name": "Driver",
            "width": 22
          },
          {
            "name": "Type",
            "width": 18
          },
          {
            "name": "Location",
            "width": 30
          },
          {
            "name": "Fine",
            "width": 14
          },
          {
            "name": "Due Date",
            "width": 14
          },
          {
            "name": "Points",
            "width": 10
          }
        ],
        "rows": [
          [
            {
              "value": "TRF-2026-4471"
            },
            {
              "value": "2026-03-12",
              "format": "date"
            },
            {
              "value": "FL-8823-KM"
            },
            {
              "value": "Marco Vitali"
            },
            {
              "value": "Speeding (22 km/h over)"
            },
            {
              "value": "A1 Motorway, km 142.3, Lazio"
            },
            {
              "value": 185.00,
              "format": "currency",
              "currency_code": "EUR"
            },
            {
              "value": "2026-04-11",
              "format": "date"
            },
            {
              "value": 3,
              "format": "number"
            }
          ]
        ]
      }
    ]
  }'

Read the full file on GitHub · 576 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. 3mo ago First seen · 576 lines · 29 tokens per session scan A dfe37b1ad0ac

Subscribe to this mod's changes

extract-violations-and-generate-summary is a skill published in the GitHub repository iterationlayer/skills (4 stars, last pushed 5mo ago), licensed MIT. It adds 29 tokens to every session and 4,662 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.

Related

extract-violations-and-generate-summary compared with skills from other repositories

extract-violations-and-generate-summary next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
extract-violations-and-generate-summaryiterationlayer/skillsSkill45mo agoMITA29Claude Code
liteparsePrismer-AI/PrismerCloudSkill1.4k1mo agoMITA173Claude Code, Codex
document-skillstravisjneuman/.claudeSkill115yesterdayMITA44Claude Code
dev-documentchristopherlouet/claude-baseSkill62d agoMITA94Claude Code
work-markitdownseed-forge/harness-ai-kitSkill263mo agoApache-2.0A93Claude Code, Codex
markitdownseed-forge/harness-ai-kitSkill263mo agoApache-2.0A73Claude Code, Codex
aside-google-sheetsKunanonJ/ai-skills-hubSkill52mo agoMITA27Claude Code, Codex