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.
npx agentmods add skills/docketdrafter/docketdrafter-plugins/ny-lawsnpx skills add DocketDrafter/docketdrafter-plugins --skill ny-lawsgit clone --depth 1 https://github.com/DocketDrafter/docketdrafter-pluginsWrote 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.
[](https://agentmods.dev/skills/docketdrafter/docketdrafter-plugins/ny-laws)<a href="https://agentmods.dev/skills/docketdrafter/docketdrafter-plugins/ny-laws"><img src="https://agentmods.dev/badge/skills/docketdrafter/docketdrafter-plugins/ny-laws.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00063 | $0.02889 |
| Opus 5 | $0.00032 | $0.01444 |
| Sonnet 5 | $0.00013 | $0.00578 |
| Haiku 4.5 | $0.00006 | $0.00289 |
Grade A, and why
ny-laws 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
New York Laws
The reader scripts automatically install the latest verified corpus on first use. After installation, lookups are local and the corpus is not checked for updates in that environment.
Use this skill when a task requires New York statutory text, the New York State Constitution, New York City Administrative Code text, New York Unified Court System rules, section lookup, citation checking, or legal analysis based on New York law or court-rule sections.
Corpus layout
All data lives under references/:
references/index.json— master index. Top-levellawsis a{lawId: {name, commonAliases, sectionCount, activeDate, ...}}map covering every NY law in the corpus.references/aliases.json— flat{prefix → lawId}map (e.g."CPLR" → "CVP","VTL" → "VAT","ABC" → "ABC"). 400+ entries including UPPERCASE variants and full law names.references/laws/{lawId}/law.json— per-law metadata:name,lawType,chapter,activeDate,publishedDates,sourceUrl.references/laws/{lawId}/index.json—{lawId, format, sections: {sectionId: entry}}. Eachentryhas:title,citation,path,anchor,activeDate,repealed,repealedDate,docLevelId,article,articleTitle,textLength.references/laws/{lawId}/sections.html— all section text for that law in one HTML file, each section wrapped in<article id="section-...">.
The New York State Constitution is bundled as law CNS. Common aliases include CNS, Constitution, NY Constitution, New York Constitution, and New York State Constitution.
The New York City Administrative Code is bundled as synthetic law NYCAC:
references/laws/NYCAC/index.json— NYC Admin Code section index. Entries include normal lookup fields plustitleNumber,titleTitle,chapter,chapterTitle,sourceRecordId,sourceAnchor, and clickable AmLegalsourceUrl.references/laws/NYCAC/titles/*.html— section text split by title (T01.html,T28.html, etc.) plusappendices.htmlfor local-law appendix material.
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.
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.
- 3d ago First seen · 178 lines · 63 tokens per session scan A 845c662c2dd8
ny-laws is a skill published in the GitHub repository DocketDrafter/docketdrafter-plugins (9 stars, last pushed 10d ago), licensed BSD-3-Clause. It adds 63 tokens to every session and 2,889 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
data-court-auction
대법원 법원경매정보(courtauction.go.kr) 부동산 매각공고를 매각기일·법원·기일/기간 입찰 기준으로 조회하고, 각 공고를 사건번호·용도·주소·감정평가액·최저매각가로 펼쳐서 보여줍니다. 법원사무소 코드와 사건번호로 단건 직접 조회도 지원합니다. read-only이며 IP 차단 방지를 위해 호출당 약 2초 지연을 둡니다. 다음과 같은 요청 시 반드시 이 스킬을 사용하세요: "오늘 어디서 부동산 경매 열려?", "내일 매각공고 보여줘" "서울중앙지방법원 2026-04-27 매각공고", "기일입찰만 보여줘" "사건번호 2024타경100001 진행 상황 알려줘"…
prawo-eu-eurlex
Odpytuje OFICJALNE repozytorium prawa UE — CELLAR/EUR-Lex Urzędu Publikacji (SPARQL + REST, bez klucza): wyszukiwanie aktów, pełny tekst PO POLSKU i w 23 innych językach, WERSJE SKONSOLIDOWANE, pojedyncze artykuły, metadane, nowelizacje, uchylenia, sprostowania, podstawa prawna — po numerze CELEX lub ELI. Używaj przy…
prawo-pl-eli
Odpytuje OFICJALNE API ELI Sejmu (api.sejm.gov.pl/eli) — źródło pierwotne prawa polskiego (Dziennik Ustaw, Monitor Polski): wyszukiwanie aktów, TEKST JEDNOLITY, pojedyncze artykuły, metadane, nowelizacje, podstawa prawna, sygnatury Dz.U./M.P. Używaj przy KAŻDYM pytaniu z prawa polskiego — TAKŻE gdy przepis nie jest…
prawo-pl-rejestr-umow
Odpytuje publiczne API Centralnego Rejestru Umów JSFP (rejestrumow.gov.pl) — jawny rejestr umów zawieranych od 1.07.2026 przez jednostki sektora finansów publicznych: urzędy, gminy, szpitale, uczelnie, sądy. Używaj przy pytaniach „jakie umowy zawarł urząd/gmina/szpital X", „z kim i na ile ma umowę…", „kto dostał…
prawo-pl-uodo
Odpytuje OFICJALNE API Portalu Orzeczeń UODO (orzeczenia.uodo.gov.pl) — decyzje Prezesa Urzędu Ochrony Danych Osobowych: kary pieniężne za naruszenia RODO, upomnienia, nakazy, oraz powiązane orzeczenia sądów. Używaj przy pytaniach o praktykę polskiego organu ochrony danych: „czy UODO karał za…", „decyzja UODO w…
law-to-markdown
将法条/规范文件(.txt/.docx/.pdf)转为 Markdown。适用于用户要求“法条转 markdown”“pdf/docx 转 markdown”。处理 .pdf/.docx 时先检查是否已安装 mineru-ocr skill;未安装先引导安装,安装后优先用 mineru-ocr;仅在用户明确同意时再用本地回退方案。.