Skip to content
Agentmart
Submit a tool

class4-grants-nz

Query New Zealand Class 4 gambling grants and Granted.govt.nz public data from DIA/data.govt.nz.

Skill by thecolab-ai

IndexedMIT★ 34
Write a review

Chalk Labs

Need help deploying class4-grants-nz?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/thecolab-ai-class4-grants-nz

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Query New Zealand Class 4 gambling grants and Granted.govt.nz public data from DIA/data.govt.nz. Use when the task involves pokie-machine grant funding, gaming-machine profits, grant recipients, Class 4 societies/funders, grant categories, regional/TLA grant totals, accepted or declined grant applications, or discovering the related venues and gaming-machine quarterly datasets. Read-only and no API key required.

Use cases: backend, data, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/class4-grants-nz

What's inside

Skill name
class4-grants-nz
Description
Query New Zealand Class 4 gambling grants and Granted.govt.nz public data from DIA/data.govt.nz. Use when the task involves pokie-machine grant funding, gaming-machine profits, grant recipients, Class 4 societies/funders, grant categories, regional/TLA grant totals, accepted or declined grant applications, or discovering the related venues and gaming-machine quarterly datasets. Read-only and no API key required.
License
MIT
Compatibility
Requires Python 3.10+ and network access for live data
Metadata
thecolab.auth: none · thecolab.pack: nz-public-data · thecolab.risk: low · thecolab.health: healthy · thecolab.writes: false · thecolab.browser: false · thecolab.category: public-data · thecolab.cache_ttl: 24h · thecolab.data_class: public · thecolab.maintainer: @adam91holt · thecolab.skill_type: public-api · thecolab.source_url: https://www.granted.govt.nz/ · thecolab.access_mode: public-api · thecolab.source_type: official · thecolab.source_owner: Department of Internal Affairs · thecolab.last_verified: 2026-07-19 · thecolab.schema_version: 1 · thecolab.allowed_domains: catalogue.data.govt.nz,www.dia.govt.nz,www.granted.govt.nz
Instructions
51 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (7)

  • SKILL.md
  • api-notes.md · references/
  • source-notes.md · references/
  • cli.py · scripts/
  • smoke_test.py · scripts/
  • test_contract.py · scripts/
  • contract.json · tests/fixtures/

SKILL.md (first lines)

# Class 4 Grants NZ

## Goal

Query public Department of Internal Affairs Class 4 gambling grants data, the Granted.govt.nz source dataset, and related data.govt.nz discovery metadata through a deterministic no-login CLI.

## Use this when

- A user asks about NZ Class 4 grants, pokie grants, gaming-machine profit grants, or Granted.govt.nz data
- A workflow needs grant rows filtered by year, status, society/funder, recipient, category, region, or territorial local authority
- A user wants top funders, recipients, or grant categories from the Class 4 grants CSV
- A task needs source links for the Class 4 grants dataset, venue/gaming-machine quarterly lists, or DIA society website list

## Do not use this for

- Applying for a grant, logging into society portals, submitting forms, or changing any funding record
- Real-time venue/gaming-machine counts beyond the public quarterly file links
- Legal or regulatory advice about gambling compliance
- Bulk mirroring the full data catalogue beyond the task at hand

## CLI

```bash
python3 skills/class4-grants-nz/scripts/cli.py datasets --json
python3 skills/class4-grants-nz/scripts/cli.py preview --limit 5
python3 skills/class4-grants-nz/scripts/cli.py grants --year 2024 --status Accepted --region Auckland --limit 10 --json
python3 skills/class4-grants-nz/scripts/cli.py funders --year 2024 --limit 10
python3 skills/class4-grants-nz/scripts/cli.py recipients --society "Pub Charity" --limit 10 --json
python3 skills/class4-grants-nz/scripts/cli.py categories --year 2024 --field Category_1
python3 skills/class4-grants-nz/scripts/cli.py society-websites --json
```

Commands:

- `datasets [--json]` - discover the grants CSV and venue/gaming-machine quarterly list datasets from data.govt.nz CKAN
- `preview [--limit N] [--json]` - show the first rows of the Class 4 grants CSV
- `grants [filters] [--limit N] [--json]` - filter grant application rows and report matched totals
- `funders [filters] [--limit N] [--sort FIELD] [--json]` - aggregate by society/funder
- `recipients [filters] [--limit N] [--sort FIELD] [--json]` - aggregate by final recipient organisation
- `categories [filters] [--field Category_1|Category_2] [--limit N] [--json]` - aggregate by grant category
- `society-websites [--limit N] [--json]` - list DIA-published society website links

Shared filters for grants/aggregate commands: `--query`, `--year`, `--status Accepted|Declined`, `--society`, `--recipient`, `--category`, `--region`, and `--tla`.

## Resources

- CLI: `scripts/cli.py`
- Smoke test: `scripts/smoke_test.py`
- Source notes: `references/api-notes.md`

From thecolab-ai/.skills, MIT.

More from thecolab-ai/.skills

Signals

Stars
34
Forks
7
Open issues
10
Last commit (this folder)
Jul 19, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from thecolab-ai

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get class4-grants-nz running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying class4-grants-nz?

CallGet help
Cite this page

class4-grants-nz skill. Agent Mart. https://agentmart.dev/skills/thecolab-ai-class4-grants-nz (last updated 2026-10-24)