webwright-legal-pl

webwright-legal-pl is a skill for Claude Code from matematicsolutions/awesome-matematic-skills-pl. It costs 88 tokens per session (2,544 once invoked), scanned A, original, MIT.

Narzędzie do pobierania polskich wyroków i aktów prawnych z serwisów sądowych, do których nie ma bezpośredniego konektora. Korzysta z przeglądarki Firefox sterowanej przez Playwright.

In plain words
What is it for?
Pomaga pobierać wyroki po sygnaturze z sądów powszechnych, Sądu Najwyższego i Trybunału Konstytucyjnego. Pobiera także polskie wersje unijnych rozporządzeń, takich jak RODO i AI Act.
Why use it?
Uzupełnia brakujące orzeczenia, których nie można znaleźć w dostępnych konektorach, na przykład w bazie SAOS. Eliminuje potrzebę ręcznego przeszukiwania kilku polskich serwisów prawnych.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the orzecznictwo-zrodla plugin — 7 skills, 3 commands shipped together

Good fit Pomaga pobierać wyroki po sygnaturze z sądów powszechnych, Sądu Najwyższego i Trybunału Konstytucyjnego. Pobiera także polskie wersje unijnych rozporządzeń, takich jak RODO i AI Act.

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

Made for: Claude Code.

Or install orzecznictwo-zrodla, the plugin that ships this one along with the rest of its 7 skills, 3 commands.

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 webwright-legal-pl

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/matematicsolutions/awesome-matematic-skills-pl/webwright-legal-pl"><img src="https://agentmods.dev/badge/skills/matematicsolutions/awesome-matematic-skills-pl/webwright-legal-pl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,544 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.00088 $0.02544
Opus 5.5 $0.00035 $0.01018
Sonnet 5.5 $0.00018 $0.00509
Haiku 4.5 $0.00009 $0.00254

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

Security

Grade A, and why

webwright-legal-pl 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 21d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/fetch_eurlex.py, scripts/fetch_orzeczenie.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.

Makes network callslowCapability

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

EUR-Lex jest za CloudFront WAF (HTTP 202 + challenge), więc `curl` zwraca pustkę - skrypt używa headless Chromium, który challenge automatycznie przechodzi.
orzecznictwo-zrodla/skills/webwright-legal-pl/SKILL.md · 161 lines

How it starts

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

Skill do pobierania orzeczeń z polskich serwisów prawnych niedostępnych przez istniejące MCP konektory. Wrapper nad Webwright (Playwright Firefox, code-as-action) wyspecjalizowany pod polskie domeny.

Kiedy używać

Serwis URL Kiedy
Portal Orzeczeń MS orzeczenia.ms.gov.pl orzeczenia sądów powszechnych (SA, SO, SR) niedostępne w mcp-saos
Sąd Najwyższy www.sn.pl/orzecznictwo wyroki SN, gdy mcp-saos / SAOS nie maja konkretnego orzeczenia (uzupelnienie zrodla, nie zastapienie)
Trybunał Konstytucyjny trybunal.gov.pl wyroki TK
EUR-Lex PL eur-lex.europa.eu rozporządzenia EU w wersji PL (RODO, AI Act)

Zależności (one-time setup)

Sklonuj Webwright do dowolnego katalogu i zainstaluj Playwright:

git clone https://github.com/microsoft/webwright --depth=1
pip install playwright
playwright install firefox

Ścieżkę do lokalnego klonu Webwright ustaw raz w zmiennej środowiskowej WEBWRIGHT_HOME - skille i skrypty w tym pakiecie odczytują ją zamiast hardcodowanych ścieżek.

Tryby działania

1. Pobierz orzeczenie po sygnaturze (/webwright-legal-pl:orzeczenie)

Referencyjny skrypt: scripts/fetch_orzeczenie.py (gotowy do uruchomienia, ~150 wierszy, Playwright Chromium, sn.pl).

python scripts/fetch_orzeczenie.py --sygnatura "III CZP 1/24" --out outputs/orzeczenia
# -> outputs/orzeczenia/iii-czp-1-24/orzeczenie.md + meta.json + 3 screenshoty

Walidacja na żywym sn.pl (2026-05-27):

Sygnatura Wynik Sparsowano
I CSK 100/22 postanowienie SN z 18 marca 2022 r. data 2022-03-18, link do PDF
III CZP 1/24 postanowienie SN z 4 lipca 2024 r. data 2024-07-04, link do PDF

Oba post-2016, czyli poza zasięgiem mcp-saos. Skrypt parsuje typ orzeczenia (wyrok/postanowienie/uchwala) z nagłówka wyników i datę z polskiej formy ("z dnia 18 marca 2022 r." -> ISO 2022-03-18). Robi 3 screenshoty (formularz / wyniki / detal) jako dowód wizualny dla self-verify.

Read the full file on GitHub · 161 lines

Files

What ships with it

6 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. 21d ago Changed · +32 lines 669b7b2b0b06
  2. 1mo ago First seen · 129 lines · 88 tokens per session scan A 6de93d83a7d8

Subscribe to this mod's changes

webwright-legal-pl is a skill published in the GitHub repository matematicsolutions/awesome-matematic-skills-pl (8 stars, last pushed 8d ago), licensed MIT. It adds 88 tokens to every session and 2,544 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

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

mqc-litigation-visual-redraw

Redraw a litigation diagram into a restrained, court-ready presentation graphic (SVG + PNG) WITHOUT changing any text or legal meaning. Use this whenever the user supplies a case timeline, a legal process flowchart, OR a party/relationship diagram and wants it cleaned up, beautified, redrawn, made professional…

zeweihan/aiworkdeck · 257 tokens

universal-standards

LegalAnt operating protocol — HITL gates, citation completeness, hallucination defence, Indian law default, data security, and mandatory disclaimer. Applies to every agent on every matter.

ishwarjha/legalant · 41 tokens

niw-package-review

Reviews an assembled EB-2 NIW petition package before filing, as a skeptical adjudicator would. Reads the actual exhibits, recommendation letters and petition draft, tests each Dhanasar prong against the preponderance standard on documented evidence only, quotes the specific petition passages that overclaim, and…

thepaperscompany/niw-skills · 161 tokens

niw-rfe-response

Works a USCIS Request for Evidence or Notice of Intent to Deny on an EB-2 NIW petition, from reading the notice through to a drafted response. Reads the printed deadline rather than computing one, crosswalks each contested issue against the record as actually filed, stops for the petitioner to correct what it found…

thepaperscompany/niw-skills · 0 tokens

indian-law-defaults

Indian statute and regulatory hierarchy defaults. All agents assume Indian jurisdiction unless overridden. Auto-triggers FEMA for foreign counterparties and SEBI LODR for listed entities.

ishwarjha/legalant · 39 tokens