doc-intel-contract-pl

doc-intel-contract-pl is a skill for Claude Code from matematicsolutions/awesome-matematic-skills-pl. It costs 351 tokens per session (8,040 once invoked), scanned A, original, MIT.

A standard format for text extracted from PDFs and other documents. It records each block’s type, location, text, and confidence so different extraction tools produce comparable results.

In plain words
What is it for?
Use it to combine PDF/OCR results, flag passages for human review, identify items such as signatures or Polish identification numbers, and link extracted text back to document locations.
Why use it?
It removes the need to handle several incompatible OCR and PDF output formats. It also helps identify uncertain text, personal-data candidates, and the exact place of a quotation.

Skill for Claude Code

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

Part of the dokumenty plugin — 12 skills shipped together

Good fit Use it to combine PDF/OCR results, flag passages for human review, identify items such as signatures or Polish identification numbers, and link extracted text back to document locations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/matematicsolutions/awesome-matematic-skills-pl/doc-intel-contract-pl
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 matematicsolutions/awesome-matematic-skills-pl --skill doc-intel-contract-pl
Clone the repo
git clone --depth 1 https://github.com/matematicsolutions/awesome-matematic-skills-pl

Made for: Claude Code.

Or install dokumenty, the plugin that ships this one along with the rest of its 12 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 doc-intel-contract-pl

README.md
[![agentmods](https://agentmods.dev/badge/skills/matematicsolutions/awesome-matematic-skills-pl/doc-intel-contract-pl/github.svg)](https://agentmods.dev/skills/matematicsolutions/awesome-matematic-skills-pl/doc-intel-contract-pl)
Your own site
<a href="https://agentmods.dev/skills/matematicsolutions/awesome-matematic-skills-pl/doc-intel-contract-pl"><img src="https://agentmods.dev/badge/skills/matematicsolutions/awesome-matematic-skills-pl/doc-intel-contract-pl/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 doc-intel-contract-pl

Your own site · 80×15
<a href="https://agentmods.dev/skills/matematicsolutions/awesome-matematic-skills-pl/doc-intel-contract-pl"><img src="https://agentmods.dev/badge/skills/matematicsolutions/awesome-matematic-skills-pl/doc-intel-contract-pl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 351 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,040 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00351 $0.08040
Opus 5.5 $0.00140 $0.03216
Sonnet 5.5 $0.00070 $0.01608
Haiku 4.5 $0.00035 $0.00804

Measured 20d ago against content hash 16dafb1cd4a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-intel-contract-pl scanned grade A with 0 findings 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 20d ago.

The scan reads SKILL.md. This mod also ships 36 executable files (scripts/adapters/__init__.py, scripts/adapters/chandra.py, scripts/adapters/gaius.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

dokumenty/skills/doc-intel-contract-pl/SKILL.md · 428 lines

How it starts

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

doc-intel-contract-pl - kontrakt wyjscia Document Intelligence

Po co

Kazdy szczebel naszej drabinki PDF (pdftotext -> anydoc -> markitdown -> opendataloader -> liteparse -> Chandra -> vision) zwraca wynik w innym formacie. Ten skill sprowadza te formaty do JEDNEGO kontraktu, ktory od razu odpowiada na trzy pytania:

  1. Ktory fragment ma zobaczyc czlowiek? - confidence-gating (Article III / AI Act art. 14).
  2. Co zredagowac? - typed blocks + flagi PII (signature/stamp/PESEL/NIP/IBAN).
  3. Gdzie w dokumencie jest ten cytat? - bbox + block_id -> most do citation-grounding-pl.

Zamkniety jest MODEL Mistral OCR 4, nie idea. Odtwarzamy kontrakt na wlasnym, lokalnym, RODO-safe stacku - skladamy puzzle, nie wynajdujemy kola.

Kontrakt (v1.2.0)

Wersja zyje w stalej contract.CONTRACT_VERSION; ten naglowek i przyklad ponizej sa zakotwiczone testem tests/test_dokumentacja_zakotwiczona.py (D1).

{
  "doc_id": "<sha256 wejscia>",
  "contract_version": "1.2.0",
  "source": {"path": "...", "engine": "opendataloader|pdftotext|chandra|gaius|vlm-html|pdf-inspector|liteparse", "engine_variant": "default|google_doc_ai|null", "pages": N},
  "blocks": [
    {"id": "b0001", "page": 1, "bbox": [x0,y0,x1,y1]|null,
     "block_type": "title|paragraph|table|list|equation|signature|stamp|figure|header|footer|unknown",
     "text": "...", "confidence": 0.0-1.0|null, "flags": ["partial","pii_suspected","pii:pesel","sensitive_block","signature_suspected",...]}
  ],
  "gating": {
    "threshold": 0.85,
    "review_required": ["b0003"], "auto_approved": ["b0001"],
    "ungroundable": ["b0007"],
    "verdict": "ok|degraded|failed",
    "note": "...",
    "counts": {"total": 11, "review_required": 1, "auto_approved": 10, "ungroundable": 0}
  },
  "redaction_candidates": ["b0004"],
  "meta": {"created_at": "ISO-8601"}
}
  • bbox znormalizowany 0-1 (przenosny miedzy DPI). Silnik bez bbox -> null + flaga partial.
  • confidence == null (partial) -> zawsze do review_required (konserwatywnie; nie wiemy = czlowiek patrzy).

Read the full file on GitHub · 428 lines

Files

What ships with it

55 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 20d ago Changed 16dafb1cd4a4
  2. 21d ago Changed · +26 lines ae842bd6bb7b
  3. 1mo ago Changed · +1 lines fabc17412d9c
  4. 1mo ago Changed · +87 lines · +54 tokens per session c175efc28019
  5. 1mo ago Changed · +105 lines fe11df5fc938
  6. 1mo ago First seen · 209 lines · 297 tokens per session scan A dbc4d7191319

Subscribe to this mod's changes

doc-intel-contract-pl is a skill published in the GitHub repository matematicsolutions/awesome-matematic-skills-pl (8 stars, last pushed 8d ago), licensed MIT. It adds 351 tokens to every session and 8,040 once invoked, about $0.0014 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

pdf-report

Generate a branded PDF report: executive summary, campaign or channel review. "export this as a branded PDF".

indranilbanerjee/digital-marketing-pro · 25 tokens

docx-to-hlz

A Python converter that turns a Korean patent specification in a Word .docx file into an .hlz file for Korea's patent-office editor. The output is a ZIP containing patent XML and drawing images.

lsj4232/KR_PATENT_SKILL · 560 tokens

album-report

Turn an album or a selection into a PDF report: metadata per photo, frames per video, and Claude's own description of what is in each one. Use when the user says "PDF of the album", "album report", "export to PDF", "make a document with these photos", "catalog the album", "identify what is in each video and put it in…

drolosoft/immich-photo-manager · 97 tokens

dossier-builder

Generate complete buyer research reports and dealer proposals as HTML and PDF. Use for vehicle comparisons, market research, shortlists and default report delivery during a car-buying workflow. Triggers include "build dossier", "generate market research PDF", "dealer dossier", "decision document", "make dossier for…

DaizeDong/buy-me-a-car · 100 tokens

carfax-pdf-review

A review guide for dealer-provided PDFs, including CARFAX vehicle-history reports, service records, and out-the-door price proposals. It extracts accident information, service gaps, and extra financing or dealership charges.

DaizeDong/buy-me-a-car · 114 tokens

publish

Build a local HTML preview of an openEHR specification component with the published AAGLOBAL publishing image.

openEHR/ai-plugins · 21 tokens