petrolmate-nz-au
Query live AU & NZ fuel prices from petrolmate.com.au's public API. Search stations near any AU or NZ location, filter by supported fuel type, sort by price…
от thecolab-ai★ 41 звезда на GitHub
Установить petrolmate-nz-au в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
PetrolMate (AU + NZ)
Goal
Query live AU and NZ fuel prices from petrolmate.com.au's public API through a lightweight CLI. Covers Australian state fuel data (NSW/QLD/VIC/SA/TAS FuelCheck) and NZ crowd-sourced data (Gaspy). No authentication required.
Use this when
- A user asks for current fuel prices at a specific AU or NZ location
- A user wants the cheapest fuel type near them ("cheapest 95 near St Heliers")
- A user wants to compare fuel prices across stations in an area
- A user asks "where's the cheapest diesel near me?"
- A user wants to filter by brand (Shell, BP, Z, NPD, etc.)
- The Gaspy authenticated API or PetrolSpy is unavailable, or the user wants official FuelCheck data for AU
Do not use this for
- National average prices (use
gaspy-nz summaryfor NZ, no AU equivalent via PetrolMate) - Fuel supply, vessel tracking, or geopolitical risk (use
fuelclock-nz) - Historical price trends or charts
- User-reported Gaspy station search (use
gaspy-nzstations orpetrolspy-nz)
Preferred workflow
- Run
search --location "st heliers" --fuel PULP95for a location-based price comparison - Use
--radius 10to widen the search,--radius 3to tighten - Use
--brand Shellto filter to a specific brand - Use
--sort distancewhen you care about proximity over price - Use
--jsonfor machine-readable output or piping to jq - Note that not all fuel types are available in all regions — NSW FuelCheck only reports ULP, E10, LPG, E85
CLI
Run with:
python3 skills/petrolmate-nz-au/scripts/cli.py <command> [flags]
search
Search for stations near a location.
# By named location (from built-in lookup or PetrolMate geocoding)
python3 skills/petrolmate-nz-au/scripts/cli.py search --location "st heliers"
# Filter by fuel type, sorted cheapest first
python3 skills/petrolmate-nz-au/scripts/cli.py search --location "st heliers" --fuel PULP95
# Wider radius, filter by brand
python3 skills/petrolmate-nz-au/scripts/cli.py search --location "auckland" --fuel DIESEL --radius 10 --brand Z
# Custom coordinates
python3 skills/petrolmate-nz-au/scripts/cli.py search --lat -33.86 --lon 151.20 --fuel PULP98 --json
# IP-based location
python3 skills/petrolmate-nz-au/scripts/cli.py search --geoip --fuel ULP --radius 3
# Australian address (PetrolMate geocodes it)
python3 skills/petrolmate-nz-au/scripts/cli.py search --location "Brisbane QLD" --fuel DIESEL
locations
List built-in location names:
python3 skills/petrolmate-nz-au/scripts/cli.py locations
fuel-types
List available fuel types:
python3 skills/petrolmate-nz-au/scripts/cli.py fuel-types
Fuel Type Codes
| Code | Description |
|---|---|
| ULP | Unleaded 91 |
| E10 | E10 (Ethanol 10%) |
| PULP95 | Premium 95 |
| PULP98 | Premium 98 |
| PREMIUM | Premium (95+98) |
| DIESEL | Diesel |
| PDIESEL | Premium Diesel |
| DIESEL_PREMIUM | Premium Diesel (alias for PDIESEL) |
| LPG | LPG/Autogas |
| E85 | E85 (Ethanol 85%) |
| B20 | Biodiesel B20 |
Resources
- CLI entrypoint:
scripts/cli.py - API notes and data sources:
references/api-notes.md
Notes
- PetrolMate aggregates official (AU) and crowd-sourced (NZ) data — AU prices are typically more reliable
hours_oldshows data freshness; NZ Gaspy data can be 1–2 days old- Prices are displayed in cents (divide by 100 for dollars)
--locationfirst checks the built-in lookup table, then falls back to PetrolMate geocoding- No third-party dependencies — Python stdlib only (
urllib+json) - Fuel-type coverage varies by region and station -- not all types are available everywhere
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/api-notes.md
- references/source-notes.md
- scripts/cli.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
Что делает скилл petrolmate-nz-au?
Query live AU & NZ fuel prices from petrolmate.com.au's public API. Search stations near any AU or NZ location, filter by supported fuel type, sort by price or distance. Covers AU state FuelCheck data and NZ Gaspy data. No API key or authentication required.
Как установить скилл petrolmate-nz-au?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл petrolmate-nz-au запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…