Logo Newworld Nz

Newworld Nz

Tổ chức
thecolab-ai
newworld-nz

Query New World NZ stores, product categories, product search results, specials, and store-specific grocery prices using guest APIs, plus a user's own previous orders, purchases, shopping lists, and cart when they explicitly provide Club+ credentials. Manage the user's shopping lists or cart when they explicitly request a specific change.

Tổng quan

Nhà phát hànhthecolab-ai
Kho mã.skills
Tên kỹ năngnewworld-nz
Sao
39
Bản fork
9
Tệp đi kèm
5
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được thecolab-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Newworld Nz trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/thecolab-ai/.skills/tree/main/skills/newworld-nz
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/thecolab-ai/.skills.git /tmp/.skills
mkdir -p .claude/skills
cp -r /tmp/.skills/skills/newworld-nz .claude/skills/newworld-nz
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Newworld Nz trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Newworld Nz ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Newworld Nz với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

New World NZ

Goal

Query live New World NZ store and grocery product data, optionally retrieve the authenticated user's own account history, and perform explicit shopping-list or cart changes through a small deterministic CLI.

Use this when

  • A user asks for New World NZ product prices or specials
  • A user wants to search New World products by keyword
  • A user needs store IDs, store lookup, or category browsing
  • A user has New World product IDs and wants store-specific price/details
  • A workflow needs machine-readable New World product data
  • A user explicitly wants their own previous New World orders or purchases
  • A user explicitly wants to retrieve their own saved New World shopping lists
  • A user explicitly asks to create, rename, delete, or change products in one of their own shopping lists
  • A user explicitly asks to inspect their cart or add, update, or remove one of its products

Do not use this for

  • PAK'nSAVE, Four Square, Woolworths, or non-New-World retailers
  • Historical pricing or price-change claims unless another dataset provides history
  • Checkout, ordering, payment, timeslot, fulfilment, or account/profile changes
  • List or cart mutation that the user has not explicitly requested
  • Reading another person's account or using credentials not supplied by the account holder

Preferred workflow

  1. Run scripts/cli.py with the narrowest subcommand that answers the task
  2. Use stores first when the requested location is not the default store
  3. Use search for keyword price/product lookup and specials for promotional products
  4. Use product when exact product IDs are known
  5. Use authenticated commands only after the user has supplied their own credentials through environment variables
  6. Run list or cart mutation commands only when the user has explicitly requested that exact change
  7. Preserve the --yes guard on list deletion and list/cart product removal; never infer confirmation from unrelated work
  8. Use --json for agent chaining, comparisons, or structured reports
  9. Treat authenticated JSON as personal data and mention that the integration is unofficial

Authentication and privacy

Public catalogue commands need no account. Personal commands require the user's own Club+ credentials:

bash
export NEWWORLD_USERNAME='member@example.nz'
export NEWWORLD_PASSWORD='...'
newworld auth login
  • The CLI registers and displays account, order, list, and cart commands only when both NEWWORLD_USERNAME (or NEWWORLD_EMAIL) and NEWWORLD_PASSWORD are present in its environment.
  • Without that credential pair, --help and command parsing expose only the guest catalogue commands.
  • The password is read only from the environment and is never written to disk.
  • Rotating access and refresh tokens are cached at ~/.cache/newworld-cli/auth.json with file mode 0600.
  • Override the cache location with NEWWORLD_AUTH_FILE.
  • If Club+ requires MFA, set NEWWORLD_MFA_CODE to the six-digit code and run auth mfa.
  • auth status never prints token values. auth logout removes only the local token cache; it does not mutate the New World account.
  • NEWWORLD_ACCESS_TOKEN and NEWWORLD_REFRESH_TOKEN may be used as runtime overrides.
  • Orders, list names, item history, addresses, and raw JSON are personal data. Do not paste them into shared logs, issues, or pull requests.

CLI

Run with:

bash
python3 skills/newworld-nz/scripts/cli.py <command> [flags]

Default store is New World Papakura: ef977d89-f3d8-4e8b-8a48-b895ded38646. Override with --store-id <id> or NEWWORLD_STORE_ID.

Commands

The first six guest commands are always available. The remaining account commands appear only when the Club+ username/email and password environment variables are set.

  • stores [--query text] [--limit N] [--json] — list or filter New World stores
  • categories [--store-id id] [--depth N] [--json] — browse a store category tree
  • search <query> [--store-id id] [--limit N] [--page N] [--promo] [--json] — product search with prices
  • specials [query] [--store-id id] [--limit N] [--page N] [--json] — promotional products
  • product <product-id...> [--store-id id] [--json] — decorate exact product IDs with details
  • token [--refresh] [--json] — fetch/cache a short-lived guest token without emitting its value
  • auth login [--json] — log in with environment-provided Club+ credentials
  • auth mfa [--json] — finish an MFA login using NEWWORLD_MFA_CODE
  • auth refresh [--json] — rotate the cached New World access token
  • auth status [--json] — report token availability without revealing tokens
  • auth logout [--json] — remove only the local authenticated-token cache
  • store-select [--store-id id] [--json] — select the store used for authenticated list and cart writes
  • orders [--page N] [--limit N] [--source ALL|ONLINE|IN_STORE] [--json] — retrieve previous orders
  • order <order-id> [--source ONLINE|IN_STORE] — retrieve one previous order
  • previous-purchases [--limit N] [--include-cart] [--json] — retrieve previously purchased products
  • lists [--json] — retrieve saved shopping lists
  • list <list-id> — retrieve one saved shopping list
  • list-create <name> [--json] — create an empty shopping list
  • list-rename <list-id> <name> [--json] — rename a shopping list
  • list-delete <list-id> --yes [--json] — permanently delete a shopping list
  • list-add <list-id> <product-id> [--quantity N] [--sale-type UNITS|WEIGHT] [--json] — add a product
  • list-update <list-id> <product-id> --quantity N [--sale-type UNITS|WEIGHT] [--json] — change quantity
  • list-remove <list-id> <product-id> --yes [--sale-type UNITS|WEIGHT] [--json] — remove a product
  • cart [--json] — retrieve the current cart
  • cart-add <product-id> [--quantity N] [--sale-type UNITS|WEIGHT] [--json] — increment a cart product quantity
  • cart-update <product-id> --quantity N [--sale-type UNITS|WEIGHT] [--json] — set a cart product quantity
  • cart-remove <product-id> --yes [--sale-type UNITS|WEIGHT] [--json] — remove a cart product

Examples:

bash
python3 skills/newworld-nz/scripts/cli.py stores --query auckland --limit 5
python3 skills/newworld-nz/scripts/cli.py search milk --limit 10
python3 skills/newworld-nz/scripts/cli.py specials cheese --limit 10 --json
python3 skills/newworld-nz/scripts/cli.py product 5201479 --json
newworld auth status
newworld store-select
newworld orders --limit 20 --json
newworld lists --json
newworld list-create "Weekly shop"
newworld list-add <list-id> 5201479 --quantity 2
newworld cart
newworld cart-add 5201479 --quantity 2

Resources

  • CLI entrypoint: scripts/cli.py
  • Live smoke test: scripts/smoke_test.py
  • API and stability notes: references/api-notes.md

Notes

  • Public commands use the guest-token flow and cache tokens under ~/.cache/newworld-cli/guest-token.json
  • Personal commands mirror the Club+ login, secure-code exchange, and rotating New World refresh flow used by the website
  • If a fresh authenticated session has no store, the CLI selects NEWWORLD_STORE_ID (or the Papakura default) once and retries the request; store-select can change it explicitly
  • Store changes can be rejected when current cart products are unavailable at the target store; the CLI reports the service reason without clearing the cart
  • List writes use the same endpoints as the website and are intentionally exposed only as explicit subcommands
  • list-delete and list-remove require --yes; they cannot be invoked accidentally through a zero quantity
  • Cart writes use target quantities internally: cart-add reads and increments, while cart-update sets the target directly
  • cart-remove requires --yes; use grams for WEIGHT quantities and units for UNITS
  • Email verification must be completed in the normal New World login page before CLI login
  • Endpoint shapes can change; retry with a fresh token before assuming data is unavailable
  • --json output is intended for exact matching and private agent workflows

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Newworld Nz làm được gì?

Query New World NZ stores, product categories, product search results, specials, and store-specific grocery prices using guest APIs, plus a user's own previous orders, purchases, shopping lists, and cart when they explicitly provide Club+ credentials. Manage the user's shopping lists or cart when they explicitly request a specific change.

Vì sao nên dùng Newworld Nz trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Newworld Nz là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Newworld Nz trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/thecolab-ai/.skills/tree/main/skills/newworld-nz. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Newworld Nz?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Newworld Nz với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Newworld Nz với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Newworld Nz có miễn phí không?

Có. Kỹ năng này được thecolab-ai phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇