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 skills add ThomasMoreAI/legal-skills-open --skill check-nsw-legislation-l0ckagit clone --depth 1 https://github.com/ThomasMoreAI/legal-skills-openWrote 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/thomasmoreai/legal-skills-open/check-nsw-legislation-l0cka)<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/check-nsw-legislation-l0cka"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/check-nsw-legislation-l0cka/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.
<a href="https://agentmods.dev/skills/thomasmoreai/legal-skills-open/check-nsw-legislation-l0cka"><img src="https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/check-nsw-legislation-l0cka.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00117 | $0.01522 |
| Opus 5.5 | $0.00047 | $0.00609 |
| Sonnet 5.5 | $0.00023 | $0.00304 |
| Haiku 4.5 | $0.00012 | $0.00152 |
Grade A, and why
check-nsw-legislation-l0cka 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 22d 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 — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Check NSW Legislation
Use the NSW legislation website as the controlling source. Produce a provenance record, not a bare assertion that legislation is "current".
Read references/nsw-legislation-method.md before performing a check. It defines the official-source hierarchy, authorisation boundary, point-in-time method and URL structure.
Workflow
- Fix the scope.
- Accept Acts, statutory instruments and environmental planning instruments in the website's In force and Repealed collections.
- Record the requested date. If none is given, use today's
Australia/Sydneydate and state it explicitly. - Return
OUTSIDE SCOPEfor Bills, Gazettes, as-made-only material, another jurisdiction, deadlines, court rules, case treatment or legal advice. - Treat an environmental planning instrument map or a document adopted by reference as an authorisation limitation; do not represent it as authorised NSW legislation.
- Resolve identity and collection.
-
Search
legislation.nsw.gov.auand identify the official status page. -
Match the exact title, type, year and number, NSW website identifier, and present In force or Repealed collection. Treat multiple plausible titles as ambiguous.
-
When command execution is available, use the bundled navigation helper after establishing the identifier and collection:
python3 <skill-root>/scripts/nsw_lookup.py urls act-1987-015 \ --collection inforce --as-at 2024-01-01Resolve
<skill-root>as the directory containing thisSKILL.md. The--collectionvalue is the title's present collection. For an explicit historical date, the helper returns the present title page separately and generates the selected-version URLs under the site'sinforce/<date>route. It does not prove that the title operated on that date or establish identity, currency, commencement or authorisation. Do not cite a generated URL as a source used unless it resolved and was inspected. The helper is optional, offline and read-only; it only formats official URLs and makes no network requests. Without command execution, follow the same steps on the official website directly.
-
- Select the point-in-time version.
- Use the status-page timeline and the Legislative history table of versions for the requested date.
- Record whether the selected text is described as Current or Historical, its effective date range, and the date used in the official URL.
- If an exact-date page cannot be opened, use another accessible official page for the same displayed version plus the table of versions to establish the effective range. Explain the fallback and do not list the inaccessible page as inspected.
- Keep the title's present In force or Repealed collection separate from whether a historical version applied on the requested date.
- Do not infer that the date embedded in a URL is the version's effective start date; confirm the displayed Currency of version statement.
- Check commencement, currency and authorisation.
- Read Status Information, including Currency of version, Provisions in force, Notes, file-last-modified details and the access timestamp.
- Inspect Legislative history for original and amending legislation, commencement information, the table of versions and provision-level history notes relevant to the request.
- Treat "Does not include amendments by" and partial-commencement notices as qualifications. A Bill listed under "See also" is not an amendment.
- Account for the website's stated update lag after a change (confirm the current statement on the site's help pages). Do not give an unqualified result when a recent relevant change may fall inside that interval.
- HTML and PDF versions in the In force and Repealed collections, including historical versions, are authorised under the website's stated section 45C framework. Do not transfer that assurance to EPI maps, documents adopted by reference or material outside those collections.
- For an exact provision, inspect the selected version's text and relevant commencement and history material; do not rely on title-level metadata.
- Report using the required result contract.
What ships with it
4 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.
- 22d ago First seen · 138 lines · 117 tokens per session scan A 2bab48415455
check-nsw-legislation-l0cka is a skill published in the GitHub repository ThomasMoreAI/legal-skills-open (95 stars, last pushed 15d ago), licensed Apache-2.0. It adds 117 tokens to every session and 1,522 once invoked, about $0.0005 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-10-06.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…