mfe-data-service
Search the Ministry for the Environment Koordinates catalogue and read one layer's metadata, field names, feature count and licence. Use for public MfE layers…
от thecolab-ai★ 41 звезда на GitHub
Установить mfe-data-service в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
MfE Data Service
Search the public Ministry for the Environment catalogue on data.mfe.govt.nz and read one layer document. This is catalogue metadata only: titles, field names, feature counts and the layer licence. It does not download features or call a query endpoint.
CLI
python3 skills/mfe-data-service/scripts/cli.py search flood --limit 1 --json
python3 skills/mfe-data-service/scripts/cli.py layer 117733 --json
Commands:
search QUERY [--limit N] [--json]— oneGET /services/api/v1/data/?q=&page_size=N.Nis 1 to 20. The response is one JSON list. Further pages are announced in the HTTPLinkheader withrel="page-next"andrel="page-last"(alsorel="next"/rel="last"). The command does not request the next page.truncatedis true when that next relation is present or the list is longer than--limit. Sort-only relations, including an empty catalogue page, staytruncatedfalse. Same-host targets under/services/api/v1/data/are copied topage.nextandpage.last. Off-host, userinfo, and query-service targets are omitted.layer ID [--json]—GET /services/api/v1/layers/{id}/. Returns field names,feature_countand the licence. A layer is returned only whenlicense.typeiscc-byfor a known Creative Commons Attribution version.
--json prints a meta / results envelope. Search JSON also includes truncated, and page.next / page.last when those Link targets are official catalogue URLs. meta.latest_data is the source published_at timestamp when that value is stated, not the land-use or observation year in a title. meta.licence is set on a layer only after the licence gate passes. Search results omit a catalogue-wide licence because each layer states its own.
When truncated is true, human output includes More catalogue rows exist; this command does not page further.
Exit codes follow docs/contracts.md: 2 invalid input, 4 rate limit or block, 5 timeout or HTTP 5xx, 6 malformed catalogue JSON, 7 closed licence, missing licence, off-host redirect, or unsupported path. An empty search is an empty results array. A missing or non-attribution licence is a refusal, not an assumed Creative Commons Attribution licence.
There is no URL argument. Requests stay on https://data.mfe.govt.nz. Thumbnail and service links inside a document are not requested.
Resources
- CLI:
scripts/cli.py - Contract test:
scripts/test_contract.py - Smoke test:
scripts/smoke_test.py - Source notes:
references/source-notes.md
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/source-notes.md
- scripts/cli.py
- scripts/provenance.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
Что делает скилл mfe-data-service?
Search the Ministry for the Environment Koordinates catalogue and read one layer's metadata, field names, feature count and licence. Use for public MfE layers such as land use, ecosystem services or river environment classifications. Refuses a layer unless license.type is an open Creative Commons Attribution licence. Does not query features, call the keyed query service, or read waste-data exports.
Как установить скилл mfe-data-service?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mfe-data-service запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…