Skip to content
Back to skills

Pharmac Schedule Nz

ASecurity

Query official Pharmac Schedule funding, subsidy, restriction and Special Authority resources. Use for source-backed medicine/device funding research; not clinical advice.

  • 31 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 10, 2026
toolspythongobash

Works with

  • cli

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add thecolab-ai/.skills --skill pharmac-schedule-nz --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pharmac Schedule Nz?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pharmac Schedule Nz
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thecolab-ai-pharmac-schedule-nz/badge)](https://www.skillsdirectory.com/skills/thecolab-ai-pharmac-schedule-nz)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pharmac-schedule-nz
description: "Query official Pharmac Schedule funding, subsidy, restriction and Special Authority resources. Use for source-backed medicine/device funding research; not clinical advice."
license: MIT
compatibility: "Requires Python 3.10+ and network access for live data"
metadata:
  thecolab.category: "health"
  thecolab.source_owner: "Pharmac"
  thecolab.source_type: "official"
  thecolab.auth: "none"
  thecolab.access_mode: "html-readonly"
  thecolab.data_class: "public"
  thecolab.writes: "false"
  thecolab.browser: "false"
  thecolab.risk: "medium"
  thecolab.cache_ttl: "24h"
  thecolab.schema_version: "1"
  thecolab.skill_type: "html-readonly"
  thecolab.pack: "nz-public-data"
  thecolab.source_url: "https://www.pharmac.govt.nz/pharmaceutical-schedule/about-the-schedule"
  thecolab.allowed_domains: "www.pharmac.govt.nz, schedule.pharmac.govt.nz"
  thecolab.last_verified: "2026-07-19"
  thecolab.health: "degraded"
  thecolab.maintainer: "@adam91holt"
---

# Pharmac Schedule NZ

Use the read-only Python CLI to retrieve and filter records exposed by the official first-party source.
Every command supports `--json`, bounded requests, stable exit codes, source URLs and retrieval timestamps.

## Commands

```bash
# search medicines, devices, brands, chemicals or identifiers
python3 scripts/cli.py search QUERY --json
# find a medicine by identifier or name
python3 scripts/cli.py medicine ID_OR_NAME --json
# find a device by identifier or name
python3 scripts/cli.py device ID_OR_NAME --json
# find Special Authority criteria and forms
python3 scripts/cli.py special-authority QUERY --json
# discover changes between schedule releases
python3 scripts/cli.py changes --from VALUE --to VALUE --json
# show current schedule version resources
python3 scripts/cli.py schedule-version --json
```

Add `--limit N` (1–100) to bound any command. Human output is the default.

## Coverage and interpretation

- Funding retrieval is not prescribing, diagnosis, dosage or treatment advice.
- Do not infer suitability, interchangeability or entitlement beyond published rules.
- Clinical and eligibility decisions remain with authorised professionals.

The CLI loads Pharmac's official production XML, which Pharmac identifies as the production-system source. It parses funded packs, chemical/formulation/brand, subsidy, price, restrictions and Special Authority references. Monthly comparisons are keyed by the published pack identifier and explicitly identify additions, removals and changed subsidy/price/restriction fields.

## Resources

- `scripts/cli.py` — canonical command entrypoint
- `scripts/test_contract.py` — deterministic repository contract audit
- `scripts/smoke_test.py` — parser fixture and bounded live probe
- `tests/fixtures/schedule.xml` — structured Schedule and Special Authority fixture
- `references/source-notes.md` — feasibility, provenance and source limits

Files in this skill

  • SKILL.md2.9 KB
  • references/source-notes.md1.8 KB
  • scripts/cli.py4.8 KB
  • scripts/pharmac_schedule.py7.9 KB
  • scripts/smoke_test.py1.8 KB
  • scripts/test_contract.py376 B
  • tests/fixtures/contract.json179 B
  • tests/fixtures/schedule.xml731 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.