waliduj-podpis-pdf-pl

waliduj-podpis-pdf-pl is a skill for Claude Code from matematicsolutions/awesome-matematic-skills-pl. It costs 238 tokens per session (2,598 once invoked), scanned A, original, MIT.

A local tool that checks whether an electronic signature in an incoming PDF is intact and covers the whole document. It can identify who signed, when, and whether a trusted timestamp is present; it does not sign files.

In plain words
What is it for?
Use it to inspect signed court decisions, official notices, contracts, or legal letters before OCR or scanning, which can invalidate the original signature.
Why use it?
A PDF can remain cryptographically signed while having extra content added after signing. This check helps reveal changes and keeps confidential documents on the local machine.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dokumenty plugin — 12 skills shipped together

Good fit Use it to inspect signed court decisions, official notices, contracts, or legal letters before OCR or scanning, which can invalidate the original signature.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/matematicsolutions/awesome-matematic-skills-pl/waliduj-podpis-pdf-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 waliduj-podpis-pdf-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 waliduj-podpis-pdf-pl

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/matematicsolutions/awesome-matematic-skills-pl/waliduj-podpis-pdf-pl"><img src="https://agentmods.dev/badge/skills/matematicsolutions/awesome-matematic-skills-pl/waliduj-podpis-pdf-pl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 238 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,598 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.00238 $0.02598
Opus 5.5 $0.00095 $0.01039
Sonnet 5.5 $0.00048 $0.00520
Haiku 4.5 $0.00024 $0.00260

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

Security

Grade A, and why

waliduj-podpis-pdf-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 1 executable file (waliduj_podpis.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/waliduj-podpis-pdf-pl/SKILL.md · 170 lines

How it starts

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

Walidacja podpisu elektronicznego w PDF

Po co to jest

Kancelaria dostaje podpisane PDF-y - wyroki, decyzje, umowy, pisma od drugiej strony - i zwykle ufa im na słowo albo na zielony pasek w czytniku. Ten skill sprawdza plik mechanicznie, w całości na maszynie kancelarii: dokument nie jest nigdzie wysyłany, narzędzie nie odpytuje żadnego serwera i działa bez internetu. Ma to znaczenie, bo sprawdzany plik zwykle jest objęty tajemnicą zawodową.

Najczęstszy realny problem nie brzmi „czy podpis jest fałszywy", tylko „czy ktoś dopisał coś po podpisaniu". PDF pozwala dołączyć kolejną wersję na końcu pliku - podpis pozostaje kryptograficznie nienaruszony, a dokument już nie jest tym, co podpisano. Skill to wykrywa.

Granica

Ten skill nie podpisuje. Złożenie podpisu to akt nieodwracalny i skuteczny na zewnątrz - zostaje człowiekowi. Narzędzie jest wyłącznie odczytowe.

Kolejność w pipeline OCR: jeśli dokument idzie potem do skanowania lub OCR (drabinka PDF, silnik vlm-html z [[doc-intel-contract-pl]]), walidację podpisu rób NAJPIERW, na oryginale. Przygotowanie skanu spłaszcza PDF przed renderem, żeby pola formularza nie zniknęły z obrazu - i przy okazji NISZCZY podpis kryptograficznie. Po spłaszczeniu nie ma już czego walidować.

Jak używać

Instalacja w izolowanym środowisku. Windows:

python -m venv .venv && .venv/Scripts/python.exe -m pip install pyHanko

Linux i macOS:

python3 -m venv .venv && .venv/bin/python -m pip install pyHanko

Uruchamiaj interpreterem z tego środowiska, nie systemowym - inaczej dostaniesz ModuleNotFoundError. Windows:

.venv/Scripts/python.exe waliduj_podpis.py <plik.pdf>

Linux i macOS:

.venv/bin/python waliduj_podpis.py <plik.pdf>

Tryb maszynowy: dołóż --json (wynik zawiera werdykt_ogolny, podpisy, zakres_sprawdzenia).

Kody wyjścia, identyczne w obu trybach: 0 podpis ważny w zakresie sprawdzonym, 1 brak podpisu albo werdykt inny niż ważny (w tym dokument zmieniony po podpisaniu), 2 błąd odczytu pliku. Kod wynika z werdyktu, nie z tego, czy udało się cokolwiek odczytać - nadaje się więc do kontroli automatycznej.

Read the full file on GitHub · 170 lines

Files

What ships with it

2 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 47d8c48f94af
  2. 21d ago Changed · +26 lines 575a5602804c
  3. 1mo ago First seen · 144 lines · 238 tokens per session scan A 58e9fdc8880a

Subscribe to this mod's changes

waliduj-podpis-pdf-pl is a skill published in the GitHub repository matematicsolutions/awesome-matematic-skills-pl (8 stars, last pushed 8d ago), licensed MIT. It adds 238 tokens to every session and 2,598 once invoked, about $0.0010 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

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

law-to-markdown

A skill that converts legal provisions and regulatory documents from plain text, PDF, or Word format into Markdown. Markdown is a plain-text format commonly used for structured documents.

pa1nrui1/legal-skills · 90 tokens

mqc-timeline-master

Turn raw case materials into a faithful, court-ready case timeline (SVG + PNG + PPTX + VSDX + drawio, plus a traceability index in Word). Use this whenever the user hands over litigation materials — a judgment, complaint, defence, evidence list, contract, bank or Alipay statement, WeChat screenshots, scanned exhibits…

zeweihan/aiworkdeck · 269 tokens

demand-draft

Draft a Letter Before Action or Letter of Claim from a completed intake, gated on a privilege / without-prejudice / waiver / admission checklist, with a .docx output, post-send checklist, and an offer to create a matter. Use when the user says "draft the demand", "write the [type] letter", or has a finished demand…

uk-agents/uk-legal-plugins · 85 tokens

form-generation

Reference: DEPRECATED — use /legal-clinic-uk:draft instead. This skill has been folded into the draft skill, which handles practice-area document generation including UK court and tribunal form population. Kept as a redirect for migration.

uk-agents/uk-legal-plugins · 52 tokens

software-copyright-materials

A workflow for creating Chinese application materials for software copyright registration from a real software project.

Fokkyp/SoftwareCopyright-Skill · 98 tokens