check-nsw-legislation-l0cka

check-nsw-legislation-l0cka is a skill for Codex from ThomasMoreAI/legal-skills-open. It costs 117 tokens per session (1,522 once invoked), scanned A, original, Apache-2.0.

A legal-source checking workflow for verifying NSW Acts, statutory instruments, and environmental planning instruments on the official NSW legislation website. It identifies their status and the version that applied on a chosen date.

In plain words
What is it for?
Use it to check whether NSW legislation is in force or repealed, find a historical version, or compare a citation or provision with the official source.
Why use it?
It avoids treating a current webpage as proof of what the law said in the past. It also records limits on whether some planning material is officially authorised legislation.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to check whether NSW legislation is in force or repealed, find a historical version, or compare a citation or provision with the official source.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thomasmoreai/legal-skills-open/check-nsw-legislation-l0cka
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 ThomasMoreAI/legal-skills-open --skill check-nsw-legislation-l0cka
Clone the repo
git clone --depth 1 https://github.com/ThomasMoreAI/legal-skills-open

Made for: Codex.

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 check-nsw-legislation-l0cka

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomasmoreai/legal-skills-open/check-nsw-legislation-l0cka/github.svg)](https://agentmods.dev/skills/thomasmoreai/legal-skills-open/check-nsw-legislation-l0cka)
Your own site
<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.

agentmods 80×15 button for check-nsw-legislation-l0cka

Your own site · 80×15
<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>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,522 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.00117 $0.01522
Opus 5.5 $0.00047 $0.00609
Sonnet 5.5 $0.00023 $0.00304
Haiku 4.5 $0.00012 $0.00152

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

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/nsw_lookup.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.

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.

au/general/skills/check-nsw-legislation-l0cka/SKILL.md · 138 lines

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

  1. 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/Sydney date and state it explicitly.
    • Return OUTSIDE SCOPE for 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.
  2. Resolve identity and collection.
    • Search legislation.nsw.gov.au and 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-01
      

      Resolve <skill-root> as the directory containing this SKILL.md. The --collection value 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's inforce/<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.

  3. 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.
  4. 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.
  5. Report using the required result contract.

Read the full file on GitHub · 138 lines

Files

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.

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. 22d ago First seen · 138 lines · 117 tokens per session scan A 2bab48415455

Subscribe to this mod's changes

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.

Related

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…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

vercel/next.js · 95 tokens

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.

microsoft/vscode · 53 tokens

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…

microsoft/vscode · 71 tokens

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…

vercel/next.js · 83 tokens