ekstraktor-cytatow-pl

ekstraktor-cytatow-pl is a skill for Claude Code from matematicsolutions/awesome-matematic-skills-pl. It costs 243 tokens per session (2,782 once invoked), scanned A, original, MIT.

A rule-based tool that finds and normalizes every legal reference in a Polish document, including case numbers, ECLI identifiers, official publication identifiers, and cited provisions. It also links short references such as “there” or “the judgment mentioned above” to the earlier citation.

In plain words
What is it for?
Use it to create a structured list of citations from a Polish legal document and pass that list to a separate source-verification step.
Why use it?
Citation checking can only cover references that were first found. Mechanical extraction reduces the risk of overlooking a citation or having a language model invent one.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the fundament-weryfikacyjny plugin — 11 skills shipped together

Good fit Use it to create a structured list of citations from a Polish legal document and pass that list to a separate source-verification step.

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

Made for: Claude Code.

Or install fundament-weryfikacyjny, the plugin that ships this one along with the rest of its 11 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 ekstraktor-cytatow-pl

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/matematicsolutions/awesome-matematic-skills-pl/ekstraktor-cytatow-pl"><img src="https://agentmods.dev/badge/skills/matematicsolutions/awesome-matematic-skills-pl/ekstraktor-cytatow-pl.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 243 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,782 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.00243 $0.02782
Opus 5.5 $0.00097 $0.01113
Sonnet 5.5 $0.00049 $0.00556
Haiku 4.5 $0.00024 $0.00278

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

Security

Grade A, and why

ekstraktor-cytatow-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 21d 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.

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.

fundament-weryfikacyjny/skills/ekstraktor-cytatow-pl/SKILL.md · 148 lines

How it starts

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

Ekstraktor cytatów PL - znajdź każdy cytat, zanim go zweryfikujesz

Filozofia

Zweryfikować można tylko to, co się najpierw znajdzie. Grounding cytatu (citation-grounding-pl) sprawdza, czy dany cytat istnieje w źródle - ale działa na liście cytatów, którą ktoś musi najpierw zebrać. Ten skill jest tym front-endem: przechodzi pismo i wypisuje WSZYSTKIE odwołania, tak by żadne nie wymknęło się weryfikacji. Pominięty cytat to cytat niesprawdzony.

Ekstrakcja jest mechaniczna (wzorce + reguły, nie LLM) - to celowe: model na etapie znajdowania cytatów mógłby jeden przeoczyć albo dopowiedzieć. Lokalnie, RODO-safe.

Trzy kroki (za eyecite, zlokalizowane do PL)

  1. Ekstrakcja - rozpoznaj i wyłap każde odwołanie wg wzorców PL poniżej.
  2. Agregacja - rozwiąż odwołania skrótowe (tamże / op. cit. / wyżej powołany wyrok) do antecedentów wg reguł wrażliwych na wskaźnik (poniżej), żeby policzyć je jako jeden cytat, nie kilka.
  3. Przekazanie - oddaj ustrukturyzowaną listę do citation-grounding-pl do weryfikacji string-match.

Wzorce odwołań (PL)

Sygnatury orzeczeń

  • SN / sądy powszechne: izba rzymska + litera wydziału + numer/rok, np. II CSK NN/RR, I KZP NN/RR, III CZP NN/RR (NN = numer, RR = rok - placeholdery).
  • Sądy administracyjne: NSA II FSK NNNN/RR; WSA z oznaczeniem siedziby przez ukośnik, np. III SA/Wa NNN/RR, I SA/Gd NN/RR.
  • Trybunał Konstytucyjny: K 1/20, P 7/19, SK 3/18, Ts 45/20.
  • KIO (zamówienia publiczne): KIO NNN/RR, sprawy łączone KIO NNN/RR, KIO NNN/RR.
  • TSUE: C-123/20, odwoławcze C-123/20 P, sprawy połączone C-123/20 i C-124/20; Sąd UE T-456/19.

ECLI

  • Polski: ECLI:PL:SN:2015:IICSK24515, ECLI:PL:NSA:2018:....
  • Unijny: ECLI:EU:C:2020:559, ECLI:EU:T:2019:....

Akty prawne (Dz.U. / M.P. / ELI / UE)

  • Dz.U. RRRR poz. NNNN, Dz.U. z RRRR r. poz. NNNN, starszy format Dz.U. z RRRR r. Nr N, poz. NNNN.
  • M.P. 2019 poz. 50; Dz.Urz. UE L 119 (RODO), Dz.Urz. UE C ....
  • ELI URI Sejmu, np. .../DU/2020/1234.

Read the full file on GitHub · 148 lines

Files

What ships with it

1 file 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 a17b95a8b732
  2. 1mo ago First seen · 116 lines · 243 tokens per session scan A 4a0888a781f5

Subscribe to this mod's changes

ekstraktor-cytatow-pl is a skill published in the GitHub repository matematicsolutions/awesome-matematic-skills-pl (8 stars, last pushed 8d ago), licensed MIT. It adds 243 tokens to every session and 2,782 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

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