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…
by thecolab-ai★ 41 GitHub stars
Install newworld-nz in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
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
- Run
scripts/cli.pywith the narrowest subcommand that answers the task - Use
storesfirst when the requested location is not the default store - Use
searchfor keyword price/product lookup andspecialsfor promotional products - Use
productwhen exact product IDs are known - Use authenticated commands only after the user has supplied their own credentials through environment variables
- Run list or cart mutation commands only when the user has explicitly requested that exact change
- Preserve the
--yesguard on list deletion and list/cart product removal; never infer confirmation from unrelated work - Use
--jsonfor agent chaining, comparisons, or structured reports - 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:
export NEWWORLD_USERNAME='[email protected]'
export NEWWORLD_PASSWORD='...'
newworld auth login
- The CLI registers and displays account, order, list, and cart commands only when both
NEWWORLD_USERNAME(orNEWWORLD_EMAIL) andNEWWORLD_PASSWORDare present in its environment. - Without that credential pair,
--helpand 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.jsonwith file mode0600. - Override the cache location with
NEWWORLD_AUTH_FILE. - If Club+ requires MFA, set
NEWWORLD_MFA_CODEto the six-digit code and runauth mfa. auth statusnever prints token values.auth logoutremoves only the local token cache; it does not mutate the New World account.NEWWORLD_ACCESS_TOKENandNEWWORLD_REFRESH_TOKENmay 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:
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 storescategories [--store-id id] [--depth N] [--json]— browse a store category treesearch <query> [--store-id id] [--limit N] [--page N] [--promo] [--json]— product search with pricesspecials [query] [--store-id id] [--limit N] [--page N] [--json]— promotional productsproduct <product-id...> [--store-id id] [--json]— decorate exact product IDs with detailstoken [--refresh] [--json]— fetch/cache a short-lived guest token without emitting its valueauth login [--json]— log in with environment-provided Club+ credentialsauth mfa [--json]— finish an MFA login usingNEWWORLD_MFA_CODEauth refresh [--json]— rotate the cached New World access tokenauth status [--json]— report token availability without revealing tokensauth logout [--json]— remove only the local authenticated-token cachestore-select [--store-id id] [--json]— select the store used for authenticated list and cart writesorders [--page N] [--limit N] [--source ALL|ONLINE|IN_STORE] [--json]— retrieve previous ordersorder <order-id> [--source ONLINE|IN_STORE]— retrieve one previous order- `previo
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- references/api-notes.md
- references/source-notes.md
- scripts/cli.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
What does the newworld-nz skill do?
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.
How do I install the newworld-nz skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the newworld-nz skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
agent-skill-stack
GitHubFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…