webwright-legal-pl

webwright-legal-pl is a skill for Claude Code from matematicsolutions/awesome-matematic-skills-pl. It costs 88 tokens per session (1,849 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 — 8 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 8 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 1,849 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.01849
Opus 5 $0.00044 $0.00924
Sonnet 5 $0.00018 $0.00370
Haiku 4.5 $0.00009 $0.00185

Measured 12d ago against content hash 6de93d83a7d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 12d 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 · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 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 · 129 lines

Files

What ships with it

5 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. 12d 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 (6 stars, last pushed 19d ago), licensed MIT. It adds 88 tokens to every session and 1,849 once invoked, about $0.0004 per session on Opus 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

policy-creation

Guide for adding new enterprise policies to Chromium. Complete guide for policy definitions, pref mapping, and writing tests.

chromium/chromium · 26 tokens

privacy

Action-oriented guidelines for privacy by design, data minimization, third-party audits, and modern browser privacy APIs. Use this skill when dealing with user data, cookies, tracking, third-party scripts, or browser privacy APIs.

GoogleChrome/modern-web-guidance-src · 46 tokens

e-tax

A guide for entering Japanese tax-return data into the National Tax Agency's online tax-return preparation site, known as e-Tax, using browser automation.

kazukinagata/shinkoku · 130 tokens

e-signature

Use when wiring an e-signature flow with DocuSign or Dropbox Sign — picking the SES/AES/QES legal tier, sending a PDF or template for signature, embedded signing, verifying signing webhooks, retrieving the signed PDF plus audit trail. NOT drafting contract text (that is contracts), NOT extracting fields from PDFs…

ericrisco/rsc-harness · 77 tokens

legal-iros-registry-automation

A guide for helping automate bulk requests for company or property registry certificates from South Korea’s Supreme Court Internet Registry Office (IROS). The user handles login, authentication, and payment in the browser, while the workflow assists with collecting, saving, and reporting the documents.

modu-ai/moai-cowork · 310 tokens

browser-automation-expert

Drive a real browser to navigate, extract data and complete flows on sites without an API: scraping, crawling, authentication, dynamic content and anti-bot handling. Use when the user mentions web scraping, crawling, browser automation, Puppeteer or headless Chrome, wants data pulled from a website, needs a login or…

personamanagmentlayer/pcl · 94 tokens