woolworths-nz
Query Woolworths NZ product search, specials, category browse, and SKU details, plus a user's own past orders, favourites, saved lists, and trolley when they…
от thecolab-ai★ 41 звезда на GitHub
Установить woolworths-nz в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Woolworths NZ
Goal
Query live Woolworths NZ product data, optionally retrieve the authenticated user's own account history, and perform explicit saved-list or trolley changes through one CLI.
Use this when
- A user asks for Woolworths NZ product prices, specials, keyword search, or SKU details
- A user explicitly wants their own past Woolworths orders, favourites, or saved lists
- A user wants their own Woolworths tax-invoice PDF enriched with the matching past-order SKUs
- A user explicitly asks to create/delete a saved list or add, update, or remove a list product
- A user explicitly asks to inspect their trolley or add, update, remove, or clear its products
Do not use this for
- Woolworths Australia or another retailer
- Checkout, ordering, payment, delivery-slot, fulfilment, account, or Everyday Rewards changes
- List or trolley mutation the user has not explicitly requested
- Reading another person's account or using credentials not supplied by the account holder
- Redistributing Woolworths product or account data as a dataset
- Historical pricing claims unless another source provides history
Preferred workflow
- Run
scripts/cli.pywith the narrowest command that answers the task - Use public
search,specials,categories,browse, andproductcommands without credentials - Use account commands only after the user supplies their own credentials as environment variables
- Run saved-list or trolley mutations only for the exact change the user requested
- Preserve every
--yesdeletion/removal guard - Use
--jsononly for private structured workflows; treat account JSON as personal data - For invoice enrichment, use the local tax-invoice PDF and its matching order ID; inspect unmatched or ambiguous joins before relying on them
- Never use this skill to place an order or perform checkout/payment actions
Authentication and privacy
Public product commands need no account. Personal commands require:
export WOOLWORTHS_USERNAME='[email protected]'
export WOOLWORTHS_PASSWORD='...'
woolworths auth login
WOOLWORTHS_EMAILis accepted as an alias forWOOLWORTHS_USERNAME.- The CLI registers and displays account commands only when both a username/email and
WOOLWORTHS_PASSWORDexist in its environment. - The password is passed only to Woolworths' browser login and is never written to disk.
- The cookie cache stores a SHA-256 hash of the normalised username and is reused only when it matches the currently supplied username. Changing accounts invalidates the old cache instead of silently reusing it.
- Woolworths' login page uses a browser challenge. Install the optional helper with
python3 -m pip install camoufox, then runpython3 -m camoufox fetchonce. - A reusable cookie cache is written to
~/.local/state/woolworths-nz/cookies.jsonwith file mode0600. - Authenticated responses can refresh Woolworths session/Akamai cookies; the CLI persists only cookies scoped to
woolworths.co.nzback into the same private, account-bound cache. - Override the cache location with
WOOLWORTHS_SESSION_FILE. - If a hidden browser login cannot complete a challenge, retry
auth login --headed. auth statusnever emits cookies or account details.auth logoutremoves only the local cookie cache; it does not sign out other devices or mutate the account.- Orders, list names, favourites, item history, addresses, and raw account JSON are personal data. Do not paste them into shared logs, issues, or pull requests.
- Tax invoices and enriched invoice output are personal financial/order data. Never add a user's PDF or parsed rows to fixtures or source control.
CLI
Run with:
python3 skills/woolworths-nz/scripts/cli.py <command> [flags]
Public commands are always available:
search <query> [--limit N] [--page N] [--size text] [--json]specials [query] [--limit N] [--page N] [--json]categories [parent-category-key] [--json]browse <category-key> [--limit N] [--page N] [--json]product <sku...> [--json]
The following appear only when the credential environment variables are set:
auth login [--headed]auth status [--json]auth logoutorders [--page N] [--date-filter value] [--json]order <order-id> [--json]order-items <order-id|all> [--page N] [--limit N] [--sort value] [--json]invoice-items <order-id> <invoice.pdf> [--min-confidence 0..1] [--json]favourites [--page N] [--limit N] [--sort value] [--json]lists [--json]list <list-id> [--page N] [--limit N] [--sort value] [--json]list-create <name> [--source empty|trolley|favourites|list|order|all-orders] [--source-id id] [--json]list-delete <list-id> --yes [--json]list-add <list-id> <sku> [--quantity N] [--json]list-update <list-id> <sku> --quantity N [--json]list-remove <list-id> <sku> --yes [--json]cart [--json]cart-add <sku> [--quantity N] [--unit Each|Kg] [--json]- `cart-update --quantity
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/api-notes.md
- references/source-notes.md
- scripts/browser_auth.py
- scripts/cli.py
- scripts/graphql_api.py
- scripts/invoice_parser.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
Что делает скилл woolworths-nz?
Query Woolworths NZ product search, specials, category browse, and SKU details, plus a user's own past orders, favourites, saved lists, and trolley when they explicitly provide account credentials. Manage the user's saved lists or trolley only when they explicitly request a specific change.
Как установить скилл woolworths-nz?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл woolworths-nz запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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'…